alpha: Remove nptl/fork.c
[glibc.git] / ChangeLog
blob689613eec2f39f7429213029b6290411ad0cffd8
1 2014-05-23  Richard Henderson  <rth@twiddle.net>
3         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
5 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
7         [BZ #16977]
8         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
9         value when x - 1 is zero.
10         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
11         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
12         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
13         0.0L for an argument of 1.0L.
14         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
15         Likewise.
16         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
17         value when x - 1 is zero.
18         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
19         * sysdeps/i386/fpu/libm-test-ulps: Update.
20         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
24         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
25         alphasort and versionsort.
27 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
30         macro.
31         [copysignf]: Likewise.
33 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
35         * crypt/md5-crypt.c: Fix formatting.
37 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
39         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
40         (b64_from_24bit): New function.
42 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
45         libc_hidden_builtin_def to ifunc.
46         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
47         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
49 2014-05-21  Roland McGrath  <roland@hack.frob.com>
51         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
52         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
54 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
56         * nscd/Depend (linuxthreads): Remove.
57         (nptl): Add.
58         * resolv/Depend (linuxthreads): Remove.
59         * rt/Depend (linuxthreads): Remove.
61         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
62         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
63         $(common-objpfx)elf/.
64         (link-libc-before-gnulib): Likewise.
65         (elfobjdir): Remove variable.
66         * Makefile (install): Use $(elf-objpfx) instead of
67         $(common-objpfx)elf/.
68         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
69         $(elfobjdir)/.
70         (link-libc-deps): Likewise.
71         ($(common-objpfx)libc.so): Likewise.
72         ($(common-objpfx)linkobj/libc.so): Likewise.
73         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
74         instead of $(common-objpfx)elf/.
75         (symbolic-link-list): Likewise.
76         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
77         [$(cross-compiling) = no]: Likewise.
78         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
79         $(elfobjdir)/.
80         (static-gnulib-arch): Likewise.
81         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
82         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
83         $(common-objpfx)elf/.
85 2014-05-21  Richard Henderson  <rth@redhat.com>
87         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
88         (SINGLE_THREAD_P): Use the correct width load.  Fold
89         into the ldr offset.
91         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
92         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
94 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
96         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
97         (libgcc_s_resume): Use __attribute_used__.
98         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
99         Likewise.
101 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
103         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
104         optimization when used with float constants.
106         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
108 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
110         [BZ #16915]
111         * locale/nl_langinfo_l.c: Make direct reference to every
112         _nl_current_CATEGORY symbol.
113         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
114         (tests-static): Add tst-langinfo-static.
115         (tests-special): Add tst-langinfo-static.out.
116         ($(objpfx)tst-langinfo.out): Redirect output.
117         ($(objpfx)tst-langinfo-static.out): New.
118         * localedata/tst-langinfo.sh: Send output to stdout.
119         * localedata/tst-langinfo-static.c: New file.
121         [BZ #16965]
122         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
123         when the shift amount is modulo the limb size.
125 2014-05-20  Richard Henderson  <rth@redhat.com>
127         [BZ #16967]
128         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
129         Change type of sa_flags from unsigned int to int.
131         [BZ #16966]
132         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
134         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
136 2014-05-20  Will Newton  <will.newton@linaro.org>
138         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
139         Test the return value of the system call in the nocancel case.
141 2014-05-20  Will Newton  <will.newton@linaro.org>
142             Yvan Roux  <yvan.roux@linaro.org>
144         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
145         #include of asm/ptrace.h.
146         (PTRACE_GET_THREAD_AREA): Remove #undef.
147         (PTRACE_GETHBPREGS): Likewise.
148         (PTRACE_SETHBPREGS): Likewise.
149         (struct user_regs_struct): New structure.
150         (struct user_fpsimd_struct): New structure.
151         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
152         #include of asm/ptrace.h and second #include of sys/user.h.
153         (PTRACE_GET_THREAD_AREA): Remove #undef.
154         (PTRACE_GETHBPREGS): Likewise.
155         (PTRACE_SETHBPREGS): Likewise.
156         (ELF_NGREG): Use new struct user_regs_struct.
157         (elf_fpregset_t): Use new struct user_fpsimd_struct.
159 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
161         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
162         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
164 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
166         [BZ #16958]
167         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
168         membar to avoid block loads/stores to overlap previous stores.
170 2014-05-17  Richard Henderson  <rth@redhat.com>
172         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
173         Create the __##syscall_name##_nocancel entry point.
174         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
175         Remove; let the sysdep-cancel.h code create it.
177 2014-05-17  David S. Miller  <davem@davemloft.net>
179         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
180         Protect with __USE_GNU.
181         (TIOCSET_TEMPT): Likewise.
182         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
183         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
184         these are already provided in bits/ioctl-types.h
186 2014-05-16  Roland McGrath  <roland@hack.frob.com>
188         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
189         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
191         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
192         Use wait4 regardless of [__NR_waitpid].
194 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
196         PR libgcc/60166
197         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
198         (_FP_NANSIGN_Q): Set the quiet bit.
200 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
202         * benchtests/Makefile
203         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
204         not $(common-objpfx)math/libm.so.
205         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
206         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
207         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
208         $(common-objpfx)dlfcn/libdl.so.
209         ($(objpfx)tst-audit8): Depend on $(libm), not
210         $(common-objpfx)math/libm.so.
211         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
212         not $(common-objpfx)dlfcn/libdl.so.
213         * math/Makefile
214         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
215         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
216         [$(build-shared) = yes].
217         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
218         $(common-objpfx)nptl/libpthread.so.
219         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
220         $(common-objpfx)math/libm.so$(libm.so-version) or
221         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
222         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
223         $(common-objpfx)dlfcn/libdl.so.
224         * setjmp/Makefile (link-libm): Remove variable.
225         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
226         * stdio-common/Makefile (link-libm): Remove variable.
227         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
228         * stdlib/Makefile (link-libm): Remove variable.
229         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
230         ($(objpfx)tst-strtod-round): Likewise.
231         ($(objpfx)tst-tininess): Likewise.
232         ($(objpfx)tst-strtod-underflow): Likewise.
233         ($(objpfx)tst-strtod6): Likewise.
234         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
235         $(libdl), not $(common-objpfx)nptl/libpthread.so and
236         $(common-objpfx)dlfcn/libdl.so.
238 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
240         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
241         BSD terminal modes definitions.
243 2014-05-16  Roland McGrath  <roland@hack.frob.com>
245         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
246         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
248         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
249         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
250         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
251         Don't do #include_next.
252         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
253         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
254         Don't do #include_next.
255         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
256         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
257         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
258         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
260 2014-05-16  Allan McRae  <allan@archlinux.org>
262         * po/sv.po: Update Swedish translation from translation project.
264         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
265         in sed expression.
267 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
269         [BZ #16917]
270         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
271         errno if the TIOCGPTN ioctl fails with an error different than
272         EINVAL.
273         * login/tst-ptsname.c: New file.
274         * login/Makefile (tests): Add tst-ptsname.
276         [BZ #16943]
277         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
278         and prlimit64.
280 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
282         [BZ #16849]
283         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
284         herrno to return EAI_AGAIN.
286 2014-05-14  Roland McGrath  <roland@hack.frob.com>
288         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
289         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
290         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
291         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
292         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
293         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
294         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
295         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
296         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
297         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
298         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
299         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
300         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
301         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
302         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
303         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
304         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
305         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
306         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
307         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
308         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
309         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
310         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
311         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
312         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
313         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
314         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
315         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
316         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
317         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
318         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
319         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
320         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
321         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
322         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
323         Moved ...
324         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
325         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
326         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
327         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
328         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
330         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
332         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
334         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
335         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
336         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
337         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
338         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
339         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
340         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
341         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
342         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
343         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
344         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
345         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
346         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
347         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
348         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
349         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
350         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
351         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
352         Moved ...
353         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
354         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
355         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
356         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
357         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
359         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
361         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
363         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
364         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
365         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
366         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
367         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
368         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
369         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
370         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
371         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
372         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
373         Moved ...
374         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
376         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
378         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
379         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
380         (libpthread-sysdep_routines): Add elision-related stuff here instead.
381         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
382         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
383         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
384         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
385         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
386         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
387         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
388         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
389         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
390         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
391         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
392         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
393         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
394         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
395         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
396         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
397         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
398         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
399         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
400         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
401         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
402         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
403         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
404         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
405         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
406         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
407         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
408         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
410         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
411         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
413         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
414         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
415         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
416         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
417         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
418         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
419         Moved ...
420         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
421         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
422         Moved ...
423         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
424         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
425         Moved ...
426         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
427         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
428         Moved ...
429         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
430         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
431         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
433         Moved ...
434         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
435         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
436         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
437         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
438         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
439         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
440         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
441         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
442         Moved ...
443         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
444         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
445         Moved ...
446         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
447         ... here.
448         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
449         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
450         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
451         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
453         Moved ...
454         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
455         ... here.
456         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
457         Moved ...
458         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
459         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
460         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
461         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
462         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
463         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
464         Moved ...
465         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
466         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
467         Moved ...
468         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
469         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
470         Moved ...
471         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
472         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
473         Moved ...
474         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
475         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
476         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
478         Moved ...
479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
480         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
481         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
482         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
483         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
484         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
485         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
486         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
487         Moved ...
488         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
489         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
490         Moved ...
491         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
492         ... here.
493         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
494         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
495         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
496         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
498         Moved ...
499         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
500         ... here.
501         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
502         Moved ...
503         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
504         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
505         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
506         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
507         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
508         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
509         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
510         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
511         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
512         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
513         Moved ...
514         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
515         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
516         Moved ...
517         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
518         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
519         Moved ...
520         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
521         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
522         Moved ...
523         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
524         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
525         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
526         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
527         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
528         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
529         Moved ...
530         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
531         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
532         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
533         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
534         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
535         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
536         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
537         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
538         Moved ...
539         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
540         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
541         Moved ...
542         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
543         ... here.
544         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
545         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
546         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
547         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
548         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
549         Moved ...
550         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
551         ... here.
552         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
553         Moved ...
554         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
555         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
556         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
557         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
558         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
559         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
560         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
561         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
562         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
563         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
564         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
566         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
567         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
569         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
570         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
572         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
573         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
574         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
575         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
576         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
577         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
578         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
579         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
580         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
581         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
582         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
583         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
584         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
585         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
586         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
587         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
588         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
589         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
590         Moved ...
591         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
592         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
593         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
594         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
595         Moved ...
596         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
597         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
598         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
599         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
600         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
601         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
604         Moved ...
605         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
606         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
607         Moved ...
608         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
609         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
610         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
611         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
612         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
613         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
614         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
615         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
616         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
617         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
618         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
619         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
620         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
621         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
622         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
623         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
624         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
626         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
627         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
628         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
629         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
630         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
632         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
633         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
634         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
635         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
636         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
637         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
638         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
639         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
640         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
641         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
643         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
644         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
646         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
647         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
648         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
649         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
650         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
651         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
652         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
653         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
654         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
655         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
656         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
657         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
658         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
659         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
660         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
661         Update #include.
662         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
663         Likewise.
664         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
665         Likewise.
666         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
667         Likewise.
668         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
669         Likewise.
670         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
671         Likewise.
672         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
673         Likewise.
674         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
675         Likewise.
676         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
677         Likewise.
678         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
679         Likewise.
680         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
682         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
683         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
684         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
685         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
686         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
687         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
688         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
689         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
690         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
691         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
692         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
693         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
694         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
696         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
697         that was previously under [RESET_PID].
698         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
699         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
700         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
702         * sysdeps/i386/nptl/Implies: New file.
703         * sysdeps/x86_64/nptl/Implies: New file.
704         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
705         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
706         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
707         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
709         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
710         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
711         (__libc_vfork): New strong alias.
712         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
713         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
715         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
716         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
717         (__libc_vfork): New strong alias.
718         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
719         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
721         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
722         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
723         (__libc_vfork): New strong alias.
724         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
725         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
726         * nptl/pt-vfork.c: New file.
727         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
728         (libpthread: GLIBC_2.20): New version set (empty).
730 2014-05-14  Will Newton  <will.newton@linaro.org>
732         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
733         rather than #if.
735 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
737         [BZ #16564]
738         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
739         arguments with exponent 65 or above.
740         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
741         arguments 0x1p113L or above.
742         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
743         to arguments 0x1p107L or above.
744         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
745         positive arguments with exponent 65 or above.
746         * math/auto-libm-test-in: Add more tests of log1p.
747         * math/auto-libm-test-out: Regenerated.
749         [BZ #16928]
750         * math/s_cacos.c (__cacos): Ensure zero real part of result from
751         non-finite arguments is +0.
752         * math/s_cacosf.c (__cacosf): Likewise.
753         * math/s_cacosl.c (__cacosl): Likewise.
754         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
755         * sysdeps/i386/fpu/libm-test-ulps: Update.
756         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
758         [BZ #16927]
759         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
760         value.
761         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
762         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
763         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
764         for explicit high bit of mantissa when testing for argument equal
765         to 1.
766         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
767         * sysdeps/i386/fpu/libm-test-ulps: Update.
768         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
770         [BZ #16516]
771         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
772         (__erf): Scale by 16 instead of 8 in potentially underflowing
773         case.  Ensure exception if result actually underflows.
774         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
775         (__erff): Scale by 16 instead of 8 in potentially underflowing
776         case.  Ensure exception if result actually underflows.
777         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
778         (efx8): Remove variable.
779         (__erfl): Scale by 16 instead of 8 in potentially underflowing
780         case.  Ensure exception if result actually underflows.
781         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
782         (efx8): Remove variable.
783         (__erfl): Scale by 16 instead of 8 in potentially underflowing
784         case.  Ensure exception if result actually underflows.
785         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
786         (efx8): Remove variable.
787         (__erfl): Scale by 16 instead of 8 in potentially underflowing
788         case.  Ensure exception if result actually underflows.
789         * math/auto-libm-test-in: Add more tests of erf.
790         * math/auto-libm-test-out: Regenerated.
792 2014-05-14  Andreas Schwab  <schwab@suse.de>
794         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
795         Remove code conditionalized on USE___THREAD.
797         * config.h.in (HAVE_PT_CHOWN): Define as 0.
798         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
799         not definedness.
801 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
803         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
804         Define unconditionally.
805         (__ASSUME_O_CLOEXEC): Likewise.
806         (__ASSUME_SOCK_CLOEXEC): Likewise.
807         (__ASSUME_IN_NONBLOCK): Likewise.
808         (__ASSUME_PIPE2): Likewise.
809         (__ASSUME_EVENTFD2): Likewise.
810         (__ASSUME_SIGNALFD4): Likewise.
811         (__ASSUME_DUP3): Likewise.
812         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
813         (__ASSUME_DUP3): Do not define.
814         (__ASSUME_EVENTFD2): Likewise.
815         (__ASSUME_IN_NONBLOCK): Likewise.
816         (__ASSUME_O_CLOEXEC): Likewise.
817         (__ASSUME_PIPE2): Likewise.
818         (__ASSUME_SIGNALFD4): Likewise.
819         (__ASSUME_SOCK_CLOEXEC): Likewise.
820         (__ASSUME_UTIMES): Undefine.
821         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
822         (__ASSUME_UTIMES): Do not define.
823         (__ASSUME_O_CLOEXEC): Likewise.
824         (__ASSUME_SOCK_CLOEXEC): Likewise.
825         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
826         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
827         0x020621].
828         (__ASSUME_PIPE2): Likewise.
829         (__ASSUME_EVENTFD2): Likewise.
830         (__ASSUME_SIGNALFD4): Likewise.
831         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
832         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
833         Do not define.
834         (__ASSUME_EVENTFD2): Likewise.
835         (__ASSUME_SIGNALFD4): Likewise.
836         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
837         (__ASSUME_32BITUIDS): Likewise.
838         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
839         (__ASSUME_IPC64): Likewise.
840         (__ASSUME_ST_INO_64_BIT): Likewise.
841         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
842         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
843         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
844         (__ASSUME_UTIMES): Do not define.
845         (__ASSUME_PSELECT): Likewise.
846         (__ASSUME_PPOLL): Likewise.
847         (__ASSUME_O_CLOEXEC): Likewise.
848         (__ASSUME_SOCK_CLOEXEC): Likewise.
849         (__ASSUME_IN_NONBLOCK): Likewise.
850         (__ASSUME_PIPE2): Likewise.
851         (__ASSUME_EVENTFD2): Likewise.
852         (__ASSUME_SIGNALFD4): Likewise.
853         (__ASSUME_DUP3): Likewise.
854         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
855         (__ASSUME_UTIMES): Likewise.
856         (__ASSUME_O_CLOEXEC): Likewise.
857         (__ASSUME_SOCK_CLOEXEC): Likewise.
858         (__ASSUME_IN_NONBLOCK): Likewise.
859         (__ASSUME_PIPE2): Likewise.
860         (__ASSUME_EVENTFD2): Likewise.
861         (__ASSUME_SIGNALFD4): Likewise.
862         (__ASSUME_DUP3): Likewise.
863         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
864         (__ASSUME_UTIMES): Likewise.
865         (__ASSUME_O_CLOEXEC): Likewise.
866         (__ASSUME_SOCK_CLOEXEC): Likewise.
867         (__ASSUME_IN_NONBLOCK): Likewise.
868         (__ASSUME_PIPE2): Likewise.
869         (__ASSUME_EVENTFD2): Likewise.
870         (__ASSUME_SIGNALFD4): Likewise.
871         (__ASSUME_DUP3): Likewise.
872         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
873         Likewise.
874         (__ASSUME_UTIMES): Likewise.
875         (__ASSUME_EVENTFD2): Likewise.
876         (__ASSUME_SIGNALFD4): Likewise.
877         * sysdeps/unix/sysv/linux/tile/kernel-features.h
878         (__ASSUME_O_CLOEXEC): Likewise.
879         (__ASSUME_SOCK_CLOEXEC): Likewise.
880         (__ASSUME_IN_NONBLOCK): Likewise.
881         (__ASSUME_PIPE2): Likewise.
882         (__ASSUME_EVENTFD2): Likewise.
883         (__ASSUME_SIGNALFD4): Likewise.
884         (__ASSUME_DUP3): Likewise.
885         (__ASSUME_UTIMES): Undefine.
887         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
888         feclearexcept.  Remove symbol versioning code.
889         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
890         symbol versioning code.
891         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
892         symbol versioning code.
893         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
894         feupdateenv.  Remove symbol versioning code.
895         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
896         fegetexceptflag.  Remove symbol versioning code.
897         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
898         fesetexceptflag.  Remove symbol versioning code.
899         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
900         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
901         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
902         (__posix_fadvise64_l32): Remove prototype.
903         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
904         code.
906 2014-05-13  Roland McGrath  <roland@hack.frob.com>
908         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
909         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
910         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
911         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
913 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
915         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
916         current working directory
918 2014-05-13  Roland McGrath  <roland@hack.frob.com>
920         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
921         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
922         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
923         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
924         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
925         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
926         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
927         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
928         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
929         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
930         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
931         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
932         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
933         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
934         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
935         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
936         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
937         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
938         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
939         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
940         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
941         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
942         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
943         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
944         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
945         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
946         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
947         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
948         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
949         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
950         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
951         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
952         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
953         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
954         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
955         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
956         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
957         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
958         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
959         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
960         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
961         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
963         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
964         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
966         * sysdeps/unix/sysv/linux/arm/Makefile
967         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
968         Add rt-aeabi_unwind_cpp_pr1.
969         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
970         Add nptl-aeabi_unwind_cpp_pr1.
971         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
972         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
973         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
974         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
975         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
976         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
978         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
979         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
980         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
981         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
983         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
984         Deconditionalize the code that was previously under [RESET_PID].
985         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
987         * sysdeps/generic/exit-thread.h: New file.
988         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
989         * include/unistd.h (__exit_thread): Remove declaration.
990         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
991         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
992         * csu/libc-start.c: Include <exit-thread.h>.
993         (LIBC_START_MAIN): Pass no argument to __exit_thread.
994         * nptl/pthread_create.c: Include <exit-thread.h>.
995         (start_thread): Call __exit_thread in place of __exit_thread_inline.
996         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
997         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
998         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
999         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1000         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1001         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1002         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1003         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1004         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1005         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1006         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1007         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1008         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1009         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1010         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1011         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1013 2014-05-13  Andreas Schwab  <schwab@suse.de>
1015         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1017 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1019         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1020         (__ASSUME_UTIMES): Do not condition on kernel version.
1021         (__ASSUME_PSELECT): Define unconditionally.
1022         (__ASSUME_PPOLL): Likewise.
1023         (__ASSUME_ATFCTS): Likewise.
1024         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1025         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1026         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1027         (__ASSUME_UTIMENSAT): Define unconditionally.
1028         (__ASSUME_PRIVATE_FUTEX): Likewise.
1029         (__ASSUME_FALLOCATE): Likewise.
1030         (__ASSUME_O_CLOEXEC): Likewise.
1031         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1032         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1033         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1034         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1035         (__ASSUME_IN_NONBLOCK): Likewise.
1036         (__ASSUME_PIPE2): Likewise.
1037         (__ASSUME_EVENTFD2): Likewise.
1038         (__ASSUME_SIGNALFD4): Likewise.
1039         (__ASSUME_DUP3): Likewise.
1040         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1041         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1042         (__ASSUME_AT_RANDOM): Likewise.
1043         (__ASSUME_PREADV): Likewise.
1044         (__ASSUME_PWRITEV): Likewise.
1045         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1046         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1047         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1048         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1049         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1050         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1051         (__ASSUME_O_CLOEXEC): Define unconditionally.
1052         (__ASSUME_PSELECT): Do not undefine conditionally.
1053         (__ASSUME_PPOLL): Likewise.
1054         (__ASSUME_ATFCTS): Likewise.
1055         (__ASSUME_SET_ROBUST_LIST): Likewise.
1056         (__ASSUME_UTIMENSAT): Likewise.
1057         (__ASSUME_FDATASYNC): Define unconditionally.
1058         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1059         (__ASSUME_SIGFRAME_V2): Likewise.
1060         )__ASSUME_EVENTFD2): Likewise.
1061         (__ASSUME_SIGNALFD4): Likewise.
1062         (__ASSUME_PSELECT): Do not undefine conditionally.
1063         (__ASSUME_PPOLL): Likewise.
1064         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1065         (__ASSUME_PSELECT): Define unconditionally.
1066         (__ASSUME_PPOLL): Likewise.
1067         (__ASSUME_O_CLOEXEC): Likewise.
1068         (__ASSUME_SOCK_CLOEXEC): Likewise.
1069         (__ASSUME_IN_NONBLOCK): Likewise.
1070         (__ASSUME_PIPE2): Likewise.
1071         (__ASSUME_EVENTFD2): Likewise.
1072         (__ASSUME_SIGNALFD4): Likewise.
1073         (__ASSUME_DUP3): Likewise.
1074         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1075         (__ASSUME_O_CLOEXEC): Likewise.
1076         (__ASSUME_SOCK_CLOEXEC): Likewise.
1077         (__ASSUME_IN_NONBLOCK): Likewise.
1078         (__ASSUME_PIPE2): Likewise.
1079         (__ASSUME_EVENTFD2): Likewise.
1080         (__ASSUME_SIGNALFD4): Likewise.
1081         (__ASSUME_DUP3): Likewise.
1082         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1083         (__ASSUME_EVENTFD2): Likewise.
1084         (__ASSUME_SIGNALFD4): Likewise.
1085         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1087 2014-05-12  Andreas Schwab  <schwab@suse.de>
1089         [BZ #16932]
1090         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1091         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1092         than maximum RPC packet size.
1093         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1094         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1095         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1096         (_nss_nis_getservbyport_r): Likewise.
1098 2014-05-12  Will Newton  <will.newton@linaro.org>
1100         * malloc/Makefile (tests): Add tst-mallopt.
1101         * malloc/tst-mallopt.c: New file.
1103 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1105         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1106         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1108 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1110         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1111         (tst-tlsmod6.so): Likewise.
1113 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1115         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1117 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1119         [BZ #16064]
1120         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1121         and <dl-procinfo.h>.
1122         (__fegetenv): Save SSE state in envp->__eip if supported.
1123         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1124         envp->__eip if supported.
1125         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1126         and <dl-procinfo.h>.
1127         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1128         __data_offset and __data_selector in environment to 0.  Set SSE
1129         state if supported.
1130         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1131         test-fenv-sse.
1132         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1133         -mfpmath=sse.
1134         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1136 2014-05-09  Will Newton  <will.newton@linaro.org>
1138         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1139         and libc_relro_required for ARM.
1140         * sysdeps/arm/preconfigure: Regenerate.
1142 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1143             Stefan Liebler  <stli@linux.vnet.ibm.com>
1145         * config.make.in (enable-lock-elision): New Makefile variable.
1146         * configure.ac: Likewise.
1147         * configure: Regenerate.
1148         * sysdeps/s390/configure.ac:
1149         Add check for gcc transactions support.
1150         * sysdeps/s390/configure: Regenerate.
1151         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1152         Build elision files if enabled.
1153         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1154         Add lock elision support for s390.
1155         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1156         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1157         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1158         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1159         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1160         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1161         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1162         Likewise.
1163         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1164         Likewise.
1165         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1166         Likewise.
1167         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1168         Likewise.
1169         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1170         (__lll_timedlock_elision, __lll_lock_elision)
1171         (__lll_unlock_elision, __lll_trylock_elision)
1172         (lll_timedlock_elision, lll_lock_elision)
1173         (lll_unlock_elision, lll_trylock_elision): Add.
1174         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1175         (pthread_mutex_t): Add lock elision support for s390.
1177 2014-05-14  Wilco  <wdijkstr@arm.com>
1179         * sysdeps/arm/fclrexcpt.c: Cleanup.
1180         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1181         * sysdeps/arm/feenablxcpt.c: Cleanup.
1182         * sysdeps/arm/fegetenv.c: Cleanup.
1183         * sysdeps/arm/fegetexcept.c: Cleanup.
1184         * sysdeps/arm/fegetround.c: Cleanup.
1185         * sysdeps/arm/feholdexcpt.c: Cleanup.
1186         * sysdeps/arm/fesetenv.c: Cleanup.
1187         * sysdeps/arm/fesetround.c: Cleanup.
1188         * sysdeps/arm/feupdateenv.c: Cleanup.
1189         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1190         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1191         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1192         * sysdeps/arm/ftestexcept.c: Cleanup.
1193         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1194         * sysdeps/arm/setfpucw.c: Cleanup.
1196 2014-05-09  Will Newton  <will.newton@linaro.org>
1198         * sysdeps/arm/armv7/strcmp.S: New file.
1199         * NEWS: Mention addition of ARMv7 optimized strcmp.
1201 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1203         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1204         look for %.ac rather than %.in.
1206         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1207         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1208         * sysdeps/mach/hurd/configure: Regenerated.
1209         * sysdeps/unix/sysv/linux/configure: Regenerated.
1211         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1213 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1215         [BZ# 16922]
1216         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1217         (LONG_SUB): Ditto.
1218         (PTR_SUB): Ditto.
1220 2014-05-07  Andreas Schwab  <schwab@suse.de>
1222         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1223         when skipping over non-matching result from nscd.
1225 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1227         [BZ #16876]
1228         * nptl/sockperf.c (client): Check socket return value.
1230         [BZ #16877]
1231         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1232         nscd security class.
1234 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1236         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1237         * sysdeps/arm/unwind.h: ... here.
1239 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1241         [BZ# 16916]
1242         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1243         Define.
1245 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1247         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1248         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1249         multiarch strncpy for PPC64.
1250         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1251         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1252         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1253         multiarch optimizations.
1254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1255         (__libc_ifunc_impl_list): Likewise.
1256         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1257         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1258         multiarch stpncpy for PPC64.
1259         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1260         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1262 2014-05-06  Andreas Schwab  <schwab@suse.de>
1264         [BZ #16912]
1265         * gmon/mcount.c (_MCOUNT_DECL): Use
1266         atomic_compare_and_exchange_bool_acq instead of
1267         catomic_compare_and_exchange_bool_acq.
1269 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1271         * elf/Makefile (others, install-bin): Remove pldd.
1272         (pldd-modules): Variable removed.
1273         ($(objpfx)pldd): Target removed.
1274         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1275         (others, install-bin): Append pldd here.
1276         ($(objpfx)pldd): New target.
1278         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1279         to 0, so the first #if test emitted later doesn't see it undefined.
1280         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1281         * sysdeps/gnu/errlist.c: Regenerated.
1283 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1285         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1286         [libc_hidden_builtin_def]: Define to empty value.
1287         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1288         [libc_hidden_builtin_def]: Likewise.
1289         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1290         [libc_hidden_builtin_def]: Likewise.
1291         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1292         [libc_hidden_builtin_def]: Likewise.
1293         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1294         __redirect_memcpy and define ifunc as default hidden symbol.
1295         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1296         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1298 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1300         * locale/iso-4217.def: Reintroduce XDR currency.
1302 2014-05-04  Allan McRae  <allan@archlinux.org>
1304         * po/eo.po: Update Esperanto translation from translation project.
1306 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1308         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1309         and FEATURE_INDEX_MAX to 1.
1310         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1312 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1314         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1315         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1316         * iconvdata/big5.c (ONE_DIRECTION): Define.
1317         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1318         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1319         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1320         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1321         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1322         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1323         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1324         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1325         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1326         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1327         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1328         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1329         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1330         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1331         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1332         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1333         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1334         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1335         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1336         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1337         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1338         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1339         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1340         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1341         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1342         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1343         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1344         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1345         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1346         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1347         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1348         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1349         * iconvdata/johab.c (ONE_DIRECTION): Define.
1350         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1351         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1352         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1353         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1354         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1355         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1356         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1357         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1358         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1359         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1361 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1363         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1364         (_IO_JUMPS_OFFSET): Define to 0.
1366         * nptl/sysdeps/pthread/bits/libc-lock.h
1367         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1368         (__libc_lock_define_initialized_recursive): Always define using
1369         initializer.  Modern compilers treat uninitialized (implicit zero) and
1370         explicit zero initializers the same (i.e. put the datum in bss).
1372 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1374         * nscd/nscd-client.h: Include <string.h>.
1376 2014-05-01  David S. Miller  <davem@davemloft.net>
1378         [BZ #16885]
1379         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1380         multiple zero bytes exist at the end of a string.
1381         Reported by Aurelien Jarno <aurelien@aurel32.net>
1383         * string/test-strcmp.c (check): Add explicit test for situations where
1384         there are multiple zero bytes after the first.
1386 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1388         [BZ #16890]
1389         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1390         when compiling wprintf.
1391         * stdio-common/tstdiomisc.c (t3): New function.
1392         (main): Call it.
1394 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1396         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1397         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1398         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1399         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1401 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1403         * stdlib/longlong.h: Updated from GCC.
1405 2014-05-01  Will Newton  <will.newton@linaro.org>
1406             Bernard Ogden  <bernie.ogden@linaro.org>
1408         * NEWS: Update fixed bug list.
1410         [BZ #15119]
1411         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1413 2014-04-30  David S. Miller  <davem@davemloft.net>
1415         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1416         (libc_feholdexcept_setround_sparc_ctx): New function.
1417         (libc_fesetenv_sparc_ctx): Likewise.
1418         (libc_feupdateenv_sparc_ctx): Likewise.
1419         (libc_feholdsetround_sparc_ctx): Likewise.
1420         (libc_feholdexcept_setround_ctx): Define.
1421         (libc_feholdexcept_setroundf_ctx): Likewise.
1422         (libc_feholdexcept_setroundl_ctx): Likewise.
1423         (libc_fesetenv_ctx): Likewise.
1424         (libc_fesetenvf_ctx): Likewise.
1425         (libc_fesetenvl_ctx): Likewise.
1426         (libc_feupdateenv_ctx): Likewise.
1427         (libc_feupdateenvf_ctx): Likewise.
1428         (libc_feupdateenvl_ctx): Likewise.
1429         (libc_feresetround_ctx): Likewise.
1430         (libc_feresetroundf_ctx): Likewise.
1431         (libc_feresetroundl_ctx): Likewise.
1432         (libc_feholdsetround_ctx): Likewise.
1433         (libc_feholdsetroundf_ctx): Likewise.
1434         (libc_feholdsetroundl_ctx): Likewise.
1436         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1437         with __USE_GNU instead of XOPEN cpp guards.
1439         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1440         0.
1442         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1443         with XOPEN cpp guards.
1445 2014-04-30  Julian Brown  <julian@codesourcery.com>
1447         [BZ #16888]
1448         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1449         handling.
1451 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1453         [BZ #9894]
1454         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1455         Change to 2.6.32.
1456         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1457         * sysdeps/unix/sysv/linux/configure: Regenerated.
1458         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1459         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1460         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1461         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1462         * README: Update reference to required Linux kernel version.
1463         * manual/install.texi (Linux): Update reference to required Linux
1464         kernel headers version.
1465         * INSTALL: Regenerated.
1467         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1468         header inclusion.
1469         [POSIX] (limits.h): Likewise.
1470         [POSIX] (math.h): Likewise.
1471         [POSIX] (sys/wait.h): Likewise.
1472         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1473         function.
1474         [POSIX] (stddef.h): Do not allow header inclusion.
1476 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1478         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1480 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1482         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1483         Return immediately after lll_futex_wake.
1485 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1487         [BZ #16791]
1488         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1489         structure.
1490         (datahead_init_pos): Call datahead_init_common early.
1491         (datahead_init_neg): Likewise.
1493         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1494         datahead_init_neg): New functions.
1495         * nscd/aicache.c (addhstaiX): Use them.
1496         * nscd/grpcache.c (cache_addgr): Likewise.
1497         * nscd/hstcache.c (cache_addhst): Likewise.
1498         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1499         * nscd/netgroupcache.c (do_notfound): Likewise.
1500         (addgetnetgrentX): Likewise.
1501         (addinnetgrX): Likewise.
1502         * nscd/pwdcache.c (cache_addpw): Likewise.
1503         * nscd/servicescache.c (cache_addserv): Likewise.
1505 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1506             Atsushi Onoe  <atsushi@onoe.org>
1508         [BZ #14308]
1509         [BZ #12994]
1510         [BZ #13651]
1511         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1512         one response is valid.
1513         * resolv/res_send.c (send_dg): Check for validity of other
1514         response if the current response is a referral.
1516 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1518         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1520 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1522         [BZ #16823]
1523         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1524         Always divide by positive zero when computing -Inf result.
1525         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1526         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1528 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1530         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1531         FPSCR if value do not change.
1532         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1533         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1534         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1535         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1536         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1537         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1538         function.
1540 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1542         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1543         * sysdeps/unix/sysv/linux/hppa: Move directory from
1544         ports/systeps/unix/sysv/linux/hppa.
1545         * README: Update listing for hppa-*-linux-gnu.
1547 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1549         [BZ #16754]
1550         * manual/stdio.texi (Hook functions): Fix types of stream hook
1551         functions.
1552         [BZ #16854]
1553         * socket/sys/socket.h: Fix typo in comment.
1555 2014-04-28  Wilco  <wdijkstr@arm.com>
1557         * sysdeps/arm/fenv_private.h: New file.
1558         * sysdeps/arm/math_private.h: New file.
1559         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1561 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1563         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1564         with __int128_t.
1565         (La_x86_64_retval): Likewise.
1567 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1569         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1570         fpsr if value didn't change.
1571         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1572         to fpcr if value didn't change.
1573         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1574         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1575         fpsr or fpcr if value didn't change.
1576         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1577         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1578         fpcr if value didn't change.
1579         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1580         to fpsr if value didn't change.
1582 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1584         * nptl/tst-sem3.c: Use test-skeleton.c
1585         (main): Rename to do_test.  Use return instead of
1586         exit.
1587         * nptl/tst-sem4.c: Use test-skeleton.c
1588         (main): Rename to do_test.
1590 2014-04-22  David S. Miller  <davem@davemloft.net>
1592         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1593         (struct sigaction): New struct member __glibc_reserved0, change
1594         type of sa_flags to int.
1596 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1598         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1599         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1601 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1603         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1604         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1606 2014-04-22  Will Newton  <will.newton@linaro.org>
1607             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1609         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1610         (__longjmp): Add longjmp and longjmp_target SystemTap
1611         probes.
1612         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1613         (__sigsetjmp): Add setjmp SystemTap probe.
1615 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1617         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1618         match manual order.
1620 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1624         * sysdeps/powerpc/fpu/fenv_private.h
1625         (libc_feholdexcept_setroundl_ctx): Define to
1626         libc_feholdexcept_setround_ppc_ctx.
1627         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1628         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1629         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1630         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1632 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1634         * sysdeps/aarch64/math-tests.h: New file.
1636 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1638         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1639         New.
1640         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1641         Check and set bit_AVX2_Usable.
1642         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1643         macro.
1644         (bit_AVX2): Likewise.
1645         (index_AVX2_Usable): Likewise.
1646         (CPUID_AVX2): Likewise.
1647         (HAS_AVX2): Likewise.
1649 2014-04-17  Will Newton  <will.newton@linaro.org>
1651         * manual/setjmp.texi (System V contexts): Add note that
1652         calling setcontext on a context created by a call to a
1653         signal handler is undefined.  Update text to note that
1654         setcontext from a signal handler is possible but not
1655         recommended.
1657         [BZ #16629]
1658         * stdlib/tst-setcontext.c: Include signal.h.
1659         (main): Check that the signal stack before and
1660         after swapcontext is the same.
1662         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1663         Re-implement to restore registers in user code and avoid
1664         rt_sigreturn system call.
1666 2014-04-17  Wilco  <wdijkstr@arm.com>
1668         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1669         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1670         * math/test-fenv.c: Skip exception trap tests on targets which only
1671         support non-stop mode.
1673 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1674             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1676         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1677         (libc_feholdsetround_aarch64_ctx)
1678         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1679         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1680         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1681         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1682         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1683         (libc_feresetround_noexl_ctx): Define.
1685 2014-04-16  Richard Henderson  <rth@redhat.com>
1687         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1689         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1690         unwind tables.
1692         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1693         const from the non-libc, non-ldso copy.
1695         * sysdeps/alpha/libm-test-ulps: Regenerate.
1697 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1698             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1700         * sysdeps/aarch64/fpu/math_private.h: New file.
1702 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1704         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1706 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1708         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1709         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1710         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1711         Intel MPX bound registers before _dl_profile_fixup.
1712         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1713         registers after _dl_profile_fixup.  Save and restore bound
1714         registers bnd0/bnd1 when calling _dl_call_pltexit.
1715         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1716         (LR_BND_OFFSET): Likewise.
1717         (LRV_BND0_OFFSET): Likewise.
1718         (LRV_BND1_OFFSET): Likewise.
1720 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1722         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1723         to...
1724         * sysdeps/mach/hurd/i386/tls.h: ... here.
1725         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1726         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1727         fields.
1729 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1731         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1733 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1735         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1737 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1739         [BZ #14770]
1740         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1741         * sysdeps/s390/configure: Regenerate.
1743         [BZ #16824]
1744         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1745         Set round-to-nearest internally to reduce error accumulation.
1747 2014-04-16  Alan Modra  <amodra@gmail.com>
1749         [BZ #16740]
1750         [BZ #16619]
1751         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1752         * math/libm-test.inc (frexp_test_data): Add tests.
1753         * NEWS: Update fixed bug list.
1755 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1757         * benchtests/Makefile: Depend on libraries in build directory.
1758         (bench-math): Separate out math tests.
1759         (bench-pthread): Separate out pthread tests.
1760         (bench): Include math and pthread tests.
1762 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1764         [BZ #16831]
1765         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1766         _dl_debug_initialize.
1768         * configure.ac: Remove SELinux header check.
1769         * configure: Regenerate.
1770         * nscd/selinux.c (perms): Array of const char* to permission names.
1771         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1772         default policy. Call string_to_security_class and string_to_av_perm to
1773         translate strings. Enforce default policy and call avs_has_perm with
1774         results of translated strings.
1776 2014-04-13  David S. Miller  <davem@davemloft.net>
1778         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1780 2014-04-12  Allan McRae  <allan@archlinux.org>
1782         [BZ #16838]
1783         * manual/string.texi (Collation Functions): Fix qsort argument
1784         order in example.
1785         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1787 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1789         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1790         Make the test a no-op if there are no exceptions defined.
1792 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1794         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1795         enable-hardcoded-path-in-tests
1797 2014-04-11  Will Newton  <will.newton@linaro.org>
1799         * benchtests/Makefile (extra-objs): Add json-lib.o.
1800         (bench-func): Tidy up JSON output.
1801         * benchtests/bench-skeleton.c: Include json-lib.h.
1802         (main): Use JSON library functions to do output of
1803         benchmark results.
1804         * benchtests/bench-timing-type.c (main): Output the
1805         timing type simply, leaving formatting to the user.
1806         * benchtests/json-lib.c: New file.
1807         * benchtests/json-lib.h: Likewise.
1809 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1811         [BZ #15215]
1812         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1813         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1814         memory barriers.  Add comments.
1815         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1816         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1817         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1818         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1819         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1820         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1822 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1824         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1825         * sysdeps/s390/s390-64/configure.ac: ... this ...
1826         * sysdeps/s390/configure.ac: ... to here.
1827         * sysdeps/s390/s390-32/configure: Delete file.
1828         * sysdeps/s390/s390-64/configure: Delete file.
1829         * sysdeps/s390/configure: Regenerate.
1831 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1833         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1835 2014-04-11  Will Newton  <will.newton@linaro.org>
1837         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1838         to zero if it is not defined elsewhere.  (mtrim): Test
1839         the value of MALLOC_DEBUG with #if rather than #ifdef.
1841 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1843         * benchtests/pthread_once-inputs: New file.
1844         * benchtests/pthread_once-source.c: New file.
1845         * benchtests/README: Update documentation.
1847 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1848             H.J. Lu  <hongjiu.lu@intel.com>
1850         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1851         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1852         * sysdeps/x86_64/configure: Regenerated.
1853         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1854         macro.
1855         (REGISTER_SAVE_RAX): Likewise.
1856         (REGISTER_SAVE_RCX): Likewise.
1857         (REGISTER_SAVE_RDX): Likewise.
1858         (REGISTER_SAVE_RSI): Likewise.
1859         (REGISTER_SAVE_RDI): Likewise.
1860         (REGISTER_SAVE_R8): Likewise.
1861         (REGISTER_SAVE_R9): Likewise.
1862         (REGISTER_SAVE_BND0): Likewise.
1863         (REGISTER_SAVE_BND1): Likewise.
1864         (REGISTER_SAVE_BND2): Likewise.
1865         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1866         bound registers when calling _dl_fixup.
1868 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1870         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
1871         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
1872         of its definition.
1873         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
1874         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
1875         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
1876         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
1877         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
1878         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
1879         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
1881 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
1883         [BZ #15514]
1884         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
1885         pathconf(_PC_NAME_MAX).
1887 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1889         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
1890         Remove macro usage.
1891         (__PTHREAD_SPINS): Move definition to ...
1892         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
1893         (__PTHREAD_SPINS): ... here.
1894         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1895         (__PTHREAD_SPIN): Likewise.
1896         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
1897         (__PTHREAD_SPIN): Likewise.
1898         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
1899         (__PTHREAD_SPIN): Likewise.
1900         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
1901         (__PTHREAD_SPIN): Likewise.
1902         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
1903         (__PTHREAD_SPIN): Likewise.
1904         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
1905         (__PTHREAD_SPIN): Likewise.
1906         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
1907         (__PTHREAD_SPIN): Likewise.
1908         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
1909         (__PTHREAD_SPIN): Likewise.
1910         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
1911         (__PTHREAD_SPIN): Likewise.
1912         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
1913         (__PTHREAD_SPIN): Likewise.
1914         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
1915         (__PTHREAD_SPIN): Likewise.
1916         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
1917         (__PTHREAD_SPIN): Likewise.
1919         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
1920         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
1921         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
1922         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
1923         imply folder.
1924         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
1925         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
1926         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
1927         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
1928         correct imply path.
1929         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
1930         strlen symbol for non multi-arch builds.
1931         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
1932         missing hidden_def and weak_alias.
1934 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
1936         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
1938 2014-04-07  Will Newton  <will.newton@linaro.org>
1940         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
1941         and contents.  [!_LIBC] Remove #ifndef and contents.
1942         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
1943         * string/memccpy.c (__memccpy): Use ANSI prototype.
1944         * string/memfrob.c (memfrob): Likewise.
1945         * string/strcoll.c (STRCOLL): Likewise.
1946         * string/strlen.c (strlen): Likewise.
1947         * string/strtok.c (STRTOK): Likewise.
1948         * string/strcat.c: Remove unused #include of memcopy.h.
1949         (strcat): Use ANSI prototype.
1950         * string/strchr.c: Remove unused #include of memcopy.h.
1951         (strchr): Use ANSI prototype.
1952         * string/strcmp.c: Remove unused #include of memcopy.h.
1953         (strcmp): Use ANSI prototype.
1954         * string/strcpy.c: Remove unused #include of memcopy.h.
1955         (strcpy): Use ANSI prototype.
1957 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1959         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
1960         * config.make.in (config-extra-cppflags): Set it from
1961         libc_extra_cppflags.
1962         * configure.ac (libc_extra_cflags): Make it accumulate over
1963         configure fragments.
1964         (libc_extra_cppflags): New flag.
1965         * configure. Regenerate.
1966         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
1967         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
1968         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
1969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
1971         [BZ #16815]
1972         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
1973         result for FE_DOWNWARD rounding mode.
1974         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
1975         Likewise.
1976         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1978 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
1980         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
1981         in function argument name.
1983 2014-04-03  David Svoboda  <svoboda@cert.org>
1985         [BZ #5666]
1986         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
1987         explicitly.
1989 2014-04-03  Roland McGrath  <roland@hack.frob.com>
1991         * elf/dl-unmap-segments.h: New file.
1992         * sysdeps/generic/ldsodefs.h
1993         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
1994         * elf/dl-close.c: Include <dl-unmap-segments.h>.
1995         * elf/dl-fptr.c: Likewise.
1996         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
1997         * sysdeps/aarch64/tlsdesc.c: Likewise.
1998         * sysdeps/arm/tlsdesc.c: Likewise.
1999         * sysdeps/i386/tlsdesc.c: Likewise.
2000         * sysdeps/tile/dl-runtime.c: Likewise.
2001         * sysdeps/x86_64/tlsdesc.c: Likewise.
2002         * elf/dl-load.h: New file.
2003         * elf/dl-load.c: Include it.
2004         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2005         Macros moved to dl-load.h.
2006         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2007         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2008         Use _dl_unmap_segments in place of __munmap.
2009         Break out segment-mapping loop into ...
2010         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2012 2014-04-03  Will Newton  <will.newton@linaro.org>
2014         * elf/dl-lookup.c (do_lookup_x): Remove comment
2015         referring to nested function and move variable
2016         declarations down to before first use.
2018 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2020         [BZ #16799]
2021         [BZ #16800]
2022         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2023         with 0 numerator.
2024         * math/s_catanf.c (__catanf): Likewise.
2025         * math/s_catanh.c (__catanh): Likewise.
2026         * math/s_catanhf.c (__catanhf): Likewise.
2027         * math/s_catanhl.c (__catanhl): Likewise.
2028         * math/s_catanl.c (__catanl): Likewise.
2029         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2030         by positive zero when computing -Inf result.
2031         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2032         (catanh_test): Likewise.
2033         * sysdeps/i386/fpu/libm-test-ulps: Update.
2034         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2036         [BZ #16789]
2037         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2038         instead of using underflowing value in computing result.
2039         * math/s_clog10.c (__clog10): Likewise.
2040         * math/s_clog10f.c (__clog10f): Likewise.
2041         * math/s_clog10l.c (__clog10l): Likewise.
2042         * math/s_clogf.c (__clogf): Likewise.
2043         * math/s_clogl.c (__clogl): Likewise.
2044         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2045         (clog10_test): Likewise.
2046         * sysdeps/i386/fpu/libm-test-ulps: Update.
2047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2049 2014-04-02  Alan Modra  <amodra@gmail.com>
2051         [BZ #16739]
2052         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2053         output when value is near a power of two.  Use int64_t for lx and
2054         remove casts.  Use decimal rather than hex exponent constants.
2055         Don't use long double multiplication when double will suffice.
2056         * math/libm-test.inc (nextafter_test_data): Add tests.
2057         * NEWS: Add 16739 and 16786 to bug list.
2059         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2061         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2063 2014-04-01  Will Newton  <will.newton@linaro.org>
2065         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2066         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2068 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2070         [BZ #13347]
2071         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2072         * nptl/tst-setuid2.c: New file.
2073         * nptl/Makefile (xtests): Add tst-setuid2.
2075 2014-04-01  Alan Modra  <amodra@gmail.com>
2077         [BZ #16786]
2078         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2080 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2082         [BZ #6803]
2083         [BZ #6804]
2084         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2085         set errno as appropriate.
2086         * math/w_scalbf.c (__scalbf): Likewise.
2087         * math/w_scalbl.c (__scalbl): Likewise.
2088         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2089         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2090         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2091         Add more NaN tests.
2093         [BZ #16349]
2094         * math/w_atan2.c: Include <errno.h>.
2095         (__atan2): Set errno for result underflowing to zero.
2096         * math/w_atan2f.c: Include <errno.h>.
2097         (__atan2f): Set errno for result underflowing to zero.
2098         * math/w_atan2l.c: Include <errno.h>.
2099         (__atan2l): Set errno for result underflowing to zero.
2100         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2101         tests.
2102         * math/auto-libm-test-out: Regenerated.
2104 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2106         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2107         Encode instruction correctly in little endian.
2108         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2109         Likewise.
2110         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2111         Likewise.
2112         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2113         Likewise.
2114         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2115         Likewise.
2117 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2119         [BZ #9894]
2120         * sysdeps/unix/sysv/linux/kernel-features.h
2121         [__sparc__ && !__arch64__ && !__sparc_v9__]
2122         (__ASSUME_SET_ROBUST_LIST): Do not define.
2123         [__sparc__ && !__arch64__ && !__sparc_v9__]
2124         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2125         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2126         Likewise.
2127         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2128         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2129         (__ASSUME_REQUEUE_PI): Likewise.
2130         (__ASSUME_SET_ROBUST_LIST): Likewise.
2131         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2132         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2133         Undefine.
2134         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2135         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2136         Likewise.
2137         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2138         Likewise.
2139         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2140         Likewise.
2141         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2142         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2143         Undefine.
2144         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2145         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2146         Likewise.
2148         [BZ #16648]
2149         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2150         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2151         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2153 2014-03-31  Will Newton  <will.newton@linaro.org>
2155         * benchtests/Makefile (bench): Add ffs and ffsll to list
2156         of tests.
2157         * benchtests/ffs-inputs: New file.
2158         * benchtests/ffsll-inputs: Likewise.
2160 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2162         [BZ #16770]
2163         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2164         too large before casting to int.
2165         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2166         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2167         * math/libm-test.inc (scalb_test_data): Add more tests.
2169 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2171         * benchtests/Makefile (DETAILED_OPT): New make option.
2172         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2173         set.
2174         * benchtests/bench-skeleton.c: Include stdbool.h.
2175         (main): Store and print timings per input.
2176         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2177         member to each argument value.
2178         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2179         (_print_arg_data): Initialize per-input timing to 0.
2181         * benchtests/Makefile (timing-type): New binary.
2182         (bench-clean): Also remove bench-timing-type.
2183         (bench): New target for timing-type.
2184         (bench-func): Print output in JSON format.
2185         * benchtests/bench-skeleton.c (main): Print output in JSON
2186         format.
2187         * benchtests/bench-timing-type.c: New file.
2188         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2189         (TIMING_PRINT_STATS): Remove.
2190         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2191         name separately.
2193         * benchtests/bench-modf.c: Remove.
2194         * benchtests/modf-inputs: New inputs file.
2196 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2198         [BZ #16362]
2199         * math/s_clog10.c (M_PI_LOG10E): New macro.
2200         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2201         imaginary parts are 0.
2202         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2203         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2204         imaginary parts are 0.
2205         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2206         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2207         imaginary parts are 0.
2208         * math/libm-test.inc (clog10_test_data): Update expected results
2209         for when real and imaginary parts are 0.
2211 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2213         * elf/dl-load.c: Finish conversion of __builtin_expect into
2214         __glibc_{un}likely.
2216 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2218         [BZ #16348]
2219         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2220         1+x for argument with exponent below -67.
2221         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2222         Likewise.
2223         * math/auto-libm-test-in: Add more tests of exp.
2224         * math/auto-libm-test-out: Regenerated.
2226 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2228         [BZ #16759]
2229         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2230         (nscd_getnetgrent): Use it.
2232         [BZ #16760]
2233         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2234         of stpcpy.
2236 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2238         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2239         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2240         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2241         (lll_robust_unlock): Remove out of line section. Use cfi
2242         intrinsics.
2243         (LLL_STUB_UNWIND_INFO*): Remove.
2244         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2245         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2246         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2247         (lll_robust_unlock): Remove out of line section. Use cfi
2248         intrinsics.
2249         (LLL_STUB_UNWIND_INFO*): Remove.
2251 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2253         [BZ #16758]
2254         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2255         blank values.
2257 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2259         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2261 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2263         [BZ #16198]
2264         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2265         fnstenv.
2266         * math/test-fenv-preserve.c: New file.
2267         * math/Makefile (tests): Add test-fenv-preserve.
2269 2014-03-26  Will Newton <will.newton@linaro.org>
2271         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2273 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2275         * scripts/versionlist.awk: Partition the version sets and emit all
2276         GLIBC_* (sorted) before all others (sorted).
2278 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2280         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2281         GLIBC_2.2.5 version.
2283 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2285         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2286         calls.
2288         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2289         previous change.
2291         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2293 2014-03-25  Andreas Schwab  <schwab@suse.de>
2295         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2296         label to be used after in6ailist is initialized.
2298 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2300         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2301         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2303 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2305         [BZ #16357]
2306         [BZ #16599]
2307         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2308         min_plus_half.
2309         (fp_formats): Update initializers.
2310         (init_fp_formats): Initialize new field.
2311         (output_for_one_input_case): Allow underflow for results up to
2312         min_plus_half.
2313         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2314         * math/auto-libm-test-in: Don't mark some underflows from asin and
2315         atanh as spurious.
2316         * math/auto-libm-test-out: Regenerated.
2317         * sysdeps/i386/fpu/libm-test-ulps: Update.
2318         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2320 2014-03-25  Andreas Schwab  <schwab@suse.de>
2322         * libio/Makefile (tst-ftell-partial-wide-ENV)
2323         (tst-ftell-active-handler-ENV): Define.
2325 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2327         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2329 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2331         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2333 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2335         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2336         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2337         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2339 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2341         [BZ #16634]
2342         * elf/dl-load.c (open_verify): Add mode parameter.
2343         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2344         (open_path): Change from boolean 'secure' to complete flag 'mode'
2345         (_dl_map_object): Adjust.
2346         * elf/Makefile (tests): Add tst-dlopen-aout.
2347         * elf/tst-dlopen-aout.c: New test.
2349 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2351         [BZ #16714]
2352         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2353         (struct stat): Rename member pad0 to __glibc_reserved0.
2355         [BZ #16712]
2356         * sysdeps/s390/s390-32/bits/wordsize.h
2357         (__WORDSIZE32_SIZE_ULONG): New define.
2358         * sysdeps/s390/s390-64/bits/wordsize.h
2359         (__WORDSIZE32_SIZE_ULONG): Likewise.
2360         * sysdeps/generic/stdint.h (SIZE_MAX):
2361         Define as UL if __WORDSIZE32_SIZE_ULONG.
2363         [BZ #16713]
2364         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2365         (__glibc_reserved0): New variable.
2366         (sa_flags): Change type to int.
2368         * posix/Makefile (before-compile): Use += before-compile instead
2369         of a :=.
2371         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2372         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2374 2014-03-20  Andreas Schwab  <schwab@suse.de>
2376         [BZ #16743]
2377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2378         non-matching result from nscd.
2380 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2382         * scripts/bench.py: Moved to ...
2383         * benchtests/scripts/bench.py: ... here.
2384         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2386 2014-03-24  Andreas Schwab  <schwab@suse.de>
2388         [BZ #16002]
2389         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2390         alloca_account and account alloca use for struct in6ailist.
2392 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2394         [BZ #16284]
2395         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2396         rounding mode to recompute results that overflow to infinity or
2397         underflow to zero.
2398         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2399         bug 16284.
2400         * math/auto-libm-test-out: Regenerated.
2401         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2402         (ccosh_test): Likewise.
2403         (csin_test_data): Use plus_oflow.
2404         (csin_test): Use ALL_RM_TEST.
2405         (csinh_test_data): Use plus_oflow.
2406         (csinh_test): Use ALL_RM_TEST.
2407         * sysdeps/i386/fpu/libm-test-ulps: Update.
2408         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2410 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2412         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2413         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2414         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2416         [BZ #16731]
2417         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2418         when x - 1 is zero.
2419         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2420         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2421         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2422         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2423         argument is 1.
2424         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2425         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2426         zero.
2427         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2428         * sysdeps/i386/fpu/libm-test-ulps: Update.
2429         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2431 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2433         * scripts/bench.pl: Remove file.
2434         * scripts/bench.py: New benchmark script.
2435         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2436         * benchtests/README: Mention python dependency.
2437         * scripts/pylintrc: New file.
2438         * scripts/pylint: New file.
2440         * bits/mathdef.h: Use #ifdef instead of #if.
2441         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2442         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2443         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2444         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2445         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2446         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2448 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2449             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2451         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2452         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2453         and strpbrk-ppc64 objects.
2454         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2455         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2456         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2457         multiarch strpbrk for POWER7.
2458         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2459         multiarch strpbrk for PPC64.
2460         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2461         ifunc selector.
2462         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2463         strpbrk for POWER7.
2465 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2467         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2468         (atan_test): Likewise.
2469         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2470         (atanh_test): Use ALL_RM_TEST.
2471         (atan2_test_data): Likewise.
2472         (cabs_test): Likewise.
2473         (cacosh_test): Likewise.
2474         (carg_test): Likewise.
2475         (casin_test): Likewise.
2476         (casinh_test): Likewise.
2477         (cbrt_test): Likewise.
2478         (csqrt_test): Likewise.
2479         (erf_test): Likewise.
2480         (erfc_test): Likewise.
2481         (pow10_test): Likewise.
2482         (exp2_test): Likewise.
2483         (hypot_test): Likewise.
2484         (j0_test): Likewise.
2485         (j1_test): Likewise.
2486         (lgamma_test): Likewise.
2487         (gamma_test): Likewise.
2488         (sincos_test): Likewise.
2489         (tanh_test): Likewise.
2490         (y0_test): Likewise.
2491         (y1_test): Likewise.
2492         * sysdeps/i386/fpu/libm-test-ulps: Update.
2493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2495 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2497         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2498         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2499         and strcspn-ppc64 objects.
2500         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2501         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2502         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2503         multiarch strcspn for POWER7.
2504         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2505         multiarch strcspn for PPC64.
2506         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2507         ifunc selector.
2508         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2509         strcspn for POWER7.
2511 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2513         * math/gen-libm-test.pl (generate_testfile): Expect only function
2514         name as argument to AUTO_TESTS_* and pass results for all rounding
2515         modes to parse_args.
2516         (parse_auto_input): Separate inputs of automatic tests from
2517         outputs before storing in %auto_tests.
2518         * math/libm-test.inc (acos_test_data): Update call to
2519         AUTO_TESTS_f_f.
2520         (acos_test): Use ALL_RM_TEST.
2521         (acos_tonearest_test_data): Remove.
2522         (acos_test_tonearest): Likewise.
2523         (acos_towardzero_test_data): Likewise.
2524         (acos_test_towardzero): Likewise.
2525         (acos_downward_test_data): Likewise.
2526         (acos_test_downward): Likewise.
2527         (acos_upward_test_data): Likewise.
2528         (acos_test_upward): Likewise.
2529         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2530         (asin_test_data): Likewise.
2531         (asin_test): Use ALL_RM_TEST.
2532         (asin_tonearest_test_data): Remove.
2533         (asin_test_tonearest): Likewise.
2534         (asin_towardzero_test_data): Likewise.
2535         (asin_test_towardzero): Likewise.
2536         (asin_downward_test_data): Likewise.
2537         (asin_test_downward): Likewise.
2538         (asin_upward_test_data): Likewise.
2539         (asin_test_upward): Likewise.
2540         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2541         (atan_test_data): Likewise.
2542         (atanh_test_data): Likewise.
2543         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2544         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2545         (carg_test_data): Likewise.
2546         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2547         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2548         (ccosh_test_data): Likewise.
2549         (cexp_test_data): Likewise.
2550         (clog_test_data): Likewise.
2551         (clog10_test_data): Likewise.
2552         (cos_test_data): Update call to AUTO_TESTS_f_f.
2553         (cos_test): Use ALL_RM_TEST.
2554         (cos_tonearest_test_data): Remove.
2555         (cos_test_tonearest): Likewise.
2556         (cos_towardzero_test_data): Likewise.
2557         (cos_test_towardzero): Likewise.
2558         (cos_downward_test_data): Likewise.
2559         (cos_test_downward): Likewise.
2560         (cos_upward_test_data): Likewise.
2561         (cos_test_upward): Likewise.
2562         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2563         (cosh_test): Use ALL_RM_TEST.
2564         (cosh_tonearest_test_data): Remove.
2565         (cosh_test_tonearest): Likewise.
2566         (cosh_towardzero_test_data): Likewise.
2567         (cosh_test_towardzero): Likewise.
2568         (cosh_downward_test_data): Likewise.
2569         (cosh_test_downward): Likewise.
2570         (cosh_upward_test_data): Likewise.
2571         (cosh_test_upward): Likewise.
2572         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2573         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2574         (ctan_test_data): Likewise.
2575         (ctan_test): Use ALL_RM_TEST.
2576         (ctan_tonearest_test_data): Remove.
2577         (ctan_test_tonearest): Likewise.
2578         (ctan_towardzero_test_data): Likewise.
2579         (ctan_test_towardzero): Likewise.
2580         (ctan_downward_test_data): Likewise.
2581         (ctan_test_downward): Likewise.
2582         (ctan_upward_test_data): Likewise.
2583         (ctan_test_upward): Likewise.
2584         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2585         (ctanh_test): Use ALL_RM_TEST.
2586         (ctanh_tonearest_test_data): Remove.
2587         (ctanh_test_tonearest): Likewise.
2588         (ctanh_towardzero_test_data): Likewise.
2589         (ctanh_test_towardzero): Likewise.
2590         (ctanh_downward_test_data): Likewise.
2591         (ctanh_test_downward): Likewise.
2592         (ctanh_upward_test_data): Likewise.
2593         (ctanh_test_upward): Likewise.
2594         (erf_test_data): Update call to AUTO_TESTS_f_f.
2595         (erfc_test_data): Likewise.
2596         (exp_test_data): Likewise.
2597         (exp_test): Use ALL_RM_TEST.
2598         (exp_tonearest_test_data): Remove.
2599         (exp_test_tonearest): Likewise.
2600         (exp_towardzero_test_data): Likewise.
2601         (exp_test_towardzero): Likewise.
2602         (exp_downward_test_data): Likewise.
2603         (exp_test_downward): Likewise.
2604         (exp_upward_test_data): Likewise.
2605         (exp_test_upward): Likewise.
2606         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2607         (exp10_test): Use ALL_RM_TEST.
2608         (exp10_tonearest_test_data): Remove.
2609         (exp10_test_tonearest): Likewise.
2610         (exp10_towardzero_test_data): Likewise.
2611         (exp10_test_towardzero): Likewise.
2612         (exp10_downward_test_data): Likewise.
2613         (exp10_test_downward): Likewise.
2614         (exp10_upward_test_data): Likewise.
2615         (exp10_test_upward): Likewise.
2616         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2617         (expm1_test_data): Likewise.
2618         (expm1_test): Use ALL_RM_TEST.
2619         (expm1_tonearest_test_data): Remove.
2620         (expm1_test_tonearest): Likewise.
2621         (expm1_towardzero_test_data): Likewise.
2622         (expm1_test_towardzero): Likewise.
2623         (expm1_downward_test_data): Likewise.
2624         (expm1_test_downward): Likewise.
2625         (expm1_upward_test_data): Likewise.
2626         (expm1_test_upward): Likewise.
2627         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2628         (fma_test): Use ALL_RM_TEST.
2629         (fma_towardzero_test_data): Remove.
2630         (fma_test_towardzero): Likewise.
2631         (fma_downward_test_data): Likewise.
2632         (fma_test_downward): Likewise.
2633         (fma_upward_test_data): Likewise.
2634         (fma_test_upward): Likewise.
2635         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2636         (j0_test_data): Update call to AUTO_TESTS_f_f.
2637         (j1_test_data): Likewise.
2638         (jn_test_data): Update call to AUTO_TESTS_if_f.
2639         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2640         (log_test_data): Update call to AUTO_TESTS_f_f.
2641         (log10_test_data): Likewise.
2642         (log1p_test_data): Likewise.
2643         (log2_test_data): Likewise.
2644         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2645         (pow_tonearest_test_data): Likewise.
2646         (sin_test_data): Update call to AUTO_TESTS_f_f.
2647         (sin_test): Use ALL_RM_TEST.
2648         (sin_tonearest_test_data): Remove.
2649         (sin_test_tonearest): Likewise.
2650         (sin_towardzero_test_data): Likewise.
2651         (sin_test_towardzero): Likewise.
2652         (sin_downward_test_data): Likewise.
2653         (sin_test_downward): Likewise.
2654         (sin_upward_test_data): Likewise.
2655         (sin_test_upward): Likewise.
2656         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2657         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2658         (sinh_test): Use ALL_RM_TEST.
2659         (sinh_tonearest_test_data): Remove.
2660         (sinh_test_tonearest): Likewise.
2661         (sinh_towardzero_test_data): Likewise.
2662         (sinh_test_towardzero): Likewise.
2663         (sinh_downward_test_data): Likewise.
2664         (sinh_test_downward): Likewise.
2665         (sinh_upward_test_data): Likewise.
2666         (sinh_test_upward): Likewise.
2667         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2668         (sqrt_test): Use ALL_RM_TEST.
2669         (sqrt_tonearest_test_data): Remove.
2670         (sqrt_test_tonearest): Likewise.
2671         (sqrt_towardzero_test_data): Likewise.
2672         (sqrt_test_towardzero): Likewise.
2673         (sqrt_downward_test_data): Likewise.
2674         (sqrt_test_downward): Likewise.
2675         (sqrt_upward_test_data): Likewise.
2676         (sqrt_test_upward): Likewise.
2677         (tan_test_data): Update call to AUTO_TESTS_f_f.
2678         (tan_test): Use ALL_RM_TEST.
2679         (tan_tonearest_test_data): Remove.
2680         (tan_test_tonearest): Likewise.
2681         (tan_towardzero_test_data): Likewise.
2682         (tan_test_towardzero): Likewise.
2683         (tan_downward_test_data): Likewise.
2684         (tan_test_downward): Likewise.
2685         (tan_upward_test_data): Likewise.
2686         (tan_test_upward): Likewise.
2687         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2688         (tgamma_test_data): Likewise.
2689         (y0_test_data): Likewise.
2690         (y1_test_data): Likewise.
2691         (yn_test_data): Update call to AUTO_TESTS_if_f.
2692         (main): Do not call removed functions.
2694 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2696         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2697         (ldexp_test_data): Remove.
2698         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2699         scalbn_test_data.
2700         (scalb_test): Use ALL_RM_TEST.
2702 2014-03-19  Andreas Schwab  <schwab@suse.de>
2704         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2706 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2708         [BZ #16649]
2709         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2710         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2711         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2712         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2713         (__ASSUME_PREADV): Undefine.
2714         (__ASSUME_PWRITEV): Likewise.
2716 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2718         * bits/mman-linux.h: Add comment about non-Linux use.
2719         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2720         bits/mman-linux.h resting place.
2722         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2723         * bits/mman-linux.h: ... here.
2725 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2727         * conform/conformtest.pl: Add standard definition when calling C
2728         preprocessor on data files.
2729         (checknamespace): Remove unused variable.
2731 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2733         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2734         minus_oflow, plus_uflow and minus_uflow in expected results.
2735         * math/libm-test.inc (scalbn_test_data): Add more tests of
2736         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2737         minus_uflow.
2738         (scalbn_test): Use ALL_RM_TEST.
2739         (scalbln_test_data): Add more tests of negative arguments.  Use
2740         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2741         (scalbln_test): Use ALL_RM_TEST.
2743 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2745         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2747 2014-03-18  Will Newton  <will.newton@linaro.org>
2749         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2750         inaccurate comment.
2752 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2754         * Makerules [!subdir] (check-abi): Exit with error status if a
2755         test failed.
2757 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2759         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2760         for rint.  Include results for all rounding modes.
2761         (nearbyint_test): Use ALL_RM_TEST.
2762         (rint_test_data): Include all tests used for nearbyint.
2764 2014-03-17  Will Newton  <will.newton@linaro.org>
2766         * nptl/sysdeps/pthread/pthread.h: Revert previous
2767         change.
2769         * sysdeps/generic/ldsodefs.h: Revert previous
2770         change.
2772         * libio/genops.c: Revert previous change.
2773         * libio/libioP.h: Likewise.
2774         * stdio-common/vfprintf.c: Likewise.
2776         * sysdeps/generic/math_private.h: Revert previous
2777         change.
2779         * sysdeps/generic/math_private.h: Check whether
2780         HAVE_RM_CTX is defined with #ifdef rather
2781         than #if.
2783         * argp/argp-fmtstream.h: Check whether
2784         __STRICT_ANSI__ is defined with #ifdef rather
2785         than #if.
2786         * argp/argp.h: Likewise.
2788         * libio/genops.c: Check whether
2789         _IO_JUMPS_OFFSET is defined with #ifdef rather
2790         than #if.
2791         * libio/libioP.h: Likewise.
2792         * stdio-common/vfprintf.c: Likewise.
2794         * sysdeps/generic/ldsodefs.h: Check whether
2795         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2796         than #if.
2798         * nptl/sysdeps/pthread/pthread.h: Check
2799         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2800         its value.
2802 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2804         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2805         setting O_APPEND.
2806         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2807         test case.
2809         [BZ #16680]
2810         * libio/fileops.c (_IO_file_open): Seek to end of file but
2811         don't cache the offset.
2812         (get_file_offset): Remove function.
2813         (do_ftell): Use cached offset when available.
2814         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2815         don't cache the offset.
2816         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2817         case.
2818         (do_one_test): Call it.
2819         (do_ftell_test): Fix up expected old offset for a+ mode.
2820         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2821         available.
2823         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2824         up test status with function return status.
2825         (do_write_test): Likewise.
2826         (do_append_test): Likewise.
2828         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2829         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2830         Remove.
2832 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2834         * math/gen-libm-test.pl (parse_args): Handle results specified for
2835         each rounding mode separately.
2836         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2837         tests and results from lrint_tonearest_test_data,
2838         lrint_towardzero_test_data, lrint_downward_test_data and
2839         lrint_upward_test_data.
2840         (lrint_test): Use ALL_RM_TEST.
2841         (lrint_tonearest_test_data): Remove.
2842         (lrint_test_tonearest): Likewise.
2843         (lrint_towardzero_test_data): Likewise.
2844         (lrint_test_towardzero): Likewise.
2845         (lrint_downward_test_data): Likewise.
2846         (lrint_test_downward): Likewise.
2847         (lrint_upward_test_data): Likewise.
2848         (lrint_test_upward): Likewise.
2849         (llrint_test_data): Merge in per-rounding-mode tests and results
2850         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2851         llrint_downward_test_data and llrint_upward_test_data.
2852         (llrint_test): Use ALL_RM_TEST.
2853         (llrint_tonearest_test_data): Remove.
2854         (llrint_test_tonearest): Likewise.
2855         (llrint_towardzero_test_data): Likewise.
2856         (llrint_test_towardzero): Likewise.
2857         (llrint_downward_test_data): Likewise.
2858         (llrint_test_downward): Likewise.
2859         (llrint_upward_test_data): Likewise.
2860         (llrint_test_upward): Likewise.
2861         (rint_test_data): Merge in per-rounding-mode tests and results
2862         from rint_tonearest_test_data, rint_towardzero_test_data,
2863         rint_downward_test_data and rint_upward_test_data.  Add
2864         per-rounding-mode results for tests not in those arrays.
2865         (rint_test): Use ALL_RM_TEST.
2866         (rint_tonearest_test_data): Remove.
2867         (rint_test_tonearest): Likewise.
2868         (rint_towardzero_test_data): Likewise.
2869         (rint_test_towardzero): Likewise.
2870         (rint_downward_test_data): Likewise.
2871         (rint_test_downward): Likewise.
2872         (rint_upward_test_data): Likewise.
2873         (rint_test_upward): Likewise.
2874         (main): Don't call removed functions.
2876 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2878         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
2879         "Compiled on ..." crapola.  It is anti-useful.
2881 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
2883         * scripts/evaluate-test.sh: Handle fourth argument to determine
2884         whether test run should stop on failure.
2885         * Makeconfig (stop-on-test-failure): New variable.
2886         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
2887         $(stop-on-test-failure).
2888         * Makefile (tests): Give a summary of results from testing and
2889         exit with failure status if they include an ERROR or FAIL.
2890         (xtests): Likewise.
2891         * manual/install.texi (Configuring and compiling): Mention
2892         stop-on-test-failure=y.
2893         * INSTALL: Regenerated.
2895 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2897         * scripts/versionlist.awk: New file.
2898         * Makerules [$(build-shared) = yes]
2899         (postclean-generated): Add Versions.def, not Versions.def.v and
2900         Versions.def.v.i.
2901         ($(common-objpfx)Versions.def.v.i): Target removed.
2902         ($(common-objpfx)Versions.def): New target.
2903         ($(common-objpfx)Versions.all): Depend on that rather that
2904         $(common-objpfx)Versions.def.v.
2905         * Versions.def: File removed.
2907         * Makeconfig (+gccwarn): Add -Wundef.
2908         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
2909         a dl-sysdep.h breaking its contract.
2910         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
2911         * include/stackinfo.h: New file.
2912         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
2913         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
2914         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
2915         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
2916         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
2917         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
2918         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2919         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2920         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2921         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2922         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2923         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
2924         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2925         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2926         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
2928 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2930         [BZ #16707]
2931         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
2932         implementation.
2933         * math/libm-test.inc (round_test_data): Add more tests.
2935         [BZ #16706]
2936         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
2937         implementation.
2938         * math/libm-test.inc (nearbyint_test_data): Add more tests.
2940         [BZ #16701]
2941         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
2942         implementation.
2943         * math/libm-test.inc (ceil_test_data): Add more tests.
2945         * math/libm-test.inc (trunc_test_data): Add more tests related to
2946         BZ#16414.
2948 2014-03-14  Roland McGrath  <roland@hack.frob.com>
2950         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
2951         with #if rather than #ifdef.
2952         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
2954 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
2956         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
2957         first.  Disable AVX-512 GCC support if assembler doesn't support
2958         it.
2959         * sysdeps/x86_64/configure: Regenerated.
2961 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
2963         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
2964         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
2965         (__old_pthread_attr_setstack): Likewise.
2966         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
2967         [!_STACK_GROWS_DOWN]: Likewise.
2969 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
2971         * config.make.in (have-bash2): Delete.
2972         * configure.ac (libc_cv_have_bash2): Delete.
2973         * configure: Regenerate.
2974         * elf/Makefile (common-ldd-rewrite): Rename to ...
2975         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
2976         (sh-ldd-rewrite): Delete.
2977         (bash-ldd-rewrite): Delete.
2978         (have-bash2): Delete checks.
2979         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
2980         ldd-rewrite.
2982         * config.make.in (have-ksh): Delete.
2983         (KSH): Delete.
2984         * configure.ac (libc_cv_have_ksh): Delete.
2985         * configure: Regenerate.
2987         * elf/Makefile: Delete $(have-ksh) check.
2988         ($(objpfx)sotruss): Change KSH to BASH.
2989         * elf/sotruss.ksh: Rename to ...
2990         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
2991         function style to match POSIX.  Drop ksh vim mode setting.
2993         * manual/time.texi (Specifying the Time Zone with TZ): Change
2994         Tuesday to Thursday.
2996         * debug/tst-longjmp_chk2.c: Update header comment.
2997         (stackoverflow_handler): Add comment.  Call assert on pass value.
2999 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3001         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3002         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3003         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3004         (La_x86_64_vector): Add zmm.
3005         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3006         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3007         ($(objpfx)tst-audit10): New target.
3008         ($(objpfx)tst-audit10.out): Likewise.
3009         (tst-audit10-ENV): New.
3010         (AVX512-CFLAGS): Likewise.
3011         (CFLAGS-tst-audit10.c): Likewise.
3012         (CFLAGS-tst-auditmod10a.c): Likewise.
3013         (CFLAGS-tst-auditmod10b.c): Likewise.
3014         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3015         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3016         * sysdeps/x86_64/configure: Regenerated.
3017         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3018         AVX-512 zmm register support.
3019         (_dl_x86_64_save_sse): Likewise.
3020         (_dl_x86_64_restore_sse): Likewise.
3021         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3022         size vector registers.
3023         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3024         (ZMM_SIZE): Likewise.
3025         * sysdeps/x86_64/tst-audit10.c: New file.
3026         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3027         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3029 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3031         * configure.ac (HAVE_EHDR_START): New check.
3032         * configure: Regenerated.
3033         * config.h.in (HAVE_EHDR_START): New #undef.
3034         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3035         assuming the lowest-addressed segment maps the start of the file.
3037 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3039         * INSTALL: Regenerated.
3041 2014-03-13  Will Newton  <will.newton@linaro.org>
3043         * manual/setjmp.texi (System V contexts): Improve
3044         clarity and grammar of documentation.
3046 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3048         [BZ #16381]
3049         * elf/Makefile (tests): Add tst-pie2.
3050         (tests-pie): Add tst-pie2.
3051         * elf/tst-pie2.c: New file.
3052         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3053         for ET_EXEC.
3054         * elf/rtld.c (map_doit): Load executable as lt_executable.
3055         (dl_main): Likewise.
3057 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3059         [BZ #16642]
3060         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3061         (__ASSUME_PSELECT): Undefine.
3063 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3065         [BZ #16689]
3066         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3067         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3068         static build.
3069         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3070         selector for static builds.
3072 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3074         [BZ #16695]
3075         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3076         key in the buffer.
3078 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3080         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3081         IFUNC selector for static builds.
3083 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3085         * sysdeps/mips/math_private.h [__mips_hard_float]
3086         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3087         libc_feresetround_mips_ctx.
3088         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3089         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3090         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3092         [BZ #16677]
3093         * math/s_nextafter.c (__nextafter): Do not return value from
3094         overflowing computation.
3095         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3096         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3097         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3098         Likewise.
3099         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3100         Likewise.
3101         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3102         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3104 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3106         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3107         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3108         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3109         the new mov targetting sp.
3111 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3113         [BZ #16683]
3114         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3115         Define it for static builds as well.
3116         (NO_BZERO_IMPL): Likewise.
3118 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3120         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3121         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3122         multiarch strspn for PPC64.
3123         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3124         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3125         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3126         (__libc_ifunc_impl_list): Likewise.
3127         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3128         multiarch optimizations
3129         * string/strspn.c (strspn): Using macro to redefine symbol name.
3131 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3132             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3134         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3135         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3136         multiarch strncat for PPC64.
3137         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3138         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3140         (__libc_ifunc_impl_list): Likewise.
3141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3142         multiarch optimizations
3144 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3146         [BZ #16639]
3147         * nscd/nscd.service: Make service type forking.
3149 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3151         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3152         sign in non default rounding modes.
3153         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3155 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3157         * math/libm-test.inc (ALL_RM_TEST): New macro.
3158         (ceil_test): Use ALL_RM_TEST.
3159         (cimag_test): Likewise.
3160         (conj_test): Likewise.
3161         (copysign_test): Likewise.
3162         (cproj_test): Likewise.
3163         (creal_test): Likewise.
3164         (fabs_test): Likewise.
3165         (floor_test): Likewise.
3166         (fmax_test): Likewise.
3167         (fmin_test): Likewise.
3168         (fmod_test): Likewise.
3169         (fpclassify_test): Likewise.
3170         (frexp_test): Likewise.
3171         (ilogb_test): Likewise.
3172         (isfinite_test): Likewise.
3173         (finite_test): Likewise.
3174         (isgreater_test): Likewise.
3175         (isgreaterequal_test): Likewise.
3176         (isinf_test): Likewise.
3177         (isless_test): Likewise.
3178         (islessequal_test): Likewise.
3179         (islessgreater_test): Likewise.
3180         (isnan_test): Likewise.
3181         (isnormal_test): Likewise.
3182         (issignaling_test): Likewise.
3183         (isunordered_test): Likewise.
3184         (logb_test): Likewise.
3185         (logb_downward_test_data): Remove.
3186         (logb_test_downward): Likewise.
3187         (lround_test): Use ALL_RM_TEST.
3188         (llround_test): Likewise.
3189         (modf_test): Likewise.
3190         (nexttoward_test): Likewise.
3191         (remainder_test): Likewise.
3192         (drem_test): Likewise.
3193         (remainder_tonearest_test_data): Likewise.
3194         (remainder_test_tonearest): Likewise.
3195         (drem_test_tonearest): Likewise.
3196         (remainder_towardzero_test_data): Likewise.
3197         (remainder_test_towardzero): Likewise.
3198         (drem_test_towardzero): Likewise.
3199         (remainder_downward_test_data): Likewise.
3200         (remainder_test_downward): Likewise.
3201         (drem_test_downward): Likewise.
3202         (remainder_upward_test_data): Likewise.
3203         (remainder_test_upward): Likewise.
3204         (drem_test_upward): Likewise.
3205         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3206         (round_test): Use ALL_RM_TEST.
3207         (signbit_test): Likewise.
3208         (trunc_test): Likewise.
3209         (significand_test): Likewise.
3210         (main): Don't call removed functions.
3212 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3214         [BZ #16674]
3215         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3216         || __USE_XOPEN2K8].
3217         (ILL_ILLOPN): Likewise.
3218         (ILL_ILLADR): Likewise.
3219         (ILL_ILLTRP): Likewise.
3220         (ILL_PRVOPC): Likewise.
3221         (ILL_PRVREG): Likewise.
3222         (ILL_COPROC): Likewise.
3223         (ILL_BADSTK): Likewise.
3224         (FPE_INTDIV): Likewise.
3225         (FPE_INTOVF): Likewise.
3226         (FPE_FLTDIV): Likewise.
3227         (FPE_FLTOVF): Likewise.
3228         (FPE_FLTUND): Likewise.
3229         (FPE_FLTRES): Likewise.
3230         (FPE_FLTINV): Likewise.
3231         (FPE_FLTSUB): Likewise.
3232         (SEGV_MAPERR): Likewise.
3233         (SEGV_ACCERR): Likewise.
3234         (BUS_ADRALN): Likewise.
3235         (BUS_ADRERR): Likewise.
3236         (BUS_OBJERR): Likewise.
3237         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3238         (TRAP_TRACE): Likewise.
3239         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3240         __USE_XOPEN2K8].
3241         (CLD_KILLED): Likewise.
3242         (CLD_DUMPED): Likewise.
3243         (CLD_TRAPPED): Likewise.
3244         (CLD_STOPPED): Likewise.
3245         (CLD_CONTINUED): Likewise.
3246         (POLL_IN): Likewise.
3247         (POLL_OUT): Likewise.
3248         (POLL_MSG): Likewise.
3249         (POLL_ERR): Likewise.
3250         (POLL_PRI): Likewise.
3251         (POLL_HUP): Likewise.
3252         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3253         Likewise.
3254         (ILL_ILLOPN): Likewise.
3255         (ILL_ILLADR): Likewise.
3256         (ILL_ILLTRP): Likewise.
3257         (ILL_PRVOPC): Likewise.
3258         (ILL_PRVREG): Likewise.
3259         (ILL_COPROC): Likewise.
3260         (ILL_BADSTK): Likewise.
3261         (FPE_INTDIV): Likewise.
3262         (FPE_INTOVF): Likewise.
3263         (FPE_FLTDIV): Likewise.
3264         (FPE_FLTOVF): Likewise.
3265         (FPE_FLTUND): Likewise.
3266         (FPE_FLTRES): Likewise.
3267         (FPE_FLTINV): Likewise.
3268         (FPE_FLTSUB): Likewise.
3269         (SEGV_MAPERR): Likewise.
3270         (SEGV_ACCERR): Likewise.
3271         (BUS_ADRALN): Likewise.
3272         (BUS_ADRERR): Likewise.
3273         (BUS_OBJERR): Likewise.
3274         (BUS_MCEERR_AR): Likewise.
3275         (BUS_MCEERR_AO): Likewise.
3276         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3277         (TRAP_TRACE): Likewise.
3278         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3279         __USE_XOPEN2K8].
3280         (CLD_KILLED): Likewise.
3281         (CLD_DUMPED): Likewise.
3282         (CLD_TRAPPED): Likewise.
3283         (CLD_STOPPED): Likewise.
3284         (CLD_CONTINUED): Likewise.
3285         (POLL_IN): Likewise.
3286         (POLL_OUT): Likewise.
3287         (POLL_MSG): Likewise.
3288         (POLL_ERR): Likewise.
3289         (POLL_PRI): Likewise.
3290         (POLL_HUP): Likewise.
3291         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3292         (ILL_ILLOPN): Likewise.
3293         (ILL_ILLADR): Likewise.
3294         (ILL_ILLTRP): Likewise.
3295         (ILL_PRVOPC): Likewise.
3296         (ILL_PRVREG): Likewise.
3297         (ILL_COPROC): Likewise.
3298         (ILL_BADSTK): Likewise.
3299         (FPE_INTDIV): Likewise.
3300         (FPE_INTOVF): Likewise.
3301         (FPE_FLTDIV): Likewise.
3302         (FPE_FLTOVF): Likewise.
3303         (FPE_FLTUND): Likewise.
3304         (FPE_FLTRES): Likewise.
3305         (FPE_FLTINV): Likewise.
3306         (FPE_FLTSUB): Likewise.
3307         (SEGV_MAPERR): Likewise.
3308         (SEGV_ACCERR): Likewise.
3309         (BUS_ADRALN): Likewise.
3310         (BUS_ADRERR): Likewise.
3311         (BUS_OBJERR): Likewise.
3312         (BUS_MCEERR_AR): Likewise.
3313         (BUS_MCEERR_AO): Likewise.
3314         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3315         (TRAP_TRACE): Likewise.
3316         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3317         __USE_XOPEN2K8].
3318         (CLD_KILLED): Likewise.
3319         (CLD_DUMPED): Likewise.
3320         (CLD_TRAPPED): Likewise.
3321         (CLD_STOPPED): Likewise.
3322         (CLD_CONTINUED): Likewise.
3323         (POLL_IN): Likewise.
3324         (POLL_OUT): Likewise.
3325         (POLL_MSG): Likewise.
3326         (POLL_ERR): Likewise.
3327         (POLL_PRI): Likewise.
3328         (POLL_HUP): Likewise.
3329         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3330         Likewise.
3331         (ILL_ILLOPN): Likewise.
3332         (ILL_ILLADR): Likewise.
3333         (ILL_ILLTRP): Likewise.
3334         (ILL_PRVOPC): Likewise.
3335         (ILL_PRVREG): Likewise.
3336         (ILL_COPROC): Likewise.
3337         (ILL_BADSTK): Likewise.
3338         (ILL_BADIADDR): Likewise.
3339         (ILL_BREAK): Likewise.
3340         (FPE_INTDIV): Likewise.
3341         (FPE_INTOVF): Likewise.
3342         (FPE_FLTDIV): Likewise.
3343         (FPE_FLTOVF): Likewise.
3344         (FPE_FLTUND): Likewise.
3345         (FPE_FLTRES): Likewise.
3346         (FPE_FLTINV): Likewise.
3347         (FPE_FLTSUB): Likewise.
3348         (FPE_DECOVF): Likewise.
3349         (FPE_DECDIV): Likewise.
3350         (FPE_DECERR): Likewise.
3351         (FPE_INVASC): Likewise.
3352         (FPE_INVDEC): Likewise.
3353         (SEGV_MAPERR): Likewise.
3354         (SEGV_ACCERR): Likewise.
3355         (SEGV_PSTKOVF): Likewise.
3356         (BUS_ADRALN): Likewise.
3357         (BUS_ADRERR): Likewise.
3358         (BUS_OBJERR): Likewise.
3359         (BUS_MCEERR_AR): Likewise.
3360         (BUS_MCEERR_AO): Likewise.
3361         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3362         (TRAP_TRACE): Likewise.
3363         (TRAP_BRANCH): Likewise.
3364         (TRAP_HWBKPT): Likewise.
3365         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3366         __USE_XOPEN2K8].
3367         (CLD_KILLED): Likewise.
3368         (CLD_DUMPED): Likewise.
3369         (CLD_TRAPPED): Likewise.
3370         (CLD_STOPPED): Likewise.
3371         (CLD_CONTINUED): Likewise.
3372         (POLL_IN): Likewise.
3373         (POLL_OUT): Likewise.
3374         (POLL_MSG): Likewise.
3375         (POLL_ERR): Likewise.
3376         (POLL_PRI): Likewise.
3377         (POLL_HUP): Likewise.
3378         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3379         (ILL_ILLOPN): Likewise.
3380         (ILL_ILLADR): Likewise.
3381         (ILL_ILLTRP): Likewise.
3382         (ILL_PRVOPC): Likewise.
3383         (ILL_PRVREG): Likewise.
3384         (ILL_COPROC): Likewise.
3385         (ILL_BADSTK): Likewise.
3386         (FPE_INTDIV): Likewise.
3387         (FPE_INTOVF): Likewise.
3388         (FPE_FLTDIV): Likewise.
3389         (FPE_FLTOVF): Likewise.
3390         (FPE_FLTUND): Likewise.
3391         (FPE_FLTRES): Likewise.
3392         (FPE_FLTINV): Likewise.
3393         (FPE_FLTSUB): Likewise.
3394         (SEGV_MAPERR): Likewise.
3395         (SEGV_ACCERR): Likewise.
3396         (BUS_ADRALN): Likewise.
3397         (BUS_ADRERR): Likewise.
3398         (BUS_OBJERR): Likewise.
3399         (BUS_MCEERR_AR): Likewise.
3400         (BUS_MCEERR_AO): Likewise.
3401         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3402         (TRAP_TRACE): Likewise.
3403         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3404         __USE_XOPEN2K8].
3405         (CLD_KILLED): Likewise.
3406         (CLD_DUMPED): Likewise.
3407         (CLD_TRAPPED): Likewise.
3408         (CLD_STOPPED): Likewise.
3409         (CLD_CONTINUED): Likewise.
3410         (POLL_IN): Likewise.
3411         (POLL_OUT): Likewise.
3412         (POLL_MSG): Likewise.
3413         (POLL_ERR): Likewise.
3414         (POLL_PRI): Likewise.
3415         (POLL_HUP): Likewise.
3416         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3417         (ILL_ILLOPN): Likewise.
3418         (ILL_ILLADR): Likewise.
3419         (ILL_ILLTRP): Likewise.
3420         (ILL_PRVOPC): Likewise.
3421         (ILL_PRVREG): Likewise.
3422         (ILL_COPROC): Likewise.
3423         (ILL_BADSTK): Likewise.
3424         (FPE_INTDIV): Likewise.
3425         (FPE_INTOVF): Likewise.
3426         (FPE_FLTDIV): Likewise.
3427         (FPE_FLTOVF): Likewise.
3428         (FPE_FLTUND): Likewise.
3429         (FPE_FLTRES): Likewise.
3430         (FPE_FLTINV): Likewise.
3431         (FPE_FLTSUB): Likewise.
3432         (SEGV_MAPERR): Likewise.
3433         (SEGV_ACCERR): Likewise.
3434         (BUS_ADRALN): Likewise.
3435         (BUS_ADRERR): Likewise.
3436         (BUS_OBJERR): Likewise.
3437         (BUS_MCEERR_AR): Likewise.
3438         (BUS_MCEERR_AO): Likewise.
3439         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3440         (TRAP_TRACE): Likewise.
3441         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3442         __USE_XOPEN2K8].
3443         (CLD_KILLED): Likewise.
3444         (CLD_DUMPED): Likewise.
3445         (CLD_TRAPPED): Likewise.
3446         (CLD_STOPPED): Likewise.
3447         (CLD_CONTINUED): Likewise.
3448         (POLL_IN): Likewise.
3449         (POLL_OUT): Likewise.
3450         (POLL_MSG): Likewise.
3451         (POLL_ERR): Likewise.
3452         (POLL_PRI): Likewise.
3453         (POLL_HUP): Likewise.
3454         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3455         (ILL_ILLOPN): Likewise.
3456         (ILL_ILLADR): Likewise.
3457         (ILL_ILLTRP): Likewise.
3458         (ILL_PRVOPC): Likewise.
3459         (ILL_PRVREG): Likewise.
3460         (ILL_COPROC): Likewise.
3461         (ILL_BADSTK): Likewise.
3462         (FPE_INTDIV): Likewise.
3463         (FPE_INTOVF): Likewise.
3464         (FPE_FLTDIV): Likewise.
3465         (FPE_FLTOVF): Likewise.
3466         (FPE_FLTUND): Likewise.
3467         (FPE_FLTRES): Likewise.
3468         (FPE_FLTINV): Likewise.
3469         (FPE_FLTSUB): Likewise.
3470         (SEGV_MAPERR): Likewise.
3471         (SEGV_ACCERR): Likewise.
3472         (BUS_ADRALN): Likewise.
3473         (BUS_ADRERR): Likewise.
3474         (BUS_OBJERR): Likewise.
3475         (BUS_MCEERR_AR): Likewise.
3476         (BUS_MCEERR_AO): Likewise.
3477         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3478         (TRAP_TRACE): Likewise.
3479         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3480         __USE_XOPEN2K8].
3481         (CLD_KILLED): Likewise.
3482         (CLD_DUMPED): Likewise.
3483         (CLD_TRAPPED): Likewise.
3484         (CLD_STOPPED): Likewise.
3485         (CLD_CONTINUED): Likewise.
3486         (POLL_IN): Likewise.
3487         (POLL_OUT): Likewise.
3488         (POLL_MSG): Likewise.
3489         (POLL_ERR): Likewise.
3490         (POLL_PRI): Likewise.
3491         (POLL_HUP): Likewise.
3492         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3493         (ILL_ILLOPN): Likewise.
3494         (ILL_ILLADR): Likewise.
3495         (ILL_ILLTRP): Likewise.
3496         (ILL_PRVOPC): Likewise.
3497         (ILL_PRVREG): Likewise.
3498         (ILL_COPROC): Likewise.
3499         (ILL_BADSTK): Likewise.
3500         (ILL_DBLFLT): Likewise.
3501         (ILL_HARDWALL): Likewise.
3502         (FPE_INTDIV): Likewise.
3503         (FPE_INTOVF): Likewise.
3504         (FPE_FLTDIV): Likewise.
3505         (FPE_FLTOVF): Likewise.
3506         (FPE_FLTUND): Likewise.
3507         (FPE_FLTRES): Likewise.
3508         (FPE_FLTINV): Likewise.
3509         (FPE_FLTSUB): Likewise.
3510         (SEGV_MAPERR): Likewise.
3511         (SEGV_ACCERR): Likewise.
3512         (BUS_ADRALN): Likewise.
3513         (BUS_ADRERR): Likewise.
3514         (BUS_OBJERR): Likewise.
3515         (BUS_MCEERR_AR): Likewise.
3516         (BUS_MCEERR_AO): Likewise.
3517         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3518         (TRAP_TRACE): Likewise.
3519         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3520         __USE_XOPEN2K8].
3521         (CLD_KILLED): Likewise.
3522         (CLD_DUMPED): Likewise.
3523         (CLD_TRAPPED): Likewise.
3524         (CLD_STOPPED): Likewise.
3525         (CLD_CONTINUED): Likewise.
3526         (POLL_IN): Likewise.
3527         (POLL_OUT): Likewise.
3528         (POLL_MSG): Likewise.
3529         (POLL_ERR): Likewise.
3530         (POLL_PRI): Likewise.
3531         (POLL_HUP): Likewise.
3532         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3533         (ILL_ILLOPN): Likewise.
3534         (ILL_ILLADR): Likewise.
3535         (ILL_ILLTRP): Likewise.
3536         (ILL_PRVOPC): Likewise.
3537         (ILL_PRVREG): Likewise.
3538         (ILL_COPROC): Likewise.
3539         (ILL_BADSTK): Likewise.
3540         (FPE_INTDIV): Likewise.
3541         (FPE_INTOVF): Likewise.
3542         (FPE_FLTDIV): Likewise.
3543         (FPE_FLTOVF): Likewise.
3544         (FPE_FLTUND): Likewise.
3545         (FPE_FLTRES): Likewise.
3546         (FPE_FLTINV): Likewise.
3547         (FPE_FLTSUB): Likewise.
3548         (SEGV_MAPERR): Likewise.
3549         (SEGV_ACCERR): Likewise.
3550         (BUS_ADRALN): Likewise.
3551         (BUS_ADRERR): Likewise.
3552         (BUS_OBJERR): Likewise.
3553         (BUS_MCEERR_AR): Likewise.
3554         (BUS_MCEERR_AO): Likewise.
3555         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3556         (TRAP_TRACE): Likewise.
3557         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3558         __USE_XOPEN2K8].
3559         (CLD_KILLED): Likewise.
3560         (CLD_DUMPED): Likewise.
3561         (CLD_TRAPPED): Likewise.
3562         (CLD_STOPPED): Likewise.
3563         (CLD_CONTINUED): Likewise.
3564         (POLL_IN): Likewise.
3565         (POLL_OUT): Likewise.
3566         (POLL_MSG): Likewise.
3567         (POLL_ERR): Likewise.
3568         (POLL_PRI): Likewise.
3569         (POLL_HUP): Likewise.
3570         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3571         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3573         [BZ #16670]
3574         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3575         before #include of <time.h>.
3576         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3577         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3578         (test-xfail-UNIX98/sched.h/conform): Likewise.
3580 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3582         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3583         error absence of trapping exception support.
3584         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3586 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3588         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3589         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3590         * timezone/Makefile (testdata): Move definition above include of
3591         Rules.
3592         (test-zones): New variable.
3593         (tests-special): Add zone files.
3594         (build-testdata): Use $(evaluate-test).
3596         * elf/Makefile (tests-special): Rename tests to end with .out.
3597         ($(objpfx)noload-mem): Likewise.
3598         ($(objpfx)tst-leaks1-mem): Likewise.
3599         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3600         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3601         $(objpfx)test-iconvconfig.out.
3602         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3603         set -e inside subshell and redirect output to file.
3604         * iconvdata/Makefile (generated): Rename tests to end with .out.
3605         Correct type.
3606         (tests-special): Rename tests to end with .out.
3607         ($(objpfx)mtrace-tst-loading): Likewise.
3608         * intl/Makefile (generated): Likewise.
3609         (tests-special): Likewise.
3610         ($(objpfx)mtrace-tst-gettext): Likewise.
3611         * misc/Makefile (generated): Likewise.
3612         (tests-special): Likewise.
3613         ($(objpfx)tst-error1-mem): Likewise.
3614         * nptl/Makefile (tests-special): Likewise.
3615         ($(objpfx)tst-stack3-mem): Likewise.
3616         (generated): Likewise.
3617         * posix/Makefile (generated): Likewise.
3618         (tests-special): Likewise.
3619         (xtests-special): Likewise.
3620         ($(objpfx)tst-fnmatch-mem): Likewise.
3621         ($(objpfx)bug-regex2-mem): Likewise.
3622         ($(objpfx)bug-regex14-mem): Likewise.
3623         ($(objpfx)bug-regex21-mem): Likewise.
3624         ($(objpfx)bug-regex31-mem): Likewise.
3625         ($(objpfx)tst-vfork3-mem): Likewise.
3626         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3627         ($(objpfx)tst-pcre-mem): Likewise.
3628         ($(objpfx)tst-boost-mem): Likewise.
3629         ($(objpfx)bug-ga2-mem): Likewise.
3630         ($(objpfx)bug-glob2-mem): Likewise.
3631         * resolv/Makefile (generate): Likewise.
3632         (tests-special): Likewise.
3633         (xtests-special): Likewise.
3634         (generated): Likewise.
3635         ($(objpfx)mtrace-tst-leaks): Likewise.
3636         ($(objpfx)mtrace-tst-leaks2): Likewise.
3638         * scripts/merge-test-results.sh: New file.
3639         * Makefile (tests-special-notdir): New variable.
3640         (tests): Run merge-test-results.sh.
3641         (xtests): Likewise.
3642         * Rules (tests-special-notdir): New variable.
3643         (xtests-special-notdir): Likewise.
3644         (tests): Run merge-test-results.sh
3645         (xtests): Likewise.
3647         * Makeconfig (test-xfail-name): New variable.
3648         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3649         compute variable name for expected failures.
3650         * conform/Makefile (conformtest-headers-data): New variable.
3651         (conformtest-standards): Likewise.
3652         (conformtest-headers-ISO): Likewise.
3653         (conformtest-headers-ISO99): Likewise.
3654         (conformtest-headers-ISO11): Likewise.
3655         (conformtest-headers-POSIX): Likewise.
3656         (conformtest-headers-XPG3): Likewise.
3657         (conformtest-headers-XPG4): Likewise.
3658         (conformtest-headers-UNIX98): Likewise.
3659         (conformtest-headers-XOPEN2K): Likewise.
3660         (conformtest-headers-POSIX2008): Likewise.
3661         (conformtest-headers-XOPEN2K8): Likewise.
3662         (conformtest-header-list-base): Likewise.
3663         (conformtest-header-list-tests): Likewise.
3664         (conformtest-header-base): Likewise.
3665         (conformtest-header-tests): Likewise.
3666         (tests-special): Add $(conformtest-header-list-tests).  If
3667         [$(fast-check) && !$(cross-compiling)], add
3668         $(conformtest-header-tests) instead of
3669         $(objpfx)run-conformtest.out.
3670         (generated): Add $(conformtest-header-list-base).  If
3671         [$(fast-check) && !$(cross-compiling)], add
3672         $(conformtest-header-base).  Remove previous setting.
3673         ($(conformtest-header-list-tests)): New target.
3674         (test-xfail-run-conformtest): Remove variable.
3675         ($(objpfx)run-conformtest.out): Remove target.
3676         (test-xfail-ISO11/complex.h/conform): New variable.
3677         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3678         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3679         (test-xfail-XPG3/varargs.h/conform): Likewise.
3680         (test-xfail-XPG4/varargs.h/conform): Likewise.
3681         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3682         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3683         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3684         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3685         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3686         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3687         (test-xfail-XPG3/ftw.h/conform): Likewise.
3688         (test-xfail-XPG3/grp.h/conform): Likewise.
3689         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3690         (test-xfail-XPG3/limits.h/conform): Likewise.
3691         (test-xfail-XPG3/pwd.h/conform): Likewise.
3692         (test-xfail-XPG3/search.h/conform): Likewise.
3693         (test-xfail-XPG3/signal.h/conform): Likewise.
3694         (test-xfail-XPG3/stdio.h/conform): Likewise.
3695         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3696         (test-xfail-XPG3/string.h/conform): Likewise.
3697         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3698         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3699         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3700         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3701         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3702         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3703         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3704         (test-xfail-XPG3/termios.h/conform): Likewise.
3705         (test-xfail-XPG3/time.h/conform): Likewise.
3706         (test-xfail-XPG3/unistd.h/conform): Likewise.
3707         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3708         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3709         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3710         (test-xfail-XPG4/netdb.h/conform): Likewise.
3711         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3712         (test-xfail-XPG4/signal.h/conform): Likewise.
3713         (test-xfail-XPG4/stdio.h/conform): Likewise.
3714         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3715         (test-xfail-XPG4/stropts.h/conform): Likewise.
3716         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3717         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3718         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3719         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3720         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3721         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3722         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3723         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3724         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3725         (test-xfail-XPG4/termios.h/conform): Likewise.
3726         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3727         (test-xfail-XPG4/unistd.h/conform): Likewise.
3728         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3729         (test-xfail-POSIX/sched.h/conform): Likewise.
3730         (test-xfail-POSIX/signal.h/conform): Likewise.
3731         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3732         (test-xfail-POSIX/tar.h/conform): Likewise.
3733         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3734         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3735         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3736         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3737         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3738         (test-xfail-UNIX98/sched.h/conform): Likewise.
3739         (test-xfail-UNIX98/signal.h/conform): Likewise.
3740         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3741         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3742         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3743         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3744         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3745         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3746         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3747         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3748         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3749         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3750         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3751         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3752         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3753         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3754         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3755         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3756         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3757         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3758         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3759         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3760         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3761         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3762         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3763         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3764         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3765         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3766         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3767         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3768         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3769         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3770         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3771         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3772         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3773         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3774         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3775         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3776         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3777         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3778         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3779         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3780         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3781         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3782         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3783         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3784         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3785         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3786         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3787         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3788         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3789         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3790         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3791         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3792         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3793         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3794         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3795         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3796         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3797         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3798         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3799         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3800         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3801         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3802         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3803         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3804         (conformtest-cc-flags): Likewise.
3805         ($(conformtest-header-tests): New target.
3806         * conform/check-header-lists.sh: New file.
3807         * conform/run-conformtest.sh: Remove.
3809         * conform/conformtest.pl: Allow ' and \ in values given for
3810         constants.
3811         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3812         inclusion.
3813         [POSIX] (sys/types.h): Likewise.
3814         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3815         inclusion.
3816         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3817         inclusion.
3818         * conform/data/signal.h-data (SIGIO): Remove expectation.
3819         [XPG3] (SIGBUS): Do not expect.
3820         [POSIX || XPG3] (SIGPOLL): Likewise.
3821         [POSIX || XPG3] (SIGPROF): Likewise.
3822         [POSIX || XPG3] (SIGSYS): Likewise.
3823         [XPG3] (SIGTRAP): Likewise.
3824         [POSIX || XPG3] (SIGURG): Likewise.
3825         [POSIX || XPG3] (SIGVTALRM): Likewise.
3826         [POSIX || XPG3] (SIGXCPU): Likewise.
3827         [POSIX || XPG3] (SIGXFSZ): Likewise.
3828         [POSIX] (SA_SIGINFO): Expect.
3829         [XPG3] (siginfo_t): Do not expect type or contents.
3830         [POSIX] (si_pid): Do not expect element.
3831         [POSIX] (si_uid): Likewise.
3832         [POSIX] (si_addr): Likewise.
3833         [POSIX] (si_status): Likewise.
3834         [POSIX] (si_band): Likewise.
3835         [XPG4] (si_value): Likewise.
3836         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3837         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3838         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3839         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3840         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3841         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3842         [POSIX || XPG3] (ILL_COPROC): Likewise.
3843         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3844         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3845         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3846         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3847         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3848         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3849         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3850         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3851         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3852         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3853         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3854         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3855         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3856         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3857         [POSIX || XPG3] (CLD_EXITED): Likewise.
3858         [POSIX || XPG3] (CLD_KILLED): Likewise.
3859         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3860         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3861         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3862         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3863         [POSIX || XPG3] (POLL_IN): Likewise.
3864         [POSIX || XPG3] (POLL_OUT): Likewise.
3865         [POSIX || XPG3] (POLL_MSG): Likewise.
3866         [POSIX || XPG3] (POLL_ERR): Likewise.
3867         [POSIX || XPG3] (POLL_PRI): Likewise.
3868         [POSIX || XPG3] (POLL_HUP): Likewise.
3869         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3870         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
3871         (SIG*): Do not allow.
3872         [XPG3] (si_*): Likewise.
3873         [XPG3] (SI_*): Likewise.
3874         [XPG3 || XPG4] (sigev_*): Likewise.
3875         [XPG3 || XPG4] (SIGEV_*): Likewise.
3876         [XPG3 || XPG4] (sival_*): Likewise.
3877         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
3878         [POSIX || XPG3] (BUS_*): Likewise.
3879         [POSIX || XPG3] (CLD_*): Likewise.
3880         [POSIX || XPG3] (FPE_*): Likewise.
3881         [POSIX || XPG3] (ILL_*): Likewise.
3882         [POSIX || XPG3] (POLL_*): Likewise.
3883         [POSIX || XPG3] (SEGV_*): Likewise.
3884         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
3885         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
3886         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
3887         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
3888         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
3889         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
3890         Specify type and value.
3891         (TVERSLEN): Likewise.
3892         (REGTYPE): Likewise.
3893         (AREGTYPE): Likewise.
3894         (LNKTYPE): Likewise.
3895         (SYMTYPE): Likewise.
3896         (CHRTYPE): Likewise.
3897         (BLKTYPE): Likewise.
3898         (DIRTYPE): Likewise.
3899         (FIFOTYPE): Likewise.
3900         (CONTTYPE): Likewise.
3901         (TSUID): Likewise.
3902         (TSGID): Likewise.
3903         (TSVTX): Likewise.
3904         (TUREAD): Likewise.
3905         (TUWRITE): Likewise.
3906         (TUEXEC): Likewise.
3907         (TGREAD): Likewise.
3908         (TGWRITE): Likewise.
3909         (TGEXEC): Likewise.
3910         (TOREAD): Likewise.
3911         (TOWRITE): Likewise.
3912         (TOEXEC): Likewise.
3913         [POSIX] (TSVTX): Expect constant.
3915 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
3917         * Makefile (tests): Change dependencies to ....
3918         (tests-special): ... additions to this variable.
3919         (tests): Depend on $(tests-special).
3920         * Makerules (check-abi-list): New variable.
3921         (check-abi): Depend on $(check-abi-list).
3922         [$(subdir) = elf] (tests-special): Add
3923         $(objpfx)check-abi-libc.out.
3924         [$(build-shared) = yes && subdir] (tests-special): Add
3925         $(check-abi-list).
3926         [$(build-shared) = yes && subdir] (tests): Do not depend on
3927         check-abi.
3928         * Rules (tests): Depend on $(tests-special).
3929         (xtests): Depend on $(xtests-special).
3930         * catgets/Makefile (tests): Change dependencies to ....
3931         (tests-special): ... additions to this variable.
3932         * conform/Makefile (tests): Change dependencies to ....
3933         (tests-special): ... additions to this variable.
3934         * elf/Makefile (tests): Change dependencies to ....
3935         (tests-special): ... additions to this variable.
3936         * grp/Makefile (tests): Change dependencies to ....
3937         (tests-special): ... additions to this variable.
3938         * iconv/Makefile (xtests): Change dependencies to ....
3939         (xtests-special): ... additions to this variable.
3940         * iconvdata/Makefile (tests): Change dependencies to ....
3941         (tests-special): ... additions to this variable.
3942         * intl/Makefile (tests): Change dependencies to ....
3943         (tests-special): ... additions to this variable.  Also add
3944         $(objpfx)tst-gettext.out.
3945         * io/Makefile (tests): Change dependencies to ....
3946         (tests-special): ... additions to this variable.
3947         * libio/Makefile (tests): Change dependencies to ....
3948         (tests-special): ... additions to this variable.
3949         * malloc/Makefile (tests): Change dependencies to ....
3950         (tests-special): ... additions to this variable.
3951         * misc/Makefile (tests): Change dependencies to ....
3952         (tests-special): ... additions to this variable.
3953         * nptl/Makefile (tests): Change dependencies to ....
3954         (tests-special): ... additions to this variable.
3955         * nptl_db/Makefile (tests): Change dependencies to ....
3956         (tests-special): ... additions to this variable.
3957         * posix/Makefile (tests): Change dependencies to ....
3958         (tests-special): ... additions to this variable.
3959         (xtests): Change dependencies to ....
3960         (xtests-special): ... additions to this variable.
3961         * resolv/Makefile (tests): Change dependencies to ....
3962         (tests-special): ... additions to this variable.
3963         (xtests): Change dependencies to ....
3964         (xtests-special): ... additions to this variable.
3965         * stdio-common/Makefile (tests): Change dependencies to ....
3966         (tests-special): ... additions to this variable.
3967         (do-tst-unbputc): Remove target.
3968         (do-tst-printf): Likewise.
3969         * stdlib/Makefile (tests): Change dependencies to ....
3970         (tests-special): ... additions to this variable.
3971         * string/Makefile (tests): Change dependencies to ....
3972         (tests-special): ... additions to this variable.
3973         * sysdeps/x86/Makefile (tests): Change dependencies to ....
3974         (tests-special): ... additions to this variable.
3976         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
3977         whole file.
3978         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
3979         whole file.
3980         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
3981         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
3983         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
3984         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
3985         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
3986         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
3987         * conform/data/libgen.h-data [XPG3]: Likewise.
3988         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
3989         * conform/data/ndbm.h-data [XPG3]: Likewise.
3990         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3991         * conform/data/netdb.h-data [XPG3]: Likewise.
3992         * conform/data/netinet/in.h-data [XPG3]: Likewise.
3993         * conform/data/poll.h-data [XPG3]: Likewise.
3994         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
3995         * conform/data/strings.h-data [XPG3]: Likewise.
3996         * conform/data/stropts.h-data [XPG3]: Likewise.
3997         * conform/data/sys/mman.h-data [XPG3]: Likewise.
3998         * conform/data/sys/resource.h-data [XPG3]: Likewise.
3999         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4000         Likewise.
4001         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4002         * conform/data/sys/time.h-data [XPG3]: Likewise.
4003         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4004         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4005         * conform/data/sys/un.h-data [XPG3]: Likewise.
4006         * conform/data/syslog.h-data [XPG3]: Likewise.
4007         * conform/data/ucontext.h-data [XPG3]: Likewise.
4008         * conform/data/utmpx.h-data [XPG3]: Likewise.
4009         * conform/data/varargs.h-data [UNIX98]: Enable file.
4011         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4013         * math/libm-test.inc (struct test_f_f_data): Move expected results
4014         into structure for each rounding mode.
4015         (struct test_ff_f_data): Likewise.
4016         (struct test_ff_f_data_nexttoward): Likewise.
4017         (struct test_fi_f_data): Likewise.
4018         (struct test_fl_f_data): Likewise.
4019         (struct test_if_f_data): Likewise.
4020         (struct test_fff_f_data): Likewise.
4021         (struct test_c_f_data): Likewise.
4022         (struct test_f_f1_data): Likewise.
4023         (struct test_fF_f1_data): Likewise.
4024         (struct test_ffI_f1_data): Likewise.
4025         (struct test_c_c_data): Likewise.
4026         (struct test_cc_c_data): Likewise.
4027         (struct test_f_i_data): Likewise.
4028         (struct test_ff_i_data): Likewise.
4029         (struct test_f_l_data): Likewise.
4030         (struct test_f_L_data): Likewise.
4031         (struct test_fFF_11_data): Likewise.
4032         (RM_): New macro.
4033         (RM_FE_DOWNWARD): Likewise.
4034         (RM_FE_TONEAREST): Likewise.
4035         (RM_FE_TOWARDZERO): Likewise.
4036         (RM_FE_UPWARD): Likewise.
4037         (RUN_TEST_LOOP_f_f): Update references to expected results.
4038         (RUN_TEST_LOOP_2_f): Likewise.
4039         (RUN_TEST_LOOP_fff_f): Likewise.
4040         (RUN_TEST_LOOP_c_f): Likewise.
4041         (RUN_TEST_LOOP_f_f1): Likewise.
4042         (RUN_TEST_LOOP_fF_f1): Likewise.
4043         (RUN_TEST_LOOP_fI_f1): Likewise.
4044         (RUN_TEST_LOOP_ffI_f1): Likewise.
4045         (RUN_TEST_LOOP_c_c): Likewise.
4046         (RUN_TEST_LOOP_cc_c): Likewise.
4047         (RUN_TEST_LOOP_f_i): Likewise.
4048         (RUN_TEST_LOOP_f_i_tg): Likewise.
4049         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4050         (RUN_TEST_LOOP_f_b): Likewise.
4051         (RUN_TEST_LOOP_f_b_tg): Likewise.
4052         (RUN_TEST_LOOP_f_l): Likewise.
4053         (RUN_TEST_LOOP_f_L): Likewise.
4054         (RUN_TEST_LOOP_fFF_11): Likewise.
4055         * math/gen-libm-test.pl (parse_args): Output four copies of
4056         expected results for each test.
4058         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4059         (__ASSUME_UTIMES): Remove.
4060         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4061         (__ASSUME_UTIMES): Likewise.
4063         * math/gen-auto-libm-tests.c: Update comment on output format.
4064         (output_for_one_input_case): Generate before-rounding and
4065         after-rounding information as conditions on output flags not
4066         floating-point format.
4067         * math/auto-libm-test-out: Regenerated.
4068         * math/gen-libm-test.pl (cond_value): New function.
4069         (or_cond_value): Use cond_value.
4070         (generate_testfile): Handle conditional exceptions.
4072 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4074         * math/libm-test.inc (max_valid_error): New variable.
4075         (init_max_error): Take new argument specifying whether function
4076         results are exactly determined.  Set max_valid_error and bound
4077         other variables for errors based on this argument.
4078         (set_max_error): Do not record results above max_valid_error.
4079         (check_float_internal): Only accept errors of up to 0.5ulps if
4080         also at most max_valid_error.
4081         (START): Take new argument EXACT and pass it to init_max_error.
4082         (acos_test): Update call to START.
4083         (acos_test_tonearest): Likewise.
4084         (acos_test_towardzero): Likewise.
4085         (acos_test_downward): Likewise.
4086         (acos_test_upward): Likewise.
4087         (acosh_test): Likewise.
4088         (asin_test): Likewise.
4089         (asin_test_tonearest): Likewise.
4090         (asin_test_towardzero): Likewise.
4091         (asin_test_downward): Likewise.
4092         (asin_test_upward): Likewise.
4093         (asinh_test): Likewise.
4094         (atan_test): Likewise.
4095         (atanh_test): Likewise.
4096         (atan2_test): Likewise.
4097         (cabs_test): Likewise.
4098         (cacos_test): Likewise.
4099         (cacosh_test): Likewise.
4100         (carg_test): Likewise.
4101         (casin_test): Likewise.
4102         (casinh_test): Likewise.
4103         (catan_test): Likewise.
4104         (catanh_test): Likewise.
4105         (cbrt_test): Likewise.
4106         (ccos_test): Likewise.
4107         (ccosh_test): Likewise.
4108         (ceil_test): Likewise.
4109         (cexp_test): Likewise.
4110         (cimag_test): Likewise.
4111         (clog_test): Likewise.
4112         (clog10_test): Likewise.
4113         (conj_test): Likewise.
4114         (copysign_test): Likewise.
4115         (cos_test): Likewise.
4116         (cos_test_tonearest): Likewise.
4117         (cos_test_towardzero): Likewise.
4118         (cos_test_downward): Likewise.
4119         (cos_test_upward): Likewise.
4120         (cosh_test): Likewise.
4121         (cosh_test_tonearest): Likewise.
4122         (cosh_test_towardzero): Likewise.
4123         (cosh_test_downward): Likewise.
4124         (cosh_test_upward): Likewise.
4125         (cpow_test): Likewise.
4126         (cproj_test): Likewise.
4127         (creal_test): Likewise.
4128         (csin_test): Likewise.
4129         (csinh_test): Likewise.
4130         (csqrt_test): Likewise.
4131         (ctan_test): Likewise.
4132         (ctan_test_tonearest): Likewise.
4133         (ctan_test_towardzero): Likewise.
4134         (ctan_test_downward): Likewise.
4135         (ctan_test_upward): Likewise.
4136         (ctanh_test): Likewise.
4137         (ctanh_test_tonearest): Likewise.
4138         (ctanh_test_towardzero): Likewise.
4139         (ctanh_test_downward): Likewise.
4140         (ctanh_test_upward): Likewise.
4141         (erf_test): Likewise.
4142         (erfc_test): Likewise.
4143         (exp_test): Likewise.
4144         (exp_test_tonearest): Likewise.
4145         (exp_test_towardzero): Likewise.
4146         (exp_test_downward): Likewise.
4147         (exp_test_upward): Likewise.
4148         (exp10_test): Likewise.
4149         (exp10_test_tonearest): Likewise.
4150         (exp10_test_towardzero): Likewise.
4151         (exp10_test_downward): Likewise.
4152         (exp10_test_upward): Likewise.
4153         (pow10_test): Likewise.
4154         (exp2_test): Likewise.
4155         (expm1_test): Likewise.
4156         (expm1_test_tonearest): Likewise.
4157         (expm1_test_towardzero): Likewise.
4158         (expm1_test_downward): Likewise.
4159         (expm1_test_upward): Likewise.
4160         (fabs_test): Likewise.
4161         (fdim_test): Likewise.
4162         (floor_test): Likewise.
4163         (fma_test): Likewise.
4164         (fma_test_towardzero): Likewise.
4165         (fma_test_downward): Likewise.
4166         (fma_test_upward): Likewise.
4167         (fmax_test): Likewise.
4168         (fmin_test): Likewise.
4169         (fmod_test): Likewise.
4170         (fpclassify_test): Likewise.
4171         (frexp_test): Likewise.
4172         (hypot_test): Likewise.
4173         (ilogb_test): Likewise.
4174         (isfinite_test): Likewise.
4175         (finite_test): Likewise.
4176         (isgreater_test): Likewise.
4177         (isgreaterequal_test): Likewise.
4178         (isinf_test): Likewise.
4179         (isless_test): Likewise.
4180         (islessequal_test): Likewise.
4181         (islessgreater_test): Likewise.
4182         (isnan_test): Likewise.
4183         (isnormal_test): Likewise.
4184         (issignaling_test): Likewise.
4185         (isunordered_test): Likewise.
4186         (j0_test): Likewise.
4187         (j1_test): Likewise.
4188         (jn_test): Likewise.
4189         (ldexp_test): Likewise.
4190         (lgamma_test): Likewise.
4191         (gamma_test): Likewise.
4192         (lrint_test): Likewise.
4193         (lrint_test_tonearest): Likewise.
4194         (lrint_test_towardzero): Likewise.
4195         (lrint_test_downward): Likewise.
4196         (lrint_test_upward): Likewise.
4197         (llrint_test): Likewise.
4198         (llrint_test_tonearest): Likewise.
4199         (llrint_test_towardzero): Likewise.
4200         (llrint_test_downward): Likewise.
4201         (llrint_test_upward): Likewise.
4202         (log_test): Likewise.
4203         (log10_test): Likewise.
4204         (log1p_test): Likewise.
4205         (log2_test): Likewise.
4206         (logb_test): Likewise.
4207         (logb_test_downward): Likewise.
4208         (lround_test): Likewise.
4209         (llround_test): Likewise.
4210         (modf_test): Likewise.
4211         (nearbyint_test): Likewise.
4212         (nextafter_test): Likewise.
4213         (nexttoward_test): Likewise.
4214         (pow_test): Likewise.
4215         (pow_test_tonearest): Likewise.
4216         (pow_test_towardzero): Likewise.
4217         (pow_test_downward): Likewise.
4218         (pow_test_upward): Likewise.
4219         (remainder_test): Likewise.
4220         (drem_test): Likewise.
4221         (remainder_test_tonearest): Likewise.
4222         (drem_test_tonearest): Likewise.
4223         (remainder_test_towardzero): Likewise.
4224         (drem_test_towardzero): Likewise.
4225         (remainder_test_downward): Likewise.
4226         (drem_test_downward): Likewise.
4227         (remainder_test_upward): Likewise.
4228         (drem_test_upward): Likewise.
4229         (remquo_test): Likewise.
4230         (rint_test): Likewise.
4231         (rint_test_tonearest): Likewise.
4232         (rint_test_towardzero): Likewise.
4233         (rint_test_downward): Likewise.
4234         (rint_test_upward): Likewise.
4235         (round_test): Likewise.
4236         (scalb_test): Likewise.
4237         (scalbn_test): Likewise.
4238         (scalbln_test): Likewise.
4239         (signbit_test): Likewise.
4240         (sin_test): Likewise.
4241         (sin_test_tonearest): Likewise.
4242         (sin_test_towardzero): Likewise.
4243         (sin_test_downward): Likewise.
4244         (sin_test_upward): Likewise.
4245         (sincos_test): Likewise.
4246         (sinh_test): Likewise.
4247         (sinh_test_tonearest): Likewise.
4248         (sinh_test_towardzero): Likewise.
4249         (sinh_test_downward): Likewise.
4250         (sinh_test_upward): Likewise.
4251         (sqrt_test): Likewise.
4252         (sqrt_test_tonearest): Likewise.
4253         (sqrt_test_towardzero): Likewise.
4254         (sqrt_test_downward): Likewise.
4255         (sqrt_test_upward): Likewise.
4256         (tan_test): Likewise.
4257         (tan_test_tonearest): Likewise.
4258         (tan_test_towardzero): Likewise.
4259         (tan_test_downward): Likewise.
4260         (tan_test_upward): Likewise.
4261         (tanh_test): Likewise.
4262         (tgamma_test): Likewise.
4263         (trunc_test): Likewise.
4264         (y0_test): Likewise.
4265         (y1_test): Likewise.
4266         (yn_test): Likewise.
4267         (significand_test): Likewise.
4269         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4270         individual tests in comment.
4271         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4272         (prev_max_error): New variable.
4273         (prev_real_max_error): Likewise.
4274         (prev_imag_max_error): Likewise.
4275         (compare_ulp_data): Don't refer to test names in comment.
4276         (find_test_ulps): Remove function.
4277         (find_function_ulps): Likewise.
4278         (find_complex_function_ulps): Likewise.
4279         (init_max_error): Take function name as argument.  Look up ulps
4280         for that function.
4281         (print_ulps): Remove function.
4282         (print_max_error): Use prev_max_error instead of calling
4283         find_function_ulps.
4284         (print_complex_max_error): Use prev_real_max_error and
4285         prev_imag_max_error instead of calling find_complex_function_ulps.
4286         (check_float_internal): Take max_ulp parameter instead of calling
4287         find_test_ulps.  Don't call print_ulps.
4288         (check_float): Update call to check_float_internal.
4289         (check_complex): Update calls to check_float_internal.
4290         (START): Pass argument to init_max_error.
4291         * math/gen-libm-test.pl (%results): Don't include "kind"
4292         information.
4293         (parse_ulps): Don't handle ulps of individual tests.
4294         (print_ulps_file): Likewise.
4295         (output_ulps): Likewise.
4296         * math/README.libm-test: Update.
4297         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4298         individual tests.
4299         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4300         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4301         * sysdeps/arm/libm-test-ulps: Likewise.
4302         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4303         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4304         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4305         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4306         * sysdeps/microblaze/libm-test-ulps: Likewise.
4307         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4308         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4309         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4310         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4311         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4312         * sysdeps/sh/libm-test-ulps: Likewise.
4313         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4314         * sysdeps/tile/libm-test-ulps: Likewise.
4315         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4317 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4319         * math/libm-test.inc (print_complex_max_error): Check separately
4320         whether real and imaginary errors are within allowed range and
4321         pass 0 to print_complex_function_ulps instead of value within
4322         allowed range.
4324 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4326         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4327         formatting.
4328         (get_handles_fopen): Likewise.
4329         (do_write_test): Likewise.
4331         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4333         * libio/fileops.c (do_ftell): Use cached offset when
4334         available.
4335         * libio/iofwide.c (do_ftell_wide): Likewise.
4336         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4337         _IO_file_attach.
4338         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4340         [BZ #16532]
4341         * libio/libioP.h (get_file_offset): New function.
4342         * libio/fileops.c (get_file_offset): Likewise.
4343         (do_ftell): Likewise.
4344         (_IO_new_file_seekoff): Split out ftell logic.
4345         * libio/wfileops.c (do_ftell_wide): Likewise.
4346         (_IO_wfile_seekoff): Split out ftell logic.
4347         * libio/tst-ftell-active-handler.c: New test case.
4348         * libio/Makefile (tests): Add it.
4350 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4352         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4353         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4355 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4357         [BZ #16639]
4358         * nscd/connections.c (nscd_init): Call do_exit.
4359         (start_threads): Call do_exit and notify_parent.
4360         (begin_drop_privileges): Call do_exit.
4361         (finish_drop_privileges): Likewise.
4362         * nscd/selinux.c (preserve_capabilities): Likewise.
4363         (install_real_capabilities): Likewise.
4364         (nscd_selinux_enabled): Likewise.
4365         (avc_create_thread): Likewise.
4366         (avc_alloc_lock): Likewise.
4367         (nscd_avc_init): Likewise.
4368         * nscd/nscd.c (parent_fd): New static variable.
4369         (main): Create a pipe between parent and child processes.
4370         Skip closing parent_fd.
4371         (monitor_child): New function.
4372         (do_exit): Likewise.
4373         (notify_parent): Likewise.
4374         * nscd/nscd.h (notify_parent): Likewise.
4375         (do_exit): Likewise.
4377 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4379         * malloc/malloc.c (__libc_calloc): Revert last change.
4381 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4383         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4385 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4387         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4388         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4389         implementation.
4390         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4391         (__libc_ifunc_impl_list): Likewise.
4392         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4393         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4394         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4395         * string/strrchr.c: Define STRRCHR.
4397 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4399         * benchtest/bench-strtok.c (simple_strtok): Delete.
4400         (strtok_string): Use as benchmark.
4401         * string/strtok (STRTOK): New macro.
4403 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4405         * manual/threads.texi: Add header and standard comments to all
4406         functions.
4408         * elf/dl-lookup.c (check_match): New function.
4409         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4410         (do_lookup_x): Remove nested function check_match. Use non-nested
4411         function check_match.
4413 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4415         * csu/Makefile (generated, before-compile): Use += rather than =.
4416         * catgets/Makefile (generated, generated-dirs): Likewise.
4417         * debug/Makefile (generated): Likewise.
4418         * dlfcn/Makefile (generated): Likewise.
4419         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4420         * iconvdata/Makefile (before-compile, generated): Likewise.
4421         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4422         * libio/Makefile (generated): Likewise.
4423         * malloc/Makefile (generated): Likewise.
4424         * manual/Makefile (generated, generated-dirs): Likewise.
4425         * misc/Makefile (generated): Likewise.
4426         * posix/Makefile (generated): Likewise.
4427         * resolv/Makefile (generated): Likewise.
4428         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4429         * timezone/Makefile (generated, generated-dirs): Likewise.
4431         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4433 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4435         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4436         power8 implementation.
4437         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4438         file: POWER8 llround ifunc implementation.
4439         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4440         (__lllround): Add POWER8 implementation.
4441         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4442         POWER8 llround implementation.
4444         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4445         power8 implementation.
4446         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4447         file: POWER8 llrint ifunc implementation.
4448         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4449         Add POWER8 implementation.
4450         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4451         POWER8 llrint implementation.
4453         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4454         power8 implementation.
4455         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4456         file: POWER8 finite ifunc implementation.
4457         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4458         Add POWER8 implementation.
4459         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4460         Likewise.
4461         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4462         POWER8 finite implementation.
4463         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4465         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4466         power8 implementation.
4467         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4468         file: POWER8 isinf ifunc implementation.
4469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4470         POWER8 implementation.
4471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4472         Likewise.
4473         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4474         isinf implementation.
4475         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4477         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4478         (INIT_ARCH): Add hwcap2 initialization.
4479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4480         power8 implementation.
4481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4482         file: POWER8 isnan ifunc implementation.
4483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4484         POWER8 implementation.
4485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4486         Likewise.
4487         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4488         isnan implementation.
4489         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4491 2014-02-27  Joey Ye  <joey.ye@arm.com>
4493         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4494         (_FP_NANFRAC_Q): Set to zero.
4496 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4498         [BZ #16623]
4499         * math/auto-libm-test-in: New test inputs.
4500         * math/auto-libm-test-out: Regenerate.
4501         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4502         and DA.
4503         (__cos): Likewise.
4504         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4506 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4508         * scripts/evaluate-test.sh: Take new argument indicating whether
4509         failure is expected.
4510         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4511         indicating whether failure is expected.
4512         * conform/Makefile (test-xfail-run-conformtest): New variable.
4513         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4514         level.
4515         * posix/Makefile (test-xfail-annexc): New variable.
4516         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4518 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4520         * argp/Makefile: Include Makeconfig immediately after defining
4521         subdir.
4522         * assert/Makefile: Likewise.
4523         * benchtests/Makefile: Likewise.
4524         * catgets/Makefile: Likewise.
4525         * conform/Makefile: Likewise.
4526         * crypt/Makefile: Likewise.
4527         * csu/Makefile: Likewise.
4528         (all): Remove target.
4529         * ctype/Makefile: Include Makeconfig immediately after defining
4530         subdir.
4531         * debug/Makefile: Likewise.
4532         * dirent/Makefile: Likewise.
4533         * dlfcn/Makefile: Likewise.
4534         * gmon/Makefile: Likewise.
4535         * gnulib/Makefile: Likewise.
4536         * grp/Makefile: Likewise.
4537         * gshadow/Makefile: Likewise.
4538         * hesiod/Makefile: Likewise.
4539         * hurd/Makefile: Likewise.
4540         (all): Remove target.
4541         * iconvdata/Makefile: Include Makeconfig immediately after
4542         defining subdir.
4543         * inet/Makefile: Likewise.
4544         * intl/Makefile: Likewise.
4545         * io/Makefile: Likewise.
4546         * libio/Makefile: Likewise.
4547         (all): Remove target.
4548         * locale/Makefile: Include Makeconfig immediately after defining
4549         subdir.
4550         * login/Makefile: Likewise.
4551         * mach/Makefile: Likewise.
4552         (all): Remove target.
4553         * malloc/Makefile: Include Makeconfig immediately after defining
4554         subdir.
4555         (all): Remove target.
4556         * manual/Makefile: Include Makeconfig immediately after defining
4557         subdir.
4558         * math/Makefile: Likewise.
4559         * misc/Makefile: Likewise.
4560         * nis/Makefile: Likewise.
4561         * nss/Makefile: Likewise.
4562         * po/Makefile: Likewise.
4563         (all): Remove target.
4564         * posix/Makefile: Include Makeconfig immediately after defining
4565         subdir.
4566         * pwd/Makefile: Likewise.
4567         * resolv/Makefile: Likewise.
4568         * resource/Makefile: Likewise.
4569         * rt/Makefile: Likewise.
4570         * setjmp/Makefile: Likewise.
4571         * shadow/Makefile: Likewise.
4572         * signal/Makefile: Likewise.
4573         * socket/Makefile: Likewise.
4574         * soft-fp/Makefile: Likewise.
4575         * stdio-common/Makefile: Likewise.
4576         * stdlib/Makefile: Likewise.
4577         * streams/Makefile: Likewise.
4578         * string/Makefile: Likewise.
4579         * sunrpc/Makefile: Likewise.
4580         (all): Remove target.
4581         * sysvipc/Makefile: Include Makeconfig immediately after defining
4582         subdir.
4583         * termios/Makefile: Likewise.
4584         * time/Makefile: Likewise.
4585         * timezone/Makefile: Likewise.
4586         (all): Remove target.
4587         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4588         subdir.
4589         * wctype/Makefile: Likewise.
4591 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4593         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4594         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4595         (libc_feholdexcept_setround_mips): Ditto.
4596         (libc_feholdsetround): New.
4597         (libc_feholdsetroundf): New.
4598         (libc_feholdsetroundl): New.
4599         (libc_feupdateenv_test_mips): New.
4600         (libc_feupdateenv_test): New.
4601         (libc_feupdateenv_testf): New.
4602         (libc_feupdateenv_testl): New.
4603         (libc_feresetround): New.
4604         (libc_feresetroundf): New.
4605         (libc_feresetroundl): New.
4606         (libc_fetestexcept_mips): New.
4607         (libc_fetestexcept): New.
4608         (libc_fetestexceptf): New.
4609         (libc_fetestexceptl): New.
4610         (HAVE_RM_CTX): New.
4611         (libc_feholdexcept_setround_mips_ctx): New.
4612         (libc_feholdexcept_setround_ctx): New.
4613         (libc_feholdexcept_setroundf_ctx): New.
4614         (libc_feholdexcept_setroundl_ctx): New.
4615         (libc_fesetenv_mips_ctx): New.
4616         (libc_fesetenv_ctx): New.
4617         (libc_fesetenv_ctxf): New.
4618         (libc_fesetenv_ctxl): New.
4619         (libc_feupdateenv_mips_ctx): New.
4620         (libc_feupdateenv_ctx): New.
4621         (libc_feupdateenvf_ctx): New.
4622         (libc_feupdateenvl_ctx): New.
4623         (libc_feholdsetround_mips_ctx): New.
4624         (libc_feholdsetround_ctx): New.
4625         (libc_feholdsetroundf_ctx): New.
4626         (libc_feholdsetroundl_ctx): New.
4627         (libc_feresetround_mips_ctx): New.
4628         (libc_feresetround_ctx): New.
4629         (libc_feresetroundf_ctx): New.
4630         (libc_feresetroundl_ctx): New.
4632 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4634         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4636         * manual/ipc.texi: New file.
4637         * manual/Makefile (chapters): Add ipc.
4638         * manual/job.texi: Add "Inter-Process Communication" to next.
4639         * manual/process.texi: Add "Inter-Process Communication" to prev.
4641 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4643         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4645 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4647         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4649         * manual/arith.texi: Fix spaces after sentences.
4650         * manual/charset.texi: Likewise.
4651         * manual/errno.texi: Likewise.
4652         * manual/install.texi: Likewise.
4653         * manual/llio.texi: Likewise.
4654         * manual/locale.texi: Likewise.
4655         * manual/maint.texi: Likewise.
4656         * manual/math.texi: Likewise.
4657         * manual/memory.texi: Likewise.
4658         * manual/message.texi: Likewise.
4659         * manual/probes.texi: Likewise.
4660         * manual/resource.texi: Likewise.
4661         * manual/signal.texi: Likewise.
4662         * manual/socket.texi: Likewise.
4663         * manual/stdio.texi: Likewise.
4664         * manual/string.texi: Likewise.
4665         * manual/time.texi: Likewise.
4666         * manual/users.texi: Likewise.
4668 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4670         [BZ #16632]
4671         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4672         _DEFAULT_SOURCE is defined.
4674 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4675             Carlos O'Donell  <carlos@redhat.com>
4677         [BZ #16613]
4678         * elf/dl-tls.c (_dl_count_modids): New function.
4679         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4680         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4681         audit library and increment generation counter.
4682         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4683         * elf/tst-audit9.c: New file.
4684         * elf/tst-auditmod9a.c: New file.
4685         * elf/tst-auditmod9b.c: New file.
4686         * elf/Makefile: Add rules to build and run tst-audit9.
4688 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4690         [BZ #15347]
4691         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4693 2014-02-25  Will Newton  <will.newton@linaro.org>
4695         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4696         (__longjmp): Restore sp and lr before restoring callee
4697         saved registers.  Add longjmp and longjmp_target
4698         SystemTap probe point.
4699         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4700         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4701         Define to zero to match jmpbuf layout.
4702         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4703         (__sigsetjmp): Save sp and lr before saving callee
4704         saved registers.  Add setjmp SystemTap probe point.
4706 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4708         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4710 2014-02-24  Andreas Schwab  <schwab@suse.de>
4712         [BZ #15804]
4713         * elf/pldd.c (wait_for_ptrace_stop): New function.
4714         (main): Call it after attaching.
4716 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4718         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4719         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4720         Versions files is now verboten.
4721         * hurd/Versions (libc: GLIBC_2.0):
4722         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4723         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4724         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4725         * mach/Versions: Likewise.
4727         * csu/Versions: Remove unused %include.
4728         * resolv/Versions: Likewise.
4730 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4732         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4733         ($(objpfx)check-local-headers.out): Likewise.
4734         ($(objpfx)begin-end-check.out): Likewise.
4735         * Makerules (check-abi-%.out): Likewise.
4736         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4737         ($(objpfx)test2.cat): Likewise.
4738         ($(objpfx)de/libc.cat): Likewise.
4739         ($(objpfx)test-gencat.out): Likewise.
4740         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4741         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4742         ($(objpfx)noload-mem): Likewise.
4743         ($(objpfx)tst-pathopt.out): Likewise.
4744         ($(objpfx)tst-rtld-load-self.out): Likewise.
4745         ($(objpfx)tst-array1-cmp.out): Likewise.
4746         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4747         ($(objpfx)tst-array2-cmp.out): Likewise.
4748         ($(objpfx)tst-array3-cmp.out): Likewise.
4749         ($(objpfx)tst-array4-cmp.out): Likewise.
4750         ($(objpfx)tst-array5-cmp.out): Likewise.
4751         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4752         ($(objpfx)check-textrel.out): Likewise.
4753         ($(objpfx)check-execstack.out): Likewise.
4754         ($(objpfx)check-localplt.out): Likewise.
4755         ($(objpfx)order2-cmp.out): Likewise.
4756         ($(objpfx)tst-leaks1-mem): Likewise.
4757         ($(objpfx)tst-leaks1-static-mem): Likewise.
4758         ($(objpfx)tst-initorder-cmp.out): Likewise.
4759         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4760         ($(objpfx)tst-unused-dep.out): Likewise.
4761         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4762         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4763         * iconv/Makefile (test-iconvconfig): Likewise.
4764         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4765         ($(objpfx)iconv-test.out): Likewise.
4766         ($(objpfx)tst-tables.out): Likewise.
4767         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4768         ($(objpfx)tst-gettext.out): Likewise.
4769         ($(objpfx)tst-translit.out): Likewise.
4770         ($(objpfx)tst-gettext2.out): Likewise.
4771         ($(objpfx)tst-gettext4.out): Likewise.
4772         ($(objpfx)tst-gettext6.out): Likewise.
4773         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4774         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4775         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4776         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4777         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4778         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4779         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4780         ($(objpfx)wordexp-tst.out): Likewise.
4781         ($(objpfx)annexc.out): Likewise.
4782         ($(objpfx)tst-fnmatch-mem): Likewise.
4783         ($(objpfx)bug-regex2-mem): Likewise.
4784         ($(objpfx)bug-regex14-mem): Likewise.
4785         ($(objpfx)bug-regex21-mem): Likewise.
4786         ($(objpfx)bug-regex31-mem): Likewise.
4787         ($(objpfx)tst-vfork3-mem): Likewise.
4788         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4789         ($(objpfx)tst-pcre-mem): Likewise.
4790         ($(objpfx)tst-boost-mem): Likewise.
4791         ($(objpfx)tst-getconf.out): Likewise.
4792         ($(objpfx)bug-ga2-mem): Likewise.
4793         ($(objpfx)bug-glob2-mem): Likewise.
4794         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4795         ($(objpfx)mtrace-tst-leaks2): Likewise.
4796         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4797         ($(objpfx)tst-printf.out): Likewise.
4798         ($(objpfx)tst-setvbuf1.out): Likewise.
4799         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4800         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4801         ($(objpfx)tst-fmtmsg.out): Likewise.
4802         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4803         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4805         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4806         * bits/sigaction.h [__USE_MISC]: Likewise.
4807         * bits/waitstatus.h: Update #endif comments.
4808         * ctype/ctype.h: Likewise.
4809         * dirent/dirent.h: Likewise.
4810         [__USE_MISC]: Remove redundant conditionals.
4811         * grp/grp.h: Update #endif comments.
4812         [__USE_GNU]: Remove redundant conditionals.
4813         [__USE_MISC]: Likewise.
4814         * inet/netinet/in.h [__USE_GNU]: Likewise.
4815         * io/sys/stat.h [__USE_MISC]: Likewise.
4816         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4817         * libio/bits/stdio.h: Update #endif comments.
4818         [__USE_MISC]: Remove redundant conditionals.
4819         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4820         * libio/stdio.h: Update #endif comments.
4821         [__USE_MISC]: Remove redundant conditionals.
4822         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4823         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4824         * math/math.h: Update #else and #endif comments.
4825         [__USE_MISC]: Remove redundant conditionals.
4826         * misc/sys/uio.h: Update #endif comments.
4827         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4828         * posix/glob.h [__USE_MISC]: Likewise.
4829         * posix/sys/types.h: Update #endif comments.
4830         [__USE_MISC]: Remove redundant conditionals.
4831         * posix/sys/wait.h: Update #endif comments.
4832         [__USE_MISC]: Remove redundant conditionals.
4833         * posix/unistd.h: Update #endif comments.
4834         [__USE_MISC]: Remove redundant conditionals.
4835         * pwd/pwd.h [__USE_GNU]: Likewise.
4836         [__USE_MISC]: Likewise.
4837         * resolv/netdb.h [__USE_GNU]: Likewise.
4838         * signal/signal.h: Update #endif comments.
4839         [__USE_MISC]: Remove redundant conditionals.
4840         * stdlib/stdlib.h: Update #else and #endif comments.
4841         [__USE_MISC]: Remove redundant conditionals.
4842         [__USE_GNU]: Likewise.
4843         * string/bits/string2.h [__USE_MISC]: Likewise.
4844         * string/string.h: Update #endif comments.
4845         [__USE_MISC]: Remove redundant conditionals.
4846         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4847         Likewise.
4848         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4849         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4850         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4851         Likewise.
4852         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4853         Likewise.
4854         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4855         comments.
4856         [__USE_MISC]: Remove redundant conditionals.
4857         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4858         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4859         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4860         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4861         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4862         Likewise.
4863         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4864         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4865         Likewise.
4866         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4867         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4868         Likewise.
4869         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4870         Likewise.
4871         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
4872         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
4873         Likewise.
4874         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
4875         Likewise.
4876         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
4877         * sysdeps/x86/bits/string.h: Update #endif comments.
4878         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
4879         conditionals.
4880         * time/sys/time.h: Update #endif comments.
4881         * time/time.h: Likewise.
4882         [__USE_MISC]: Remove redundant conditionals.
4884 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
4886         [BZ #16600]
4887         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
4889 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
4891         * Versions.def (librt): Add GLIBC_2.17.
4893 2014-02-21  Adam Conrad  <adconrad@0c3.net>
4895         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
4896         synonym for _SYS_AUXV_H to allow direct inclusion.
4897         * sysdeps/sparc/bits/hwcap.h: Likewise.
4898         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
4899         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
4900         * sysdeps/sparc/sysdep.h: Likewise.
4902 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4904         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
4906 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
4908         * benchtests/bench-strrchr.c: Print length instead of position.
4910 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
4912         [BZ #16611]
4913         * sysdeps/unix/sysv/linux/kernel-features.h
4914         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
4915         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
4916         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
4917         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
4918         Likewise.
4919         [__i386__ || __powerpc__ || __sh__ || __sparc__]
4920         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4921         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
4922         (__ASSUME_SENDMMSG): Define instead of using previous
4923         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
4924         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4925         (__ASSUME_SENDMMSG_SYSCALL): Define.
4926         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4927         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
4928         Likewise.
4929         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4930         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4931         Likewise.
4932         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4933         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4934         Likewise.
4935         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
4936         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4937         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4938         [__ASSUME_SENDMMSG]: Change conditionals to
4939         [__ASSUME_SENDMMSG_SOCKETCALL].
4940         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4941         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
4942         Define.
4943         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4944         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
4945         Likewise.
4946         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
4947         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
4948         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
4949         [!__ASSUME_SENDMMSG]: Change conditional to
4950         [!__ASSUME_SENDMMSG_SOCKETCALL].
4951         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4952         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
4953         Define.
4955         [BZ #16610]
4956         * sysdeps/unix/sysv/linux/kernel-features.h
4957         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
4958         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
4959         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
4960         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
4961         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
4962         [__i386__ || __sparc__]
4963         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4964         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
4965         (__ASSUME_RECVMMSG): Define instead of using previous
4966         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
4967         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4968         (__ASSUME_RECVMMSG_SYSCALL): Define.
4969         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4970         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4971         Likewise.
4972         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4973         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4974         Likewise.
4975         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4976         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4977         Likewise.
4978         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
4979         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4980         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4981         [__ASSUME_RECVMMSG]: Change condition to
4982         [__ASSUME_RECVMMSG_SOCKETCALL].
4983         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4984         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4985         Define.
4986         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
4987         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4988         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
4989         Likewise.
4990         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
4991         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
4992         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
4993         [!__ASSUME_RECVMMSG]: Change condition to
4994         [!__ASSUME_RECVMMSG_SOCKETCALL].
4995         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4996         (__ASSUME_RECVMMSG_SYSCALL): Define.
4998         [BZ #16609]
4999         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5000         __powerpc__ || __s390__ || __sh__ || __sparc__]
5001         (__ASSUME_SOCKETCALL): Define.
5002         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5003         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5004         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5005         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5006         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5007         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5008         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5009         (__ASSUME_ACCEPT4): Define instead of using previous
5010         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5011         __powerpc__ || __sparc__ || __s390__)] condition.
5012         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5013         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5014         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5015         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5016         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5017         [!__ASSUME_ACCEPT4]: Change condition to
5018         [!__ASSUME_ACCEPT4_SOCKETCALL].
5019         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5020         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5021         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5022         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5023         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5024         __ASSUME_ACCEPT4_SYSCALL.
5025         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5026         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5027         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5028         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5029         __ASSUME_ACCEPT4_SYSCALL.
5030         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5031         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5032         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5033         [__ASSUME_ACCEPT4]: Change condition to
5034         [__ASSUME_ACCEPT4_SOCKETCALL].
5035         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5036         (__ASSUME_SOCKETCALL): Define.
5037         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5038         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5039         (__ASSUME_SOCKETCALL): Define.
5040         (__ASSUME_ACCEPT4): Remove.
5041         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5042         Define.
5043         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5044         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5045         Likewise.
5046         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5047         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5049         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5050         macro.
5051         (HWCAP_ARM_LPAE): Likewise.
5052         (HWCAP_ARM_EVTSTRM): Likewise.
5053         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5054         Add vpfd32, lpae and evtstrm.
5055         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5056         Increase to 22.
5058 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5060         * math/auto-libm-test-in: Add tests of clog10.
5061         * math/auto-libm-test-out: Regenerated.
5062         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5063         * sysdeps/i386/fpu/libm-test-ulps: Update.
5064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5066 2014-02-18  Andreas Schwab  <schwab@suse.de>
5068         [BZ #16574]
5069         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5070         Store non-zero if the second buffer was newly allocated.
5071         (send_dg): Likewise.
5072         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5073         to send_vc and send_dg.
5074         (res_nsend): Pass NULL for ansp2_malloced.
5075         * resolv/res_query.c (__libc_res_nquery): Add parameter
5076         answerp2_malloced and pass it down to __libc_res_nsend.
5077         (res_nquery): Pass additional NULL to __libc_res_nquery.
5078         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5079         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5080         second answer buffer if answerp2_malloced was set.
5081         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5082         (__libc_res_nquerydomain): Add parameter
5083         answerp2_malloced and pass it down to __libc_res_nquery.
5084         (res_nquerydomain): Pass additional NULL to
5085         __libc_res_nquerydomain.
5086         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5087         additional NULL to __libc_res_nsend and __libc_res_nquery.
5088         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5089         additional NULL to __libc_res_nsearch.
5090         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5091         parameter of __libc_res_nsearch to check for separately allocated
5092         second buffer.
5093         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5094         __libc_res_nquery.
5095         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5096         additional NULL to __libc_res_nquery.
5097         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5098         __libc_res_nsearch.
5099         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5100         * include/resolv.h: Update prototypes of __libc_res_nquery,
5101         __libc_res_nsearch, __libc_res_nsend.
5103 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5105         * math/auto-libm-test-in: Add tests of fma.
5106         * math/auto-libm-test-out: Regenerated.
5107         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5108         (fma_towardzero_test_data): Likewise.
5109         (fma_downward_test_data): Likewise.
5110         (fma_upward_test_data): Likewise.
5111         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5112         mpc_mode.
5113         (rounding_modes): Add values for new field.
5114         (func_calc_method): Add value mpfr_fff_f.
5115         (func_calc_desc): Add mpfr_fff_f union field.
5116         (test_function): Add field exact_args.
5117         (FUNC): Add macro argument EXACT_ARGS.
5118         (FUNC_mpfr_f_f): Update call to FUNC.
5119         (FUNC_mpfr_f_f): Likewise.
5120         (FUNC_mpfr_ff_f): Likewise.
5121         (FUNC_mpfr_if_f): Likewise.
5122         (FUNC_mpc_c_f): Likewise.
5123         (FUNC_mpc_c_c): Likewise.
5124         (test_functions): Add fma.  Update calls to FUNC.
5125         (handle_input_arg): Add argument exact_args.
5126         (add_test): Update call to handle_input_arg.
5127         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5128         (output_for_one_input_case): Update call to calc_generic_results.
5129         Recalculate exact zero results in each rounding mode.
5131         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5132         non-negative before setting low bit.
5133         * math/auto-libm-test-in: Mark one asin test possibly having
5134         spurious underflow.
5135         * math/auto-libm-test-out: Regenerated.
5136         * sysdeps/i386/fpu/libm-test-ulps: Update.
5137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5139 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5141         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5142         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5143         ports/sysdeps/unix/sysv/linux/microblaze.
5144         * README: Add missing listing for microblaze*-*-linux-gnu.
5146 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5148         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5149         * sysdeps/unix/sysv/linux/ia64: Move directory from
5150         ports/sysdeps/unix/sysv/linux/ia64.
5151         * README: Update listing for ia64-*-linux-gnu.
5153 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5154             Joseph Myers  <joseph@codesourcery.com>
5156         * Makeconfig (test-name): New variable.
5157         (evaluate-test): Likewise.
5158         * Makerules (do-test-clean): Remove .test-result files.
5159         (common-mostlyclean): Likewise.
5160         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5161         * scripts/evaluate-test.sh: New file.
5163 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5165         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5166         separate $(objpfx)tst-fopenloc-cmp.out and
5167         $(objpfx)tst-fopenloc-mem.out targets.
5168         (tests): Update dependencies.
5169         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5170         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5171         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5172         (tst-rxspencer-no-utf8-ARGS): New variable.
5173         (tst-rxspencer-no-utf8-ENV): Likewise.
5174         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5175         instead of $(objpfx)tst-rxspencer-mem.
5176         ($(objpfx)tst-rxspencer-mem): Change target to
5177         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5178         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5179         * posix/tst-rxspencer-no-utf8.c: New file.
5181         * elf/Makefile ($(objpfx)order.out): Remove rule.
5182         [$(run-built-tests) = yes] (tests): Depend on
5183         $(objpfx)order-cmp.out.
5184         ($(objpfx)order-cmp.out): New rule.
5185         [$(run-built-tests) = yes] (tests): Depend on
5186         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5187         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5188         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5189         $(objpfx)tst-array5-static-cmp.out.
5190         ($(objpfx)tst-array1.out): Remove rule.
5191         ($(objpfx)tst-array1-cmp.out): New rule.
5192         ($(objpfx)tst-array1-static.out): Remove rule.
5193         ($(objpfx)tst-array1-static-cmp.out): New rule.
5194         ($(objpfx)tst-array2.out): Remove rule.
5195         ($(objpfx)tst-array2-cmp.out): New rule.
5196         ($(objpfx)tst-array3.out): Remove rule.
5197         ($(objpfx)tst-array3-cmp.out): New rule.
5198         ($(objpfx)tst-array4.out): Remove rule.
5199         ($(objpfx)tst-array4-cmp.out): New rule.
5200         ($(objpfx)tst-array5.out): Remove rule.
5201         ($(objpfx)tst-array5-cmp.out): New rule.
5202         ($(objpfx)tst-array5-static.out): Remove rule.
5203         ($(objpfx)tst-array5-static-cmp.out): New rule.
5204         [$(run-built-tests) = yes] (tests): Depend on
5205         $(objpfx)order2-cmp.out.
5206         ($(objpfx)order2.out): Remove rule.
5207         ($(objpfx)order2-cmp.out): New rule.
5208         ($(objpfx)tst-initorder.out): Remove rule.
5209         [$(run-built-tests) = yes] (tests): Depend on
5210         $(objpfx)tst-initorder-cmp.out.
5211         ($(objpfx)tst-initorder-cmp.out): New rule.
5212         ($(objpfx)tst-initorder2.out): Remove rule.
5213         [$(run-built-tests) = yes] (tests): Depend on
5214         $(objpfx)tst-initorder2-cmp.out.
5215         ($(objpfx)tst-initorder2-cmp.out): New rule.
5216         [$(run-built-tests) = yes] (tests): Depend on
5217         $(objpfx)tst-unused-dep-cmp.out.
5218         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5219         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5220         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5221         on $(objpfx)tst-setvbuf1-cmp.out.
5222         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5223         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5224         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5225         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5226         ($(objpfx)tst-svc.out): Remove rule.
5227         ($(objpfx)tst-svc-cmp.out): New rule.
5229 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5231         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5232         * ctype/ctype.h [__USE_MISC]: Likewise.
5233         * dirent/dirent.h [__USE_MISC]: Likewise.
5234         * grp/grp.h [__USE_MISC]: Likewise.
5235         * io/fcntl.h [__USE_MISC]: Likewise.
5236         * io/sys/stat.h [__USE_MISC]: Likewise.
5237         * libio/stdio.h [__USE_MISC]: Likewise.
5238         * posix/unistd.h [__USE_MISC]: Likewise.
5239         * pwd/pwd.h [__USE_MISC]: Likewise.
5240         * stdlib.h [__USE_MISC]: Likewise.
5241         * string/bits/string2.h [__USE_MISC]: Likewise.
5242         * string/string.h [__USE_MISC]: Likewise.
5243         * time/time.h [__USE_MISC]: Likewise.
5245 2014-02-13  Andreas Schwab  <schwab@suse.de>
5247         [BZ #16574]
5248         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5249         second answer buffer if it was separately allocated.
5251 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5253         * sysdeps/mips/math-tests.h: Include <features.h>.
5254         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5255         (ROUNDING_TESTS_long_double): Do not define.
5256         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5257         (EXCEPTION_TESTS_long_double): Likewise.
5258         * sysdeps/mips/mips64/libm-test-ulps: Update.
5260         * include/features.h (__USE_BSD): Remove macro definitions.
5261         (__USE_SVID): Likewise.
5262         (_BSD_SOURCE): Likewise.
5263         (_SVID_SOURCE): Likewise.
5264         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5265         from definition of _DEFAULT_SOURCE.
5266         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5267         [_DEFAULT_SOURCE].
5268         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5269         * bits/mman.h [__USE_BSD]: Likewise.
5270         * bits/termios.h [__USE_BSD]: Likewise.
5271         * bits/waitstatus.h [__USE_BSD]: Likewise.
5272         * ctype/ctype.h [__USE_SVID]: Likewise.
5273         * dirent/dirent.h [__USE_BSD]: Likewise.
5274         * grp/grp.h [__USE_SVID]: Likewise.
5275         [__USE_BSD]: Likewise.
5276         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5277         * io/fcntl.h [__USE_BSD]: Likewise.
5278         * io/ftw.h [__USE_BSD]: Likewise.
5279         * io/sys/stat.h [__USE_BSD]: Likewise.
5280         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5281         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5282         * libio/stdio.h [__USE_SVID]: Likewise.
5283         [__USE_BSD]: Likewise.
5284         * math/math.h [__USE_SVID]: Likewise.
5285         [__USE_BSD]: Likewise.
5286         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5287         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5288         * misc/search.h [__USE_SVID]: Likewise.
5289         * misc/sys/mman.h [__USE_BSD]: Likewise.
5290         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5291         * misc/sys/uio.h [__USE_BSD]: Likewise.
5292         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5293         * posix/glob.h [__USE_BSD]: Likewise.
5294         * posix/regex.h [__USE_BSD]: Likewise.
5295         * posix/sys/types.h [__USE_BSD]: Likewise.
5296         [__USE_SVID]: Likewise.
5297         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5298         * posix/sys/wait.h [__USE_BSD]: Likewise.
5299         [__USE_SVID]: Likewise.
5300         * posix/unistd.h [__USE_BSD]: Likewise.
5301         [__USE_SVID]: Likewise.
5302         * pwd/pwd.h [__USE_SVID]: Likewise.
5303         * resolv/netdb.h [__USE_BSD]: Likewise.
5304         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5305         * signal/signal.h [__USE_BSD]: Likewise.
5306         [__USE_SVID]: Likewise.
5307         * socket/sys/socket.h [__USE_BSD]: Likewise.
5308         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5309         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5310         [__USE_SVID]: Likewise.
5311         * string/bits/string2.h [__USE_BSD]: Likewise.
5312         [__USE_SVID]: Likewise.
5313         * string/bits/string3.h [__USE_BSD]: Likewise.
5314         * string/endian.h [__USE_BSD]: Likewise.
5315         * string/string.h [__USE_SVID]: Likewise.
5316         [__USE_BSD]: Likewise.
5317         * string/strings.h [__USE_BSD]: Likewise.
5318         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5319         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5320         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5321         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5322         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5323         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5324         Likewise.
5325         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5326         Likewise.
5327         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5328         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5329         Likewise.
5330         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5331         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5332         Likewise.
5333         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5334         Likewise.
5335         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5336         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5337         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5338         Likewise.
5339         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5340         Likewise.
5341         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5342         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5343         * termios/termios.h [__USE_BSD]: Likewise.
5344         * time/sys/time.h [__USE_BSD]: Likewise.
5345         * time/time.h [__USE_BSD]: Likewise.
5346         [__USE_SVID]: Likewise.
5348         * Makefile (subdir_targets): Remove subdir_lint.out.
5350         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5351         (do-tst-printf): Likewise.
5352         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5353         $(objpfx)tst-printf.out.
5355         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5357         * Makerules (check-abi-%): Change target to
5358         $(objpfx)check-abi-%.out.
5359         (check-abi target): Update dependencies.
5360         (check-abi-pattern variable): Redirect output of diff to $@.
5361         (check-abi variable): Likewise.
5362         * elf/Makefile (check-abi): Update dependencies.
5364         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5365         unused.
5366         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5367         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5368         subnormal range.
5369         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5370         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5371         value has largest subnormal exponent.
5372         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5373         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5374         * sysdeps/aarch64/soft-fp/sfp-machine.h
5375         (_FP_TININESS_AFTER_ROUNDING): New macro.
5376         * sysdeps/alpha/soft-fp/sfp-machine.h
5377         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5378         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5379         Likewise.
5380         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5381         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5382         * sysdeps/mips/soft-fp/sfp-machine.h
5383         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5384         * sysdeps/powerpc/soft-fp/sfp-machine.h
5385         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5386         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5387         Likewise.
5388         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5389         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5390         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5391         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5392         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5393         Likewise.
5395 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5397         [BZ #16545]
5398         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5399         model 1.
5401 2014-02-12  Richard Henderson  <rth@redhat.com>
5403         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5404         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5405         * sysdeps/unix/sysv/linux/alpha: Move directory from
5406         ports/sysdeps/unix/sysv/linux/alpha.
5407         * README: Update listing for alpha-*-linux-gnu.
5409 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5411         * include/features.h: Update comment documenting feature test
5412         macros.
5413         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5414         _DEFAULT_SOURCE.
5415         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5416         (_SVID_SOURCE): Likewise.
5417         (_DEFAULT_SOURCE): Update description of default features.
5418         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5419         with _GNU_SOURCE.
5420         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5421         (S_ISVTX): Likewise.
5422         * manual/math.texi (Mathematical Constants): Likewise.
5423         * manual/signal.texi (Interrupted Primitives): Likewise.
5424         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5425         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5426         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5427         Don't refer to _SVID_SOURCE in warning text.
5429         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5431         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5432         already defined.
5433         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5434         * sysdeps/mips/dl-lookup.c: Remove.
5435         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5437 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5439         [BZ #16447]
5440         * math/auto-libm-test-in: Add testcase for expl.
5441         * math/auto-libm-test-out: Regenerate.
5442         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5443         calculation of unsafe.
5444         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5446 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5448         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5449         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5450         ports/sysdeps/unix/sysv/linux/aarch64.
5451         * README: Update listing for aarch64*-*-linux-gnu.
5453 2014-02-11  Will Newton  <will.newton@linaro.org>
5455         * manual/probes.texi (Mathematical Function Probes): Use
5456         "triggered" instead of "hit".
5458         * manual/probes.texi (Internal Probes): Add documentation
5459         of setjmp, longjmp and longjmp_target probes.
5461         * include/stap-probe.h: Add comment about probe argument
5462         format.
5464         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5465         definition.  (tr_where, tr_freehook, tr_mallochook,
5466         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5468 2014-02-11  David S. Miller  <davem@davemloft.net>
5470         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5471         processing int_tests.
5473 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5475         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5476         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5477         * sysdeps/unix/sysv/linux/mips: Move directory from
5478         ports/sysdeps/unix/sysv/linux/mips.
5479         * README: Update listing for mips-*-linux-gnu and
5480         mips64-*-linux-gnu.
5482 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5484         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5485         * sysdeps/unix/sysv/linux/m68k: Move directory from
5486         ports/sysdeps/unix/sysv/linux/m68k.
5487         * README: Update listing for m68k-*-linux-gnu.
5489 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5491         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5492         * sysdeps/unix/sysv/linux/generic: Move directory from
5493         ports/sysdeps/unix/sysv/linux/generic.
5494         * sysdeps/unix/sysv/linux/tile: Move directory from
5495         ports/sysdeps/unix/sysv/linux/tile.
5496         * README: Update listing for tile*-*-linux-gnu.
5498 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5500         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5501         __builtin_expect.
5502         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5503         * catgets/open_catalog.c (__open_catalog): Likewise.
5504         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5505         * debug/confstr_chk.c: Likewise.
5506         * debug/fread_chk.c (__fread_chk): Likewise.
5507         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5508         * debug/getgroups_chk.c: Likewise.
5509         * debug/mbsnrtowcs_chk.c: Likewise.
5510         * debug/mbsrtowcs_chk.c: Likewise.
5511         * debug/mbstowcs_chk.c: Likewise.
5512         * debug/memcpy_chk.c: Likewise.
5513         * debug/memmove_chk.c: Likewise.
5514         * debug/mempcpy_chk.c: Likewise.
5515         * debug/memset_chk.c: Likewise.
5516         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5517         * debug/strcat_chk.c (__strcat_chk): Likewise.
5518         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5519         * debug/strncat_chk.c (__strncat_chk): Likewise.
5520         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5521         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5522         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5523         * debug/wcpncpy_chk.c: Likewise.
5524         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5525         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5526         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5527         * debug/wcsncpy_chk.c: Likewise.
5528         * debug/wcsnrtombs_chk.c: Likewise.
5529         * debug/wcsrtombs_chk.c: Likewise.
5530         * debug/wcstombs_chk.c: Likewise.
5531         * debug/wmemcpy_chk.c: Likewise.
5532         * debug/wmemmove_chk.c: Likewise.
5533         * debug/wmempcpy_chk.c: Likewise.
5534         * debug/wmemset_chk.c: Likewise.
5535         * dirent/scandirat.c (SCANDIRAT): Likewise.
5536         * dlfcn/dladdr1.c (dladdr1): Likewise.
5537         * dlfcn/dladdr.c (dladdr): Likewise.
5538         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5539         * dlfcn/dlerror.c (__dlerror): Likewise.
5540         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5541         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5542         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5543         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5544         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5545         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5546         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5547         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5548         Likewise.
5549         * elf/dl-conflict.c: Likewise.
5550         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5551         * elf/dl-dst.h: Likewise.
5552         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5553         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5554         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5555         * elf/dl-init.c (call_init, _dl_init): Likewise.
5556         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5557         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5558         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5559         Likewise.
5560         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5561         Likewise.
5562         * elf/dl-minimal.c (__libc_memalign): Likewise.
5563         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5564         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5565         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5566         * elf/dl-sym.c (do_sym): Likewise.
5567         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5568         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5569         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5570         * elf/dl-writev.h (_dl_writev): Likewise.
5571         * elf/ldconfig.c (search_dir): Likewise.
5572         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5573         (dl_main): Likewise.
5574         * elf/setup-vdso.h (setup_vdso): Likewise.
5575         * grp/compat-initgroups.c (compat_call): Likewise.
5576         * grp/fgetgrent.c (fgetgrent): Likewise.
5577         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5578         * grp/putgrent.c (putgrent): Likewise.
5579         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5580         Likewise.
5581         * hurd/hurdinit.c: Likewise.
5582         * iconvdata/8bit-gap.c (struct): Likewise.
5583         * iconvdata/ansi_x3.110.c : Likewise.
5584         * iconvdata/big5.c : Likewise.
5585         * iconvdata/big5hkscs.c : Likewise.
5586         * iconvdata/cp1255.c: Likewise.
5587         * iconvdata/cp1258.c : Likewise.
5588         * iconvdata/cp932.c : Likewise.
5589         * iconvdata/euc-cn.c: Likewise.
5590         * iconvdata/euc-jisx0213.c : Likewise.
5591         * iconvdata/euc-jp.c: Likewise.
5592         * iconvdata/euc-jp-ms.c : Likewise.
5593         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5594         * iconvdata/gb18030.c : Likewise.
5595         * iconvdata/gbbig5.c (const): Likewise.
5596         * iconvdata/gbgbk.c: Likewise.
5597         * iconvdata/gbk.c : Likewise.
5598         * iconvdata/ibm1364.c : Likewise.
5599         * iconvdata/ibm930.c : Likewise.
5600         * iconvdata/ibm932.c: Likewise.
5601         * iconvdata/ibm933.c : Likewise.
5602         * iconvdata/ibm935.c : Likewise.
5603         * iconvdata/ibm937.c : Likewise.
5604         * iconvdata/ibm939.c : Likewise.
5605         * iconvdata/ibm943.c: Likewise.
5606         * iconvdata/iso_11548-1.c: Likewise.
5607         * iconvdata/iso-2022-cn.c : Likewise.
5608         * iconvdata/iso-2022-cn-ext.c : Likewise.
5609         * iconvdata/iso-2022-jp-3.c: Likewise.
5610         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5611         * iconvdata/iso-2022-kr.c : Likewise.
5612         * iconvdata/iso646.c (gconv_end): Likewise.
5613         * iconvdata/iso_6937-2.c : Likewise.
5614         * iconvdata/iso_6937.c : Likewise.
5615         * iconvdata/iso8859-1.c: Likewise.
5616         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5617         * iconvdata/shift_jisx0213.c : Likewise.
5618         * iconvdata/sjis.c : Likewise.
5619         * iconvdata/t.61.c : Likewise.
5620         * iconvdata/tcvn5712-1.c : Likewise.
5621         * iconvdata/tscii.c: Likewise.
5622         * iconvdata/uhc.c : Likewise.
5623         * iconvdata/unicode.c (gconv_end): Likewise.
5624         * iconvdata/utf-16.c (gconv_end): Likewise.
5625         * iconvdata/utf-32.c (gconv_end): Likewise.
5626         * iconvdata/utf-7.c (base64): Likewise.
5627         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5628         * iconv/gconv_close.c (__gconv_close): Likewise.
5629         * iconv/gconv_open.c (__gconv_open): Likewise.
5630         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5631         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5632         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5633         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5634         (ucs4le_internal_loop_single): Likewise.
5635         * iconv/iconv.c (iconv): Likewise.
5636         * iconv/iconv_close.c: Likewise.
5637         * iconv/loop.c (SINGLE): Likewise.
5638         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5639         * include/atomic.h: Likewise.
5640         * inet/inet6_option.c (option_alloc): Likewise.
5641         * intl/bindtextdom.c (set_binding_values): Likewise.
5642         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5643         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5644         * intl/localealias.c (read_alias_file): Likewise.
5645         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5646         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5647         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5648         * libio/fmemopen.c (fmemopen): Likewise.
5649         * libio/iofgets.c (_IO_fgets): Likewise.
5650         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5651         * libio/iofgetws.c (fgetws): Likewise.
5652         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5653         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5654         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5655         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5656         * locale/findlocale.c (_nl_find_locale): Likewise.
5657         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5658         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5659         Likewise.
5660         * locale/setlocale.c (setlocale): Likewise.
5661         * login/programs/pt_chown.c (main): Likewise.
5662         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5663         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5664         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5665         (mmap, mmap64, mremap, munmap): Likewise.
5666         * math/e_exp2l.c: Likewise.
5667         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5668         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5669         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5670         * math/s_catan.c (__catan): Likewise.
5671         * math/s_catanf.c (__catanf): Likewise.
5672         * math/s_catanh.c (__catanh): Likewise.
5673         * math/s_catanhf.c (__catanhf): Likewise.
5674         * math/s_catanhl.c (__catanhl): Likewise.
5675         * math/s_catanl.c (__catanl): Likewise.
5676         * math/s_ccosh.c (__ccosh): Likewise.
5677         * math/s_ccoshf.c (__ccoshf): Likewise.
5678         * math/s_ccoshl.c (__ccoshl): Likewise.
5679         * math/s_cexp.c (__cexp): Likewise.
5680         * math/s_cexpf.c (__cexpf): Likewise.
5681         * math/s_cexpl.c (__cexpl): Likewise.
5682         * math/s_clog10.c (__clog10): Likewise.
5683         * math/s_clog10f.c (__clog10f): Likewise.
5684         * math/s_clog10l.c (__clog10l): Likewise.
5685         * math/s_clog.c (__clog): Likewise.
5686         * math/s_clogf.c (__clogf): Likewise.
5687         * math/s_clogl.c (__clogl): Likewise.
5688         * math/s_csin.c (__csin): Likewise.
5689         * math/s_csinf.c (__csinf): Likewise.
5690         * math/s_csinh.c (__csinh): Likewise.
5691         * math/s_csinhf.c (__csinhf): Likewise.
5692         * math/s_csinhl.c (__csinhl): Likewise.
5693         * math/s_csinl.c (__csinl): Likewise.
5694         * math/s_csqrt.c (__csqrt): Likewise.
5695         * math/s_csqrtf.c (__csqrtf): Likewise.
5696         * math/s_csqrtl.c (__csqrtl): Likewise.
5697         * math/s_ctan.c (__ctan): Likewise.
5698         * math/s_ctanf.c (__ctanf): Likewise.
5699         * math/s_ctanh.c (__ctanh): Likewise.
5700         * math/s_ctanhf.c (__ctanhf): Likewise.
5701         * math/s_ctanhl.c (__ctanhl): Likewise.
5702         * math/s_ctanl.c (__ctanl): Likewise.
5703         * math/w_pow.c: Likewise.
5704         * math/w_powf.c: Likewise.
5705         * math/w_powl.c: Likewise.
5706         * math/w_scalb.c (sysv_scalb): Likewise.
5707         * math/w_scalbf.c (sysv_scalbf): Likewise.
5708         * math/w_scalbl.c (sysv_scalbl): Likewise.
5709         * misc/error.c (error_tail): Likewise.
5710         * misc/pselect.c (__pselect): Likewise.
5711         * nis/nis_callback.c (__nis_create_callback): Likewise.
5712         * nis/nis_call.c (__nisfind_server): Likewise.
5713         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5714         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5715         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5716         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5717         * nis/nis_lookup.c (nis_lookup): Likewise.
5718         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5719         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5720         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5721         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5722         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5723         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5724         * nis/nss_compat/compat-initgroups.c (add_group)
5725         (internal_getgrent_r): Likewise.
5726         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5727         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5728         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5729         (internal_getspnam_r): Likewise.
5730         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5731         (_nss_nis_getaliasbyname_r): Likewise.
5732         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5733         (_nss_nis_getntohost_r): Likewise.
5734         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5735         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5736         (_nss_nis_getgrgid_r): Likewise.
5737         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5738         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5739         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5740         (_nss_nis_gethostbyname4_r): Likewise.
5741         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5742         (initgroups_netid): Likewise.
5743         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5744         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5745         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5746         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5747         (_nss_nis_getprotobynumber_r): Likewise.
5748         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5749         (_nss_nis_getsecretkey): Likewise.
5750         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5751         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5752         (_nss_nis_getpwuid_r): Likewise.
5753         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5754         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5755         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5756         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5757         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5758         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5759         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5760         Likewise.
5761         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5762         (_nss_nisplus_getntohost_r): Likewise.
5763         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5764         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5765         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5766         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5767         Likewise.
5768         * nis/nss_nisplus/nisplus-initgroups.c
5769         (_nss_nisplus_initgroups_dyn): Likewise.
5770         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5771         (_nss_nisplus_getnetbyaddr_r): Likewise.
5772         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5773         (_nss_nisplus_getprotobynumber_r): Likewise.
5774         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5775         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5776         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5777         Likewise.
5778         * nis/nss_nisplus/nisplus-service.c
5779         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5780         (_nss_nisplus_getservbyport_r): Likewise.
5781         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5782         (_nss_nisplus_getspnam_r): Likewise.
5783         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5784         Likewise.
5785         * nscd/aicache.c (addhstaiX): Likewise.
5786         * nscd/cache.c (cache_search, prune_cache): Likewise.
5787         * nscd/connections.c (register_traced_file, send_ro_fd)
5788         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5789         (main_loop_epoll): Likewise.
5790         * nscd/grpcache.c (addgrbyX): Likewise.
5791         * nscd/hstcache.c (addhstbyX): Likewise.
5792         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5793         * nscd/mem.c (gc, mempool_alloc): Likewise.
5794         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5795         (addinnetgrX): Likewise.
5796         * nscd/nscd-client.h (__nscd_acquire_maplock)
5797         (__nscd_drop_map_ref): Likewise.
5798         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5799         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5800         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5801         Likewise.
5802         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5803         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5804         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5805         (__nscd_get_map_ref): Likewise.
5806         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5807         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5808         Likewise.
5809         * nscd/pwdcache.c (addpwbyX): Likewise.
5810         * nscd/selinux.c (preserve_capabilities): Likewise.
5811         * nscd/servicescache.c (addservbyX): Likewise.
5812         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5813         * posix/fnmatch.c (fnmatch): Likewise.
5814         * posix/getopt.c (_getopt_internal_r): Likewise.
5815         * posix/glob.c (glob, glob_in_dir): Likewise.
5816         * posix/wordexp.c (exec_comm_child): Likewise.
5817         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5818         (getanswer_r, gaih_getanswer_slice): Likewise.
5819         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5820         * resolv/res_init.c: Likewise.
5821         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5822         * resolv/res_query.c (__libc_res_nquery): Likewise.
5823         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5824         Likewise.
5825         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5826         * stdio-common/perror.c (perror): Likewise.
5827         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5828         * stdio-common/tmpnam.c (tmpnam): Likewise.
5829         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5830         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5831         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5832         Likewise.
5833         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5834         * stdlib/putenv.c (putenv): Likewise.
5835         * stdlib/setenv.c (__add_to_environ): Likewise.
5836         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5837         * stdlib/strtol_l.c (INTERNAL): Likewise.
5838         * string/memmem.c (memmem): Likewise.
5839         * string/strerror.c (strerror): Likewise.
5840         * string/strnlen.c (__strnlen): Likewise.
5841         * string/test-memmem.c (simple_memmem): Likewise.
5842         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5843         * sunrpc/pm_getport.c (__get_socket): Likewise.
5844         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5845         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5846         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5847         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5848         Likewise.
5849         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5850         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5851         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5852         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5853         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5854         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5855         Likewise.
5856         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5857         Likewise.
5858         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5859         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5860         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5861         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5862         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5863         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5864         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5865         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5866         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5867         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5868         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5869         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5870         Likewise.
5871         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
5872         Likewise.
5873         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
5874         Likewise.
5875         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
5876         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
5877         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
5878         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
5879         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
5880         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
5881         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
5882         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
5883         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
5884         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
5885         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
5886         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
5887         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
5888         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
5889         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5890         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
5891         Likewise.
5892         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
5893         Likewise.
5894         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
5895         Likewise.
5896         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
5897         Likewise.
5898         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5899         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5900         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
5901         Likewise.
5902         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
5903         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
5904         * sysdeps/posix/opendir.c (__opendirat): Likewise.
5905         * sysdeps/posix/sleep.c: Likewise.
5906         * sysdeps/posix/tempname.c: Likewise.
5907         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
5908         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
5909         Likewise.
5910         * sysdeps/powerpc/powerpc32/dl-machine.h
5911         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
5912         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
5913         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
5914         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
5915         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
5916         Likewise.
5917         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
5918         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
5919         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5920         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
5921         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
5922         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
5923         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
5924         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
5925         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
5926         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
5927         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
5928         (elf_machine_lazy_rel): Likewise.
5929         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
5930         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
5931         (elf_machine_lazy_rel): Likewise.
5932         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
5933         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
5934         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
5935         * sysdeps/unix/grantpt.c (grantpt): Likewise.
5936         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
5937         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
5938         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
5939         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
5940         Likewise.
5941         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
5942         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
5943         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
5944         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
5945         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
5946         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
5947         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
5948         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
5949         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
5950         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
5951         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
5952         Likewise.
5953         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
5954         (__posix_fallocate64_l64): Likewise.
5955         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
5956         (posix_fallocate): Likewise.
5957         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
5958         Likewise.
5959         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
5960         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
5961         (getifaddrs_internal): Likewise.
5962         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
5963         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
5964         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
5965         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
5966         * sysdeps/unix/sysv/linux/posix_fallocate64.c
5967         (__posix_fallocate64_l64): Likewise.
5968         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
5969         Likewise.
5970         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
5971         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5972         (__get_clockfreq): Likewise.
5973         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
5974         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
5975         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
5976         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
5977         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
5978         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
5979         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
5980         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
5981         Likewise.
5982         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
5983         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
5984         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
5985         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
5986         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
5987         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
5988         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
5989         Likewise.
5990         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
5991         (posix_fallocate): Likewise.
5992         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
5993         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
5994         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
5995         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
5996         (elf_machine_rela, elf_machine_rela_relative)
5997         (elf_machine_lazy_rel): Likewise.
5998         * time/asctime.c (asctime_internal): Likewise.
5999         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6000         * time/tzset.c (__tzset_parse_tz): Likewise.
6001         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6002         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6003         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6004         * wcsmbs/wcsmbsload.h: Likewise.
6006         [BZ #15894]
6007         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6009         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6010         (arena_get2): Remove THREAD_STATS conditionals.
6011         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6012         (__malloc_stats, int): Likewise.
6014 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6016         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6017         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6019         * manual/setjmp.texi: Fix typos/grammar errors.
6021         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6022         Only return early when n is <= 0.  Delete unused return statement.
6024         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6025         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6026         * debug/tst-longjmp_chk3.c: New file.
6028         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6029         (test_main): Replace code with set_fortify_handler call.
6030         * debug/test-strcpy_chk.c: Likewise.
6031         * debug/tst-chk1.c: Likewise.
6032         * debug/tst-longjmp_chk.c: Likewise.
6033         * test-skeleton.c: Include fcntl.h & paths.h
6034         (set_fortify_handler): Define.
6036         * debug/tst-longjmp_chk.c: Add header comment and include
6037         ../test-skeleton.c.
6038         (do_test): Mark static.
6039         (TEST_FUNCTION): Define.
6041         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6042         (IP_PMTUDISC_INTERFACE): Likewise.
6043         (IP_MULTICAST_IF): Likewise.
6044         (IP_MULTICAST_TTL): Likewise.
6045         (IP_MULTICAST_LOOP): Likewise.
6046         (IP_ADD_MEMBERSHIP): Likewise.
6047         (IP_DROP_MEMBERSHIP): Likewise.
6048         (IP_UNBLOCK_SOURCE): Likewise.
6049         (IP_BLOCK_SOURCE): Likewise.
6050         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6051         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6052         (IP_MSFILTER): Likewise.
6053         (MCAST_JOIN_GROUP): Likewise.
6054         (MCAST_BLOCK_SOURCE): Likewise.
6055         (MCAST_UNBLOCK_SOURCE): Likewise.
6056         (MCAST_LEAVE_GROUP): Likewise.
6057         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6058         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6059         (MCAST_MSFILTER): Likewise.
6060         (IP_MULTICAST_ALL): Likewise.
6061         (IP_UNICAST_IF): Likewise.
6063         * timezone/Makefile: Delete $(have-ksh) check.
6064         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6065         * timezone/tzselect.ksh: Add +x mode bits.
6067         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6068         (ANON_INODE_FS_MAGIC): Likewise.
6069         (BDEVFS_MAGIC): Likewise.
6070         (BINFMTFS_MAGIC): Likewise.
6071         (BTRFS_TEST_MAGIC): Likewise.
6072         (CRAMFS_MAGIC_WEND): Likewise.
6073         (DEBUGFS_MAGIC): Likewise.
6074         (ECRYPTFS_SUPER_MAGIC): Likewise.
6075         (EXT3_SUPER_MAGIC): Likewise.
6076         (EXT4_SUPER_MAGIC): Likewise.
6077         (FUTEXFS_SUPER_MAGIC): Likewise.
6078         (HOSTFS_SUPER_MAGIC): Likewise.
6079         (HUGETLBFS_MAGIC): Likewise.
6080         (MINIX3_SUPER_MAGIC): Likewise.
6081         (MTD_INODE_FS_MAGIC): Likewise.
6082         (NILFS_SUPER_MAGIC): Likewise.
6083         (OPENPROM_SUPER_MAGIC): Likewise.
6084         (PIPEFS_MAGIC): Likewise.
6085         (PSTOREFS_MAGIC): Likewise.
6086         (QNX6_SUPER_MAGIC): Likewise.
6087         (RAMFS_MAGIC): Likewise.
6088         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6089         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6090         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6091         (SECURITYFS_MAGIC): Likewise.
6092         (SELINUX_MAGIC): Likewise.
6093         (SMACK_MAGIC): Likewise.
6094         (SOCKFS_MAGIC): Likewise.
6095         (SQUASHFS_MAGIC): Likewise.
6096         (STACK_END_MAGIC): Likewise.
6097         (TMPFS_MAGIC): Likewise.
6098         (USBDEVICE_SUPER_MAGIC): Likewise.
6099         (V9FS_MAGIC): Likewise.
6100         (XENFS_SUPER_MAGIC): Likewise.
6101         (CRAMFS_MAGIC): Fix typo in comment.
6102         (EXT2_SUPER_MAGIC): Update comment.
6103         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6105 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6107         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6108         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6109         * sysdeps/unix/sysv/linux/arm: Move directory from
6110         ports/sysdeps/unix/sysv/linux/arm.
6111         * README: Update listing for arm-*-linux-gnueabi.
6113         * README: Remove mention of am33.
6115 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6117         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6118         than the comma operator, to avoid "rhs of comma has no effect"
6119         compiler warnings.
6120         (__sigfillset, __sigandset, __sigorset): Likewise.
6121         * include/signal.h (__sigemptyset): Likewise.
6122         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6124 2014-02-07  Allan McRae  <allan@archlinux.org>
6126         * version.h (RELEASE): Set to "development".
6127         (VERSION): Set to "2.19.90"
6128         * NEWS: Add 2.20 section.
6130 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6132         [BZ #16529]
6133         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6135 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6137         * manual/contrib.texi: Update entry for Carlos O'Donell,
6138         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6140 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6142         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6144         * sysdeps/unix/sysv/linux/kernel-features.h
6145         [__LINUX_KERNEL_VERSION >= 0x020621]
6146         (__ASSUME_PROC_PID_TASK_COMM): Define.
6148 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6150         [BZ #16398]
6151         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6152         conversion when destination buffer does not have enough space.
6153         * libio/tst-ftell-partial-wide.c: New test case.
6154         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6156         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6157         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6158         Leonard and Allan McRae.
6160 2014-02-04  David S. Miller  <davem@davemloft.net>
6162         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6163         32-bit.
6165 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6167         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6168         New file
6169         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6170         New file
6171         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6172         New file.
6173         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6174         New file.
6175         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6176         New file.
6177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6178         New file.
6179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6180         New file.
6181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6182         New file.
6183         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6184         New file.
6185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6186         New file.
6187         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6188         New file.
6189         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6190         New file.
6191         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6192         New file.
6194 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6196         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6197         * shlib-versions: Likewise.
6199 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6200             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6202         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6203         (abilist-pattern): New variable, set to %-le.abilist.
6205         * Makerules (abilist-pattern): New variable.
6206         (vpath): Use $(abilist-pattern) in place of %.abilist.
6207         (check-abi-% pattern rule): Likewise.
6208         (check-abi, update-abi): Likewise.
6210 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6212         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6214 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6216         * manual/startup.texi: Add next, previous, and top entries for
6217         the `Program Arguments' and `Environment Variables' nodes.
6219 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6221         * manual/macros.texi: Add comments before MTASC-safety macros.
6223         * manual/users.texi: Document MTASC-safety properties.
6225         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6226         (pthread_getspecific, pthread_setspecific): Format with
6227         @deftypefun, and add @safety note.
6228         * manual/signal.texi: Move comments that analyze the above
6229         functions to their home place.
6231 2014-02-03  Allan McRae  <allan@archlinux.org>
6233         * po/sl.po: Update Slovenian translation from translation project.
6235 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6237         * manual/time.texi (timegm): Add missing blank after @c.
6238         Reported by Joseph Myers <joseph@codesourcery.com>.
6240 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6242         * manual/check-safety.sh: New.
6243         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6245         * manual/terminal.texi: Document MTASC-safety properties.
6247         * manual/filesys.texi: Document MTASC-safety properties.
6249         * manual/errno.texi: Document MTASC-safety properties.
6251         * manual/intro.texi: Document safety identifiers and
6252         conditionals.
6254         * manual/string.texi (wcstok): Fix prototype.
6255         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6257         * manual/time.texi: Document MTASC-safety properties.
6259         * manual/string.texi: Document MTASC-safety properties.
6261         * manual/threads.texi: Document MTASC-safety properties.
6263         * manual/stdio.texi: Document MTASC-safety properties.
6265         * manual/syslog.texi: Document MTASC-safety properties.
6267         * manual/sysinfo.texi: Document MTASC-safety properties.
6269         * manual/startup.texi: Document MTASC-safety properties.
6271         * manual/socket.texi: Document MTASC-safety properties.
6273         * manual/signal.texi: Document MTASC-safety properties.
6275 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6277         * manual/setjmp.texi: Document MTASC-safety properties.
6279         * manual/search.texi: Document MTASC-safety properties.
6281         * manual/resource.texi: Document MTASC-safety properties.
6283         * manual/process.texi: Document MTASC-safety properties.
6285         * manual/platform.texi: Document MTASC-safety properties.
6287         * manual/pipe.texi: Document MTASC-safety properties.
6289         * manual/pattern.texi: Document MTASC-safety properties.
6291         * manual/message.texi: Document MTASC-safety properties.
6293         [BZ #12751]
6294         * manual/memory.texi: Document MTASC-safety properties.
6296         * manual/math.texi: Document MTASC-safety properties.
6298         * manual/locale.texi: Document MTASC-safety properties.
6300         * manual/llio.texi: Document MTASC-safety properties.
6302         * manual/libdl.texi: New.
6304         * manual/lang.texi: Document MTASC-safety properties.
6306         * manual/job.texi: Document MTASC-safety properties.
6308         * manual/getopt.texi: Document MTASC-safety properties.
6310         * manual/ctype.texi: Document MTASC-safety properties.
6312 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6314         [BZ #16046]
6315         * csu/libc-tls.c (static_map): Remove variable.
6316         (__libc_setup_tls): Use main executable's link map for TLS data.
6317         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6318         casing for LM_ID_BASE and GL(dl_nns).
6319         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6320         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6321         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6322         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6323         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6324         member.
6325         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6326         l_phnum members.
6328 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6330         * manual/debug.texi: Document MTASC-safety properties.
6332 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6334         [BZ #16510]
6335         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6336         of __x86_64__ when disabling x87 inline functions.
6338 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6340         * manual/charset.texi: Document MTASC-safety properties.
6342         * manual/crypt.texi: Document MTASC-safety properties.
6344         * manual/conf.texi: Document MTASC-safety properties.
6346         * manual/arith.texi: Document MTASC-safety properties.
6348         * manual/argp.texi: Document MTASC-safety properties.
6350         * manual/macros.texi: Introduce macros to document multi
6351         thread, asynchronous signal and asynchronous cancellation
6352         safety properties.
6353         * manual/intro.texi: Introduce the properties themselves.
6355 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6357         * sysdeps/sh/sh4/Makefile: New file.
6359 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6361         * math/gen-libm-test.pl ($srcdir): New variable.
6362         ($auto_input): Use it.
6364 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6366         [BZ #16506]
6367         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6368         access beyond array bounds when parsing netgroups file.
6370         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6371         the old buffer before realloc.
6373 2014-01-27  Allan McRae  <allan@archlinux.org>
6375         * po/fr.po: Update French translation from translation project.
6377 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6379         * sysdeps/sh/libm-test-ulps: Regenerate.
6381 2014-01-24  David S. Miller  <davem@davemloft.net>
6383         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6385 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6387         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6388         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6390 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6392         [BZ #16474]
6393         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6394         string pointers after reallocation.
6396 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6398         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6399         __SH4A__ instead of __SH_FPU_ANY__.
6401 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6403         * sysdeps/sh/fpu_control.h: New file.
6404         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6405         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6406         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6407         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6408         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6409         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6410         * sysdeps/sh/sys/ucontext.h: Remove.
6411         * sysdeps/sh/sys: Remove directory.
6413 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6415         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6416         s390/sys/ucontext.h.
6417         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6418         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6420 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6422         [BZ #15605]
6423         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6425 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6427         [BZ#16431]
6428         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6429         Adjust the vDSO correctly for internal calls.
6430         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6432 2014-01-20  Allan McRae  <allan@archlinux.org>
6434         * po/ca.po: Update Catalan translation from translation project.
6436 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6438         * sysdeps/s390/sotruss-lib.c: New file.
6440 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6442         [BZ#16430]
6443         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6444         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6445         local calls issues by not having a PLT stub required for IFUNC calls.
6446         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6448 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6450         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6451         * math/test-fpucw-static.c: Likewise.
6453 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6455         [BZ #16453]
6456         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6458 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6460         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6461         implementation for powerpc.
6463 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6465         [BZ #14782]
6466         * sysdeps/posix/system.c (__libc_system): Do not enable
6467         asynchronous cancellation.
6469 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6471         [BZ #16427]
6472         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6473         handling only for numbers special also in the IEEE case.
6475 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6477         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6479 2014-01-11  Allan McRae  <allan@archlinux.org>
6481         * po/bg.po: Update Bulgarian translation from translation project.
6483         * po/de.po: Update German translation from translation project.
6485 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6487         * sysdeps/generic/gcc-compat.h: New file.
6489 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6491         * benchtests/asin-inputs: Correct slow inputs.
6492         * benchtests/acos-inputs: Likewise.
6494 2014-01-10  Allan McRae  <allan@archlinux.org>
6496         * po:sv.po: Update Swedish translation from translation project.
6498         * po/vi.po: Update Vietnamese translation from translation project.
6500         * po/eo.po: Update Esperanto translation from translation project.
6502         * po/cs.po: Update Czech translation from translation project.
6504         * po/nl.po: Update Dutch translation from translation project.
6506         * po/pl.po: Update Polish translation from translation project.
6508         * po/ru.po: Update Russian translation from translation project.
6510         * po/uk.po: Update Ukrainian translation from translation project.
6512 2014-01-08  Brooks Moses  <bmoses@google.com>
6514         * elf/dl-load.c: Fix comment typo.
6516 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6518         * po/header.pot: Rename to...
6519         * po/pot.header: ... this.
6520         * po/Makefile: Use pot.header.
6522 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6523             Maxim Kuvyrkov  <maxim@kugelworks.com>
6525         [BZ #16394]
6526         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6527         SRC and DEST against LEN.
6529 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6531         [BZ #16414]
6532         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6533         implementation.
6534         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6536 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6538         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6540 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6542         [BZ #16408]
6543         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6544         for large positive arguments.
6546 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6548         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6550         * math/auto-libm-test-in: Mark various tests with
6551         xfail-rounding:ldbl-128ibm.
6552         * math/auto-libm-test-out: Regenerated.
6554         [BZ #16407]
6555         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6556         Increase overflow threshold.
6558 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6560         [BZ #14286]
6561         * stdio-common/vfprintf.c: Check for integer overflow.
6563 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6565         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6566         the first argument and return value of __tls_get_addr_internal.
6568 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6570         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6571         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6573 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6575         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6576         * sysdeps/s390/rtld-global-offsets.sym: New file.
6577         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6578         GLIBC_2.19 symbol.
6579         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6580         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6581         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6582         ... this.
6583         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6584         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6585         ... this.
6586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6587         Regenerate.
6588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6589         Regenerate.
6590         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6591         halfs of GPRs for high_gprs contexts.
6592         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6593         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6594         field.
6595         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6596         uc_flags field.
6597         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6598         64 bit versions:
6599         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6600         for high GPRs (uc_high_gprs) and for future extensions
6601         (__reserved).
6602         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6603         for future extensions (__reserved).
6604         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6605         64 bit versions:
6606         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6607         SC_HIGHGPRS offset definition.
6608         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6609         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6611         * Versions.def: Add GLIBC_2.19 for libpthread.
6612         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6613         siglongjmp for libpthread with GLIBC_2.19 symver.
6614         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6615         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6616         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6617         * sysdeps/s390/__longjmp.c: New file.
6618         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6619         * sysdeps/s390/longjmp.c: New file.
6620         * sysdeps/s390/setjmp.S: New file.
6621         * sysdeps/s390/sigjmp.S: New file.
6622         * sysdeps/s390/v1-longjmp.c: New file.
6623         * sysdeps/s390/v1-setjmp.h: New file.
6624         * sysdeps/s390/v1-sigjmp.c: New file.
6625         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6626         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6627         GLIBC_2.19 version.
6628         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6629         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6630         versioned symbols for ____longjmp_chk.
6631         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6632         Likewise.
6633         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6634         Regenerate.
6635         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6636         Regenerate.
6637         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6638         Regenerate.
6639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6640         Regenerate.
6641         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6642         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6643         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6644         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6645         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6646         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6647         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6648         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6649         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6650         * sysdeps/s390/rtld-__longjmp.c: New file.
6651         * sysdeps/s390/rtld-setjmp.S: New file.
6653 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6655         [BZ #16400]
6656         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6657         Return -__logl (x) for small positive arguments without evaluating
6658         a polynomial.
6660 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6662         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6663         Rename to ...
6664         (__ptrace_peeksiginfo_args): ... this.
6665         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6666         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6667         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6669 2014-01-06  Allan McRae  <allan@archlinux.org>
6671         * inet/netinet/in.h: Fix typo in comment.
6673 2014-01-05  Andreas Jaeger  <aj@suse.de>
6675         * sysdeps/i386/fpu/libm-test-ulps: Update.
6677 2014-01-05  Allan McRae  <allan@archlinux.org>
6679         * po/libc.pot: Regenerated.
6681         * malloc/memusagestat.c: Fix gettext call formatting.
6683 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6685         * nscd/nscd.c: Improve usage() output.
6687 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6689         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6690         * sysdeps/unix/sysv/linux/configure: Regenerated.
6691         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6692         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6694 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6696         [BZ #16390]
6697         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6698         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6700 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6702         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6703         extra tokens at end of #undef directive.
6704         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6705         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6706         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6708 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6710         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6712         * math/auto-libm-test-in: Mark various tests with
6713         xfail-rounding:ldbl-128ibm.
6714         * math/auto-libm-test-out: Regenerated.
6716 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6718         [BZ #16386]
6719         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6720         numbers with subnormal high part when calculating exponent.
6722         [BZ #16385]
6723         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6724         fabs.
6726         [BZ #16384]
6727         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6728         M_LN2l.
6729         (__ieee754_acoshl): Use __log1pl not __log1p.
6731 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6733         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6734         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6735         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6736         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6737         (reused_arena, arena_get2): Convert to GNU style.
6738         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6739         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6740         (memalign_check, __malloc_set_state): Likewise.
6741         * malloc/mallocbug.c (main): Likewise.
6742         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6743         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6744         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6745         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6746         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6747         (__posix_memalign, malloc_info): Likewise.
6748         * malloc/malloc.h: Likewise.
6749         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6750         (mallochook, memalignhook, reallochook, mabort): Likewise.
6751         * malloc/mcheck.h: Likewise.
6752         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6753         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6754         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6755         * malloc/morecore.c (__default_morecore): Likewise.
6756         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6757         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6758         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6759         (print_and_abort): Likewise.
6760         * malloc/obstack.h: Likewise.
6761         * malloc/set-freeres.c (__libc_freeres): Likewise.
6762         * malloc/tst-mallocstate.c (main): Likewise.
6763         * malloc/tst-mtrace.c (main): Likewise.
6764         * malloc/tst-realloc.c (do_test): Likewise.
6766 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6768         [BZ #16366]
6769         * nscd/netgroupcache.c (do_notfound): New function.
6770         (addgetnetgrentX): Use it.
6772         [BZ # 16365]
6773         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6774         NSS_STATUS_NOTFOUND.
6776 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6778         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6781 2014-01-01  Allan McRae  <allan@archlinux.org>
6783         * scripts/update-copyrights: Update configure input file suffix.
6785         * NEWS: Update copyright year.
6786         * catgets/gencat.c: Likewise.
6787         * csu/version.c: Likewise.
6788         * debug/catchsegv.sh: Likewise.
6789         * debug/pcprofiledump.c: Likewise.
6790         * debug/xtrace.sh: Likewise.
6791         * elf/ldconfig.c: Likewise.
6792         * elf/ldd.bash.in: Likewise.
6793         * elf/pldd.c: Likewise.
6794         * elf/sotruss.ksh: Likewise.
6795         * elf/sprof.c: Likewise.
6796         * iconv/iconv_prog.c: Likewise.
6797         * iconv/iconvconfig.c: Likewise.
6798         * locale/programs/locale.c: Likewise.
6799         * locale/programs/localedef.c: Likewise.
6800         * login/programs/pt_chown.c: Likewise.
6801         * malloc/memusage.sh: Likewise.
6802         * malloc/memusagestat.c: Likewise.
6803         * malloc/mtrace.pl: Likewise.
6804         * manual/libc.texinfo: Likewise.
6805         * nscd/nscd.c: Likewise.
6806         * nss/getent.c: Likewise.
6807         * nss/makedb.c: Likewise.
6808         * posix/getconf.c: Likewise.
6809         * scripts/test-installation.pl: Likewise.
6811         * All files with FSF copyright notices: Update copyright dates
6812         using scripts/update-copyrights.
6813         * intl/plural.c: Regenerated.
6814         * locale/programs/charmap-kw.h: Likewise.
6815         * locale/programs/locfile-kw.h: Likewise.
6817 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6819         * sysdeps/unix/sysv/linux/configure: Regenerated.
6820         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6821         the linux/fanotify.h header.
6822         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6823         HAVE_LINUX_FANOTIFY_H is defined.
6825 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6827         * benchtests/cos-inputs: New inputs.
6828         * benchtests/sin-inputs: Likewise.
6830         * benchtests/atan-inputs: New inputs. Fix name of multiple
6831         precision fallback inputs.
6833         * benchtests/atanh-inputs: New inputs.
6834         * benchtests/tanh-inputs: Likewise.
6836         * benchtests/acosh-inputs: New inputs.
6837         * benchtests/asinh-inputs: Likewise.
6839         * benchtests/cosh-inputs: New inputs.
6840         * benchtests/sinh-inputs: Likewise.
6842         * benchtests/acos-inputs: Add more inputs.
6843         * benchtests/asin-inputs: Likewise.
6845 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6847         [BZ #16375]
6848         * manual/arith.texi: Fix spelling.
6849         * manual/charset.texi: Likewise.
6850         * manual/errno.texi: Likewise.
6851         * manual/filesys.texi: Likewise.
6852         * manual/lang.texi: Likewise.
6853         * manual/llio.texi: Likewise.
6854         * manual/locale.texi: Likewise.
6855         * manual/message.texi: Likewise.
6856         * manual/resource.texi: Likewise.
6857         * manual/search.texi: Likewise.
6858         * manual/setjmp.texi: Likewise.
6859         * manual/stdio.texi: Likewise.
6860         * manual/string.texi: Likewise.
6861         * manual/sysinfo.texi: Likewise.
6862         * manual/time.texi: Likewise.
6864 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6866         * po/sl.po: New file.
6868 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6870         * .gitignore: Add core/.gdbinit/.gdb_history.
6872 2013-12-27  Allan McRae  <allan@archlinux.org>
6874         [BZ #16369]
6875         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
6876         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
6878 2013-12-24  Brooks Moses  <bmoses@google.com>
6880         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
6881         all compilers that claim C++98 compliance, not just GCC.
6882         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
6883         Likewise.
6885 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6887         * NEWS: Restore accidentally deleted bug-fix entries.
6889 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
6890             Ondřej Bílka  <neleai@seznam.cz>
6892         [BZ #15073]
6893         * malloc/malloc.c (_int_free): Perform sanity check only if we
6894         have_lock.
6896 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
6898         [BZ #12986]
6899         * manual/stdio.texi (String Input Conversions): Clarify that character
6900         classes are not supported.
6902 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6904         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6906 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
6908         [BZ #16337]
6909         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6910         Calculate results for small negative arguments directly rather
6911         than using reflection formula with special underflow handling.
6913         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
6914         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
6915         sysdeps/unix/bsd/bsd4.4/syscalls.list.
6916         (fchflags): Likewise.
6917         (revoke): Likewise.
6918         (setlogin): Likewise.
6919         (sigaltstack): Likewise.
6920         (wait4): Likewise.
6921         (sigblock): Remove.
6922         (sigsetmask): Likewise.
6923         (wait3): Likewise.
6924         (waitpid): Likewise.
6925         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
6926         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
6927         file.
6928         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
6929         * sysdeps/unix/bsd/Makefile: ... here.
6930         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
6931         * sysdeps/unix/bsd/Versions: ... here.
6932         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
6933         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
6934         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
6935         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
6936         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
6937         * sysdeps/unix/bsd/sigblock.c: ... here.
6938         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
6939         * sysdeps/unix/bsd/sigsetmask.c: ... here.
6940         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
6941         * sysdeps/unix/bsd/sigvec.c: ... here.
6942         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
6943         * sysdeps/unix/bsd/tcdrain.c: ... here.
6944         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
6945         * sysdeps/unix/bsd/tcgetattr.c: ... here.
6946         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
6947         * sysdeps/unix/bsd/tcsetattr.c: ... here.
6948         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
6949         * sysdeps/unix/bsd/wait.c: ... here.
6950         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
6951         * sysdeps/unix/bsd/wait3.c: ... here.
6952         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
6953         * sysdeps/unix/bsd/waitpid.c: ... here.
6955 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
6957         [BZ #16356]
6958         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
6959         round-to-nearest for [!USE_AS_EXPM1L].
6960         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
6961         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
6962         more tests of exp and exp10.  Expect some exp10 tests to miss
6963         exceptions or fail in directed rounding modes.
6964         * math/auto-libm-test-out: Regenerated.
6965         * math/libm-test.inc (exp10_tonearest_test_data): New array.
6966         (exp10_test_tonearest): New function.
6967         (exp10_towardzero_test_data): New array.
6968         (exp10_test_towardzero): New function.
6969         (exp10_downward_test_data): New array.
6970         (exp10_test_downward): New function.
6971         (exp10_upward_test_data): New array.
6972         (exp10_test_upward): New function.
6973         (main): Call the new functions.
6974         * sysdeps/i386/fpu/libm-test-ulps: Update.
6975         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6977 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
6979         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
6980         asinh, atan, atan2, atanh, cbrt, cos and cosh.
6981         * math/auto-libm-test-out: Regenerated.
6982         * math/libm-test.inc (acosh_test_data): Add more tests.
6983         (atanh_test_data): Likewise.
6984         (ceil_test_data): Likewise.
6985         (copysign_test_data): Likewise.
6986         * sysdeps/i386/fpu/libm-test-ulps: Update.
6987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6989         * timezone/checktab.awk: Update from tzcode 2013i.
6990         * timezone/private.h: Likewise.
6991         * timezone/scheck.c: Likewise.
6992         * timezone/tzfile.h: Likewise.
6993         * timezone/tzselect.ksh: Likewise.
6994         * timezone/zdump.c: Likewise.
6995         * timezone/zic.c: Likewise.
6997         * math/auto-libm-test-in: Add tests of cpow.
6998         * math/auto-libm-test-out: Regenerated.
6999         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7000         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7001         mpc_cc_c.
7002         (func_calc_desc): Add mpc_cc_c union field.
7003         (test_functions): Add cpow.
7004         (special_fill_2pi): New function.
7005         (special_real_inputs): Add 2pi.
7006         (calc_generic_results): Handle mpc_cc_c.
7007         * sysdeps/i386/fpu/libm-test-ulps: Update.
7008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7010         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7011         csqrt, ctan and ctanh.
7012         * math/auto-libm-test-out: Regenerated.
7013         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7014         (TEST_COND_x86): Likewise.
7015         (ccos_test_data): Use AUTO_TESTS_c_c.
7016         (ccosh_test_data): Likewise.
7017         (cexp_test_data): Likewise.
7018         (clog_test_data): Likewise.
7019         (csqrt_test_data): Likewise.
7020         (ctan_test_data): Likewise.
7021         (ctan_tonearest_test_data): Likewise.
7022         (ctan_towardzero_test_data): Likewise.
7023         (ctan_downward_test_data): Likewise.
7024         (ctan_upward_test_data): Likewise.
7025         (ctanh_test_data): Likewise.
7026         (ctanh_tonearest_test_data): Likewise.
7027         (ctanh_towardzero_test_data): Likewise.
7028         (ctanh_downward_test_data): Likewise.
7029         (ctanh_upward_test_data): Likewise.
7030         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7031         mpc_c_c.
7032         (func_calc_desc): Add mpc_c_c union field.
7033         (FUNC_mpc_c_c): New macro.
7034         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7035         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7036         ctanh.
7037         (special_fill_min_subnorm_p120): New function.
7038         (special_real_inputs): Add min_subnorm_p120.
7039         (calc_generic_results): Handle mpc_c_c.
7040         * sysdeps/i386/fpu/libm-test-ulps: Update.
7041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7043 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7045         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7046         (do_sin_slow): New functions.
7047         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7048         (cslow2, csloww1, csloww2): Use the new functions.
7050         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7051         Use M to change sign of result instead of X.  Assume X is
7052         positive.
7053         (csloww1): Likewise.
7054         (__sin): Adjust.
7055         (__cos): Adjust.
7057         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7058         arguments A and DA.
7059         (__sin): Adjust.
7060         (__cos): Likewise.
7062         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7063         (__cos): Likewise.
7064         (sloww1): Don't adjust sign of DX.
7065         (csloww1): Likewise.
7066         (sloww2): Use X directly and don't adjust sign of DX.
7067         (csloww2): Likewise.
7069 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7071         * math/auto-libm-test-in: Add tests of cabs and carg.
7072         * math/auto-libm-test-out: Regenerated.
7073         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7074         (carg_test_data): Likewise.
7075         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7076         mpc_c_f.
7077         (func_calc_desc): Add mpc_c_f union field.
7078         (test_functions): Add cabs and carg.
7079         (calc_generic_results): Handle mpc_c_f.
7081         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7082         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7083         as a macro and a compat symbol.
7084         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7085         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7086         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7087         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7088         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7089         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7090         not use .hidden.
7091         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7092         Likewise.
7093         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7094         Likewise.
7095         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7096         Likewise.
7097         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7098         Likewise.
7099         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7100         Likewise.
7101         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7102         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7103         from GLIBC_2.3.2.
7105 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7107         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7109 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7111         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7112         trailing whitespace removed.
7113         * scripts/config.guess: Update to version 2013-11-29.
7114         * scripts/config.sub: Update to version 2013-10-01.
7116         * math/auto-libm-test-in: Add tests of sincos.
7117         * math/auto-libm-test-out: Regenerated.
7118         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7119         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7120         mpfr_f_11.
7121         (func_calc_desc): Add mpfr_f_11 union field.
7122         (test_functions): Add sincos.
7123         (calc_generic_results): Handle mpfr_f_11.
7124         * sysdeps/i386/fpu/libm-test-ulps: Update.
7125         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7127 2013-12-19  Andreas Schwab  <schwab@suse.de>
7129         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7130         CALL_MCOUNT.
7131         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7132         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7133         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7135 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7137         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7138         * sysdeps/i386/fpu/libm-test-ulps: Update.
7139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7141         [BZ #16293]
7142         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7143         round-to-nearest mode when using frndint.
7144         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7145         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7146         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7147         Likewise.
7148         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7149         sinh test to fail.
7150         * math/auto-libm-test-out: Regenerated.
7151         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7152         (TEST_COND_x86): Likewise.
7153         (expm1_tonearest_test_data): New array.
7154         (expm1_test_tonearest): New function.
7155         (expm1_towardzero_test_data): New array.
7156         (expm1_test_towardzero): New function.
7157         (expm1_downward_test_data): New array.
7158         (expm1_test_downward): New function.
7159         (expm1_upward_test_data): New array.
7160         (expm1_test_upward): New function.
7161         (main): Run the new test functions.
7162         * sysdeps/i386/fpu/libm-test-ulps: Update.
7163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7165         * include/features.h: Update comment documenting feature test
7166         macros.  Mention _DEFAULT_SOURCE in comment.
7167         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7168         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7169         _BSD_SOURCE and _SVID_SOURCE.
7170         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7171         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7172         !_SVID_SOURCE]: Likewise.
7173         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7174         (__USE_POSIX_IMPLICITLY): Define.
7175         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7176         (_POSIX_SOURCE): Undefine and redefine.
7177         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7178         (_POSIX_C_SOURCE): Likewise.
7179         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7180         (Feature Test Macros): Update documentation of default features.
7182 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7184         * benchtests/Makefile: Add bench-strtok.
7185         * benchtests/bench-strtok.c: New file: strtok benchtest.
7187 2013-12-19  Allan McRae  <allan@archlinux.org>
7189         * manual/install.texi: Suppress menu for plain text output.
7190         * INSTALL: Regenerated.
7192 2013-12-18  Brooks Moses  <bmoses@google.com>
7194         [BZ #15846]
7195         * misc/getauxval.c: Include errno.h.
7196         (__getauxval): Set errno to ENOENT if the requested type is not
7197         found.
7198         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7199         don't declare with __attribute_const__.
7200         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7201         * manual/startup.texi: Document that getauxval sets errno.
7203 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7205         * math/auto-libm-test-in: Add tests of jn and yn.
7206         * math/auto-libm-test-out: Regenerated.
7207         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7208         (yn_test_data): Likewise.
7209         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7210         mpfr_if_f.
7211         (func_calc_desc): Add mpfr_if_f union field.
7212         (FUNC_mpfr_if_f): New macro.
7213         (test_functions): Add jn and yn.
7214         (calc_generic_results): Assert type of second input for
7215         mpfr_ff_f.  Handle mpfr_if_f.
7216         (output_for_one_input_case): Disable all checking for arguments
7217         fitting floating-point types in case of an integer argument.
7218         * sysdeps/i386/fpu/libm-test-ulps: Update.
7219         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7222         Don't expect fegetround reference in libm.so.
7224 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7226         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7227         $(config-cflags-nofma).
7229 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7231         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7232         * math/auto-libm-test-out: Regenerated.
7234         [BZ #16338]
7235         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7236         to determine exponent and adjust argument to have exponent of -1.
7237         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7238         log2.
7239         * math/auto-libm-test-out: Regenerated.
7240         * sysdeps/i386/fpu/libm-test-ulps: Update.
7241         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7243 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7245         * manual/probes.texi: Remove cases when per-thread arenas are
7246         disabled.
7248 2013-12-18  Andreas Schwab  <schwab@suse.de>
7250         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7251         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7252         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7253         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7254         * sysdeps/i386/i686/multiarch/Makefile: Update.
7255         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7257 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7259         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7260         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7262 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7264         [BZ #15968]
7265         Support TZ transition times < 00:00:00.
7266         This is needed for version-3 tz-format files; it supports time
7267         stamps past 2037 for America/Godthab (the only entry in the tz
7268         database for which this change is relevant).
7269         * manual/time.texi (TZ Variable): Document transition times
7270         from -167:59:59 through -00:00:01.
7271         * time/tzset.c (tz_rule): Time of day is now signed.
7272         (__tzset_parse_tz): Parse negative time of day.
7274         Document TZ transition times >= 25:00:00.
7275         * manual/time.texi (TZ Variable): Document transition times from
7276         25:00:00 through 167:59:59.  These are already supported, and this
7277         support will help with version-3 tz-format files.
7279         * manual/time.texi (TZ Variable): Modernize North America example
7280         to reflect current (i.e., 2007-and-later) daylight saving rules.
7282         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7284 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7286         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7287         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7289         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7290         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7291         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7292         * sysdeps/unix/bsd/clock.c: Likewise.
7293         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7294         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7295         * sysdeps/unix/bsd/init-posix.c: Likewise.
7296         * sysdeps/unix/bsd/poll.c: Likewise.
7297         * sysdeps/unix/bsd/ptsname.c: Likewise.
7298         * sysdeps/unix/bsd/seekdir.c: Likewise.
7299         * sysdeps/unix/bsd/setegid.c: Likewise.
7300         * sysdeps/unix/bsd/seteuid.c: Likewise.
7301         * sysdeps/unix/bsd/setgid.c: Likewise.
7302         * sysdeps/unix/bsd/setrgid.c: Likewise.
7303         * sysdeps/unix/bsd/setruid.c: Likewise.
7304         * sysdeps/unix/bsd/setsid.c: Likewise.
7305         * sysdeps/unix/bsd/setuid.c: Likewise.
7306         * sysdeps/unix/bsd/sigaction.c: Likewise.
7307         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7308         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7309         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7310         * sysdeps/unix/bsd/telldir.c: Likewise.
7311         * sysdeps/unix/bsd/times.c: Likewise.
7312         * sysdeps/unix/bsd/usleep.c: Likewise.
7314         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7315         ($(objpfx)libbsd-compat.a): Remove rule.
7317         * include/features.h (__FAVOR_BSD): Do not define.
7318         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7319         features conflicting with POSIX.
7320         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7321         (_BSD_SOURCE): Remove description of not being a subset of other
7322         feature test macros.
7323         * manual/job.texi (getpgrp): Do not document BSD version.
7324         (getpgid): Do not document by reference to BSD getpgrp.
7325         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7326         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7327         * signal/signal.h [__FAVOR_BSD]: Likewise.
7328         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7329         instead of making contents conditional on [__FAVOR_BSD].
7330         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7332 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7334         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7336 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7338         [BZ #16314]
7339         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7340         values below 2**-450, not 2**-500.
7341         * math/auto-libm-test-in: Don't allow spurious underflow from
7342         hypot.
7343         * math/auto-libm-test-out: Regenerated.
7345         [BZ #16316]
7346         [BZ #16330]
7347         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7348         values of ha and hb and sort them after adjusting subnormal
7349         arguments.
7350         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7351         Likewise.
7352         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7353         values of ea and eb and sort them after adjusting subnormal
7354         arguments.
7355         * math/auto-libm-test-in: Do not expect some hypot tests of
7356         subnormals to fail.  Add more hypot tests.
7357         * math/auto-libm-test-out: Regenerated.
7359 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7361         [BZ #13304]
7362         * sysdeps/sh/s_fma.c: New file.
7363         * sysdeps/sh/s_fmaf.c: New file.
7364         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7365         version.
7366         * sysdeps/sh/Implies: Add sh/soft-fp.
7368 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7370         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7371         level of indirection to members `objname', `errstring', `malloced'.
7372         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7373         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7374         it as the __longjmp argument (just pass 1 instead).
7375         (_dl_catch_error): Initialize C with argument pointers and address of
7376         volatile local ERRCODE rather than copying values out of C at return.
7378 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7380         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7381         * math/auto-libm-test-out: Regenerated.
7382         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7383         (hypot_test_data): Likewise.
7384         (pow_test_data): Likewise.
7385         (pow_tonearest_test_data): Likewise.
7386         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7387         mpfr_ff_f.
7388         (func_calc_desc): Add mpfr_ff_f union field.
7389         (FUNC_mpfr_ff_f): New macro.
7390         (test_functions): Add atan2, hypot and pow.
7391         (special_fill_min): New function.
7392         (special_fill_minus_min): Likewise.
7393         (special_fill_min_subnorm): Likewise.
7394         (special_fill_minus_min_subnorm): Likewise.
7395         (special_real_inputs): Add min, -min, min_subnorm and
7396         -min_subnorm.
7397         (calc_generic_results): Handle mpfr_ff_f.
7398         * sysdeps/i386/fpu/libm-test-ulps: Update.
7399         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7401 2013-12-16  Will Newton  <will.newton@linaro.org>
7403         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7404         (Aligned Memory Blocks): Add documentation for aligned_alloc
7405         and suggest it as an alternative to posix_memalign.
7406         (Hooks for Malloc): Document __memalign_hook is also called
7407         for aligned_alloc.  (Summary of Malloc): Add summary for
7408         aligned alloc.  Document __memalign_hook is also called
7409         for aligned_alloc.
7411 2013-12-16  Will Newton  <will.newton@linaro.org>
7413         * manual/memory.texi (Malloc Examples): Clarify default
7414         alignment documentation.  Suggest posix_memalign rather
7415         than memalign or valloc.
7416         (Aligned Memory Blocks): Remove suggestion to use memalign
7417         or valloc.  Remove obsolete comment about BSD.
7418         Document memalign errno values and mark the function obsolete.
7419         Document posix_memalign returned error codes.  Mark valloc
7420         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7421         called for posix_memalign and valloc.
7422         (Summary of Malloc): Add posix_memalign to function summary.
7423         __memalign_hook is also called for posix_memalign and valloc.
7425 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7427         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7428         TAYLOR_SIN.
7429         (__sin): Adjust.
7430         (__cos): Likewise.
7431         (sloww): Use mynumber union.  Expand ternary operator into
7432         if-else statements.
7433         (cslow): use mynumber union.
7435 2013-12-16  Allan McRae  <allan@archlinux.org>
7437         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7438         * configure: Regenerated.
7440         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7442         [BZ #14120]
7443         * configure.ac: Added --enable-maintainer-mode. Check for
7444         autoconf when enabled.
7445         * configure: Regenerated.
7447         * nscd/nscd.service: New file.
7448         * nscd/nscd.tmpfiles: New file.
7450 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7452         [BZ #12100]
7453         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7454         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7455         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7456         (strstr): Add __strstr_sse2_unaligned ifunc.
7457         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7458         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7459         (strcasestr): Remove __strcasestr_sse42 ifunc.
7460         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7461         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7462         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7464 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7466         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7467         * sysdeps/sh/bits/fenv.h: ... here.
7468         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7470 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7472         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7474         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7475         hypotf multiarch implementations.
7476         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7477         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7478         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7479         multiarch hypot for PPC64.
7480         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7481         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7482         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7483         multiarch hypotf for PPC64.
7485         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7486         modff multiarch implementations.
7487         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7488         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7489         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7490         multiarch modf for PPC64.
7491         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7492         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7493         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7494         multiarch modff for PPC64.
7496         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7497         and logl multiarch implementations.
7498         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7500         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7501         multiarch logb for PPC64.
7502         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7503         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7504         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7505         multiarch logb for PPC64.
7506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7509         multiarch logb for PPC64.
7511         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7512         isinff multiarch implementation.
7513         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7514         file.
7515         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7516         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7517         multiarch isinf for PPC64.
7518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7519         file.
7520         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7521         multiarch isinff for PPC64.
7523         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7524         finitef multiarch implementation.
7525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7526         file.
7527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7528         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7529         multiarch finite for PPC64.
7530         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7531         file.
7532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7533         multiarch finitef for PPC64.
7535         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7536         lrint multiarch implementation.
7537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7538         file.
7539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7540         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7541         multiarch llrint for PPC64.
7542         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7543         multiarch lrint for PPC64.
7545         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7546         copysignf multiarch implementation.
7547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7548         file.
7549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7550         file.
7551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7552         multiarch copysign for PPC64.
7553         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7554         multiarch copysignf for PPC64.
7556         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7557         multiarch implementation.
7558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7559         file.
7560         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7561         file.
7562         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7563         file.
7564         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7565         file.
7566         multiarch llround for PPC64.
7567         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7568         multiarch trunc for PPC64.
7569         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7570         multiarch truncf for PPC64.
7572         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7573         multiarch implementation.
7574         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7575         file.
7576         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7577         file.
7578         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7579         file.
7580         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7581         file.
7582         multiarch llround for PPC64.
7583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7584         multiarch round for PPC64.
7585         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7586         multiarch roundf for PPC64.
7588         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7589         multiarch implementation.
7590         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7591         file.
7592         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7593         file.
7594         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7595         file.
7596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7597         file.
7598         multiarch llround for PPC64.
7599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7600         multiarch floor for PPC64.
7601         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7602         multiarch floorf for PPC64.
7604         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7605         multiarch implementation.
7606         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7607         file.
7608         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7609         file.
7610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7611         file.
7612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7613         file.
7614         multiarch llround for PPC64.
7615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7616         multiarch ceil for PPC64.
7617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7618         multiarch ceilf for PPC64.
7620         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7621         multiarch implementation.
7622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7623         file.
7624         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7625         file.
7626         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7627         file.
7628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7629         multiarch llround for PPC64.
7630         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7631         multiarch lround for PPC64.
7633         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7634         multiarch implementation.
7635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7638         file.
7639         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7640         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7642         multiarch isnan for PPC64.
7643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7644         multiarch isnanf for PPC64.
7646         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7647         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7648         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7649         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7650         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7651         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7653         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7654         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7655         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7656         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7658         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7659         multiarch implementations.
7660         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7661         (__libc_ifunc_impl_list): Likewise.
7662         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7663         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7664         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7665         multiarch stpcpy for PPC64.
7667         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7668         multiarch implementations.
7669         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7670         (__libc_ifunc_impl_list): Likewise.
7671         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7672         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7673         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7674         multiarch strcpy for PPC64.
7676         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7677         redefine function name.
7678         (_wordcopy_fwd_dest_aligned): Likewise.
7679         (_wordcopy_bwd_aligned): Likewise.
7680         (_wordcopy_bwd_dest_aligned): Likewise.
7681         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7682         multiarch implementations.
7683         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7684         (__libc_ifunc_impl_list): Likewise.
7685         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7686         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7687         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7688         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7689         multiarch wcscpy for PPC64.
7691         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7692         multiarch implementations.
7693         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7694         (__libc_ifunc_impl_list): Likewise.
7695         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7696         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7697         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7698         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7699         multiarch wcscpy for PPC64.
7701         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7702         multiarch implementations.
7703         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7704         (__libc_ifunc_impl_list): Likewise.
7705         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7706         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7707         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7708         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7709         multiarch wcsrchr for PPC64.
7711         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7712         multiarch implementations.
7713         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7714         (__libc_ifunc_impl_list): Likewise.
7715         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7716         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7717         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7718         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7719         multiarch wcschr for PPC64.
7721         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7722         multiarch implementations.
7723         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7724         (__libc_ifunc_impl_list): Likewise.
7725         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7726         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7727         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7728         multiarch strchrnul for PPC64.
7730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7731         implementations.
7732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7733         (__libc_ifunc_impl_list): Likewise.
7734         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7735         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7736         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7737         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7738         strchr for PPC64.
7740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7741         implementations.
7742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7743         (__libc_ifunc_impl_list): Likewise.
7744         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7745         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7746         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7747         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7748         strncmp for PPC64.
7750         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7751         multiarch implementations.
7752         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7753         (__libc_ifunc_impl_list): Likewise.
7754         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7755         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7756         strncasecmp for PPC64.
7757         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7758         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7759         multiarch strncasecmp_l for PPC64.
7761         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7762         multiarch implementations.
7763         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7764         (__libc_ifunc_impl_list): Likewise.
7765         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7766         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7767         multiarch strcasecmp for PPC64.
7768         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7769         file.
7770         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7771         multiarch strcasecmp_l for PPC64.
7773         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7774         implementations.
7775         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7776         (__libc_ifunc_impl_list): Likewise.
7777         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7778         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7779         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7780         strnlen for PPC64.
7782         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7783         implementations.
7784         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7785         (__libc_ifunc_impl_list): Likewise.
7786         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7787         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7788         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7789         strlen for PPC64.
7791         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7792         implementations.
7793         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7794         (__libc_ifunc_impl_list): Likewise.
7795         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7796         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7797         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7798         rawmemrchr for PPC64.
7800         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7801         implementation.
7802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7803         (__libc_ifunc_impl_list): Likewise.
7804         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7805         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7806         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7807         memrchr for PPC64.
7809         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7810         implementation.
7811         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7812         (__libc_ifunc_impl_list): Likewise.
7813         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7814         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7815         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7816         memchr for PPC64.
7818         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7819         implementation.
7820         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7821         (__libc_ifunc_impl_list): Likewise.
7822         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7823         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7824         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7825         mempcpy for PPC64.
7827         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7828         avoid cretion of __bzero symbol.
7829         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7830         Likewise.
7831         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7832         Likewise.
7833         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7834         Likewise.
7835         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7836         multiarch implementations.
7837         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7838         (__libc_ifunc_impl_list): Likewise.
7839         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7840         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7841         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7842         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7843         bzero for PPC32.
7844         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7845         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7846         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7847         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7848         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7849         memset for PPC64.
7850         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7852         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7853         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7854         implementations.
7855         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7856         (__libc_ifunc_impl_list): Likewise.
7857         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7858         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7859         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7860         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7861         memcmp for PPC64.
7863         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7864         multiarch for POWER/PPC64.
7865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7866         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7867         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7868         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7869         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7870         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
7871         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
7872         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
7873         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
7874         memcpy for PPC64.
7876         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
7877         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
7878         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
7879         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7880         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
7881         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
7882         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
7883         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
7884         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
7885         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
7886         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
7887         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
7888         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
7889         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
7890         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
7891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
7892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
7893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
7894         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
7895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
7896         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
7897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
7899 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7901         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
7903 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
7905         * benchtests/Makefile (bench): Add exp2 and log2.
7906         (LDLIBS-bench-exp2): Add -lm.
7907         (LDLIBS-bench-log2): Likewise.
7908         * benchtests/exp2-inputs: New inputs file.
7909         * benchtests/log2-inputs: New inputs file.
7910         * benchtests/log-inputs: Add new inputs.
7911         * benchtests/tan-inputs: Likewise.
7913 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
7915         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
7916         definition...
7917         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
7918         (csloww2): ... from here.
7920         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
7921         instead of structures.
7922         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
7923         (POLYNOMIAL): Likewise.
7924         (TAYLOR_SLOW): Likewise.
7925         (__sin): Likewise.
7926         (__cos): Likewise.
7927         (slow1): Likewise.
7928         (slow2): Likewise.
7929         (sloww): Likewise.
7930         (sloww1); Likewise.
7931         (sloww2): Likewise.
7932         (bsloww1): Likewise.
7933         (bsloww2): Likewise.
7934         (cslow2): Likewise.
7935         (csloww): Likewise.
7936         (csloww1): Likewise.
7937         (csloww2): Likewise.
7939 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
7941         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
7942         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
7943         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
7944         * malloc/hooks.c (realloc_check): Likewise.
7946         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
7947         * malloc/arena.c: Remove PER_THREAD conditional.
7948         [!PER_THREAD]: Remove code.
7949         (ptmalloc_unlock_all2): Likewise.
7950         (ptmalloc_init): Likewise.
7951         (_int_new_arena): Likewise.
7952         (arena_get2): Likewise.
7953         * malloc/hooks.c (__malloc_get_state): Likewise.
7954         (__malloc_set_state): Likewise.
7955         * malloc/malloc.c: Likewise.
7956         (struct malloc_state): Likewise.
7957         (struct malloc_par): Likewise.
7958         (__libc_realloc): Likewise.
7959         (__libc_mallopt): Likewise.
7961 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7963         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
7965 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
7967         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
7968         macro to a function.  Check for zero perturb_byte.
7969         (_int_malloc, _int_free): Remove zero perturb_byte checks.
7971         * malloc/malloc.c: (force_reg): Remove.
7972         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
7973         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
7974         force_reg by atomic_forced_read.
7975         * malloc/arena.c (ptmalloc_init): Likewise.
7976         * malloc/hooks.c (top_check): Likewise.
7978 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7980         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7982 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
7984         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7986 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
7988         * math/auto-libm-test-in: Add tests of lgamma.
7989         * math/auto-libm-test-out: Regenerated.
7990         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
7991         (M_LOG_2_SQRT_PIl): Likewise.
7992         (lgamma_test_data): Use AUTO_TESTS_f_f1.
7993         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7994         mpfr_f_f1.
7995         (func_calc_desc): Add mpfr_f_f1 union field.
7996         (ARGS1): New macro.
7997         (ARGS2): Likewise.
7998         (ARGS3): Likewise.
7999         (ARGS4): Likewise.
8000         (RET1): Likewise.
8001         (RET2): Likewise.
8002         (CALC): Likewise.
8003         (FUNC): Likewise.
8004         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8005         (test_functions): Add lgamma.
8006         (calc_generic_results): Handle mpfr_f_f1.
8007         * sysdeps/i386/fpu/libm-test-ulps: Update.
8008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8010 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8012         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8013         __mpn_add_n for PowerPC64/POWER7.
8014         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8015         __mpn_sub_n for PowerPC64/POWER7.
8017         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8018         __mpn_addmul_1 for PowerPC64.
8019         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8020         __mpn_submul_1 for PowerPC64.
8021         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8022         for PowerPC64.
8023         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8024         for PowerPC64.
8026 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8028         [BZ #15089]
8029         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8031 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8033         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8035         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8036         add multiarch folders.
8037         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8038         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8039         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8040         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8041         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8042         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8043         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8044         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8045         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8046         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8047         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8048         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8056         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8057         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8058         New file.
8059         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8060         New file.
8061         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8062         multiarch __ieee754_hypot for PowerPC32.
8063         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8064         New file.
8065         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8066         New file.
8067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8068         multiarch __ieee754_hypotf for PowerPC32.
8070         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8071         long_double_symbol only if __logbl is defined.
8072         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8073         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8074         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8075         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8076         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8077         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8078         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8079         path for implementation.
8080         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8081         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8083         logb, and logbl multiarch implementations for PowerPC32.
8084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8085         file.
8086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8087         file.
8088         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8089         multiarch logb for PowerPC32.
8090         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8091         file.
8092         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8093         file.
8094         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8095         multiarch logbf for PowerPC32.
8096         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8097         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8098         file.
8099         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8100         multiarch logbl implementation for PowerPC32.
8102         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8103         and modff multiarch implementations.
8104         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8105         New file.
8106         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8107         New file.
8108         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8109         multiarch modf for PowerPC32.
8110         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8111         New file.
8112         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8113         New file.
8114         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8115         multiarch modff for PowerPC32.
8117         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8118         and lrintf multiarch implementations.
8119         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8120         New file.
8121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8122         New file.
8123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8124         multiarch lrint for PowerPC32.
8125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8126         file: multiarch lrintf for PowerPC32.
8128         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8129         and lroundf multiarch implementations.
8130         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8131         New file.
8132         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8133         New file.
8134         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8135         New file.
8136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8137         multiarch lround for PowerPC32.
8138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8139         file: multiarch lroundf for PowerPC32.
8141         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8142         copysign and copysignf multiarch implementations.
8143         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8144         New file.
8145         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8146         New file.
8147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8148         file: multiarch copysign for PowerPC32.
8149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8150         file: multiarch copysignf for PowerPC32.
8152         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8153         and truncf multiarch implementations.
8154         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8155         New file.
8156         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8157         file.
8158         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8159         multiarch trunc for PowerPC32.
8160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8161         New file.
8162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8163         New file.
8164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8165         multiarch truncf for PowerPC32.
8167         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8168         and roundf multiarch implementations.
8169         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8170         New file.
8171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8172         file.
8173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8174         multiarch round for PowerPC32.
8175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8176         New file.
8177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8178         New file.
8179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8180         multiarch roundf for PowerPC32.
8182         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8183         and floorf multiarch implementations.
8184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8185         New file.
8186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8187         file.
8188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8189         multiarch floor for PowerPC32.
8190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8191         New file.
8192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8193         New file.
8194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8195         multiarch floorf for PowerPC32.
8197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8198         and ceilf multiarch implementations.
8199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8200         New file.
8201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8202         file.
8203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8204         multiarch ceil for PowerPC32.
8205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8206         New file.
8207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8208         file.
8209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8210         multiarch ceilf for PowerPC32.
8212         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8213         is defined.
8214         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8215         FINITEF is defined.
8216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8217         and finitef multiarch implementations.
8218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8219         New file.
8220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8221         file.
8222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8223         multiarch finite for PowerPC32.
8224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8225         New file.
8226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8227         file: multiarch finitef for PowerPC32.
8229         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8230         and isinff multiarch implementations.
8231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8232         file.
8233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8234         file.
8235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8236         multiarch isinf for PowerPC32.
8237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8238         New file.
8239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8240         multiarch isinff for PowerPC32.
8242         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8243         alias when __isnan is defined.
8244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8245         and isnanf multiarch implementations.
8246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8247         file.
8248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8249         file.
8250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8251         file.
8252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8253         file.
8254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8255         multiarch isnan for PowerPC32.
8256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8257         New file.
8258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8259         New file.
8260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8261         multiarch isnanf for PowerPC32.
8263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8264         and sqrtf multiarch implementations.
8265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8266         file.
8267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8268         file.
8269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8270         multiarch sqrt for PowerPC32.
8271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8272         file.
8273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8274         file.
8275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8276         multiarch sqrtf for PowerPC32.
8278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8279         and llroundf multiarch implementations.
8280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8281         New file.
8282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8283         New file.
8284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8285         New file.
8286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8287         file: multiarch llround for PowerPC32.
8288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8289         file: multiarch llroundf for PowerPC32.
8291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8292         multiarch PowerPC32 fpu implementations.
8293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8294         New file.
8295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8296         New file.
8297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8298         multiarch llrint for PowerPC32.
8299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8300         New file.
8301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8302         New file.
8303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8304         file.
8306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8308         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8309         file.
8310         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8311         file.
8312         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8313         file.
8314         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8315         multiarch wordcopy for PPC32.
8316         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8317         wordcopy objects.
8318         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8319         (__libc_ifunc_impl_list): Likewise.
8320         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8321         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8322         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8323         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8324         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8325         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8327         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8328         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8329         file.
8330         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8331         file.
8332         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8333         file.
8334         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8335         multiarch wcscpy for PPC32.
8336         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8337         multiarch objects.
8338         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8339         (__libc_ifunc_impl_list): Likewise.
8340         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8341         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8342         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8343         sysdeps/powerpc/power6/wcscpy.c.
8345         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8346         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8347         file.
8348         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8349         file.
8350         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8351         file.
8352         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8353         multiarch wcsrchr for PPC32.
8354         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8355         multiarch objects.
8356         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8357         (__libc_ifunc_impl_list): Likewise.
8358         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8359         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8360         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8361         sysdeps/powerpc/power6/wcsrchr.c.
8363         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8364         file.
8365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8366         file.
8367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8368         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8369         multiarch wcschr for PPc32.
8370         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8371         multiarch objects.
8372         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8373         (__libc_ifunc_impl_list): Likewise.
8374         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8375         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8376         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8377         sysdeps/powerpc/power6/wcschr.c.
8379         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8380         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8381         file.
8382         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8383         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8384         file: multiarch strchr for PPC32.
8385         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8386         multiarch objects.
8387         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8388         (__libc_ifunc_impl_list): Likewise.
8390         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8391         name.
8392         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8393         file.
8394         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8395         file.
8396         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8397         multiarch strchrnul for PPC32.
8398         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8399         multiarch objects.
8400         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8401         (__libc_ifunc_impl_list): Likewise.
8403         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8404         file.
8405         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8406         multiarch strncasecmp for PPC32.
8407         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8408         file.
8409         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8410         multiarch strncasecmp_l for PPC32.
8411         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8412         strncasecmp multiarch objects.
8413         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8414         (__libc_ifunc_impl_list): Likewise.
8416         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8417         file.
8418         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8419         multiarch strncasecmp for PPC32.
8420         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8421         New file.
8422         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8423         multiarch strcasecmp_l for PPC32.
8424         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8425         multiarch objects.
8426         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8427         (__libc_ifunc_impl_list): Likewise.
8429         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8430         file.
8431         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8432         file.
8433         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8434         multiarch strncmp for PPC32.
8435         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8436         multiarch objects.
8437         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8438         (__libc_ifunc_impl_list): Likewise.
8440         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8441         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8442         file.
8443         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8444         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8446         multiarch objects.
8447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8448         (__libc_ifunc_impl_list): Likewise.
8450         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8451         file.
8452         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8453         file.
8454         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8455         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8456         multiarch objects.
8457         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8458         (__libc_ifunc_impl_list): Likewise.
8460         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8461         file.
8462         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8463         file.
8464         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8465         multiarch rawmemchr for PPC32.
8466         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8467         multiarch objects.
8468         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8469         (__libc_ifunc_impl_list): Likewise.
8471         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8472         file.
8473         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8474         file.
8475         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8476         file: memrchr multiarch for PPC32.
8477         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8478         multiarch objects.
8479         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8480         (__libc_ifunc_impl_list): Likewise.
8482         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8483         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8484         file.
8485         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8486         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8487         multiarch memchr for PPC32.
8488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8489         multiarch objects.
8490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8491         (__libc_ifunc_impl_list): Likewise.
8493         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8494         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8495         file.
8496         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8497         file.
8498         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8499         file: multiarch mempcpy for PPC32.
8500         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8501         multiarch objects.
8502         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8503         (__libc_ifunc_impl_list): Likewise.
8505         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8506         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8507         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8508         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8509         multiarch bzero for PPC32.
8510         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8511         file.
8512         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8513         file.
8514         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8515         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8516         file: multiarch memset for PPC32.
8517         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8518         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8519         memset multiarch objects.
8520         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8521         (__libc_ifunc_impl_list): Likewise.
8523         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8524         file.
8525         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8526         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8527         memcmp for PPC32.
8528         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8529         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8530         multiarch objects.
8531         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8532         (__libc_ifunc_impl_list): Likewise.
8534         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8535         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8536         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8537         file.
8538         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8539         file.
8540         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8541         file.
8542         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8543         multiarch memcpy for PPC32.
8544         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8545         multiarch objects.
8546         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8547         (__libc_ifunc_impl_list): Likewise.
8549         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8550         support multiarch for POWER/PPC32.
8551         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8552         Likewise.
8553         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8555         Implies file to make multiarch folder appers before the fpu and
8556         default folder for power4 configuration.
8558 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8560         * scripts/bench.pl: Append volatile keyword to type.
8562 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8564         * sysdeps/sh/sotruss-lib.c: New file.
8565         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8567 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8569         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8571 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8573         [BZ #6810]
8574         * math/w_tgamma.c: Include <errno.h>.
8575         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8576         * math/w_tgammaf.c: Include <errno.h>.
8577         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8578         * math/w_tgammal.c: Include <errno.h>.
8579         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8580         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8581         underflow.  Add more tgamma tests.
8582         * math/auto-libm-test-out: Regenerated.
8583         * sysdeps/i386/fpu/libm-test-ulps: Update.
8584         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8586         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8587         sin, sinh, tan, tanh, tgamma, y0 and y1.
8588         * math/auto-libm-test-out: Regenerated.
8589         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8590         (TEST_COND_x86): Likewise.
8591         (M_E2l): Remove macro.
8592         (M_E3l): Likewise.
8593         (M_2_SQRT_PIl): Likewise.
8594         (M_SQRT_PIl): Likewise.
8595         (M_1_DIV_El): Likewise.
8596         (log_test_data): Use AUTO_TESTS_f_f.
8597         (log10_test_data): Likewise.
8598         (log1p_test_data): Likewise.
8599         (log2_test_data): Likewise.
8600         (sin_test_data): Likewise.
8601         (sin_tonearest_test_data): Likewise.
8602         (sin_towardzero_test_data): Likewise.
8603         (sin_downward_test_data): Likewise.
8604         (sin_upward_test_data): Likewise.
8605         (sinh_test_data): Likewise.
8606         (sinh_tonearest_test_data): Likewise.
8607         (sinh_towardzero_test_data): Likewise.
8608         (sinh_downward_test_data): Likewise.
8609         (sinh_upward_test_data): Likewise.
8610         (tan_test_data): Likewise.
8611         (tan_tonearest_test_data): Likewise.
8612         (tan_towardzero_test_data): Likewise.
8613         (tan_downward_test_data): Likewise.
8614         (tan_upward_test_data): Likewise.
8615         (tanh_test_data): Likewise.
8616         (tgamma_test_data): Likewise.
8617         (y0_test_data): Likewise.
8618         (y1_test_data): Likewise.
8619         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8620         (special_real_inputs): Add pi/4.
8621         * sysdeps/i386/fpu/libm-test-ulps: Update.
8622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8624 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8626         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8627         "longjmp_target" static probes.
8628         (__longjmp): Rename to __longjmp_symbol.
8629         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8630         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8631         on which longjmp to generate.
8632         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8633         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8634         probe.
8635         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8636         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8637         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8638         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8639         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8640         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8641         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8642         __longjmp_symbol based on which __longjmp to generate.
8643         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8644         probe.
8645         (setjmp): Rename to setjmp_symbol.
8646         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8647         (_setjmp): Rename to _setjmp_symbol.
8648         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8649         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8650         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8651         which setjmp to generate.
8652         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8653         "longjmp_target" static probes.
8655 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8657         * benchtests/README: Add note about output arguments.
8658         * benchtests/bench-sincos.c: Remove file.
8659         * benchtests/sincos-inputs: New file.
8660         * scripts/bench.pl: Identify output arguments and define
8661         static variables for them.
8663         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8665         [BZ #15941]
8666         * Makefile (INSTALL): Add install-plain.texi as the primary
8667         dependency.
8668         * manual/install-plain.texi: New file.
8669         * manual/install.texi: Include node directive only for
8670         non-plaintext output.
8672 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8674         * stdlib/longlong.h: Update from GCC.
8676         [BZ #6807]
8677         [BZ #15901]
8678         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8679         * math/w_j0f.c (y0f): Likewise.
8680         * math/w_j0l.c (__y0l): Likewise.
8681         * math/w_j1.c (y1): Likewise.
8682         * math/w_j1f.c (y1f): Likewise.
8683         * math/w_j1l.c (__y1l): Likewise
8684         * math/w_jn.c (yn): Likewise.
8685         * math/w_jnf.c (ynf): Likewise.
8686         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8687         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8688         value for Bessel function domain errors outside _SVID_ mode.
8689         Adjust sign of return value for yn (negative integer, 0).
8690         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8691         by zero in return for negative x and set sign appropriately for
8692         negative n.
8693         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8694         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8695         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8696         expectations in error cases.
8697         (y1_test_data): Likewise.
8698         (yn_test_data): Likewise.
8699         * sysdeps/i386/fpu/libm-test-ulps: Update.
8700         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8702 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8704         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8705         "64" to "64-v1".  Add "64-v2".
8706         (abi-64-options): Rename to ...
8707         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8708         (abi-64-condition): Rename to ...
8709         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8710         (abi-64-ld-soname): Rename to ...
8711         (abi-64-v1-ld-soname): ... this.
8712         (abi-64-v2-options): Define.
8713         (abi-64-v2-condition): Likewise.
8714         (abi-64-v2-ld-soname): Likewise.
8715         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8716         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8718         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8721 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8722             Alan Modra  <amodra@gmail.com>
8724         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8725         New versions for use with the ELFv2 ABI.
8726         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8727         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8728         declaration.
8729         (struct La_ppc64v2_retval): Likewise.
8730         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8731         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8732         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8733         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8734         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8735         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8736         Do not save or restore CR.
8737         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8738         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8739         return values for ELFv2 ABI.  Fix location of FPR return registers.
8740         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8741         updated values for _CALL_ELF == 2.
8742         (La_regs, La_retval, int_retval): Likewise.
8744 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8746         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8747         (FRAME_MIN_SIZE_PARM): Likewise.
8748         (FRAME_BACKCHAIN): Likewise.
8749         (FRAME_CR_SAVE): Likewise.
8750         (FRAME_LR_SAVE): Likewise.
8751         (FRAME_TOC_SAVE): Likewise.
8752         (FRAME_PARM_SAVE): Likewise.
8753         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8754         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8755         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8756         (call_mcount_parm_offset): New macro.
8757         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8758         (PROF): Use symbolic stack frame offsets.
8759         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8760         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8761         Redefine in terms of FRAME_MIN_SIZE.
8762         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8763         (_dl_profile_resolve): Likewise.  Update comment.
8764         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8765         symbols stack frame offsets.
8766         (__sigsetjmp): Likewise.
8767         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8768         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8769         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8770         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8773         (FRAME_BACKCHAIN): Remove.
8774         (FRAME_CR_SAVE): Likewise.
8775         (FRAME_LR_SAVE): Likewise.
8776         (FRAME_COMPILER_DW): Likewise.
8777         (FRAME_LINKER_DW): Likewise.
8778         (FRAME_TOC_SAVE): Likewise.
8779         (FRAME_PARM_SAVE): Likewise.
8780         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8781         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8782         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8784         (CHECK_SP): Use symbolic stack frame offsets.
8785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8786         zone" instead of caller's parameter save area for temp storage.
8787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8788         Likewise.  Also, use symbolic stack frame offsets.
8789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8790         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8791         our own stack frame instead of the caller's.
8792         (__socket): Use symbolic stack frame offsets.
8794 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8795             Alan Modra  <amodra@gmail.com>
8797         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8798         Define.
8799         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8800         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8801         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8802         New function.
8803         (elf_machine_fixup_plt): Call it.
8804         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8805         reloc arguments.
8806         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8807         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8808         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8809         r2 before calling target.
8811 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8812             Alan Modra  <amodra@gmail.com>
8814         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8815         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8816         versions of macros to support ELFv2 ABI.
8817         (LOCALENTRY): New macro.
8818         (ENTRY, EALIGN): Use it.
8819         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8820         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8821         fall through into ENTRY entry point.
8822         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8823         Only define if _CALL_ELF != 2.
8825         (elf_machine_matches_host): Verify ABI version matches.
8826         (RTLD_START): Use LOCALENTRY.
8827         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8828         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8829         (PLT_ENTRY_WORDS): New macro.
8830         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8831         (elf_machine_runtime_setup): Support ELFv2 ABI.
8832         (elf_machine_fixup_plt): Likewise.
8833         (elf_machine_plt_conflict): Likewise.
8834         (resolve_ifunc): Likewise.
8835         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8836         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8837         Likewise.
8838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8839         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8841         (makecontext): Support ELFv2 ABI.
8842         * elf/elf.h (EF_PPC64_ABI): Define.
8844 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8846         * sysdeps/powerpc/powerpc64/sysdep.h
8847         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8848         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8849         (ENTRY) [ASSEMBLER]: ... but instead here ...
8850         (EALIGN) [ASSEMBLER]: ... and here.
8851         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8852         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8853         (ENTRY_2) [!ASSEMBLER]: Use it.
8854         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8855         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8856         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8857         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8858         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8860         Use PPC64_LOAD_FUNCPTR.
8862         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8864 2013-12-04  Alan Modra  <amodra@gmail.com>
8866         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8867         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8868         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8869         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8871         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
8872         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
8873         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
8874         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
8875         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
8876         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
8878 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8880         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8881         (__makecontext): Fix incorrect CFI when backtracing out of
8882         context created via makecontext.
8883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
8884         (__setcontext): Fix incorrect CFI during switch to new context.
8885         (__novec_setcontext): Likewise.
8887 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8889         [BZ #4772]
8890         * time/strptime_l.c (__strptime_internal): Allow modifiers
8891         in strptime.
8892         * time/tst-strptime.c (day_tests): Add testcase.
8894 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
8896         * scripts/bench.pl: Skip over blank lines.
8898 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
8900         [BZ #926]
8901         * manual/time.texi (Calendar Time): Clarify what timezone functions
8902         use.
8904 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8906         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8908 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
8910         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
8911         implementation.
8912         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
8913         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
8914         * debug/memset_chk.c (__memset_chk): Likewise.
8915         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
8916         * debug/strncpy_chk.c: Likewise.
8918 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8920         [BZ #15268]
8921         [BZ #15425]
8922         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
8923         (__ieee754_exp): For possibly underflowing results, check size of
8924         result and force underflow exception if required.
8925         * math/auto-libm-test-in: Add more tests of exp.
8926         * math/auto-libm-test-out: Regenerated.
8927         * sysdeps/i386/fpu/libm-test-ulps: Update.
8928         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8930         [BZ #16283]
8931         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
8932         * math/w_exp2f.c (__exp2f): Likewise.
8933         * math/w_exp2l.c (__exp2l): Likewise.
8934         * math/auto-libm-test-in: Do not allow missing errno on exp2
8935         underflow.
8936         * math/auto-libm-test-out: Regenerated.
8938 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
8940         [BZ #16274]
8941         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
8942         handle filename validation.
8943         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
8944         (do_open): Delete.
8946 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
8948         [BZ #6786]
8949         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
8950         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
8951         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
8952         <float.h>.
8953         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
8954         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
8955         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8956         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
8957         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8958         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
8959         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
8960         * math/auto-libm-test-in: Don't allow missing errno from erfc.
8961         Add more erfc tests.
8962         * math/auto-libm-test-out: Regenerated.
8963         * sysdeps/i386/fpu/libm-test-ulps: Update.
8964         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8966         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
8967         exp2, expm1, j0 and j1.
8968         * math/auto-libm-test-out: Regenerated.
8969         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
8970         (erfc_test_data): Likewise.
8971         (exp_test_data): Likewise.
8972         (exp_tonearest_test_data): Likewise.
8973         (exp_towardzero_test_data): Likewise.
8974         (exp_downward_test_data): Likewise.
8975         (exp_upward_test_data): Likewise.
8976         (exp10_test_data): Likewise.
8977         (exp2_test_data): Likewise.
8978         (expm1_test_data): Likewise.
8979         (j0_test_data): Likewise.
8980         (j1_test_data): Likewise.
8981         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
8982         (input_flag_type): Add flag_xfail_rounding.
8983         (input_flags): Add xfail-rounding.
8984         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
8985         (output_for_one_input_case): Handle flag_xfail_rounding.
8986         * sysdeps/i386/fpu/libm-test-ulps: Update.
8987         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8989 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
8991         [BZ #16289]
8992         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
8993         division by 0.
8995 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
8997         [BZ #16195]
8998         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
8999         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9000         (STAP_PROBE0): New macro.
9001         (STAP_PROBE1): Likewise.
9002         (STAP_PROBE2): Likewise.
9003         (STAP_PROBE3): Likewise.
9004         (STAP_PROBE4): Likewise.
9006 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9008         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9010 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9012         * benchtests/Makefile (bench): Add sqrt.
9013         (LDLIBS-bench-sqrt): New.
9014         * benchtests/sqrt-input: New.
9016 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9018         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9019         (GAIH_EAI): Likewise.
9020         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9021         (gaih_inet): Likewise.
9022         (getaddrinfo): Don't use GAIH_EAI.
9024         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9025         (struct gaih): Remove definition.
9027 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9029         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9030         Use HERRNOP directly.
9032 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9034         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9036 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9038         * math/gen-auto-libm-tests.c (test_functions): Add more
9039         single-argument functions.
9040         (special_fill_pi_2): New function.
9041         (special_fill_minus_pi_2): Likewise.
9042         (special_fill_pi_6): Likewise.
9043         (special_fill_minus_pi_6): Likewise.
9044         (special_fill_pi_3): Likewise.
9045         (special_fill_2pi_3): Likewise.
9046         (special_fill_e): Likewise.
9047         (special_fill_1_e): Likewise.
9048         (special_fill_e_minus_1): Likewise.
9049         (special_real_inputs): Add more special inputs.
9050         (output_for_one_input_case): Do not require ERANGE on underflow to
9051         zero if round-to-nearest result does not underflow to zero, unless
9052         exact results required.
9053         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9054         atan, atanh, cbrt, cos and cosh.
9055         * math/auto-libm-test-out: Regenerated.
9056         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9057         (acos_tonearest_test_data): Likewise.
9058         (acos_towardzero_test_data): Likewise.
9059         (acos_downward_test_data): Likewise.
9060         (acos_upward_test_data): Likewise.
9061         (acosh_test_data): Likewise.
9062         (asin_test_data): Likewise.
9063         (asin_tonearest_test_data): Likewise.
9064         (asin_towardzero_test_data): Likewise.
9065         (asin_upward_test_data): Likewise.
9066         (asinh_test_data): Likewise.
9067         (atan_test_data): Likewise.
9068         (atanh_test_data): Likewise.
9069         (cbrt_test_data): Likewise.
9070         (cos_test_data): Likewise.
9071         (cos_tonearest_test_data): Likewise.
9072         (cos_towardzero_test_data): Likewise.
9073         (cos_downward_test_data): Likewise.
9074         (cos_upward_test_data): Likewise.
9075         (cosh_test_data): Likewise.
9076         (cosh_tonearest_test_data): Likewise.
9077         (cosh_towardzero_test_data): Likewise.
9078         (cosh_downward_test_data): Likewise.
9079         (cosh_upward_test_data): Likewise.
9080         * sysdeps/i386/fpu/libm-test-ulps: Update.
9081         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9083 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9085         [BZ #6787]
9086         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9087         * math/w_exp10f.c (__exp10f): Likewise.
9088         * math/w_exp10l.c (__exp10l): Likewise.
9089         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9090         errno settings in existing tests.
9092         [BZ #14032]
9093         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9094         precision control set to double precision.
9095         * sysdeps/i386/fpu/w_sqrt.c: New file.
9096         * math/auto-libm-test-in: Add more tests.
9097         * math/auto-libm-test-out: Update.
9099         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9100         (sqrt_test_tonearest): New function.
9101         (sqrt_towardzero_test_data): New variable.
9102         (sqrt_test_towardzero): New function.
9103         (sqrt_downward_test_data): New variable.
9104         (sqrt_test_downward): New function.
9105         (sqrt_upward_test_data): New variable.
9106         (sqrt_test_upward): New function.
9107         (main): Call the new functions.
9109         * math/gen-auto-libm-tests.c: New file.
9110         * math/auto-libm-test-in: Likewise.
9111         * math/auto-libm-test-out: New generated file.
9112         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9113         variables.
9114         (%beautify): Add generated representations of zero.
9115         (top level): Set $auto_input and call parse_auto_input.
9116         (beautify): Remove trailing "f" from hex float constants.
9117         (parse_args): Handle XFAIL_TEST.
9118         (convert_condition): New function.
9119         (or_value): Likewise.
9120         (or_cond_value): Likewise.
9121         (generate_testfile): Handle AUTO_TESTS_* lines.
9122         (parse_auto_input): New function.
9123         * math/libm-test.inc (XFAIL_TEST): New macro.
9124         (ERRNO_UNCHANGED): Update value.
9125         (ERRNO_EDOM): Likewise.
9126         (ERRNO_ERANGE): Likewise.
9127         (IGNORE_RESULT): Likewise.
9128         (TEST_COND_flt_32): New macro.
9129         (TEST_COND_dbl_64): Likewise.
9130         (TEST_COND_ldbl_96_intel): Likewise.
9131         (TEST_COND_ldbl_96_m68k): Likewise.
9132         (TEST_COND_ldbl_128): Likewise.
9133         (TEST_COND_ldbl_128ibm): Likewise.
9134         (TEST_COND_long32): Likewise.
9135         (TEST_COND_long64): Likewise.
9136         (TEST_COND_before_rounding): Likewise.
9137         (TEST_COND_after_rounding): Likewise.
9138         (enable_test): Handle XFAIL_TEST flag.
9139         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9140         with finite results.
9141         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9142         auto-libm-test-out.
9144 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9145             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9147         [BZ #16214]
9148         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9149         __tls_get_addr_internal instead of __tls_get_offset in order to
9150         avoid GOT pointer dependency.  Make rtld export
9151         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9152         __tls_get_addr since we are a __tls_get_offset platform.
9153         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9154         GOT pointer being set up before.
9155         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9157 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9159         * manual/math.texi (Errors in Math Functions): Document accuracy
9160         goals.
9162         [BZ #15004]
9163         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9164         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9165         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9166         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9167         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9168         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9169         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9170         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9171         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9172         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9173         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9174         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9175         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9176         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9177         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9178         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9180         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9181         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9182         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9183         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9184         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9185         Likewise.
9186         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9187         Likewise.
9188         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9189         Likewise.
9190         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9191         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9192         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9193         atomic-feupdateenv and flt-rounds.
9194         * sysdeps/powerpc/nofpu/Versions (libc): Add
9195         __atomic_feholdexcept, __atomic_feclearexcept,
9196         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9197         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9198         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9199         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9200         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9201         here.
9202         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9203         Update.
9205         * manual/arith.texi (FP Exceptions): Document that exceptions may
9206         not be raised when matherr is used.
9207         (Math Error Reporting): Document overflow in directed rounding
9208         modes.  Document that errno may not be set when finite values are
9209         returned on overflow.  Document intent to set errno on underflow
9210         only for underflow to zero.
9212         [BZ #16271]
9213         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9214         round-to-nearest then adjust result for other rounding modes.
9215         * include/fenv.h (fegetround): Use libm_hidden_proto.
9216         * math/fegetround.c (fegetround): Use libm_hidden_def.
9217         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9218         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9219         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9220         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9221         Likewise.
9222         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9223         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9224         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9225         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9227 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9229         [BZ #16077]
9230         * nss/Versions (libnss_files): Add
9231         _nss_files_gethostbyname3_r.
9232         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9233         New function.
9234         (HOST_DB_LOOKUP): Remove macro.
9235         (_nss_files_gethostbyname_r): Implement function without the
9236         HOST_DB_LOOKUP macro.
9237         (_nss_files_gethostbyname2_r): Likewise.
9239 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9241         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9243 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9245         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9246         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9247         warning.
9249 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9251         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9252         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9253         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9254         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9255         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9256         __fe_nomask_env_priv and attribute_hidden.
9257         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9258         (libc_feupdateenv_test_ppc): Likewise.
9259         (libc_feresetround_ppc): Likewise.
9260         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9261         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9262         compat_symbol macro.
9263         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9264         (__fe_nomask_env): Likewise.
9265         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9267 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9269         * string/Makefile: Remove ifunc tests.
9270         * string/test-string.h: Define TEST_IFUNC.
9271         * string/test-bcopy-ifunc.c: Remove.
9272         * string/test-bzero-ifunc.c: Likewise.
9273         * string/test-memccpy-ifunc.c: Likewise.
9274         * string/test-memchr-ifunc.c: Likewise.
9275         * string/test-memcmp-ifunc.c: Likewise.
9276         * string/test-memcpy-ifunc.c: Likewise.
9277         * string/test-memmem-ifunc.c: Likewise.
9278         * string/test-memmove-ifunc.c: Likewise.
9279         * string/test-mempcpy-ifunc.c: Likewise.
9280         * string/test-memrchr-ifunc.c: Likewise.
9281         * string/test-memset-ifunc.c: Likewise.
9282         * string/test-rawmemchr-ifunc.c: Likewise.
9283         * string/test-stpcpy-ifunc.c: Likewise.
9284         * string/test-stpncpy-ifunc.c: Likewise.
9285         * string/test-strcasecmp-ifunc.c: Likewise.
9286         * string/test-strcasestr-ifunc.c: Likewise.
9287         * string/test-strcat-ifunc.c: Likewise.
9288         * string/test-strchr-ifunc.c: Likewise.
9289         * string/test-strchrnul-ifunc.c: Likewise.
9290         * string/test-strcmp-ifunc.c: Likewise.
9291         * string/test-strcpy-ifunc.c: Likewise.
9292         * string/test-strcspn-ifunc.c: Likewise.
9293         * string/test-strlen-ifunc.c: Likewise.
9294         * string/test-strncasecmp-ifunc.c: Likewise.
9295         * string/test-strncat-ifunc.c: Likewise.
9296         * string/test-strncmp-ifunc.c: Likewise.
9297         * string/test-strncpy-ifunc.c: Likewise.
9298         * string/test-strnlen-ifunc.c: Likewise.
9299         * string/test-strpbrk-ifunc.c: Likewise.
9300         * string/test-strrchr-ifunc.c: Likewise.
9301         * string/test-strspn-ifunc.c: Likewise.
9302         * string/test-strstr-ifunc.c: Likewise.
9304 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9306         * benchtests/Makefile: Remove ifunc tests.
9307         * benchtests/bench-string.h: Define TEST_IFUNC.
9308         * benchtests/bench-bcopy-ifunc.c: Remove.
9309         * benchtests/bench-bzero-ifunc.c: Likewise.
9310         * benchtests/bench-memccpy-ifunc.c: Likewise.
9311         * benchtests/bench-memchr-ifunc.c: Likewise.
9312         * benchtests/bench-memcmp-ifunc.c: Likewise.
9313         * benchtests/bench-memcpy-ifunc.c: Likewise.
9314         * benchtests/bench-memmem-ifunc.c: Likewise.
9315         * benchtests/bench-memmove-ifunc.c: Likewise.
9316         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9317         * benchtests/bench-memrchr-ifunc.c: Likewise.
9318         * benchtests/bench-memset-ifunc.c: Likewise.
9319         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9320         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9321         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9322         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9323         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9324         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9325         * benchtests/bench-strcat-ifunc.c: Likewise.
9326         * benchtests/bench-strchr-ifunc.c: Likewise.
9327         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9328         * benchtests/bench-strcmp-ifunc.c: Likewise.
9329         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9330         * benchtests/bench-strcpy-ifunc.c: Likewise.
9331         * benchtests/bench-strcspn-ifunc.c: Likewise.
9332         * benchtests/bench-strlen-ifunc.c: Likewise.
9333         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9334         * benchtests/bench-strncat-ifunc.c: Likewise.
9335         * benchtests/bench-strncmp-ifunc.c: Likewise.
9336         * benchtests/bench-strncpy-ifunc.c: Likewise.
9337         * benchtests/bench-strnlen-ifunc.c: Likewise.
9338         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9339         * benchtests/bench-strrchr-ifunc.c: Likewise.
9340         * benchtests/bench-strsep-ifunc.c: Likewise.
9341         * benchtests/bench-strspn-ifunc.c: Likewise.
9342         * benchtests/bench-strstr-ifunc.c: Likewise.
9344 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9346         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9348 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9350         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9351         * rt/aio.h: Likewise.
9352         * sysdeps/gnu/bits/utmp.h: Likewise.
9353         * sysdeps/gnu/bits/utmpx.h: Likewise.
9354         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9355         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9356         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9357         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9358         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9359         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9360         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9361         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9362         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9363         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9364         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9365         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9366         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9368         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9369         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9370         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9371         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9372         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9373         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9374         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9375         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9376         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9377         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9378         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9379         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9380         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9381         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9382         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9383         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9384         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9385         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9386         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9387         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9388         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9389         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9390         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9391         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9392         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9393         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9394         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9395         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9397 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9399         [BZ #16245]
9400         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9401         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9403 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9405         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9406         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9407         Likewise.
9409 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9411         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9412         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9413         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9414         (__fesetround): Remove define.
9415         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9416         rounding and exceptions handling.
9417         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9418         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9419         (__fe_nomask_env): Likewise.
9420         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9421         __fegetround instead of fegetround.
9422         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9423         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9425 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9427         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9428         it's there.
9430         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9432 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9434         [BZ #11157]
9435         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9436         (encrypt_r): Likewise.
9437         * malloc/obstack.h (obstack_free): Likewise.
9438         * posix/unistd.h (encrypt): Likewise.
9440 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9442         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9443         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9444         DL_CALL_DT_FINI() that call the functions directly.
9445         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9446         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9447         * elf/dl-fini.c: Likewise.
9449 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9451         * malloc/hooks.c (memalign_check): Add alignment rounding.
9452         * malloc/malloc.c (_mid_memalign): New function.
9453         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9454         Implement by calling _mid_memalign.
9455         * manual/probes.texi (Memory Allocation Probes): Remove
9456         memory_valloc_retry and memory_pvalloc_retry.
9458 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9460         * locale/programs/locarchive.c (open_archive): Add const
9461         qualifier to ARCHIVEFNAME and copy default fname to
9462         DEFAULT_FNAME.
9464         [BZ #15601]
9465         * libio/tst-widetext.input: Rename Oriya to Odia.
9466         * locale/iso-639.def: Likewise.
9468         * manual/probes.texi (Mathematical Function Probes): Add
9469         documentation for sin, cos, asin and acos probes.
9470         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9471         (__sin32): Add slowasin probe.
9472         (__cos32): Add slowacos probe.
9473         (__mpsin): Add slowsin probe.
9474         (__mpcos): Add slowcos probe.
9476 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9478         [BZ #15483]
9479         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9480         thread-local __sim_exceptions_thread and global
9481         __sim_exceptions_global.
9482         (__sim_disabled_exceptions): Change to thread-local
9483         __sim_disabled_exceptions_thread and global
9484         __sim_disabled_exceptions_global.
9485         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9486         and global __sim_round_mode_global.
9487         (__simulate_exceptions): Use thread-local floating-point state and
9488         set global state from it as needed.
9489         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9490         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9491         __sim_round_mode_thread.
9492         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9493         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9494         and global __sim_exceptions_global.
9495         (__sim_disabled_exceptions): Change to thread-local
9496         __sim_disabled_exceptions_thread and global
9497         __sim_disabled_exceptions_global.
9498         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9499         and global __sim_round_mode_global.
9500         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9501         (SIM_SET_GLOBAL): Likewise.
9502         * sysdeps/powerpc/soft-fp/sfp-machine.h
9503         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9504         __sim_round_mode_thread.
9505         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9506         __sim_disabled_exceptions_thread.
9507         (__sim_exceptions): Change to __sim_exceptions_thread.
9508         (__sim_disabled_exceptions): Change to
9509         __sim_disabled_exceptions_thread.
9510         (__sim_round_mode): Change to __sim_round_mode_thread.
9511         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9512         thread-local floating-point state and set global state from it as
9513         needed.
9514         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9515         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9516         (__sim_disabled_exceptions): Remove extern declaration.
9517         (feenableexcept): Use thread-local floating-point state and set
9518         global state from it as needed.
9519         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9520         extern declaration.
9521         (__sim_disabled_exceptions): Likewise.
9522         (__sim_round_mode): Likewise.
9523         (__fegetenv): Use thread-local floating-point state.
9524         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9525         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9526         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9527         floating-point state and set global state from it as needed.
9528         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9529         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9530         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9531         Likewise.
9532         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9533         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9534         Likewise.
9535         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9536         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9537         Use __sim_round_mode_thread.
9538         * math/test-fenv-tls.c: New file.
9539         * math/Makefile (tests): Add test-fenv-tls.
9540         ($(objpfx)test-fenv-tls): Depend on
9541         $(common-objpfx)nptl/libpthread.so.
9543 2013-11-19  Andreas Schwab  <schwab@suse.de>
9545         * locale/programs/locale.c (show_info): Decode wordarray elements.
9546         * locale/categories.def (LC_MONETARY): Add element for
9547         _NL_MONETARY_CRNCYSTR.
9548         * locale/C-monetary.c (conversion_rate): New variable.
9549         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9550         element.
9552 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9554         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9555         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9557 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9559         * elf/Makefile (tst-auxv): New test.
9560         * elf/tst-auxv.c: New
9561         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9563 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9565         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9566         (hidden_proto): Caller changed.
9567         (hidden_tls_proto): New macro.
9568         (libc_hidden_tls_proto): Likewise.
9569         (rtld_hidden_tls_proto): Likewise.
9570         (libm_hidden_tls_proto): Likewise.
9571         (libresolv_hidden_tls_proto): Likewise.
9572         (librt_hidden_tls_proto): Likewise.
9573         (libdl_hidden_tls_proto): Likewise.
9574         (libnss_files_hidden_tls_proto): Likewise.
9575         (libnsl_hidden_tls_proto): Likewise.
9576         (libnss_nisplus_hidden_tls_proto): Likewise.
9577         (libutil_hidden_tls_proto): Likewise.
9579 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9581         [BZ #10253]
9582         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9583         (decompose_rpath): Defer expansion to fillin_rpath.
9584         (_dl_init_paths): Pass linkmap to fillin_rpath.
9586 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9588         * benchtests/Makefile: Add strsep.
9589         * benchtests/bench-strsep.c: New file: strsep benchtest.
9590         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9592 2013-11-18  Andreas Schwab  <schwab@suse.de>
9594         * locale/programs/locale.c (show_info) [case byte]: Check for
9595         '\377' instead of '\177'.
9596         * locale/C-monetary.c (not_available): Always use "\377".
9597         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9598         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9599         detect unavailable sign_posn locale elements.
9600         * locale/localeconv.c (__localeconv): For grouping and
9601         mon_grouping handle "\177" and "\377" like no grouping.
9602         (INT_ELEM): New macro.  Use it to set all numeric members.
9603         * locale/programs/ld-monetary.c (monetary_read)
9604         <tok_mon_grouping>: Normalize single -1 to the empty string.
9605         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9606         Likewise.
9608 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9610         [BZ #16055]
9611         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9612         when we match (nil).
9613         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9615 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9617         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9618         (NO_TEST_INLINE): Update value.
9619         (ERRNO_UNCHANGED): Likewise.
9620         (ERRNO_EDOM): Likewise.
9621         (ERRNO_ERANGE): Likewise.
9622         (IGNORE_RESULT): Likewise.
9623         (check_float_internal): Check signs of NaN results if
9624         TEST_NAN_SIGN used.
9625         (check_complex): Pass TEST_NAN_SIGN flag through to second
9626         check_float_internal call.
9627         (copysign_test_data): Add tests with quiet NaNs as second
9628         argument.  Use TEST_NAN_SIGN.
9629         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9630         TEST_NAN_SIGN.
9631         (signbit_test_data): Add tests of quiet NaN argument.
9632         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9634         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9635         $ignore_result.
9636         (parse_args): Handle function results specified as IGNORE.
9637         * math/libm-test.inc (IGNORE_RESULT): New macro.
9638         (check_float_internal): Do not check numerical result if flag
9639         IGNORE_RESULT set.
9640         (check_complex): Pass through IGNORE_RESULT to second
9641         check_float_internal call.
9642         (check_int): Do not check numerical result if flag IGNORE_RESULT
9643         set.
9644         (check_long): Likewise.
9645         (check_bool): Likewise.
9646         (check_longlong): Likewise.
9647         (lrint_test_data): Add tests of infinite and NaN arguments.
9648         (lrint_tonearest_test_data): Likewise.
9649         (lrint_towardzero_test_data): Likewise.
9650         (lrint_downward_test_data): Likewise.
9651         (lrint_upward_test_data): Likewise.
9652         (llrint_test_data): Likewise.
9653         (llrint_tonearest_test_data): Likewise.
9654         (llrint_towardzero_test_data): Likewise.
9655         (llrint_downward_test_data): Likewise.
9656         (llrint_upward_test_data): Likewise.
9657         (lround_test_data): Likewise.
9658         (llround_test_data): Likewise.
9660         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9661         (ERRNO_UNCHANGED): Update value.
9662         (ERRNO_EDOM): Likewise.
9663         (ERRNO_ERANGE): Likewise.
9664         (NO_TEST_INLINE_FLOAT): New macro.
9665         (NO_TEST_INLINE_DOUBLE): Likewise.
9666         (enable_test): New function.
9667         (RUN_TEST_f_f): Check enable_test before running test.
9668         (RUN_TEST_2_f): Likewise.
9669         (RUN_TEST_fff_f): Likewise.
9670         (RUN_TEST_c_f): Likewise.
9671         (RUN_TEST_f_f1): Likewise.
9672         (RUN_TEST_fF_f1): Likewise.
9673         (RUN_TEST_fI_f1): Likewise.
9674         (RUN_TEST_ffI_f1): Likewise.
9675         (RUN_TEST_c_c): Likewise.
9676         (RUN_TEST_cc_c): Likewise.
9677         (RUN_TEST_f_i): Likewise.
9678         (RUN_TEST_f_i_tg): Likewise.
9679         (RUN_TEST_ff_i_tg): Likewise.
9680         (RUN_TEST_f_b): Likewise.
9681         (RUN_TEST_f_b_tg): Likewise.
9682         (RUN_TEST_f_l): Likewise.
9683         (RUN_TEST_f_L): Likewise.
9684         (RUN_TEST_fFF_11): Likewise.
9685         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9686         conditionals.
9687         (cosh_test_data): Likewise.
9688         (exp_test_data): Likewise.
9689         (expm1_test_data): Likewise.
9690         (hypot_test_data): Likewise.
9691         (pow_test_data): Likewise.
9692         (sinh_test_data): Likewise.
9693         (tanh_test_data): Likewise.
9694         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9695         flags argument.
9697         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9698         tests with quiet NaN input and output.
9699         (acosh_test_data): Likewise.
9700         (asin_test_data): Likewise.
9701         (asinh_test_data): Likewise.
9702         (atan_test_data): Likewise.
9703         (atanh_test_data): Likewise.
9704         (atan2_test_data): Likewise.
9705         (cbrt_test_data): Likewise.
9706         (cos_test_data): Likewise.
9707         (cosh_test_data): Likewise.
9708         (erf_test_data): Likewise.
9709         (erfc_test_data): Likewise.
9710         (exp_test_data): Likewise.
9711         (exp10_test_data): Likewise.
9712         (exp2_test_data): Likewise.
9713         (expm1_test_data): Likewise.
9714         (hypot_test_data): Likewise.
9715         (j0_test_data): Likewise.
9716         (j1_test_data): Likewise.
9717         (jn_test_data): Likewise.
9718         (lgamma_test_data): Likewise.
9719         (log_test_data): Likewise.
9720         (log10_test_data): Likewise.
9721         (log1p_test_data): Likewise.
9722         (log2_test_data): Likewise.
9723         (pow_test_data): Likewise.
9724         (scalb_test_data): Likewise.
9725         (sin_test_data): Likewise.
9726         (sincos_test_data): Likewise.
9727         (sinh_test_data): Likewise.
9728         (tan_test_data): Likewise.
9729         (tanh_test_data): Likewise.
9730         (tgamma_test_data): Likewise.
9731         (y0_test_data): Likewise.
9732         (y1_test_data): Likewise.
9733         (yn_test_data): Likewise.
9735         [BZ #16167]
9736         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9737         argument being NaN and avoid computations with second argument in
9738         that case.
9739         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9740         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9741         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9743 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9745         * locale/iso-639.def: Add Chitwani Tharu (the).
9747 2013-11-14  Andreas Schwab  <schwab@suse.de>
9749         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9750         word instead of empty string.
9752 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9755         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9757         (__fe_nomask_env): Likewise.
9759 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9761         * benchtests/bench-timing.h: Include time.h.
9763 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9765         [BZ #15997]
9766         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9767         to 3.4.0 for x32.
9768         * sysdeps/unix/sysv/linux/configure: Regenerated.
9770 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9772         [BZ #16151]
9773         * stdlib/strtod_l.c (round_and_return): Do not consider
9774         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9775         exponent one less than half the least subnormal exponent.
9776         * stdlib/test-strtod-round-data: Add more tests.
9777         * stdlib/tst-strtod-round.c (tests): Regenerated.
9779 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9781         [BZ #14143]
9782         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9783         (__fe_mask_env): Likewise.
9784         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9785         libm_hidden_proto and add function prototype.
9786         (__fe_mask_env): Add function prototype.
9787         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9788         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9790         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9792         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9794 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9796         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9797         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9799 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9801         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9802         of htab_find_slot().
9804 2013-11-11  David S. Miller  <davem@davemloft.net>
9806         [BZ #16150]
9807         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9808         symbol in the non-vis3 case in static builds.
9809         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9810         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9811         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9812         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9814 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9816         [BZ #387]
9817         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9818         it is empty.
9820 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9822         * benchtests/Makefile: Add bench-strtod.
9823         * benchtests/bench-strtod.c: New file: strtod benchtest
9825 2013-11-11  Andreas Schwab  <schwab@suse.de>
9827         [BZ #16153]
9828         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9829         terminating NUL in key length.
9831 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9833         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9834         Add artificial ODP entry for vDSO symbol for PPC64.
9835         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9836         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9838 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9840         [BZ #15374]
9841         * nss/getent.c (services_keys): Recognize services starting with digit.
9843 2013-11-06  David S. Miller  <davem@davemloft.net>
9845         [BZ #15985]
9846         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9847         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9849 2013-11-06  Will Newton  <will.newton@linaro.org>
9851         * manual/memory.texi (Malloc Examples): Remove register
9852         keyword from examples.
9854 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9856         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9858 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9860         [BZ #6981]
9861         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9862         depending on [__GCC_IEC_559 > 0].
9863         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9864         depending on [__GCC_IEC_559_COMPLEX > 0].
9866 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9868         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9869         to iso-639.def.
9871 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
9873         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
9875 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
9877         [BZ #16112]
9878         * malloc/malloc (malloc_info): Do not handle first bin as
9879         special case.
9881 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
9883         * locale/iso-639.def: Add Central Nahuatl (nhn).
9885 2013-11-01  Bruno Haible  <bruno@clisp.org>
9887         [BZ #7003]
9888         * manual/math.texi (BSD Random): Specify range upper bound as
9889         in POSIX.
9891 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
9893         * locale/iso-639.def: Add Meadow Mari (mhr).
9895 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
9897         [BZ #14752], [BZ #15763]
9898         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
9899         Validate name.
9900         * rt/tst_shm.c: Add test for escaping directory.
9902 2013-10-31  Andreas Schwab  <schwab@suse.de>
9904         [BZ #15917]
9905         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
9906         followed by 'x' as part of digit sequence.
9907         * stdio-common/tst-sscanf.c (double_tests2): New tests.
9909 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
9911         [BZ #16037]
9912         * configure.ac: allow GNU Make 4.0 and greater.
9913         * configure: Regenerated.
9915 2013-10-30  Will Newton  <will.newton@linaro.org>
9917         [BZ #16038]
9918         * malloc/hooks.c (memalign_check): Limit alignment to the
9919         maximum representable power of two.
9920         * malloc/malloc.c (__libc_memalign): Likewise.
9921         * malloc/tst-memalign.c (do_test): Add test for very
9922         large alignment values.
9923         * malloc/tst-posix_memalign.c (do_test): Likewise.
9925 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9927         [BZ #11087]
9928         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
9929         (munmap_chunk): Likewise.
9930         (mremap_chunk): Likewise.
9932 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
9934         [BZ #15799]
9935         * stdlib/div.c (div): Remove obsolete code.
9936         * stdlib/ldiv.c (ldiv): Likewise.
9937         * stdlib/lldiv.c (lldiv): Likewise.
9939 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9941         [BZ #16071]
9942         * nss/nss_files/files-XXX.c (get_contents_ret): New
9943         enumerator.
9944         (get_contents): New function.
9945         (internal_getent): Use it.  Expand size of LINEBUFLEN.
9947 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
9949         * configure.in: Moved to ...
9950         * configure.ac: ... here. Change reference to configure.in
9951         to configure.ac.
9952         * sysdeps/arm/preconfigure.ac: ... here.
9953         configure.in to configure.ac.
9954         * sysdeps/gnu/configure.in: Moved to ...
9955         * sysdeps/gnu/configure.ac: ... here.
9956         * sysdeps/i386/configure.in: Moved to ...
9957         * sysdeps/i386/configure.ac: ... here.
9958         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
9959         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
9960         * sysdeps/mach/configure.in: Moved to ...
9961         * sysdeps/mach/configure.ac: ... here.
9962         * sysdeps/mach/hurd/configure.in: Moved to ...
9963         * sysdeps/mach/hurd/configure.ac: ... here.
9964         * sysdeps/powerpc/configure.in: Moved to ...
9965         * sysdeps/powerpc/configure.ac: ... here.
9966         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
9967         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
9968         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
9969         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
9970         * sysdeps/s390/s390-32/configure.in: Moved to ...
9971         * sysdeps/s390/s390-32/configure.ac: ... here.
9972         * sysdeps/s390/s390-64/configure.in: Moved to ...
9973         * sysdeps/s390/s390-64/configure.ac: ... here.
9974         * sysdeps/sh/configure.in: Moved to ...
9975         * sysdeps/sh/configure.ac: ... here.
9976         * sysdeps/sparc/configure.in: Moved to ...
9977         * sysdeps/sparc/configure.ac: ... here.
9978         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
9979         * sysdeps/unix/sysv/linux/configure.ac: ... here.
9980         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
9981         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
9982         * sysdeps/x86_64/configure.in: Moved to ...
9983         * sysdeps/x86_64/configure.ac: ... here.
9984         * sysdeps/x86_64/preconfigure.in: Moved to ...
9985         * sysdeps/x86_64/preconfigure.ac: ... here.
9986         * aclocal.m4: Change reference to configure.in to configure.ac.
9987         * config.h.in: Likewise.
9988         * manual/install.texi: Likewise.
9989         * manual/maint.texi: Likewise.
9990         * Makefile: Likewise.
9991         * malloc/Makefile: Likewise.
9992         * nscd/Makefile: Likewise.
9993         * Makeconfig: Change reference to configure.in and
9994         preconfigure.in to configure.ac and preconfigure.ac
9995         respectively.
9996         * INSTALL: Regenerated.
9997         * configure: Likewise.
9998         * sysdeps/gnu/configure: Likewise.
9999         * sysdeps/i386/configure: Likewise.
10000         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10001         * sysdeps/mach/configure: Likewise.
10002         * sysdeps/mach/hurd/configure: Likewise.
10003         * sysdeps/powerpc/configure: Likewise.
10004         * sysdeps/powerpc/powerpc32/configure: Likewise.
10005         * sysdeps/powerpc/powerpc64/configure: Likewise.
10006         * sysdeps/s390/s390-32/configure: Likewise.
10007         * sysdeps/s390/s390-64/configure: Likewise.
10008         * sysdeps/sh/configure: Likewise.
10009         * sysdeps/sparc/configure: Likewise.
10010         * sysdeps/unix/sysv/linux/configure: Likewise.
10011         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10012         * sysdeps/x86_64/configure: Likewise.
10013         * sysdeps/x86_64/preconfigure: Likewise.
10015 2013-10-29  Andreas Schwab  <schwab@suse.de>
10017         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10019 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10021         * benchtests/pow-inputs: Add new inputs.
10023         * benchtests/exp-inputs: Add new inputs.
10025         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10026         conditional check for return value.
10027         (__cos32): Likewise.
10029 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10031         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10032         to provide a boost for large inputs with word alignment.
10033         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10034         implementation based on optimized PPC64 strcpy.
10035         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10036         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10037         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10038         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10040 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10042         [BZ #2801]
10043         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10045 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10047         [BZ #14876]
10048         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10049         * time/tst-strptime.c (day_tests): Add testcase.
10051 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10053         [BZ #14029]
10054         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10056 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10058         [BZ #16074]
10059         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10060         MAP_FAILED on error.
10062 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10064         [BZ #16072]
10065         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10066         heap for large requests.
10068 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10070         [BZ #9954]
10071         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10072         result if the result has no associated interface.
10073         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10074         interface for all 127.X.Y.Z addresses.
10076 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10078         * locale/iso-639.def: Add Ligurian (lij)
10080 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10082         [BZ #15825]
10083         * sunrpc/rpc_main.c: Document rpcgen -5.
10085 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10087         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10089 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10091         [BZ #10278]
10092         * posix/glob.c: Match only directories when trailing slash is present.
10093         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10094         (main): Add testcase.
10096 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10098         [BZ #15670]
10099         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10101 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10103         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10104         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10105         AUTH_DES and cindex for FIPS 140-2.
10106         (DES Encryption): Add cindex FIPS 46-3.
10108         * locale/locarchive.h (struct locarhandle): Add fname.
10109         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10110         if an optional argument was specified to --list-archive,
10111         otherwise NULL.
10112         * locale/programs/locarchive.c (show_archive_content): Take new
10113         argument fname and pass it via ah.fname to open_archive.
10114         * locale/programs/localedef.h: Update decl.
10115         (open_archive): If AH->fname is non-null, open that file
10116         rather than the default file name, and don't ignore ENOENT.
10117         (create_archive): Set AH.fname to NULL.
10118         (delete_locales_from_archive): Likewise.
10119         (add_locales_to_archive): Likewise.
10120         * locale/programs/locfile.c (write_all_categories): Likewise.
10122 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10123             Aldy Hernandez  <aldyh@redhat.com>
10125         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10126         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10127         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10128         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10129         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10130         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10131         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10132         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10133         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10134         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10135         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10136         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10137         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10138         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10139         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10140         Likewise.
10141         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10142         Likewise.
10143         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10144         Likewise.
10145         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10146         Likewise.
10147         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10148         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10149         Likewise.
10150         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10151         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10152         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10153         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10154         Likewise.
10155         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10156         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10157         * sysdeps/powerpc/preconfigure: Likewise.
10158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10159         Likewise.
10160         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10161         Replace contents of file by #include of <fenv_libc.h>.
10162         * sysdeps/powerpc/soft-fp/sfp-machine.h
10163         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10164         and <sys/prctl.h>.
10165         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10166         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10167         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10168         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10169         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10170         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10171         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10172         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10173         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10174         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10175         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10176         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10178         Allow copysignl PLT reference to be missing.
10180 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10181             Joseph Myers  <joseph@codesourcery.com
10183         [BZ #15948]
10184         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10185         single character.
10186         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10188 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10190         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10191         * elf/tst-tls1.c: Likewise.
10192         * elf/tst-tls10.h: Likewise.
10193         * elf/tst-tls14.c: Likewise.
10194         * elf/tst-tls2.c: Likewise.
10195         * elf/tst-tls3.c: Likewise.
10196         * elf/tst-tls4.c: Likewise.
10197         * elf/tst-tls5.c: Likewise.
10198         * elf/tst-tls6.c: Likewise.
10199         * elf/tst-tls7.c: Likewise.
10200         * elf/tst-tls8.c: Likewise.
10201         * elf/tst-tls9.c: Likewise.
10202         * elf/tst-tlsmod1.c: Likewise.
10203         * elf/tst-tlsmod13.c: Likewise.
10204         * elf/tst-tlsmod13a.c: Likewise.
10205         * elf/tst-tlsmod14a.c: Likewise.
10206         * elf/tst-tlsmod16a.c: Likewise.
10207         * elf/tst-tlsmod16b.c: Likewise.
10208         * elf/tst-tlsmod2.c: Likewise.
10209         * elf/tst-tlsmod3.c: Likewise.
10210         * elf/tst-tlsmod4.c: Likewise.
10211         * elf/tst-tlsmod5.c: Likewise.
10212         * elf/tst-tlsmod6.c: Likewise.
10214 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10216         [BZ #12486]
10217         * malloc/malloc.c: remove checks for statistics.
10219 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10221         [BZ #15277]
10222         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10223         * inet/tst-network.c: Add testcase.
10225 2013-10-17  Andreas Schwab  <schwab@suse.de>
10227         [BZ #15218]
10228         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10229         to determine canonical name.
10231 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10233         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10234         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10235         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10236         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10237         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10238         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10239         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10240         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10241         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10242         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10243         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10244         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10245         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10246         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10247         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10248         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10249         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10250         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10251         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10252         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10253         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10254         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10255         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10256         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10257         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10258         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10259         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10260         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10261         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10262         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10263         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10264         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10265         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10266         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10267         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10268         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10269         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10270         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10271         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10272         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10273         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10274         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10275         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10276         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10277         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10278         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10279         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10280         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10281         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10282         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10283         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10284         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10285         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10286         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10287         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10288         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10289         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10290         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10292 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10294         [BZ #16041]
10295         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10296         make result into a quiet NaN.
10298 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10300         * soft-fp/adddf3.c: Fix horizontal whitespace.
10301         * soft-fp/addsf3.c: Likewise.
10302         * soft-fp/addtf3.c: Likewise.
10303         * soft-fp/divdf3.c: Likewise.
10304         * soft-fp/divsf3.c: Likewise.
10305         * soft-fp/divtf3.c: Likewise.
10306         * soft-fp/double.h: Likewise.
10307         * soft-fp/eqdf2.c: Likewise.
10308         * soft-fp/eqsf2.c: Likewise.
10309         * soft-fp/eqtf2.c: Likewise.
10310         * soft-fp/extenddftf2.c: Likewise.
10311         * soft-fp/extended.h: Likewise.
10312         * soft-fp/extendsfdf2.c: Likewise.
10313         * soft-fp/extendsftf2.c: Likewise.
10314         * soft-fp/extendxftf2.c: Likewise.
10315         * soft-fp/fixdfdi.c: Likewise.
10316         * soft-fp/fixdfsi.c: Likewise.
10317         * soft-fp/fixdfti.c: Likewise.
10318         * soft-fp/fixsfdi.c: Likewise.
10319         * soft-fp/fixsfsi.c: Likewise.
10320         * soft-fp/fixsfti.c: Likewise.
10321         * soft-fp/fixtfdi.c: Likewise.
10322         * soft-fp/fixtfsi.c: Likewise.
10323         * soft-fp/fixtfti.c: Likewise.
10324         * soft-fp/fixunsdfdi.c: Likewise.
10325         * soft-fp/fixunsdfsi.c: Likewise.
10326         * soft-fp/fixunsdfti.c: Likewise.
10327         * soft-fp/fixunssfdi.c: Likewise.
10328         * soft-fp/fixunssfsi.c: Likewise.
10329         * soft-fp/fixunssfti.c: Likewise.
10330         * soft-fp/fixunstfdi.c: Likewise.
10331         * soft-fp/fixunstfsi.c: Likewise.
10332         * soft-fp/fixunstfti.c: Likewise.
10333         * soft-fp/floatdidf.c: Likewise.
10334         * soft-fp/floatdisf.c: Likewise.
10335         * soft-fp/floatditf.c: Likewise.
10336         * soft-fp/floatsidf.c: Likewise.
10337         * soft-fp/floatsisf.c: Likewise.
10338         * soft-fp/floatsitf.c: Likewise.
10339         * soft-fp/floattidf.c: Likewise.
10340         * soft-fp/floattisf.c: Likewise.
10341         * soft-fp/floattitf.c: Likewise.
10342         * soft-fp/floatundidf.c: Likewise.
10343         * soft-fp/floatundisf.c: Likewise.
10344         * soft-fp/floatunditf.c: Likewise.
10345         * soft-fp/floatunsidf.c: Likewise.
10346         * soft-fp/floatunsisf.c: Likewise.
10347         * soft-fp/floatunsitf.c: Likewise.
10348         * soft-fp/floatuntidf.c: Likewise.
10349         * soft-fp/floatuntisf.c: Likewise.
10350         * soft-fp/floatuntitf.c: Likewise.
10351         * soft-fp/fmadf4.c: Likewise.
10352         * soft-fp/fmasf4.c: Likewise.
10353         * soft-fp/fmatf4.c: Likewise.
10354         * soft-fp/gedf2.c: Likewise.
10355         * soft-fp/gesf2.c: Likewise.
10356         * soft-fp/getf2.c: Likewise.
10357         * soft-fp/ledf2.c: Likewise.
10358         * soft-fp/lesf2.c: Likewise.
10359         * soft-fp/letf2.c: Likewise.
10360         * soft-fp/muldf3.c: Likewise.
10361         * soft-fp/mulsf3.c: Likewise.
10362         * soft-fp/multf3.c: Likewise.
10363         * soft-fp/negdf2.c: Likewise.
10364         * soft-fp/negsf2.c: Likewise.
10365         * soft-fp/negtf2.c: Likewise.
10366         * soft-fp/op-1.h: Likewise.
10367         * soft-fp/op-2.h: Likewise.
10368         * soft-fp/op-4.h: Likewise.
10369         * soft-fp/op-8.h: Likewise.
10370         * soft-fp/op-common.h: Likewise.
10371         * soft-fp/quad.h: Likewise.
10372         * soft-fp/single.h: Likewise.
10373         * soft-fp/soft-fp.h: Likewise.
10374         * soft-fp/sqrtdf2.c: Likewise.
10375         * soft-fp/sqrtsf2.c: Likewise.
10376         * soft-fp/sqrttf2.c: Likewise.
10377         * soft-fp/subdf3.c: Likewise.
10378         * soft-fp/subsf3.c: Likewise.
10379         * soft-fp/subtf3.c: Likewise.
10380         * soft-fp/truncdfsf2.c: Likewise.
10381         * soft-fp/trunctfdf2.c: Likewise.
10382         * soft-fp/trunctfsf2.c: Likewise.
10383         * soft-fp/trunctfxf2.c: Likewise.
10384         * soft-fp/unorddf2.c: Likewise.
10385         * soft-fp/unordsf2.c: Likewise.
10386         * soft-fp/unordtf2.c: Likewise.
10388 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10390         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10391         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10393 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10395         * elf/dl-libc.c: Clear initfini list after freeing.
10397 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10399         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10400         * soft-fp/addsf3.c: Likewise.
10401         * soft-fp/addtf3.c: Likewise.
10402         * soft-fp/divdf3.c: Likewise.
10403         * soft-fp/divsf3.c: Likewise.
10404         * soft-fp/divtf3.c: Likewise.
10405         * soft-fp/double.h: Likewise.
10406         * soft-fp/eqdf2.c: Likewise.
10407         * soft-fp/eqsf2.c: Likewise.
10408         * soft-fp/eqtf2.c: Likewise.
10409         * soft-fp/extenddftf2.c: Likewise.
10410         * soft-fp/extended.h: Likewise.
10411         * soft-fp/extendsfdf2.c: Likewise.
10412         * soft-fp/extendsftf2.c: Likewise.
10413         * soft-fp/extendxftf2.c: Likewise.
10414         * soft-fp/fixdfdi.c: Likewise.
10415         * soft-fp/fixdfsi.c: Likewise.
10416         * soft-fp/fixdfti.c: Likewise.
10417         * soft-fp/fixsfdi.c: Likewise.
10418         * soft-fp/fixsfsi.c: Likewise.
10419         * soft-fp/fixsfti.c: Likewise.
10420         * soft-fp/fixtfdi.c: Likewise.
10421         * soft-fp/fixtfsi.c: Likewise.
10422         * soft-fp/fixtfti.c: Likewise.
10423         * soft-fp/fixunsdfdi.c: Likewise.
10424         * soft-fp/fixunsdfsi.c: Likewise.
10425         * soft-fp/fixunsdfti.c: Likewise.
10426         * soft-fp/fixunssfdi.c: Likewise.
10427         * soft-fp/fixunssfsi.c: Likewise.
10428         * soft-fp/fixunssfti.c: Likewise.
10429         * soft-fp/fixunstfdi.c: Likewise.
10430         * soft-fp/fixunstfsi.c: Likewise.
10431         * soft-fp/fixunstfti.c: Likewise.
10432         * soft-fp/floatdidf.c: Likewise.
10433         * soft-fp/floatdisf.c: Likewise.
10434         * soft-fp/floatditf.c: Likewise.
10435         * soft-fp/floatsidf.c: Likewise.
10436         * soft-fp/floatsisf.c: Likewise.
10437         * soft-fp/floatsitf.c: Likewise.
10438         * soft-fp/floattidf.c: Likewise.
10439         * soft-fp/floattisf.c: Likewise.
10440         * soft-fp/floattitf.c: Likewise.
10441         * soft-fp/floatundidf.c: Likewise.
10442         * soft-fp/floatundisf.c: Likewise.
10443         * soft-fp/floatunsidf.c: Likewise.
10444         * soft-fp/floatunsisf.c: Likewise.
10445         * soft-fp/floatuntidf.c: Likewise.
10446         * soft-fp/floatuntisf.c: Likewise.
10447         * soft-fp/floatuntitf.c: Likewise.
10448         * soft-fp/fmadf4.c: Likewise.
10449         * soft-fp/fmasf4.c: Likewise.
10450         * soft-fp/fmatf4.c: Likewise.
10451         * soft-fp/gedf2.c: Likewise.
10452         * soft-fp/gesf2.c: Likewise.
10453         * soft-fp/getf2.c: Likewise.
10454         * soft-fp/ledf2.c: Likewise.
10455         * soft-fp/lesf2.c: Likewise.
10456         * soft-fp/letf2.c: Likewise.
10457         * soft-fp/muldf3.c: Likewise.
10458         * soft-fp/mulsf3.c: Likewise.
10459         * soft-fp/multf3.c: Likewise.
10460         * soft-fp/negdf2.c: Likewise.
10461         * soft-fp/negsf2.c: Likewise.
10462         * soft-fp/negtf2.c: Likewise.
10463         * soft-fp/op-1.h: Likewise.
10464         * soft-fp/op-2.h: Likewise.
10465         * soft-fp/op-4.h: Likewise.
10466         * soft-fp/op-8.h: Likewise.
10467         * soft-fp/op-common.h: Likewise.
10468         * soft-fp/quad.h: Likewise.
10469         * soft-fp/single.h: Likewise.
10470         * soft-fp/soft-fp.h: Likewise.
10471         * soft-fp/sqrtdf2.c: Likewise.
10472         * soft-fp/sqrtsf2.c: Likewise.
10473         * soft-fp/sqrttf2.c: Likewise.
10474         * soft-fp/subdf3.c: Likewise.
10475         * soft-fp/subsf3.c: Likewise.
10476         * soft-fp/subtf3.c: Likewise.
10477         * soft-fp/truncdfsf2.c: Likewise.
10478         * soft-fp/trunctfdf2.c: Likewise.
10479         * soft-fp/trunctfsf2.c: Likewise.
10480         * soft-fp/trunctfxf2.c: Likewise.
10481         * soft-fp/unorddf2.c: Likewise.
10482         * soft-fp/unordsf2.c: Likewise.
10483         * soft-fp/unordtf2.c: Likewise.
10485 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10487         [BZ #15672]
10488         * misc/error.c (error_tail): Fix possible buffer overflow.
10490 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10492         [BZ #13028]
10493         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10494         address.
10496 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10498         [BZ #832]
10499         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10500         testing pipefail option.
10502 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10504         * soft-fp/double.h: Indent preprocessor directives inside #if.
10505         * soft-fp/extended.h: Likewise.
10506         * soft-fp/op-2.h: Likewise.
10507         * soft-fp/op-4.h: Likewise.
10508         * soft-fp/op-common.h: Likewise.
10509         * soft-fp/quad.h: Likewise.
10510         * soft-fp/single.h: Likewise.
10511         * soft-fp/soft-fp.h: Likewise.
10513 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10515         * iconv/iconv_prog.c: Fix typos.
10516         * stdio-common/psiginfo-data.h: Likewise.
10518 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10520         [BZ #15764]
10521         * locale/setlocale.c: Fix typo.
10523 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10525         [BZ #16036]
10526         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10527         signaling NaN arguments.
10528         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10529         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10531         [BZ #14910]
10532         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10533         unordered operands.
10534         * soft-fp/gesf2.c (__gesf2): Likewise.
10535         * soft-fp/getf2.c (__getf2): Likewise.
10536         * soft-fp/ledf2.c (__ledf2): Likewise.
10537         * soft-fp/lesf2.c (__lesf2): Likewise.
10538         * soft-fp/letf2.c (__letf2): Likewise.
10540         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10541         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10542         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10543         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10544         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10545         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10546         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10547         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10548         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10549         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10550         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10551         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10552         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10553         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10554         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10555         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10556         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10557         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10558         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10559         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10560         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10561         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10562         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10563         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10564         * soft-fp/floattidf.c (__floattidf): Likewise.
10565         * soft-fp/floattisf.c (__floattisf): Likewise.
10566         * soft-fp/floattitf.c (__floattitf): Likewise.
10567         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10568         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10569         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10570         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10571         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10572         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10573         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10574         * soft-fp/gesf2.c (__gesf2): Likewise.
10575         * soft-fp/getf2.c (__getf2): Likewise.
10576         * soft-fp/ledf2.c (__ledf2): Likewise.
10577         * soft-fp/lesf2.c (__lesf2): Likewise.
10578         * soft-fp/letf2.c (__letf2): Likewise.
10580         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10581         Undefine and redefine.
10582         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10583         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10584         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10585         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10586         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10587         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10588         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10589         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10590         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10591         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10592         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10593         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10594         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10595         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10596         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10598         [BZ #16032]
10599         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10600         without decrementing exponent if mantissa >= that for the
10601         denominator, not >.
10602         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10603         denominator, not >.  Decrement exponent in < case instead of
10604         incrementing in >= case.
10605         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10606         without decrementing exponent if mantissa >= that for the
10607         denominator, not >.
10609         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10610         computing saturated result for unsigned overflow.
10612 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10613             Jeff Law  <law@redhat.com>
10615         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10616         (atan2Mp): Add systemtap probe marker.
10617         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10618         (__ieee754_log): Add systemtap probe marker.
10619         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10620         (atanMp): Add systemtap probe marker.
10621         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10622         (tanMp): Add systemtap probe marker.
10623         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10624         (__slowexp): Add systemtap probe marker.
10625         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10626         (__slowpow): Add systemtap probe marker.
10627         * manual/probes.texi: Document probes.
10629 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10631         [BZ #15362]
10632         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10633         written.
10634         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10635         written.
10636         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10637         written to buffer but not flushed.
10638         * libio/iofwrite_u.c:  Likewise.
10639         * libio/iopadn.c:  Return bytes returned even if EOF was
10640         encountered.
10641         * libio/iowpadn.c:  Likewise.
10642         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10643         if _IO_padn does not write the whole buffer.
10644         [!COMPILE_WPRINTF] (PAD): Likewise.
10646 2013-10-10  David S. Miller  <davem@davemloft.net>
10648         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10649         directory block.
10651 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10653         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10654         instead of FSF address.
10655         * soft-fp/fixdfti.c: Likewise.
10656         * soft-fp/fixsfti.c: Likewise.
10657         * soft-fp/fixtfti.c: Likewise.
10658         * soft-fp/fixunsdfti.c: Likewise.
10659         * soft-fp/fixunssfti.c: Likewise.
10660         * soft-fp/fixunstfti.c: Likewise.
10661         * soft-fp/floattidf.c: Likewise.
10662         * soft-fp/floattisf.c: Likewise.
10663         * soft-fp/floattitf.c: Likewise.
10664         * soft-fp/floatuntidf.c: Likewise.
10665         * soft-fp/floatuntisf.c: Likewise.
10666         * soft-fp/floatuntitf.c: Likewise.
10667         * soft-fp/trunctfxf2.c: Likewise.
10669         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10670         * soft-fp/fixdfti.c: Likewise.
10671         * soft-fp/fixsfti.c: Likewise.
10672         * soft-fp/fixtfti.c: Likewise.
10673         * soft-fp/fixunsdfti.c: Likewise.
10674         * soft-fp/fixunssfti.c: Likewise.
10675         * soft-fp/fixunstfti.c: Likewise.
10676         * soft-fp/floattidf.c: Likewise.
10677         * soft-fp/floattisf.c: Likewise.
10678         * soft-fp/floattitf.c: Likewise.
10679         * soft-fp/floatuntidf.c: Likewise.
10680         * soft-fp/floatuntisf.c: Likewise.
10681         * soft-fp/floatuntitf.c: Likewise.
10682         * soft-fp/trunctfxf2.c: Likewise.
10684 2013-10-10  David S. Miller  <davem@davemloft.net>
10686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10688 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10690         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10691         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10692         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10693         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10694         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10695         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10696         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10698         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10699         for NaNs before doing comparisons on argument.
10700         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10701         Likewise.
10703 2013-10-10  Will Newton  <will.newton@linaro.org>
10705         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10706         passed to _int_memalign does not overflow.
10708 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10710         * scripts/bench.pl: Add include-sources directive.
10711         * benchtests/README: Update documentation.
10713 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10715         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10716         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10717         instead of FP_INIT_ROUNDMODE.
10718         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10719         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10721         [BZ #16034]
10722         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10723         copy class of input value.
10724         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10725         not handle exceptions.
10726         * soft-fp/negsf2.c (__negsf2): Likewise.
10727         * soft-fp/negtf2.c (__negtf2): Likewise.
10728         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10730 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10732         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10733         semicolon.  From Linux kernel.
10735 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10737         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10739 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10741         [BZ #156]
10742         * manual/socket.texi: Added statement about buffer
10743         for gethostbyname2_r.
10745 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10747         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10748         Use .p2align directive instead, throughout.
10749         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10750         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10751         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10752         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10753         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10754         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10755         * sysdeps/x86_64/strchr.S: Likewise.
10756         * sysdeps/x86_64/strrchr.S: Likewise.
10758 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10760         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10762         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10764         * sysdeps/generic/math_private.h (__mpsin1): Remove
10765         declaration.
10766         (__mpcos1): Likewise.
10767         (__mpsin): New argument __range_reduce.
10768         (__mpcos): Likewise.
10769         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10770         (slow): Use __mpsin and __mpcos.
10771         (slow1): Likewise.
10772         (slow2): Likewise.
10773         (sloww): Likewise.
10774         (sloww1): Likewise.
10775         (sloww2): Likewise.
10776         (bsloww): Likewise.
10777         (bsloww1): Likewise.
10778         (bsloww2): Likewise.
10779         (cslow2): Likewise.
10780         (csloww): Likewise.
10781         (csloww1): Likewise.
10782         (csloww2): Likewise.
10783         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10784         range_reduce.  Merge in __mpsin1.
10785         (__mpcos): Likewise.
10786         (__mpsin1): Remove.
10787         (__mpcos1): Likewise.
10789 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10791         * locale/loadlocale.c (_nl_intern_locale_data): Use
10792         LOCFILE_ALIGNED_P.
10793         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10794         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10795         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10796         obstack data is appropriately aligned.
10797         (obstack_int32_grow_fast): Likewise.
10798         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10799         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10800         (add_locale_uint32_array): Likewise.
10802 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10804         * benchtests/Makefile: Remove ARGLIST and RET variables.
10805         ($(objpfx)bench-%.c): Pass only function name to the script.
10806         * benchtests/README: Update documentation.
10807         * benchtests/acos-inputs: Add new directives.
10808         * benchtests/acosh-inputs: Likewise.
10809         * benchtests/asin-inputs: Likewise.
10810         * benchtests/asinh-inputs: Likewise.
10811         * benchtests/atan-inputs: Likewise.
10812         * benchtests/atanh-inputs: Likewise.
10813         * benchtests/cos-inputs: Likewise.
10814         * benchtests/cosh-inputs: Likewise.
10815         * benchtests/exp-inputs: Likewise.
10816         * benchtests/log-inputs: Likewise.
10817         * benchtests/pow-inputs: Likewise.
10818         * benchtests/rint-inputs: Likewise.
10819         * benchtests/sin-inputs: Likewise.
10820         * benchtests/sinh-inputs: Likewise.
10821         * benchtests/tan-inputs: Likewise.
10822         * benchtests/tanh-inputs: Likewise.
10823         * scripts/bench.pl: Add support for new directives.
10825 2013-10-07  Alan Modra  <amodra@gmail.com>
10827         * README: Fix careless merge.
10829 2013-10-05  Alan Modra  <amodra@gmail.com>
10831         * NEWS: Mention powerpc64le support and bugs fixed.
10832         * README: Both big-endian and little-endian powerpc64 supported.
10834 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10836         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10837         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10838         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10839         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10841 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10843         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10844         match prototype.
10846 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10848         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10849         Move -mhard-float appending from
10850         ports/sysdeps/powerpc/powerpc32/Makefile.
10851         [$(with-fp) = yes] (ASFLAGS): Likewise.
10852         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10853         * sysdeps/powerpc/nofpu: Move directory from
10854         ports/sysdeps/powerpc/nofpu.
10855         * sysdeps/powerpc/soft-fp: Move directory from
10856         ports/sysdeps/powerpc/soft-fp.
10857         * sysdeps/powerpc/powerpc32/405: Move directory from
10858         ports/sysdeps/powerpc/powerpc32/405.
10859         * sysdeps/powerpc/powerpc32/440: Move directory from
10860         ports/sysdeps/powerpc/powerpc32/440.
10861         * sysdeps/powerpc/powerpc32/464: Move directory from
10862         ports/sysdeps/powerpc/powerpc32/464.
10863         * sysdeps/powerpc/powerpc32/476: Move directory from
10864         ports/sysdeps/powerpc/powerpc32/476.
10865         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10866         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10867         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10868         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10870         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
10871         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
10872         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
10873         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
10874         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
10875         * README: Update for powerpc-*-linux-gnu software floating point
10876         support in libc.
10878         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
10879         case to powerpc/powerpc32*.
10880         * sysdeps/unix/sysv/linux/configure: Regenerated.
10882         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
10883         (_FPU_MASK_OM): Define as 0x04.
10884         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
10885         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
10886         0x00c10080.
10887         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
10888         0x0000003c.
10889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
10891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
10892         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10893         getcontext_e500.
10894         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
10895         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
10896         setcontext_e500.
10897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
10898         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
10899         and setcontext_e500.
10901 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
10903         * locale/iso-3166.def: Update iso-1366.def and related occurrences
10905 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
10907         * manual/threads.texi (Default Thread Attributes): Fix typo.
10909 2013-10-04  Will Newton  <will.newton@linaro.org>
10911         * malloc/Makefile: Add tst-memalign.
10912         * malloc/tst-memalign.c: New file.
10914         * malloc/tst-posix_memalign.c: Add comments.
10915         (do_test): Add comments and call free on all potentially
10916         allocated pointers. Add space after cast.
10918         * malloc/tst-pvalloc.c: Add comments.
10919         (do_test): Add comments and call free on all potentially
10920         allocated pointers. Remove duplicate check for NULL pointer.
10921         Add space after cast.
10923         * malloc/tst-valloc.c: Add comments.
10924         (do_test): Add comments and call free on all potentially
10925         allocated pointers. Remove duplicate check for NULL pointer.
10926         Add space after cast.
10928 2013-10-04  Alan Modra  <amodra@gmail.com>
10930         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10931         Use stdint types in rather than __attribute__((mode())).
10932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10934 2013-10-04  Alan Modra  <amodra@gmail.com>
10936         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
10937         Correct handling of unaligned relocs for little-endian.
10938         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
10940 2013-10-04  Alan Modra  <amodra@gmail.com>
10942         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
10943         * configure: Regenerate.
10944         * nptl/shlib-versions: Powerpc*le starts at 2.18.
10945         * shlib-versions: Likewise.
10947 2013-10-04  Alan Modra  <amodra@gmail.com>
10949         * string/tester.c (test_memrchr): Increment reported test cycle.
10951 2013-10-04  Alan Modra  <amodra@gmail.com>
10953         * string/test-memcpy.c (do_one_test): When reporting errors, print
10954         string address and don't overrun end of string.
10956 2013-10-04  Alan Modra  <amodra@gmail.com>
10958         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
10959         insrdi.  Make better use of reg selection to speed exit slightly.
10960         Schedule entry path a little better.  Remove useless "are we done"
10961         checks on entry to main loop.  Handle wrapping around zero address.
10962         Correct main loop count.  Handle single left-over word from main
10963         loop inline rather than by using loop_small.  Remove extra word
10964         case in loop_small caused by wrong loop count.  Add little-endian
10965         support.
10966         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
10967         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
10968         cache hint.
10969         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
10970         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
10971         support.  Avoid rlwimi.
10972         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
10974 2013-10-04  Alan Modra  <amodra@gmail.com>
10976         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
10977         insrdi.  Formatting.
10978         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
10979         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
10980         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
10981         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
10982         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
10983         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
10985 2013-10-04  Alan Modra  <amodra@gmail.com>
10987         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
10988         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
10989         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
10990         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
10991         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
10992         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
10993         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
10994         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
10995         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
10996         use of regs.  Use power7 mtocrf.  Tidy function tails.
10998 2013-10-04  Alan Modra  <amodra@gmail.com>
11000         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11001         Formatting.  Consistently use rXXX register defines or rN defines.
11002         Use early exit labels that avoid restoring unused non-volatile regs.
11003         Make cr field use more consistent with rWORDn compares.  Rename
11004         regs used as shift registers for unaligned loop, using rN defines
11005         for short lifetime/multiple use regs.
11006         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11007         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11008         addi 1,1,64 to pop stack frame.  Simplify return value code.
11009         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11011 2013-10-04  Alan Modra  <amodra@gmail.com>
11013         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11014         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11015         rather than rlwimi.
11016         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11017         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11018         little-endian support.  Correct typos.
11019         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11020         rather than rlwimi.
11021         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11022         in loop and entry code to keep "and." results.
11023         (strchr): Add little-endian support.  Comment.  Move cntlzd
11024         earlier in tail.
11025         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11027 2013-10-04  Alan Modra  <amodra@gmail.com>
11029         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11030         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11031         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11032         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11034 2013-10-04  Alan Modra  <amodra@gmail.com>
11036         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11037         (rTMP): Define as r11.
11038         (strcmp): Add little-endian support.  Optimise tail.
11039         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11040         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11041         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11042         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11043         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11044         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11045         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11047 2013-10-04  Alan Modra  <amodra@gmail.com>
11049         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11050         little-endian support.  Remove unnecessary "are we done" tests.
11051         Handle "s" wrapping around zero and extremely large "size".
11052         Correct main loop count.  Handle single left-over word from main
11053         loop inline rather than by using small_loop.  Correct comments.
11054         Delete "zero" tail, use "end_max" instead.
11055         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11057 2013-10-04  Alan Modra  <amodra@gmail.com>
11059         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11060         support.  Don't branch over align.
11061         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11062         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11063         support.  Rearrange tmp reg use to suit.  Comment.
11064         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11066 2013-10-04  Alan Modra  <amodra@gmail.com>
11068         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11070 2013-10-04  Alan Modra  <amodra@gmail.com>
11072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11073         conditional form of branch and link when obtaining pc.
11074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11076 2013-10-04  Alan Modra  <amodra@gmail.com>
11078         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11079         HIWORD/LOWORD.
11080         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11083 2013-10-04  Alan Modra  <amodra@gmail.com>
11085         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11086         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11087         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11088         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11089         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11090         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11091         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11092         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11093         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11094         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11096 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11097             Alistair Popple <alistair@ozlabs.au.ibm.com>
11098             Alan Modra <amodra@gmail.com>
11100         [BZ #15723]
11101         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11102         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11103         _dl_hwcap access for little-endian.
11104         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11105         destroy vmx regs when saving unaligned.
11106         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11107         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11108         destroy vmx regs when saving unaligned.
11110 2013-10-04  Alan Modra  <amodra@gmail.com>
11112         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11113         Don't use a union to pack hi/low value.
11115 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11117         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11118         for little-endian.
11119         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11120         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11121         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11122         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11123         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11125 2013-10-04  Alan Modra  <amodra@gmail.com>
11127         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11128         constants to usual value for .cst8 section, and remove redundant
11129         high address load.
11130         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11131         constant for 0x1p52.  Load little-endian words of double from
11132         correct stack offsets.
11134 2013-10-04  Alan Modra  <amodra@gmail.com>
11136         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11137         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11138         words of double from correct stack offsets.
11139         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11140         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11141         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11142         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11143         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11144         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11145         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11146         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11147         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11148         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11149         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11150         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11151         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11152         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11153         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11154         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11155         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11157 2013-10-04  Alan Modra  <amodra@gmail.com>
11159         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11160         64-bit int/double union.
11161         (_FPU_SETCW): Likewise.
11162         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11163         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11165 2013-10-04  Alan Modra  <amodra@gmail.com>
11167         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11168         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11170 2013-10-04  Alan Modra  <amodra@gmail.com>
11172         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11173         use vector int constants.
11174         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11176 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11178         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11179         array with long long.
11180         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11181         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11182         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11183         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11184         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11185         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11186         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11187         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11188         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11189         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11190         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11191         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11192         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11194 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11196         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11197         (__signbit): Likewise.  Correct for little-endian.
11198         (__signbitl): Call __signbit.
11199         (lrint): Correct for little-endian.
11200         (lrintf): Call lrint.
11202 2013-10-04  Alan Modra  <amodra@gmail.com>
11204         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11205         union 32-bit int array member with 64-bit int array.
11206         (t515, tm256): Double rather than long double.
11207         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11209 2013-10-04  Alan Modra  <amodra@gmail.com>
11211         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11212         Delete.
11213         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11214         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11215         version of math_ldbl.h.
11217 2013-10-04  Alan Modra  <amodra@gmail.com>
11219         [BZ #15734], [BZ #15735]
11220         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11221         all uses of ieee875 long double macros and unions.  Simplify test
11222         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11223         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11224         normalize after ldbl_extract_mantissa, and don't add hidden bit
11225         already handled.  Don't treat low word of ieee854 mantissa like
11226         low word of IBM long double and mask off bit when testing for
11227         zero.
11228         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11229         all uses of ieee875 long double macros and unions.  Simplify tests
11230         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11231         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11232         two1022, instead use their values.  Recognise that tests for large
11233         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11234         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11235         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11236         test for 0.0L and nan.  Correct negation.
11237         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11238         ieee875 long double macros and unions.  Correct output for large
11239         magnitude x.  Correct absolute value calculation.
11240         (__erfcl): Likewise.
11241         * math/libm-test.inc: Add tests for errors discovered in IBM long
11242         double versions of fmodl, remainderl, erfl and erfcl.
11244 2013-10-04  Alan Modra  <amodra@gmail.com>
11246         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11247         all uses of ieee854 long double macros and unions.  Simplify tests
11248         for long doubles that are fully specified by the high double.
11249         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11250         Likewise.
11251         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11252         Remove dead code too.
11253         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11254         (__ieee754_ynl): Likewise.
11255         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11256         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11257         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11258         Remove dead code too.
11259         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11260         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11261         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11262         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11263         Simplify.
11264         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11265         Simplify.
11266         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11267         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11268         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11269         Comment on variable precision.
11270         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11271         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11272         Likewise.
11273         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11274         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11275         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11276         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11277         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11279 2013-10-04  Alan Modra  <amodra@gmail.com>
11281         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11283         all uses of ieee854 long double macros and unions.
11284         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11285         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11286         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11287         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11288         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11289         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11290         Likewise.
11291         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11292         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11293         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11294         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11295         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11296         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11297         Simplify sign and nan test too.
11298         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11299         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11300         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11301         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11302         Likewise.
11303         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11304         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11305         Likewise.
11306         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11307         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11308         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11309         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11310         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11311         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11313 2013-10-04  Alan Modra  <amodra@gmail.com>
11315         * stdio-common/printf_size.c (__printf_size): Don't use
11316         union ieee854_long_double in fpnum union.
11317         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11318         signbit macro to retrieve sign from long double.
11319         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11320         retrieve sign from long double.
11321         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11322         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11323         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11324         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11325         * math/test-misc.c (main): Don't use union ieee854_long_double.
11327 2013-10-04  Alan Modra  <amodra@gmail.com>
11329         [BZ #15680]
11330         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11331         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11332         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11333         calculation.  Remove unnecessary test for denormal exponent.
11334         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11335         Correct handling of denormals.  Avoid undefined shift behaviour.
11336         Correct normalisation of low mantissa when low double is denormal.
11337         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11338         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11339         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11340         Correct normalisation of low mantissa.  Test for overflow of high
11341         mantissa and normalise.
11342         (ldbl_nearbyint): Use more readable constant for two52.
11343         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11344         (__mpn_construct_long_double): Fix test for overflow of high
11345         mantissa and correct normalisation.  Avoid undefined shift.
11347 2013-10-04  Alan Modra  <amodra@gmail.com>
11349         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11350         (union ibm_extended_long_double): Define as an array of ieee754_double.
11351         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11352         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11353         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11354         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11355         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11356         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11357         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11358         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11359         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11360         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11361         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11363 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11365         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11366         page size instead of calling getpagesize.
11368         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11369         (LOCFILE_ALIGN_MASK): Likewise.
11370         (LOCFILE_ALIGN_UP): Likewise.
11371         (LOCFILE_ALIGNED_P): Likewise.
11372         * locale/programs/ld-collate.c (collate_output): Use the new
11373         macros instead of __alignof__ (int32_t).
11374         * locale/weight.h (findidx): Likewise.
11376 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11378         [BZ #431]
11379         * manual/string.texi: Fix strncat and wcsncat.
11381 2013-10-03  Brooks Moses  <bmoses@google.com>
11383         [BZ #15915]
11384         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11385         * Makerules: ...here, and adjust associated comments.
11387 2013-10-02  Will Newton  <will.newton@linaro.org>
11389         * malloc/Makefile: Add tst-pvalloc.
11390         * malloc/tst-pvalloc.c: New file.
11392 2013-10-02  Will Newton  <will.newton@linaro.org>
11394         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11395         improve test coverage.
11397 2013-10-02  Will Newton  <will.newton@linaro.org>
11399         * malloc/Makefile: Add tst-posix_memalign.
11400         * malloc/tst-posix_memalign.c: New file.
11402 2013-10-01  Eric Blake  <eblake@redhat.com>
11404         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11405         Use __THROWNL rather than __THROW on static functions.
11407 2013-09-30  Petr Machata  <pmachata@redhat.com>
11409         * elf/elf.h (R_AARCH64_ABS16): New macro.
11410         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11411         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11412         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11413         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11414         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11415         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11416         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11417         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11418         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11419         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11420         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11421         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11422         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11423         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11424         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11425         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11426         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11427         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11428         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11429         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11430         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11431         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11432         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11433         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11434         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11435         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11436         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11437         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11438         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11439         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11440         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11441         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11442         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11443         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11444         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11445         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11446         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11447         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11448         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11449         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11450         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11451         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11452         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11453         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11454         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11455         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11456         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11457         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11458         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11459         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11460         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11461         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11462         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11463         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11464         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11465         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11466         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11467         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11468         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11469         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11470         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11471         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11472         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11473         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11474         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11475         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11476         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11477         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11478         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11479         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11480         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11481         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11482         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11483         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11484         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11485         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11486         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11487         (R_AARCH64_TLSDESC_LDR): Likewise.
11488         (R_AARCH64_TLSDESC_ADD): Likewise.
11489         (R_AARCH64_TLSDESC_CALL): Likewise.
11491 2013-09-30  Andreas Schwab  <schwab@suse.de>
11493         [BZ #15048]
11494         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11495         the nss database lookup.
11496         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11497         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11499 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11501         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11503 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11505         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11506         ${Bash-specific parameter/pattern/string} parameter expansion.
11507         * sysdeps/unix/make-syscalls.sh: Likewise.
11509 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11511         * sysdeps/sh/stackguard-macros.h: New file.
11513 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11515         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11516         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11517         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11518         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11519         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11520         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11522 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11524         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11525         Fix thread ID register.
11527 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11529         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11530         [POSIX || UNIX98]: Require rather than permitting all symbols from
11531         <time.h>.
11532         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11533         element of struct sched_param.
11534         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11535         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11536         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11537         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11538         constant.
11540 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11542         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11543         argument calculation.
11545 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11547         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11548         Expect macro.
11549         [POSIX] (pthread_attr_t): Do not require type.
11550         [POSIX] (pthread_cond_t): Likewise.
11551         [POSIX] (pthread_condattr_t): Likewise.
11552         [POSIX] (pthread_key_t): Likewise.
11553         [POSIX] (pthread_mutex_t): Likewise.
11554         [POSIX] (pthread_mutexattr_t): Likewise.
11555         [POSIX] (pthread_once_t): Likewise.
11556         [POSIX] (pthread_t): Likewise.
11557         [POSIX-based standards] (pthread_atfork): Expect function.
11559 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11560             Richard Sandiford  <richard@codesourcery.com>
11562         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11563         (swap_endianness_p): New extern variable.
11564         (set_big_endian): New inline function.
11565         (maybe_swap_uint32): Likewise.
11566         (maybe_swap_uint32_array): Likewise.
11567         (maybe_swap_uint32_obstack): Likewise.
11568         * locale/programs/locfile.c: Include <stdbool.h>.
11569         (swap_endianness_p): New variable.
11570         (add_locale_uint32): Call maybe_swap_uint32.
11571         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11572         (write_locale_data): Call maybe_swap_uint32_array.
11573         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11574         maybe_swap_uint32.
11575         (obstack_int32_grow_fast): Likewise.
11576         (output_weightwc): Call maybe_swap_uint32_obstack.
11577         (collate_output): Likewise.
11578         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11579         (OPT_LITTLE_ENDIAN): Likewise.
11580         (options): Add --little-endian and --big-endian options.
11581         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11582         * locale/programs/locarchive.c: Include "locfile.h".
11583         (GET): New macro.
11584         (SET): Likewise.
11585         (INC): Likewise.
11586         (create_archive): Use the new macros to access fields of
11587         structures directly mapped from or written to locale archives.
11588         (oldlocrecentcmp): Likewise.
11589         (enlarge_archive): Likewise.
11590         (insert_name): Likewise.
11591         (add_alias): Likewise.
11592         (add_locale): Likewise.
11593         (delete_locales_from_archive): Likewise.
11594         (show_archive_content): Likewise.
11595         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11596         locale data.
11598 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11600         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11601         http://www.gnu.org/doc/freemanuals.texi.
11602         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11604 2013-09-24  Will Newton  <will.newton@linaro.org>
11606         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11607         macro.
11609 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11611         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11612         unsigned char.
11614 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11616         * manual/threads.texi (POSIX Threads): Fix a typo.
11618 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11620         [BZ #14547]
11621         * string/tst-strcoll-overflow.c: New test case.
11622         * string/Makefile (xtests): Add tst-strcoll-overflow.
11623         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11624         cache if string sizes may cause integer overflow.
11626         [BZ #14547]
11627         * string/strcoll_l.c (coll_seq): New members rule, idx,
11628         save_idx and back_us.
11629         (get_next_seq_nocache): New function.
11630         (do_compare_nocache): New function.
11631         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11632         when malloc fails.
11634 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11636         [BZ #15754]
11637         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11638         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11639         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11641         [BZ #15754]
11642         * elf/Makefile (tests): Add tst-ptrguard1.
11643         (tests-static): Add tst-ptrguard1-static.
11644         (tst-ptrguard1-ARGS): Define.
11645         (tst-ptrguard1-static-ARGS): Define.
11646         * elf/tst-ptrguard1.c: New file.
11647         * elf/tst-ptrguard1-static.c: New file.
11648         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11649         * sysdeps/i386/stackguard-macros.h: Likewise.
11650         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11651         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11652         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11653         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11654         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11655         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11657 2013-09-23  Hector Marco  <hecmargi@upv.es>
11658             Ismael Ripoll  <iripoll@disca.upv.es>
11659             Carlos O'Donell  <carlos@redhat.com>
11661         [BZ #15754]
11662         * sysdeps/generic/stackguard-macros.h: Define
11663         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11664         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11665         Define __pointer_chk_guard_local.
11666         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11667         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11669 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11671         [BZ #15859]
11672         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11674 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11676         * include/string.h (__ffs): Declare as hidden.
11677         * string/ffs.c (__ffs): Define as hidden.
11678         * sysdeps/i386/ffs.c (__ffs): Likewise.
11679         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11680         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11681         * sysdeps/s390/ffs.c (__ffs): Likewise.
11682         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11684 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11686         * NEWS: Mention malloc probes.
11688         * malloc/arena.c (new_heap): New memory_heap_new probe.
11689         (grow_heap): New memory_heap_more probe.
11690         (shrink_heap): New memory_heap_less probe.
11691         (heap_trim): New memory_heap_free probe.
11692         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11693         (systrim): New memory_sbrk_less probe.
11694         * manual/probes.texi: Document them.
11696         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11697         * manual/probes.texi: Document it.
11699         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11700         (__libc_realloc): Add memory_realloc_retry probe.
11701         (__libc_memalign): Add memory_memalign_retry probe.
11702         (__libc_valloc): Add memory_valloc_retry probe.
11703         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11704         (__libc_calloc): Add memory_calloc_retry probe.
11705         * manual/probes.texi: Document them.
11707         * malloc/arena.c (get_free_list): Add probe
11708         memory_arena_reuse_free_list.
11709         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11710         and memory_arena_reuse.
11711         (arena_get2) [!PER_THREAD]: Likewise.
11712         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11713         memory_arena_reuse_realloc.
11714         * manual/probes.texi: Document them.
11716         * malloc/malloc.c (__libc_free): Add
11717         memory_mallopt_free_dyn_thresholds probe.
11718         (__libc_mallopt): Add multiple memory_mallopt probes.
11719         * manual/probes.texi: Document them.
11721         * malloc/malloc.c: Include stap-probe.h.
11722         (__libc_mallopt): Add memory_mallopt probe.
11723         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11724         * manual/probes.texi: New.
11725         * manual/Makefile (chapters): Add probes.
11726         * manual/threads.texi: Set next node.
11728 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11730         [BZ #15963, #13985]
11731         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11732         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11733         Add `Chinese' to `nan' entry name.
11735 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11737         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11738         (POLYNOMIAL): Likewise.
11739         (TAYLOR_SINCOS): Likewise.
11740         (TAYLOR_SLOW): Likewise.
11741         (__sin): Use TAYLOR_SINCOS.
11742         (__cos): Likewise.
11743         (slow): Use TAYLOR_SLOW.
11744         (sloww): Likewise.
11745         (bsloww): Likewise.
11746         (csloww): Likewise.
11748 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11750         * stdlib/strtod_l.c: Fix buffer overrun.
11752 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11754         * benchtests/Makefile (bench): Add sincos.
11755         * benchtests/bench-sincos.c: New file.
11757         * math/libm-test.inc (cos_test_data): New test inputs.
11758         (sin_test_data): Likewise.
11760         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11761         macro.
11762         (__sin): Use it.
11763         (__cos): Likewise.
11764         (slow1): Likewise.
11765         (slow2): Likewise.
11766         (sloww1): Likewise.
11767         (sloww2): Likewise.
11768         (bsloww1): Likewise.
11769         (bsloww2): Likewise.
11770         (cslow2): Likewise.
11771         (csloww1): Likewise.
11772         (csloww2): Likewise.
11774         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11775         function.
11776         (__sin): Use it.
11777         (__cos): Likewise.
11779         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11780         gotos.
11781         (__cos): Likewise.
11783 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11785         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11786         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11787         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11788         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11789         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11790         * elf/cache.c (print_entry): Handle the new cache flags.
11792 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11793             Aldy Hernandez  <aldyh@redhat.com>
11795         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11796         Change condition to [_SOFT_FLOAT].
11797         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11798         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11799         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11800         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11801         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11802         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11803         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11804         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11805         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11806         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11807         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11808         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11809         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11810         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11811         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11812         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11813         declaration.
11815 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11817         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11818         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11819         (__longjmp): Use LOAD_GP to load saved GPRs.
11820         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11821         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11822         (__sigsetjmp): Use SAVE_GP to save GPRs.
11824         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11825         Do not append -msoft-float.
11826         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11828 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11830         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11832 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11834         [BZ #15966]
11835         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11836         (_FPU_GETCW): Use initial "__" on variable and field names but not
11837         on macro parameter name.
11838         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11839         parentheses around reference to macro parameter.
11841 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11843         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11844         prototype.
11845         (ctype_startup): Use uint32_t in cast and sizeof for
11846         ctype->charnames.
11848 2013-09-11  Jia Liu  <proljc@gmail.com>
11850         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11851         __daddr_t_defined.
11852         [__FreeBSD__]: Likewise.
11854 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11856         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11857         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11858         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11859         (strchr): Remove __strchr_sse42 ifunc selection.
11860         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11861         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11863 2013-09-11  Will Newton  <will.newton@linaro.org>
11865         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11866         parameter to RES. Remove hardcoded 1000 value.
11867         * benchtests/bench-skeleton.c (main): Pass RES parameter
11868         to TIMING_INIT and multiply result by 1000.
11870 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11872         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11874 2013-09-11  Andreas Schwab  <schwab@suse.de>
11876         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
11877         if not defined.
11878         (O_TMPFILE) [__USE_GNU]: Define.
11879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
11880         Define.
11882 2013-09-11  Will Newton  <will.newton@linaro.org>
11884         [BZ #15857]
11885         * malloc/malloc.c (__libc_memalign): Check the value of bytes
11886         does not overflow.
11888 2013-09-11  Will Newton  <will.newton@linaro.org>
11890         [BZ #15856]
11891         * malloc/malloc.c (__libc_valloc): Check the value of bytes
11892         does not overflow.
11894 2013-09-11  Will Newton  <will.newton@linaro.org>
11896         [BZ #15855]
11897         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
11898         does not overflow.
11900 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
11902         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
11903         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
11904         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
11905         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
11906         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
11908 2013-09-10  Allan McRae  <allan@archlinux.org>
11910         [BZ #15748]
11911         * manual/arith.texi (Parsing of Floats): Clarify
11912         cross-reference.
11914         [BZ #15849]
11915         * manual/install.texi (Running make install): Mention
11916         --enable-pt-chown.
11917         * INSTALL: Regenerated.
11919 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
11921         * csu/init-first.c (_init): Remove the !SHARED condition around
11922         FPU control word initialization.
11923         * elf/dl-support.c (_dl_fpu_control): New variable.
11924         (_dl_aux_init) <AT_FPUCW>: Initialize it.
11925         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
11926         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
11927         * math/test-fpucw-static.c: New file.
11928         * math/test-fpucw-ieee.c: New file.
11929         * math/test-fpucw-ieee-static.c: New file.
11930         * math/Makefile (tests): Add `test-fpucw-ieee' and
11931         `$(tests-static)'.
11932         (tests-static): New variable.
11933         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
11934         dependency to...
11935         [($(build-shared),yes)]
11936         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
11937         ... this.
11938         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
11939         New dependency.
11941 2013-09-09  Allan McRae  <allan@archlinux.org>
11943         [BZ #15939]
11944         * manual/string.texi (Collation Functions): Fix typo in
11945         strcoll example.
11946         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
11948         [BZ #15893]
11949         * stdlib/isomac.c (get_null_defines): Fix memory leak.
11951         [BZ #15892]
11952         * libio/memstream.c (open_memstream): Fix memory leak.
11953         * libio/wmemstream.c (open_wmemstream): Likewise.
11955         [BZ #15895]
11956         * nscd/netgroupcache.c: Fix nesting of ifdefs.
11958 2013-09-09  Will Newton  <will.newton@linaro.org>
11960         * malloc/Makefile: Add tst-realloc to tests.
11961         * malloc/tst-realloc.c: New file.
11963 2013-09-09  Allan McRae  <allan@archlinux.org>
11965         [BZ #15844]
11966         * COPYING: Update from GNU website to fix FSF address.
11967         * COPYING.LIB: Likewise.
11969 2013-09-06  David S. Miller  <davem@davemloft.net>
11971         * po/zh_TW.po: Update Chinese (traditional) translation from
11972         translation project.
11974 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
11975             Joseph Myers  <joseph@codesourcery.com>
11977         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
11978         "localeinfo.h".
11979         (obstack_chunk_alloc): New macro.
11980         (obstack_chunk_free): Likewise.
11981         (record_offset): New function.
11982         (init_locale_data): Likewise.
11983         (align_locale_data): Likewise.
11984         (add_locale_empty): Likewise.
11985         (add_locale_raw_data): Likewise.
11986         (add_locale_raw_obstack): Likewise.
11987         (add_locale_string): Likewise.
11988         (add_locale_wstring): Likewise.
11989         (add_locale_uint32): Likewise.
11990         (add_locale_uint32_array): Likewise.
11991         (add_locale_char): Likewise.
11992         (start_locale_structure): Likewise.
11993         (end_locale_structure): Likewise.
11994         (start_locale_prelude): Likewise.
11995         (end_locale_prelude): Likewise.
11996         (write_locale_data): Take locale_file structure rather than an
11997         iovec.
11998         * locale/programs/locfile.h: Include "obstack.h".
11999         (struct locale_file): Change to store locale file contents instead
12000         of header.
12001         (init_locale_data): New prototype.
12002         (align_locale_data): Likewise.
12003         (add_locale_empty): Likewise.
12004         (add_locale_raw_data): Likewise.
12005         (add_locale_raw_obstack): Likewise.
12006         (add_locale_string): Likewise.
12007         (add_locale_wstring): Likewise.
12008         (add_locale_uint32): Likewise.
12009         (add_locale_uint32_array): Likewise.
12010         (add_locale_char): Likewise.
12011         (start_locale_structure): Likewise.
12012         (end_locale_structure): Likewise.
12013         (start_locale_prelude): Likewise.
12014         (end_locale_prelude): Likewise.
12015         (write_locale_data): Update prototype.
12016         * locale/programs/3level.h (struct TABLE): Remove result field.
12017         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12018         Use new locale_file interface.
12019         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12020         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12021         * locale/programs/ld-address.c (address_output): Use new
12022         locale_file interface.
12023         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12024         NO_ADD_LOCALE.
12025         (collate_finish): Don't call collseq_table_finalize.
12026         (collate_output): Use new locale_file interface.
12027         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12028         in file.
12029         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12030         (TABLE): Move defines earlier in file.
12031         (ELEMENT): Likewise.
12032         (DEFAULT): Likewise.
12033         (wctrans_table_add): Move macro and inline function earlier in
12034         file.
12035         (struct wctype_table): Move type earlier in file.
12036         (add_locale_wctype_table): New static prototype.
12037         (struct locale_ctype_t): Use logical types instead of struct iovec
12038         pointers for members.
12039         (ctype_output): Use new locale_file interface.
12040         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12041         new locale_file interface.
12042         (allocate_arrays): Update for use of new locale_file interface.
12043         * locale/programs/ld-identification.c (identification_output): Use
12044         new locale_file interface.
12045         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12046         * locale/programs/ld-messages.c (messages_output): Likewise.
12047         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12048         * locale/programs/ld-name.c (name_output): Likewise.
12049         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12050         * locale/programs/ld-paper.c (paper_output): Likewise.
12051         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12052         * locale/programs/ld-time.c (time_output): Likewise.
12054 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12056         * benchtests/Makefile: Add memrchr benchmark.
12057         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12058         benchmark as memrchr.
12059         * benchtests/bench-memrchr-ifunc.c: New file.
12060         * benchtests/bench-memrchr.c: New file.
12062 2013-09-06   Will Newton  <will.newton@linaro.org>
12064         * benchtests/Makefile (string-bench): Add memcpy.
12066 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12067             Cong Wang  <amwang@redhat.com>
12069         [BZ #15850]
12070         * sysdeps/unix/sysv/linux/bits/in.h
12071         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12072         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12073         before __USE_KERNEL_IPV6_DEFS uses.
12074         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12075         IPPROTO_BEETPH.
12076         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12077         sockaddr_in6, or ipv6_mreq.
12079 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12081         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12082         memory access for final bytes in some large inputs.
12083         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12085 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12087         * string/test-memrchr.c: New file.
12088         * string/test-memrchr-ifunc.c: New file.
12089         * string/Makefile: Add new memrchr testcase.
12091 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12093         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12094         fanotify_init returns EPERM.
12096 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12098         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12099         errors.
12100         (top level): Treat second token from macro or constant entries for
12101         allowed headers as allowed.
12102         * include/complex.h: Condition internal declarations on
12103         [!_ISOMAC].
12104         * include/fenv.h: Condition include of <stdbool.h> and internal
12105         declarations on [!_ISOMAC].
12107 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12109         [BZ #15923]
12110         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12112 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12114         * configure.in (--enable-versioning): Remove configure option.
12115         (libc_cv_asm_symver_directive): Remove configure test.
12116         (libc_cv_ld_version_script_option): Likewise.
12117         (VERSIONING): Remove variable and AC_SUBST.
12118         (DO_VERSIONING): Remove AC_DEFINE.
12119         * configure: Regenerated.
12120         * config.h.in (DO_VERSIONING): Remove macro.
12121         * Makerules [$(versioning) = yes]: Change conditionals to
12122         [$(build-shared) = yes].
12123         * config.make.in (versioning): Remove variable.
12124         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12125         [$(build-shared) = yes].
12126         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12127         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12128         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12129         [$(build-shared) = yes].
12130         * extra-lib.mk [$(versioning) = yes]: Likewise.
12131         * hurd/Makefile [$(versioning) = yes]: Likewise.
12132         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12133         [SHARED].
12134         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12135         [SHARED].
12136         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12137         [SHARED && !NO_HIDDEN].
12138         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12139         [SHARED].
12140         [SHARED && DO_VERSIONING]: Likewise..
12141         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12142         [$(build-shared) = yes].
12143         * manual/install.texi (--disable-versioning): Remove
12144         documentation.
12145         * INSTALL: Regenerated.
12146         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12147         to [SHARED].
12148         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12149         [$(build-shared) = yes].
12150         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12151         * sysdeps/i386/i686/multiarch/strstr-c.c
12152         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12153         [SHARED && !NO_HIDDEN].
12154         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12155         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12156         * sysdeps/powerpc/powerpc32/dl-machine.c
12157         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12158         * sysdeps/powerpc/powerpc32/sysdep.h
12159         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12160         to [SHARED && PIC && !NO_HIDDEN].
12161         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12162         conditional to [SHARED].
12164 2013-09-04   Will Newton  <will.newton@linaro.org>
12166         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12167         * benchtests/bench-string.h: Include bench-timing.h instead
12168         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12169         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12170         call to HP_TIMING_DIFF_INIT.
12171         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12172         instead of hp-timing.h macros.
12173         * benchtests/bench-memchr.c: Likewise.
12174         * benchtests/bench-memcmp.c: Likewise.
12175         * benchtests/bench-memcpy.c: Likewise.
12176         * benchtests/bench-memmem.c: Likewise.
12177         * benchtests/bench-memmove.c: Likewise.
12178         * benchtests/bench-memset.c: Likewise.
12179         * benchtests/bench-rawmemchr.c: Likewise.
12180         * benchtests/bench-strcasecmp.c: Likewise.
12181         * benchtests/bench-strcasestr.c: Likewise.
12182         * benchtests/bench-strcat.c: Likewise.
12183         * benchtests/bench-strchr.c: Likewise.
12184         * benchtests/bench-strcmp.c: Likewise.
12185         * benchtests/bench-strcpy.c: Likewise.
12186         * benchtests/bench-strcpy_chk.c: Likewise.
12187         * benchtests/bench-strlen.c: Likewise.
12188         * benchtests/bench-strncasecmp.c: Likewise.
12189         * benchtests/bench-strncat.c: Likewise.
12190         * benchtests/bench-strncmp.c: Likewise.
12191         * benchtests/bench-strncpy.c: Likewise.
12192         * benchtests/bench-strnlen.c: Likewise.
12193         * benchtests/bench-strpbrk.c: Likewise.
12194         * benchtests/bench-strrchr.c: Likewise.
12195         * benchtests/bench-strspn.c: Likewise.
12196         * benchtests/bench-strstr.c: Likewise.
12198 2013-09-04  Will Newton  <will.newton@linaro.org>
12200         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12202 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12204         [BZ #15427]
12205         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12206         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12207         * math/libm-test.inc (lgamma_test_data): Add more tests.
12208         * sysdeps/i386/fpu/libm-test-ulps: Update.
12209         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12211 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12213         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12214         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12215         Add ifunc.
12216         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12217         Add strcmp-sse2-unaligned
12218         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12220 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12222         * Versions.def (libc): Add GLIBC_2.19.
12224 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12226         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12227         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12229 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12231         [BZ #14155]
12232         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12233         intermediate calculations in recurrence.
12234         (__ieee754_ynf): Likewise.
12235         * math/libm-test.inc (jn_test_data): Do not allow spurious
12236         underflow exception.  Add more tests.
12237         (yn_test_data): Add more tests.
12238         * sysdeps/i386/fpu/libm-test-ulps: Update.
12239         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12241 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12243         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12245 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12247         * csu/init-first.c: Fix then/than typos.
12248         * locale/programs/ld-collate.c: Likewise.
12249         * locale/programs/linereader.h: Likewise.
12250         * manual/charset.texi: Likewise.
12251         * manual/filesys.texi: Likewise.
12252         * manual/stdio.texi: Likewise.
12253         * manual/string.texi: Likewise.
12254         * stdlib/fmtmsg.c: Likewise.
12255         * sysdeps/i386/stpncpy.S: Likewise.
12256         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12257         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12259         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12261 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12263         * elf/dl-open.c: Fix typos.
12264         * iconvdata/gbbig5.c: Likewise.
12265         * iconvdata/iso-2022-jp.c: Likewise.
12266         * iconv/gconv_int.h: Likewise.
12267         * iconv/loop.c: Likewise.
12268         * nis/rpcsvc/nis.h: Likewise.
12269         * resolv/ns_name.c: Likewise.
12270         * stdio-common/vfscanf.c: Likewise.
12271         * streams/stropts.h: Likewise.
12272         * sunrpc/rpc_thread.c: Likewise.
12273         * sysdeps/i386/strpbrk.S: Likewise.
12274         * sysdeps/ieee754/k_standard.c: Likewise.
12275         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12276         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12277         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12278         * sysdeps/mach/hurd/profil.c: Likewise.
12279         * sysdeps/s390/dl-procinfo.h: Likewise.
12280         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12281         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12282         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12283         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12284         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12286 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12288         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12289         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12291 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12293         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12294         aix specific files.
12295         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12296         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12297         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12298         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12299         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12300         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12301         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12302         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12304 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12305             Roland McGrath  <roland@hack.frob.com>
12307         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12308         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12310 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12312         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12313         __executable_start symbol instead of _start.
12315 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12317         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12318         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12319         Move macros to...
12320         * sysdeps/gnu/ldsodefs.h: ... this new file.
12322         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12323         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12324         instead of ELFOSABI_LINUX.
12326         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12327         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12328         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12329         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12330         Likewise.
12331         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12332         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12333         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12334         Likewise.
12335         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12336         (ibm_extended_long_double): Add ieee_nan member.
12337         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12338         (do_test): New function.
12340         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12341         TEST_TRUNC.
12342         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12343         functions, renamed from truncdfsf_test, trunctfsf_test,
12344         trunctfdf_test.
12345         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12346         functions.
12347         (do_test): Run all these.
12349 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12351         * argp/argp-help.c: Fix typos.
12352         * argp/argp-parse.c: Likewise.
12353         * debug/backtracesyms.c: Likewise.
12354         * elf/elf.h: Likewise.
12355         * malloc/malloc.c: Likewise.
12356         * nis/nis_print.c: Likewise.
12357         * resolv/res_comp.c: Likewise.
12358         * stdlib/stdlib.h: Likewise.
12359         * sunrpc/clnt_tcp.c: Likewise.
12360         * sunrpc/clnt_udp.c: Likewise.
12361         * sunrpc/clnt_unix.c: Likewise.
12362         * sysdeps/unix/bsd/ptsname.c: Likewise.
12363         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12364         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12366         Likewise.
12367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12368         Likewise.
12369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12370         Likewise.
12371         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12373 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12375         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12376         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12378 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12380         [BZ #15897]
12381         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12382         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12383         ($(objpfx)bug-dl-leaf): New rule.
12384         ($(objpfx)bug-dl-leaf.so): Likewise.
12385         ($(objpfx)bug-dl-leaf.out): Likewise.
12386         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12387         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12388         * dlfcn/bug-dl-leaf.c: New test.
12389         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12390         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12391         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12392         (dlclose): Likewise.
12393         (dlmopen): Likewise.
12395 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12397         * include/netdb.h [!_ISOMAC]:
12398         Don't include <tls.h>.
12399         (h_errno, __libc_h_errno): Move declaration and macros out of
12400         [_LIBC_REENTRANT].
12402         * include/resolv.h [_RESOLV_H_]:
12403         Don't include <tls.h>.
12404         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12405         * resolv/res_libc.c: Don't include <tls.h>.
12406         (_res): Use __attribute__ ((nocommon)) in place of
12407         __attribute__ ((section (".bss"))).
12409         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12410         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12412         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12414         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12415         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12417         * resolv/res_mkquery.c: Include <sys/time.h>.
12419         * inet/ifreq.c: Moved to ...
12420         * sysdeps/unix/ifreq.c: ... here.
12421         * inet/ifreq.c: New file, true stub version.
12423         * socket/sa_len.c: New file.
12424         * socket/Makefile (aux): Add it.
12425         * sysdeps/unix/sysv/linux/Makefile
12426         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12427         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12428         and #include <socket/sa_len.c>.
12429         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12430         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12432         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12433         * bits/socket.h: ... here.
12435         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12436         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12437         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12439 2013-08-27  Andreas Schwab  <schwab@suse.de>
12441         [BZ #15736]
12442         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12443         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12444         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12445         * string/test-strcasecmp.c (test_main): Run tests in several
12446         locales.
12447         * string/test-strncasecmp.c (test_main): Likewise.
12449         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12450         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12451         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12452         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12453         (__strncasecmp_ssse3) [PIC]: Likewise.
12455 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12457         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12459         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12460         instead of explicitly declaring xdecrypt.
12461         * nis/nss_nis/nis-publickey.c: Likewise.
12463 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12465         [BZ #15890]
12466         * nscd/aicache.c: Include res_hconf.h.
12467         (addhstaiX): Initialize res_hconf.
12469 2013-08-26  Andreas Schwab  <schwab@suse.de>
12471         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12472         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12474 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12476         * nscd/aicache.c (addhstaiX): Fix indentation.
12478 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12480         * configure.ac: Quote $build_pt_chown test.
12481         * configure: Regenerated.
12483 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12485         [BZ #15532]
12486         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12487         * math/s_cexpf.c (__cexpf): Likewise.
12488         * math/s_cexpl.c (__cexpl): Likewise.
12489         * math/libm-test.inc (cexp_test_data): Correct expected return
12490         value for NaN + i0.  Add another test.
12492 2013-08-22  David S. Miller  <davem@davemloft.net>
12494         * po/ca.po: Update Catalan translation from translation project.
12495         * po/uk.po: Add Ukrainian translations from translation project.
12497 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12499         [BZ #15797]
12500         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12501         is infinite, not alongside NaN test.
12502         * math/s_fdimf.c (__fdimf): Likewise.
12503         * math/s_fdiml.c (__fdiml): Likewise.
12504         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12505         errno is unchanged.
12507 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12509         * argp/argp-help.c: Fix typos.
12510         * crypt/speeds.c: Likewise.
12511         * csu/check_fds.c: Likewise.
12512         * elf/dl-load.c: Likewise.
12513         * elf/dl-open.c: Likewise.
12514         * elf/reldep3.c: Likewise.
12515         * elf/reldep.c: Likewise.
12516         * elf/sprof.c: Likewise.
12517         * iconv/iconv_charmap.c: Likewise.
12518         * iconv/skeleton.c: Likewise.
12519         * iconv/strtab.c: Likewise.
12520         * io/lockf64.c: Likewise.
12521         * libio/libioP.h: Likewise.
12522         * resolv/gai_notify.c: Likewise.
12523         * resolv/ns_name.c: Likewise.
12524         * resolv/ns_samedomain.c: Likewise.
12525         * resolv/res_send.c: Likewise.
12526         * stdlib/random.c: Likewise.
12527         * sunrpc/rpc/xdr.h: Likewise.
12528         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12529         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12530         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12531         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12532         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12533         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12534         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12535         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12536         * sysdeps/mach/hurd/check_fds.c: Likewise.
12537         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12538         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12539         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12540         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12541         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12542         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12543         * sysdeps/pthread/aio_notify.c: Likewise.
12544         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12545         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12546         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12547         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12548         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12550 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12552         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12553         version if bit_Slow_SSE4_2 is set.
12554         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12555         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12557 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12559         [BZ #15867]
12560         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12561         trampoline stack frame information.
12562         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12563         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12564         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12565         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12566         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12567         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12568         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12569         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12570         sa_flags value.
12571         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12572         interrupting a syscall and set with option SA_SIGINFO.
12574 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12576         [BZ #15531]
12577         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12578         argument is infinite.
12579         * math/s_cprojf.c (__cprojf): Likewise.
12580         * math/s_cprojl.c (__cprojl): Likewise.
12581         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12582         * math/libm-test.inc (cproj_test_data): Add more tests.
12584         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12586         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12587         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12588         size.  Use __ffs to determine corresponding shift.
12590 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12591             Roland McGrath  <roland@hack.frob.com>
12593         * Makefile (INSTALL): Remove trailing blank lines from output of
12594         makeinfo.
12596 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12598         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12599         Align 32 bit compat elf_greg to 8 bytes.
12601 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12603         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12605 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12607         * string/strcoll_l.c (coll_seq): New structure.
12608         (get_next_seq_cached): New function.
12609         (get_next_seq): New function.
12610         (do_compare): New function.
12611         (STRCOLL): Use GNU style definition.  Simplify implementation
12612         by using get_next_seq, get_next_seq_cached and do_compare.
12614 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12616         [BZ #14699]
12617         CVE-2013-4237
12618         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12619         member.
12620         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12621         member.
12622         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12623         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12624         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12625         conditional.
12626         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12627         GETDENTS_64BIT_ALIGNED.
12628         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12629         * manual/filesys.texi (Reading/Closing Directory): Document
12630         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12631         strongly.
12632         * manual/conf.texi (Limits for Files): Add portability note to
12633         NAME_MAX, PATH_MAX.
12634         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12636 2013-08-13  Andreas Schwab  <schwab@suse.de>
12638         [BZ #15749]
12639         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12640         of fabs.
12641         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12642         LDBL_MAX_EXP >= 16384]: Add tests for it.
12644 2013-08-12  David S. Miller  <davem@davemloft.net>
12646         * version.h (RELEASE): Set to "development".
12647         (VERSION): Set to "2.18.90".
12648         * NEWS: Add 2.19 section.
12650 2013-08-03  David S. Miller  <davem@davemloft.net>
12652         * po/ko.po: Update Korean translation from translation project.
12654 2013-08-01  David S. Miller  <davem@davemloft.net>
12656         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12657         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12658         Bilka.
12660 2013-07-30  David S. Miller  <davem@davemloft.net>
12662         * po/fr.po: Update French translation from translation project.
12664 2013-07-28  David S. Miller  <davem@davemloft.net>
12666         * po/cs.po: Update Czech translation from translation project.
12668         * po/sv.po: Update Swedish translation from translation project.
12670 2013-07-27  David S. Miller  <davem@davemloft.net>
12672         * po/eo.po: Update Esperanto translation from translation project.
12674         * po/vi.po: Update Vietnamese translation from translation project.
12676         * po/de.po: Update German translation from translation project.
12678 2013-07-26  David S. Miller  <davem@davemloft.net>
12680         * po/bg.po: Update Bulgarian translation from translation project.
12682         * po/nl.po: Update Dutch translation from translation project.
12683         * po/pl.po: Update Polish translation from translation project.
12684         * po/ru.po: Update Russian translation from translation project.
12686 2013-07-24  David S. Miller  <davem@davemloft.net>
12688         * po/libc.pot: Update.
12690 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12692         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12693         variable page size.
12694         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12695         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12696         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12698 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12700         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12702 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12703             Andreas Schwab  <schwab@suse.de>
12704             Roland McGrath  <roland@hack.frob.com>
12705             Joseph Myers  <joseph@codesourcery.com>
12706             Carlos O'Donell  <carlos@redhat.com>
12708         [BZ #15755]
12709         * config.h.in: Define HAVE_PT_CHOWN.
12710         * config.make.in (build-pt-chown): New variable.
12711         * configure.in (--enable-pt_chown): New configure option.
12712         * configure: Regenerate.
12713         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12714         build-pt-chown is enabled.
12715         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12716         pt_chown to fix pty ownership.
12717         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12718         CLOSE_ALL_FDS.
12719         * manual/install.texi (Configuring and compiling): Mention
12720         --enable-pt_chown. Add @findex for grantpt.
12721         * INSTALL: Regenerate.
12723 2013-07-20  David S. Miller  <davem@davemloft.net>
12725         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12726         difference between 32-bit and 64-bit.
12728 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12730         [BZ #15711]
12731         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12732         Avoid system header dependency with -ffreestanding.
12733         ($(objpfx)bits/syscall%d): Likewise.
12735 2013-07-13  David S. Miller  <davem@davemloft.net>
12737         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12738         underflows from atanl/atan2l due to bug 15319.
12739         (casinh_test_data): Likewise.
12741 2013-07-07  David S. Miller  <davem@davemloft.net>
12743         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12745 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12747         * sysdeps/i386/fpu/libm-test-ulps: Update.
12748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12750 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12752         * configure.in (--enable-lock-elision): Fix message text.
12753         * INSTALL: Regenerate.
12754         * configure: Regenerate.
12756 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12758         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12760 2013-07-03  Andreas Jaeger  <aj@suse.de>
12762         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12763         define.
12764         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12765         (ptrace_peeksiginfo_args): Add.
12766         (__ptrace_peeksiginfo_flags): Add.
12767         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12768         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12769         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12771 2013-07-03  Allan McRae  <allan@archlinux.org>
12773         * sysdeps/i386/fpu/libm-test-ulps: Update.
12775 2013-07-02  David S. Miller  <davem@davemloft.net>
12777         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12779 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12781         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12783 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12785         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12786         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12788 2013-07-02  Andi Kleen <ak@linux.intel.com>
12790         * config.h.in (ENABLE_LOCK_ELISION): Add.
12791         * configure.in (--enable-lock-elision): Add option.
12792         * manual/install.texi: Document --enable lock elision.
12793         * configure: Regenerate
12794         * INSTALL: Regenerate.
12796 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12798         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12799         SSE4.2 strcasecmp for libc.a.
12800         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12802 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12804         [BZ #13304]
12805         * soft-fp/op-common.h (_FP_FMA): New macro.
12806         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12807         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12808         (_FP_MUL_MEAT_1_imm): ... here.
12809         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12810         (_FP_MUL_MEAT_1_wide): ... here.
12811         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12812         (_FP_MUL_MEAT_1_hard): ... here.
12813         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12814         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12815         (_FP_MUL_MEAT_2_wide): ... here.
12816         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12817         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12818         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12819         (_FP_MUL_MEAT_2_gmp): ... here.
12820         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12821         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12822         (_FP_MUL_MEAT_4_wide): ... here.
12823         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12824         (_FP_MUL_MEAT_4_gmp): ... here.
12825         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12826         (_FP_WFRACBITS_DW_S): Likewise.
12827         (_FP_WFRACXBITS_DW_S): Likewise.
12828         (_FP_HIGHBIT_DW_S): Likewise.
12829         (FP_FMA_S): Likewise.
12830         (_FP_FRAC_HIGH_DW_S): Likewise.
12831         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12832         (_FP_WFRACBITS_DW_D): Likewise.
12833         (_FP_WFRACXBITS_DW_D): Likewise.
12834         (_FP_HIGHBIT_DW_D): Likewise.
12835         (FP_FMA_D): Likewise.
12836         (_FP_FRAC_HIGH_DW_D): Likewise.
12837         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12838         (_FP_WFRACBITS_DW_E): Likewise.
12839         (_FP_WFRACXBITS_DW_E): Likewise.
12840         (_FP_HIGHBIT_DW_E): Likewise.
12841         (FP_FMA_E): Likewise.
12842         (_FP_FRAC_HIGH_DW_E): Likewise.
12843         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12844         (_FP_WFRACBITS_DW_Q): Likewise.
12845         (_FP_WFRACXBITS_DW_Q): Likewise.
12846         (_FP_HIGHBIT_DW_Q): Likewise.
12847         (FP_FMA_Q): Likewise.
12848         (_FP_FRAC_HIGH_DW_Q): Likewise.
12849         * soft-fp/fmasf4.c: New file.
12850         * soft-fp/fmadf4.c: Likewise.
12851         * soft-fp/fmatf4.c: Likewise.
12853 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12855         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12856         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12857         Silvermont.
12858         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12859         macro.
12860         (index_Slow_SSE4_2): Likewise.
12861         (index_Prefer_PMINUB_for_stringop): Likewise.
12862         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12863         bit_Slow_SSE4_2 is set.
12864         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12865         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12867 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12869         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12870         rtld_global._dl_hwcap2.
12871         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
12872         POWER8.
12873         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
12874         POWER8 feature descriptions defined in _dl_hwcap2.
12875         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
12876         string handling for POWER8 feature bits.
12877         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
12878         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
12879         _dl_powerpc_cap_flags.
12880         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
12881         * sysdeps/powerpc/rtld-global-offsets.sym
12882         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
12883         _dl_hwcap2 in the rtld_global_ro structure.
12885 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12887         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
12888         hardware capabilities in support of AT_HWCAP2.
12889         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
12890         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
12891         GLRO(dl_hwcap2).
12892         (_dl_show_auxv): Add support for calling _dl_procinfo to display
12893         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
12894         explicitly the unknown a_type display mechanism is used.
12895         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
12896         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
12897         struct member.
12898         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
12899         to macro prototype for AT_HWCAP2 support.
12900         * sysdeps/i386/dl-procinfo.h: Likewise.
12901         * sysdeps/s390/dl-procinfo.h: Likewise.
12902         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
12903         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
12904         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
12905         return -1 for unknown a_type display fallback.
12906         * sysdeps/sparc/dl-procinfo.h: Likewise.
12907         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
12908         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
12910 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
12912         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
12913         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
12915 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
12917         [BZ #12492]
12918         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
12919         mprotect making __stack_prot writable.
12921 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
12922             Joseph Myers  <joseph@codesourcery.com>
12924         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
12925         as being properly aligned.
12927 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
12929         * dlfcn/modstatic5.c: New file.
12930         * dlfcn/tststatic5.c: New file.
12931         * dlfcn/Makefile (tests): Add tststatic5.
12932         (tests-static): Likewise.
12933         (modules-names): Add modstatic5.
12934         (tststatic5-ENV): New variable.
12935         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
12937         [BZ #15022]
12938         * elf/dl-support.c (_dl_main_map): New variable.
12939         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
12940         (_dl_nns, _dl_load_adds): Set to 1.
12941         (_dl_initial_searchlist): Refer to _dl_main_map.
12942         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
12943         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
12944         call to _dl_get_origin.
12945         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
12946         around call_map.
12947         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
12948         * dlfcn/modstatic3.c: New file.
12949         * dlfcn/tststatic3.c: New file.
12950         * dlfcn/tststatic4.c: New file.
12951         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
12952         (tests-static): Likewise.
12953         (modules-names): Add modstatic3.
12954         (tststatic3-ENV, tststatic4-ENV): New variables.
12955         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
12956         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
12958 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
12960         * configure.in (CC): Require GCC version 4.4 or later.
12961         * configure: Regenerated.
12962         * manual/install.texi (Tools for Compilation): Update GCC version
12963         requirement.
12964         * INSTALL: Regenerated.
12966 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12968         [BZ #15674]
12969         * string/test-memcmp.c (check2): New.
12970         (main): Call check2.
12972         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
12974 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
12976         [BZ #15022]
12977         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
12978         over to...
12979         (dl_open_worker) [!SHARED]: ... here.
12981 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12983         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
12985 2013-06-25  Richard Henderson  <rth@redhat.com>
12987         * locale/programs/locarchive.c: Include <libc-internal.h>
12989 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
12991         * manual/texinfo.tex: Update to version 2013-06-21.17, with
12992         trailing whitespace removed.
12994 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
12996         [BZ #10283]
12997         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
12998         * locale/programs/locarchive.c: Include libc-mmap.h.
12999         (prepare_address_space): Take two new outputs (the mmap base and len).
13000         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13001         values.
13002         (create_archive): Declare new mmap base and len values for
13003         prepare_address_space, and store the result in ah.
13004         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13005         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13006         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13007         Declare new mmap base and len values for
13008         prepare_address_space, and store the result in new_ah.
13009         (open_archive): Declare new mmap base and len values for
13010         prepare_address_space, and store the result in ah.
13011         (close_archive): If ah->mmap_base is not NULL, use that and
13012         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13013         * sysdeps/generic/libc-mmap.h: New file.
13015 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13017         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13018         (ALIGN_UP): Likewise.
13019         (PTR_ALIGN_DOWN): Likewise.
13020         (PTR_ALIGN_UP): Likewise.
13022 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13024         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13025         entry mapped to PPC_PLATFORM_POWER8.
13026         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13027         POWER8.
13028         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13029         (_dl_string_platform): Add case for exporting platform position for
13030         POWER8.
13031         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13032         search path to sysdeps/powerpc/powerpc32/power8 directory.
13033         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13034         search path to sysdeps/powerpc/powerpc64/power8 directory.
13035         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13036         power7 directories.
13037         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13038         power7 directories.
13040 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13042         * INSTALL: Regenerate.
13044         * nscd/connections.c (nscd_init): Fix comment.
13046 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13048         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13050         [BZ #15667]
13051         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13052         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13054 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13056         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13057         DL_DST_REQ_STATIC.
13058         (DL_DST_REQ_STATIC): Remove macro.
13060 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13062         [BZ #7006]
13063         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13064         with a shift of 0 bits.
13066 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13068         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13069         $(tststatic-ENV).
13071 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13073         [BZ #15655]
13074         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13076 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13078         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13079         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13080         accepts -fno-tree-loop-distribute-patterns.
13081         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13082         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13083         recursive call.
13084         * string/memset.c (memset): Likewise.
13085         * string/test-memmove.c (simple_memmove): Disable loop transformation
13086         to library calls.
13087         * string/test-memset.c (simple_memset): Likewise.
13088         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13089         * benchtests/bench-memset.c (simple_memset): Likewise.
13090         * configure: Regenerated.
13092 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13094         * math/test-misc.c (main): Ignore fesetround failure when failures
13095         of subsequent rounding tests would be ignored.
13097         [BZ #15654]
13098         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13099         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13100         * math/fegetenv.c (__fegetenv): Return 0.
13101         * math/fegetexcept.c (fegetexcept): Return 0.
13102         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13103         FE_TONEAREST.
13104         * math/feholdexcpt.c (feholdexcept): Return 0.
13105         * math/fesetenv.c (__fesetenv): Return 0.
13106         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13107         argument FE_TONEAREST.
13108         * math/feupdateenv.c (__feupdateenv): Return 0.
13109         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13111 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13113         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13114         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13115         ($(objpfx)rtld-%.os rules): Use them.
13117 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13119         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13120         fields.
13122 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13124         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13125         length of target pattern, then descending length of dependency pattern.
13126         * configure.in (AWK): Require gawk 3.1.2 or newer.
13127         * manual/install.texi (Tools for Compilation): Say that we do.
13128         * configure: Regenerated.
13130         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13131         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13132         * scripts/sysd-rules.awk: ... this new script.
13133         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13134         than a glob-style pattern.
13136 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13138         * math/test-misc.c (main): Do not treat incorrectly rounded
13139         conversions as failure unless ROUNDING_TESTS passes.
13141 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13143         [BZ #15631]
13144         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13145         restore exception state around main square root computation, then
13146         check for inexactness explicitly.
13148         * math/libm-test.inc (fma_test_data): Add another test.
13150 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13152         * manual/threads.texi (Non-POSIX Extensions): New document
13153         node.  Document pthread_getattr_default_np and
13154         pthread_setattr_default_np.
13156         * Versions.def (libpthread): Add GLIBC_2.18.
13157         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13159         Likewise.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13161         Likewise.
13162         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13163         Likewise.
13164         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13165         Likewise.
13166         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13167         Likewise.
13168         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13169         Likewise.
13170         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13171         Likewise.
13172         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13173         Likewise.
13174         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13175         Likewise.
13177 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13179         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13180         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13182 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13183             H.J. Lu  <hjl.tools@gmail.com>
13185         [BZ #15627]
13186         * sysdeps/x86_64/rtld-memset.c: Remove file.
13187         * sysdeps/x86_64/rtld-memset.S: New file.
13189 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13191         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13192         (test_in_one_mode): Take arguments for whether the rounding mode
13193         is supported for each floating-point type.
13194         (do_test): Pass new arguments to test_in_one_mode using
13195         ROUNDING_TESTS.
13197 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13199         * posix/tst-waitid.c (do_test): Distinguish different instances of
13200         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13201         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13202         before entering the kernel for waitpid.
13204 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13206         * NEWS: Fix note on clock function precision.  Text by Roland
13207         McGrath.
13209 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13211         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13212         it into place only when and if the sanity check passes.
13214 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13216         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13217         output for whether conversion result is exact.  Take argument
13218         indicating whether type is IBM long double.
13219         (round_for_all): Change need_exact field to ibm_ld.
13220         * stdlib/tst-strtod-round.c (struct exactness): New type.
13221         (struct test): Change bool ld_ok field to struct exactness exact.
13222         (TEST): Update all definitions for change to field.
13223         (tests): Regenerate array contents.
13224         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13225         field value.  Check for IBM long double here.
13226         (do_test): Update calls to test_in_one_mode.
13228 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13230         [BZ #12515]
13231         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13232         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13234 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13236         [BZ #15605]
13237         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13238         generated by the compiler on loop optimizations.
13239         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13240         general definitions.
13242 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13244         * math/bug-nextafter.c: Include <math-tests.h>.
13245         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13246         the relevant type.
13247         * math/bug-nexttoward.c: Include <math-tests.h>.
13248         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13249         the relevant type.
13250         * math/test-misc.c: Include <math-tests.h>.
13251         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13252         the relevant type.
13254 2013-06-12  Andreas Jaeger  <aj@suse.de>
13256         * po/ia.po: Update Interlingua translation from translation
13257         project.
13259 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13261         * include/fenv.h: Include stdbool.h.
13262         (struct rm_ctx): New structure.
13263         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13264         Define macro.
13265         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13266         (SET_RESTORE_ROUNDF): Likewise.
13267         (SET_RESTORE_ROUNDL): Likewise.
13268         (SET_RESTORE_ROUND_NOEX): Likewise.
13269         (SET_RESTORE_ROUND_NOEXF): Likewise.
13270         (SET_RESTORE_ROUND_NOEXL): Likewise.
13271         (SET_RESTORE_ROUND_53BIT): Likewise.
13272         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13273         (libc_feresetround_noexf_ctx): Likewise.
13274         (libc_feresetround_noexl_ctx): Likewise.
13275         (libc_feholdsetround_53bit_ctx): Likewise.
13276         (libc_feresetround_53bit_ctx): Likewise.
13277         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13278         (libc_feholdexcept_setround_sse_ctx): New function.
13279         (libc_fesetenv_sse_ctx): Likewise.
13280         (libc_feupdateenv_sse_ctx): Likewise.
13281         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13282         (libc_feholdexcept_setround_387_ctx): Likewise.
13283         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13284         (libc_feholdsetround_387_prec_ctx): Likewise.
13285         (libc_feholdsetround_387_ctx): Likewise.
13286         (libc_feholdsetround_387_53bit_ctx): Likewise.
13287         (libc_feholdsetround_sse_ctx): Likewise.
13288         (libc_feresetround_sse_ctx): Likewise.
13289         (libc_feresetround_387_ctx): Likewise.
13290         (libc_feupdateenv_387_ctx): Likewise.
13291         (libc_feholdexcept_setroundf_ctx): Define macro.
13292         (libc_fesetenvf_ctx): Likewise.
13293         (libc_feupdateenvf_ctx): Likewise.
13294         (libc_feholdsetroundf_ctx): Likewise.
13295         (libc_feresetroundf_ctx): Likewise.
13296         (libc_feholdexcept_setround_ctx): Likewise.
13297         (libc_fesetenv_ctx): Likewise.
13298         (libc_feupdateenv_ctx): Likewise.
13299         (libc_feholdsetround_ctx): Likewise.
13300         (libc_feresetround_ctx): Likewise.
13301         (libc_feholdexcept_setroundl_ctx): Likewise.
13302         (libc_feupdateenvl_ctx): Likewise.
13303         (libc_feholdsetroundl_ctx): Likewise.
13304         (libc_feresetroundl_ctx): Likewise.
13305         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13306         (libc_feresetround_53bit_ctx): Likewise.
13308 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13310         * locale/iso-639.def: Convert to UTF-8.
13312 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13314         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13315         (EXCEPTION_TESTS_double): Likewise.
13316         (EXCEPTION_TESTS_long_double): Likewise.
13317         (EXCEPTION_TESTS): Likewise.
13318         * math/libm-test.inc (test_exceptions): Only test exceptions if
13319         EXCEPTION_TESTS (FLOAT).
13321 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13323         * benchtests/Makefile (string-bench): Add strcpy_chk and
13324         stpcpy_chk.
13325         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13326         * benchtests/bench-stpcpy_chk.c: New file.
13327         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13328         * benchtests/bench-strcpy_chk.c: New file.
13329         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13330         code.
13331         (do_test): Likewise.
13333 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13335         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13336         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13337         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13338         with tabs where appropriate.
13339         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13340         dl-procinfo.h.
13341         [PPC_PLATFORM_PPC440]: Likewise.
13342         [PPC_PLATFORM_PPC464]: Likewise.
13343         [PPC_PLATFORM_PPC476]: Likewise.
13344         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13345         ppc464, and ppc476 platform strings merging from ports/
13346         dl-procinfo.h.
13348 2013-06-11  Andreas Schwab  <schwab@suse.de>
13350         [BZ #14991]
13351         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13352         (from_ucs4_idx): Regenerate.
13353         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13354         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13355         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13356         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13357         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13358         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13359         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13360         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13361         from FROM_LOOP and TO_LOOP specific macros.
13362         (BODY): Handle combining characters.
13363         * iconvdata/BIG5HKSCS.irreversible: Update.
13364         * iconvdata/BIG5HKSCS.precomposed: New file.
13365         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13366         characters.
13367         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13369 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13371         * include/sys/time.h: Fix indentation and add copyright header.
13373         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13374         (do_test): Likewise.
13375         * string/test-memchr.c (do_one_test): Likewise.
13376         (do_test): Likewise.
13377         * string/test-memcmp.c (do_one_test): Likewise.
13378         (do_test): Likewise.
13379         * string/test-memcpy.c (do_one_test): Likewise.
13380         (do_test): Likewise.
13381         * string/test-memmem.c (do_one_test): Likewise.
13382         (do_test): Likewise.
13383         (do_random_tests): Likewise.
13384         * string/test-memmove.c (do_one_test): Likewise.
13385         (do_test): Likewise.
13386         * string/test-memset.c (do_one_test): Likewise.
13387         (do_test): Likewise.
13388         * string/test-rawmemchr.c (do_one_test): Likewise.
13389         (do_test): Likewise.
13390         * string/test-strcasecmp.c (do_one_test): Likewise.
13391         (do_test): Likewise.
13392         * string/test-strcasestr.c (do_one_test): Likewise.
13393         (do_test): Likewise.
13394         * string/test-strcat.c (do_one_test): Likewise.
13395         (do_test): Likewise.
13396         * string/test-strchr.c (do_one_test): Likewise.
13397         (do_test): Likewise.
13398         * string/test-strcmp.c (do_one_test): Likewise.
13399         (do_test): Likewise.
13400         * string/test-strcpy.c (do_one_test): Likewise.
13401         (do_test): Likewise.
13402         * string/test-string.h: Likewise.
13403         (test_init): Likewise.
13404         * string/test-strlen.c (do_one_test): Likewise.
13405         (do_test): Likewise.
13406         * string/test-strncasecmp.c (do_one_test): Likewise.
13407         (do_test): Likewise.
13408         * string/test-strncat.c (do_one_test): Likewise.
13409         (do_test): Likewise.
13410         * string/test-strncmp.c (do_one_test): Likewise.
13411         (do_test_limit): Likewise.
13412         (do_test): Likewise.
13413         * string/test-strncpy.c (do_one_test): Likewise.
13414         (do_test): Likewise.
13415         * string/test-strnlen.c (do_one_test): Likewise.
13416         (do_test): Likewise.
13417         * string/test-strpbrk.c (do_one_test): Likewise.
13418         (do_test): Likewise.
13419         * string/test-strrchr.c (do_one_test): Likewise.
13420         (do_test): Likewise.
13421         * string/test-strspn.c (do_one_test): Likewise.
13422         (do_test): Likewise.
13423         * string/test-strstr.c (do_one_test): Likewise.
13424         (do_test): Likewise.
13426         * benchtests/Makefile (string-bench): Add string benchmarks.
13427         * benchtests/bench-bcopy-ifunc.c: New file.
13428         * benchtests/bench-bcopy.c: New file.
13429         * benchtests/bench-bzero-ifunc.c: New file.
13430         * benchtests/bench-bzero.c: New file.
13431         * benchtests/bench-memccpy-ifunc.c: New file.
13432         * benchtests/bench-memccpy.c: New file.
13433         * benchtests/bench-memchr-ifunc.c: New file.
13434         * benchtests/bench-memchr.c: New file.
13435         * benchtests/bench-memcmp-ifunc.c: New file.
13436         * benchtests/bench-memcmp.c: New file.
13437         * benchtests/bench-memmem-ifunc.c: New file.
13438         * benchtests/bench-memmem.c: New file.
13439         * benchtests/bench-memmove-ifunc.c: New file.
13440         * benchtests/bench-memmove.c: New file.
13441         * benchtests/bench-mempcpy-ifunc.c: New file.
13442         * benchtests/bench-mempcpy.c: New file.
13443         * benchtests/bench-memset-ifunc.c: New file.
13444         * benchtests/bench-memset.c: New file.
13445         * benchtests/bench-rawmemchr-ifunc.c: New file.
13446         * benchtests/bench-rawmemchr.c: New file.
13447         * benchtests/bench-stpcpy-ifunc.c: New file.
13448         * benchtests/bench-stpcpy.c: New file.
13449         * benchtests/bench-stpncpy-ifunc.c: New file.
13450         * benchtests/bench-stpncpy.c: New file.
13451         * benchtests/bench-strcasecmp-ifunc.c: New file.
13452         * benchtests/bench-strcasecmp.c: New file.
13453         * benchtests/bench-strcasestr-ifunc.c: New file.
13454         * benchtests/bench-strcasestr.c: New file.
13455         * benchtests/bench-strcat-ifunc.c: New file.
13456         * benchtests/bench-strcat.c: New file.
13457         * benchtests/bench-strchr-ifunc.c: New file.
13458         * benchtests/bench-strchr.c: New file.
13459         * benchtests/bench-strchrnul-ifunc.c: New file.
13460         * benchtests/bench-strchrnul.c: New file.
13461         * benchtests/bench-strcmp-ifunc.c: New file.
13462         * benchtests/bench-strcmp.c: New file.
13463         * benchtests/bench-strcpy-ifunc.c: New file.
13464         * benchtests/bench-strcpy.c: New file.
13465         * benchtests/bench-strcspn-ifunc.c: New file.
13466         * benchtests/bench-strcspn.c: New file.
13467         * benchtests/bench-strlen-ifunc.c: New file.
13468         * benchtests/bench-strlen.c: New file.
13469         * benchtests/bench-strncasecmp-ifunc.c: New file.
13470         * benchtests/bench-strncasecmp.c: New file.
13471         * benchtests/bench-strncat-ifunc.c: New file.
13472         * benchtests/bench-strncat.c: New file.
13473         * benchtests/bench-strncmp-ifunc.c: New file.
13474         * benchtests/bench-strncmp.c: New file.
13475         * benchtests/bench-strncpy-ifunc.c: New file.
13476         * benchtests/bench-strncpy.c: New file.
13477         * benchtests/bench-strnlen-ifunc.c: New file.
13478         * benchtests/bench-strnlen.c: New file.
13479         * benchtests/bench-strpbrk-ifunc.c: New file.
13480         * benchtests/bench-strpbrk.c: New file.
13481         * benchtests/bench-strrchr-ifunc.c: New file.
13482         * benchtests/bench-strrchr.c: New file.
13483         * benchtests/bench-strspn-ifunc.c: New file.
13484         * benchtests/bench-strspn.c: New file.
13485         * benchtests/bench-strstr-ifunc.c: New file.
13486         * benchtests/bench-strstr.c: New file.
13488         * benchtests/Makefile: Disable parallel execution of targets.
13489         (string-bench): Add memcpy.
13490         (benchset): New variable to store a list of benchmark sets.
13491         (bench-func): Renamed from bench.
13492         (bench-set): New target.
13493         (bench): Depend on bench-func and bench-set.
13494         * benchtests/README: Add section on benchmark sets.
13495         * benchtests/bench-memcpy-ifunc.c: New file.
13496         * benchtests/bench-memcpy.c: New file.
13497         * benchtests/bench-string.h: New file.
13499 2013-06-11  Andreas Schwab  <schwab@suse.de>
13501         [BZ #15577]
13502         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13503         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13504         values in the triple.
13505         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13506         terminator in the group key.
13508 2013-06-11  Andreas Jaeger  <aj@suse.de>
13510         * po/zh_TW.po: Update Chinese (traditional) translation from
13511         translation project.
13513 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13515         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13516         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13517         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13518         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13519         (clock_getcpuclockid): Likewise.
13520         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13521         Add weak_alias and libc_hidden_def.
13522         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13523         * rt/clock_gettime.c (clock_gettime): Rename to
13524         __clock_gettime.  Add weak_alias and libc_hidden_def.
13525         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13526         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13527         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13528         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13529         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13530         Likewise.
13531         * rt/clock_settime.c (clock_settime): Rename to
13532         __clock_settime.  Add weak_alias and libc_hidden_def.
13533         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13535 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13537         * mach/err_boot.sub: Remove trailing whitespace.
13538         * mach/err_ipc.sub: Likewise.
13539         * mach/err_mach.sub: Likewise.
13541         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13542         (ROUNDING_TESTS_double): Likewise.
13543         (ROUNDING_TESTS_long_double): Likewise.
13544         (ROUNDING_TESTS): Likewise.
13545         * math/libm-test.inc: Include <math-tests.h>.
13546         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13547         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13548         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13549         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13551 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13553         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13554         of assigning.
13556 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13558         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13559         otherwise empty TRANS lines.
13560         * sysdeps/gnu/errlist.c: Regenerated.
13562         * catgets/gencat.c (error_print): Use (void) in function
13563         definition.
13564         * crypt/crypt_util.c (__init_des): Likewise.
13565         * crypt/speeds.c (Stop): Likewise.
13566         (main): Likewise.
13567         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13568         * inet/ruserpass.c (token): Likewise.
13569         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13570         * intl/localealias.c (extend_alias_table): Likewise.
13571         * intl/plural-exp.c (init_germanic_plural): Likewise.
13572         * libio/fcloseall.c (__fcloseall): Likewise.
13573         * libio/genops.c (_IO_flush_all): Likewise.
13574         (_IO_flush_all_linebuffered): Likewise.
13575         (_IO_cleanup): Likewise.
13576         (_IO_iter_begin): Likewise.
13577         (_IO_iter_end): Likewise.
13578         (_IO_list_lock): Likewise.
13579         (_IO_list_unlock): Likewise.
13580         (_IO_list_resetlock): Likewise.
13581         * libio/getchar.c (getchar): Likewise.
13582         * libio/getchar_u.c (getchar_unlocked): Likewise.
13583         * libio/getwchar.c (getwchar): Likewise.
13584         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13585         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13586         * login/getpt.c (__getpt): Likewise.
13587         * login/tst-utmp.c (main): Likewise.
13588         * malloc/hooks.c (__malloc_check_init): Likewise.
13589         * malloc/malloc.c (__malloc_stats): Likewise.
13590         * malloc/mtrace.c (tr_break): Likewise.
13591         (mtrace): Likewise.
13592         (muntrace): Likewise.
13593         * misc/fstab.c (endfsent): Likewise.
13594         * misc/getclktck.c (__getclktck): Likewise.
13595         * misc/getdtsz.c (__getdtablesize): Likewise.
13596         * misc/gethostid.c (gethostid): Likewise.
13597         * misc/getpagesize.c (__getpagesize): Likewise.
13598         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13599         (__get_nprocs): Likewise.
13600         (__get_phys_pages): Likewise.
13601         (__get_avphys_pages): Likewise.
13602         * misc/getttyent.c (getttyent): Likewise.
13603         (setttyent): Likewise.
13604         (endttyent): Likewise.
13605         * misc/getusershell.c (getusershell): Likewise.
13606         (endusershell): Likewise.
13607         (setusershell): Likewise.
13608         (initshells): Likewise.
13609         * misc/hsearch.c (__hdestroy): Likewise.
13610         * misc/sync.c (sync): Likewise.
13611         * misc/syslog.c (closelog_internal): Likewise.
13612         (closelog): Likewise.
13613         * misc/ttyslot.c (ttyslot): Likewise.
13614         * misc/vhangup.c (vhangup): Likewise.
13615         * posix/fork.c (__fork): Likewise.
13616         * posix/getegid.c (__getegid): Likewise.
13617         * posix/geteuid.c (__geteuid): Likewise.
13618         * posix/getgid.c (__getgid): Likewise.
13619         * posix/getpid.c (__getpid): Likewise.
13620         * posix/getppid.c (__getppid): Likewise.
13621         * posix/getuid.c (__getuid): Likewise.
13622         * posix/pause.c (pause): Likewise.
13623         * posix/setpgrp.c (setpgrp): Likewise.
13624         * posix/setsid.c (__setsid): Likewise.
13625         * posix/test-vfork.c (noop): Likewise.
13626         * resolv/gethnamaddr.c (_endhtent): Likewise.
13627         (_gethtent): Likewise.
13628         (ht_endhostent): Likewise.
13629         (gethostent): Likewise.
13630         (dns_service): Likewise.
13631         * stdlib/drand48.c (drand48): Likewise.
13632         * stdlib/lrand48.c (lrand48): Likewise.
13633         * stdlib/mrand48.c (mrand48): Likewise.
13634         * stdlib/rand.c (rand): Likewise.
13635         * stdlib/random.c (__random): Likewise.
13636         * stdlib/setenv.c (clearenv): Likewise.
13637         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13638         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13639         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13640         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13641         (__get_nprocs): Likewise.
13642         (__get_phys_pages): Likewise.
13643         (__get_avphys_pages): Likewise.
13644         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13645         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13646         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13647         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13648         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13649         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13650         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13651         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13652         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13653         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13654         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13655         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13656         * sysdeps/posix/clock.c (clock): Likewise.
13657         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13658         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13659         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13660         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13661         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13662         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13663         (__get_nprocs_conf): Likewise.
13664         (__get_phys_pages): Likewise.
13665         (__get_avphys_pages): Likewise.
13666         * time/clock.c (clock): Likewise.
13667         * time/tzset.c (__tzname_max): Likewise.
13669 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13671         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13672         (__bswap_32): Do not use "register".
13673         * crypt/crypt.c (_ufc_doit_r): Likewise.
13674         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13675         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13676         * gmon/gmon.c (__monstartup): Likewise.
13677         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13678         * hurd/hurdmalloc.c (more_memory): Likewise.
13679         (malloc): Likewise.
13680         (free): Likewise.
13681         (realloc): Likewise.
13682         (malloc_fork_prepare): Likewise.
13683         (malloc_fork_parent): Likewise.
13684         (malloc_fork_child): Likewise.
13685         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13686         (_svcauth_des): Likewise.
13687         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13688         * inet/inet_net.c (inet_network): Likewise.
13689         * inet/inet_netof.c (inet_netof): Likewise.
13690         * inet/rcmd.c (__validuser2_sa): Likewise.
13691         * io/fts.c (fts_open): Likewise.
13692         (fts_load): Likewise.
13693         (fts_close): Likewise.
13694         (fts_read): Likewise.
13695         (fts_children): Likewise.
13696         (fts_build): Likewise.
13697         (fts_stat): Likewise.
13698         (fts_sort): Likewise.
13699         (fts_alloc): Likewise.
13700         (fts_lfree): Likewise.
13701         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13702         (_IO_file_xsgetn): Likewise.
13703         (_IO_file_xsgetn_mmap): Likewise.
13704         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13705         (_IO_cookie_write): Likewise.
13706         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13707         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13708         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13709         * malloc/obstack.c (_obstack_begin): Likewise.
13710         (_obstack_begin_1): Likewise.
13711         (_obstack_newchunk): Likewise.
13712         (_obstack_allocated_p): Likewise.
13713         (obstack_free): Likewise.
13714         (_obstack_memory_used): Likewise.
13715         * misc/getttyent.c (getttynam): Likewise.
13716         (getttyent): Likewise.
13717         (skip): Likewise.
13718         (value): Likewise.
13719         * misc/getusershell.c (initshells): Likewise.
13720         * misc/syslog.c (__vsyslog_chk): Likewise.
13721         * misc/ttyslot.c (ttyslot): Likewise.
13722         * nis/nis_hash.c (__nis_hash): Likewise.
13723         * posix/fnmatch_loop.c (FCT): Likewise.
13724         * posix/getconf.c (print_all): Likewise.
13725         (main): Likewise.
13726         * posix/getopt.c (exchange): Likewise.
13727         * posix/glob.c (globfree): Likewise.
13728         (prefix_array): Likewise.
13729         (__glob_pattern_type): Likewise.
13730         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13731         (NS_GET32): Likewise.
13732         (NS_PUT16): Likewise.
13733         (NS_PUT32): Likewise.
13734         * resolv/gethnamaddr.c (getanswer): Likewise.
13735         (gethostbyname2): Likewise.
13736         (gethostbyaddr): Likewise.
13737         (_gethtent): Likewise.
13738         (_gethtbyname2): Likewise.
13739         (_gethtbyaddr): Likewise.
13740         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13741         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13742         * resolv/res_init.c (__res_vinit): Likewise.
13743         (net_mask): Likewise.
13744         * resolv/res_mkquery.c (outchar): Likewise.
13745         (PRINT): Likewise.
13746         * stdio-common/printf_fp.c (outchar): Likewise.
13747         (PRINT): Likewise.
13748         * stdio-common/printf_fphex.c (outchar): Likewise.
13749         (PRINT): Likewise.
13750         * stdio-common/printf_size.c (outchar): Likewise.
13751         (PRINT): Likewise.
13752         * stdio-common/test_rdwr.c (main): Likewise.
13753         * stdio-common/tfformat.c (matches): Likewise.
13754         * stdio-common/vfprintf.c (outchar): Likewise.
13755         (printf_unknown): Likewise.
13756         (buffered_vfprintf): Likewise.
13757         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13758         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13759         (ReadFile): Likewise.
13760         * stdlib/qsort.c (SWAP): Likewise.
13761         (_quicksort): Likewise.
13762         * stdlib/setenv.c (__add_to_environ): Likewise.
13763         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13764         * stdlib/strtol_l.c (__strtol_l): Likewise.
13765         * stdlib/tst-strtod.c (main): Likewise.
13766         * stdlib/tst-strtol.c (main): Likewise.
13767         * stdlib/tst-strtoll.c (main): Likewise.
13768         * string/bits/string2.h (__strcmp_cc): Likewise.
13769         (__strcmp_cg): Likewise.
13770         (__strcspn_c1): Likewise.
13771         (__strcspn_c2): Likewise.
13772         (__strcspn_c3): Likewise.
13773         (__strspn_c1): Likewise.
13774         (__strspn_c2): Likewise.
13775         (__strspn_c3): Likewise.
13776         (__strsep_1c): Likewise.
13777         (__strsep_2c): Likewise.
13778         (__strsep_3c): Likewise.
13779         * string/memccpy.c (__memccpy): Likewise.
13780         * string/stpcpy.c (__stpcpy): Likewise.
13781         * string/strcmp.c (strcmp): Likewise.
13782         * string/strrchr.c (strrchr): Likewise.
13783         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13784         Likewise.
13785         * sysdeps/mach/hurd/getcwd.c
13786         (_hurd_canonicalize_directory_name_internal): Likewise.
13787         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13788         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13789         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13790         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13791         Likewise, in both definitions.
13792         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13793         definitions.
13794         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13795         64] (__bswap_64): Likewise.
13796         * time/test_time.c (main): Likewise.
13797         * time/tzfile.c (__tzfile_read): Likewise.
13798         (__tzfile_compute): Likewise.
13799         * time/tzset.c (__tzset_parse_tz): Likewise.
13800         (tzset_internal): Likewise.
13801         (compute_change): Likewise.
13802         * wcsmbs/wcscat.c (__wcscat): Likewise.
13803         * wcsmbs/wcschr.c (wcschr): Likewise.
13804         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13805         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13806         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13807         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13808         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13809         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13810         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13811         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13812         * wcsmbs/wmemset.c (wmemset): Likewise.
13814 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13816         * scripts/config.guess: Update to version 2013-05-16.
13817         * scripts/config.sub: Update to version 2013-04-24.
13818         * scripts/install-sh: Update to version 2011-11-20.07.
13819         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13820         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13822 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13824         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13825         * elf/sln.c: Likewise.
13826         * hurd/hurd/ioctl.h: Likewise.
13827         * hurd/hurdmalloc.c: Likewise.
13828         * hurd/xattr.c: Likewise.
13829         * include/shlib-compat.h: Likewise.
13830         * inet/ruserpass.c: Likewise.
13831         * libio/iofgets_u.c: Likewise.
13832         * libio/iofgetws_u.c: Likewise.
13833         * locale/programs/ld-identification.c: Likewise.
13834         * locale/programs/ld-time.c: Likewise.
13835         * mach/msg-destroy.c: Likewise.
13836         * nss/nss_files/files-netgrp.c: Likewise.
13837         * resolv/res_data.c: Likewise.
13838         * soft-fp/op-1.h: Likewise.
13839         * soft-fp/op-2.h: Likewise.
13840         * soft-fp/op-4.h: Likewise.
13841         * soft-fp/op-common.h: Likewise.
13842         * stdio-common/printf_fphex.c: Likewise.
13843         * stdlib/strtod_l.c: Likewise.
13844         * sunrpc/rpc/clnt.h: Likewise.
13845         * sysdeps/generic/framestate.c: Likewise.
13846         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13847         * sysdeps/i386/bsd-setjmp.S: Likewise.
13848         * sysdeps/i386/__longjmp.S: Likewise.
13849         * sysdeps/i386/setjmp.S: Likewise.
13850         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13851         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13852         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13853         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13854         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13855         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13856         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13857         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13858         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13859         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13860         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13861         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13862         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13863         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13864         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13865         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13866         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13867         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13868         * sysdeps/ieee754/support.c: Likewise.
13869         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13870         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
13871         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
13872         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
13873         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
13874         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
13875         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
13876         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
13877         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
13878         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
13879         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
13880         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
13881         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
13882         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
13883         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
13884         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
13885         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
13886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
13888 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
13890         * posix/transbug.c: Remove executable mode.
13892 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
13894         * crypt/speeds.c: Remove trailing whitespace.
13895         * dlfcn/default.c: Likewise.
13896         * elf/ifuncdep2.c: Likewise.
13897         * elf/ifuncmain1.c: Likewise.
13898         * elf/ifuncmain1vis.c: Likewise.
13899         * elf/testobj.h: Likewise.
13900         * elf/tst-stackguard1.c: Likewise.
13901         * gmon/sys/gmon.h: Likewise.
13902         * hurd/hurdmsg.c: Likewise.
13903         * hurd/new-fd.c: Likewise.
13904         * hurd/ports-get.c: Likewise.
13905         * iconvdata/ibm1008_420.c: Likewise.
13906         * inet/tst-getni1.c: Likewise.
13907         * inet/tst-getni2.c: Likewise.
13908         * libio/ioungetc.c: Likewise.
13909         * libio/wfiledoalloc.c: Likewise.
13910         * manual/libm-err-tab.pl: Likewise.
13911         * math/w_dremf.c: Likewise.
13912         * misc/ftruncate.c: Likewise.
13913         * posix/bug-glob2.c: Likewise.
13914         * posix/tst-pcre.c: Likewise.
13915         * posix/wait4.c: Likewise.
13916         * resolv/README: Likewise.
13917         * resolv/res_debug.h: Likewise.
13918         * resolv/tst-inet_ntop.c: Likewise.
13919         * setjmp/bug269-setjmp.c: Likewise.
13920         * soft-fp/extended.h: Likewise.
13921         * soft-fp/op-1.h: Likewise.
13922         * soft-fp/op-2.h: Likewise.
13923         * soft-fp/op-4.h: Likewise.
13924         * soft-fp/op-8.h: Likewise.
13925         * soft-fp/testit.c: Likewise.
13926         * stdio-common/bug16.c: Likewise.
13927         * stdlib/random.c: Likewise.
13928         * sunrpc/rpcsvc/rquota.x: Likewise.
13929         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
13930         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
13931         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13932         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
13933         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
13934         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
13935         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
13936         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
13937         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
13938         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
13939         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
13940         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
13941         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
13942         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
13943         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
13944         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
13945         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
13946         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
13947         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
13948         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
13949         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
13950         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
13951         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
13952         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
13953         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
13954         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
13955         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
13956         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
13957         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
13958         * sysdeps/ieee754/s_lib_version.c: Likewise.
13959         * sysdeps/mach/hurd/check_fds.c: Likewise.
13960         * sysdeps/mach/hurd/getsockname.c: Likewise.
13961         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
13962         * sysdeps/mach/hurd/recvfrom.c: Likewise.
13963         * sysdeps/powerpc/bits/link.h: Likewise.
13964         * sysdeps/powerpc/dl-procinfo.c: Likewise.
13965         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
13966         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
13967         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
13968         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13969         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
13970         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
13971         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13972         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
13973         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
13974         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
13975         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
13976         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
13977         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
13978         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
13979         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
13980         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
13981         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
13982         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
13983         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13984         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13985         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
13986         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13987         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
13988         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
13989         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
13990         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
13991         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13992         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13993         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
13994         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
13995         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
13996         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13997         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
13998         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
13999         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14000         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14001         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14002         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14003         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14004         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14005         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14006         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14007         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14008         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14009         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14010         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14011         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14012         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14013         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14014         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14015         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14016         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14017         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14018         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14019         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14020         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14021         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14022         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14023         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14024         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14025         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14026         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14027         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14028         * sysdeps/powerpc/sysdep.h: Likewise.
14029         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14030         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14031         * sysdeps/sh/dl-trampoline.S: Likewise.
14032         * sysdeps/sh/memset.S: Likewise.
14033         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14034         * sysdeps/sh/strlen.S: Likewise.
14035         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14036         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14037         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14038         * sysdeps/sparc/sparc32/rem.S: Likewise.
14039         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14040         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14041         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14042         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14043         * sysdeps/sparc/sparc32/urem.S: Likewise.
14044         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14045         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14046         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14047         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14048         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14049         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14050         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14051         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14052         * sysdeps/unix/bsd/times.c: Likewise.
14053         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14054         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14056         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14058         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14059         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14060         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14061         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14062         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14063         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14064         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14065         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14066         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14067         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14068         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14069         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14070         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14071         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14072         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14073         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14074         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14075         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14076         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14077         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14078         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14079         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14080         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14081         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14082         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14083         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14084         * sysdeps/x86_64/strcspn.S: Likewise.
14086 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14088         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14089         generated file.  Regenerate properly from gen-translit.pl.
14090         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14091         locale/C-translit.h.
14093 2013-06-05  Andreas Schwab  <schwab@suse.de>
14095         [BZ #15100]
14096         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14097         week as 6 instead of -1.
14098         * time/tst-strptime.c (day_tests): Add test case.
14100 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14102         * sysdeps/generic/math_private.h
14103         (libc_feholdexcept_setround_53bit): Replace with
14104         libc_feholdsetround_53bit.
14105         (libc_feupdateenv_53bit): Replace with
14106         libc_feresetround_53bit.
14107         (SET_RESTORE_ROUND_53BIT): Adjust.
14109 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14111         * string/test-strchrnul.c: Add copyright header.
14113         * posix/tst-getaddrinfo4.c: Increase test timeout.
14115 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14117         [BZ #15536]
14118         * math/libm-test.inc (MAX_EXP): Remove
14119         (MIN_EXP): Define.
14120         (ulp): Use MIN_EXP - MANT_DIG.
14121         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14123 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14125         * po/be.po: Revert last change.
14126         * po/zh_CN.po: Likewise.
14127         * po/header.pot: Likewise.
14129 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14131         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14132         link-libc-deps to empty as target-specific variable.
14133         * Makerules (link-libc-args): New variable.
14134         (libc-for-link): Likewise.
14135         (link-libc-deps): Likewise.
14136         (lib%.so): Depend on $(link-libc-deps).  Link with
14137         $(link-libc-args).
14138         (build-module): Link with $(link-libc-args).
14139         (build-module-asneeded): Likewise.
14140         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14141         list of objects.
14142         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14143         target-specific variable.
14144         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14145         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14146         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14147         libc.
14148         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14149         libc and ld.so.
14150         ($(objpfx)libpcprofile.so): Likewise.
14151         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14152         libc_nonshared.a.
14153         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14154         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14155         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14156         $(link-libc-deps).
14157         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14158         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14159         * login/Makefile ($(objpfx)libutil.so): Likewise.
14160         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14161         * math/Makefile ($(objpfx)libm.so): Likewise.
14162         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14163         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14164         variable instead of depending directly on libc.
14165         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14166         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14167         $(link-libc-deps).
14168         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14169         libc.
14170         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14171         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14172         ($(objpfx)libanl.so): Likewise.
14173         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14174         ld.so.
14175         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14176         $(link-libc-deps).
14177         * sysdeps/i386/fpu/Makefile: Remove file.
14178         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14179         ($(objpfx)libm.so): Remove dependency on ld.so.
14181 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14183         [BZ # 15553]
14184         * nis/yp_xdr.c (XDRMAXNAME): Define.
14185         (XDRMAXRECORD): Define.
14186         (xdr_domainname): Use XDRMAXNAME.
14187         (xdr_mapname): Likewise.
14188         (xdr_peername): Likewise.
14189         (xdr_keydat): Use XDRMAXRECORD.
14190         (xdr_valdat): Likewise.
14192 2013-05-30  Jeff Law  <law@redhat.com>
14194         [BZ #14256]
14195         * manual/errno.texi (ESTALE): Update to account for more than
14196         just NFS file systems.
14197         * sysdeps/gnu/errlist.c: Regenerated.
14199 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14201         [BZ #15465]
14202         * elf/Makefile (tests): Add tst-null-argv.
14203         (modules-names):  Add tst-null-argv-lib.
14204         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14205         (tst-null-argv-ENV): Set environment for tst-null-argv.
14206         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14207         (RTLD_PROGNAME): New macro.
14208         * elf/tst-null-argv.c: New test case.
14209         * elf/tst-null-argv-lib.c: Library for test case.
14210         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14211         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14212         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14213         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14214         * elf/dl-init.c (call_init): Likewise.
14215         (_dl_init): Likewise.
14216         * elf/dl-load.c (print_search_path): Likewise.
14217         (_dl_map_object): Likewise.
14218         * elf/dl-lookup.c (do_lookup_x): Likewise.
14219         (add_dependency): Likewise.
14220         (_dl_lookup_symbol_x): Likewise.
14221         (_dl_debug_bindings): Likewise.
14222         * elf/dl-open.c (_dl_show_scope): Likewise.
14223         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14224         * elf/dl-version.c (match_symbol): Likewise.
14225         (_dl_check_map_versions): Likewise.
14226         * elf/rtld.c (dl_main): Likewise.
14227         (print_unresolved): Use RTLD_PROGNAME.
14228         (print_missing_version): Likewise.
14229         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14230         (elf_machine_rela): Likewise.
14231         * sysdeps/powerpc/powerpc32/dl-machine.c
14232         (__process_machine_rela): Likewise.
14233         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14234         Likewise.
14235         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14236         Likewise.
14237         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14238         Likewise.
14239         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14240         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14241         Likewise.
14242         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14243         Likewise.
14244         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14246 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14248         * po/be.po: Add descriptive title.
14249         * po/zh_CN.po: Likewise.
14250         * po/header.pot: Likewise.
14252 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14254         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14255         error message.
14256         (enlarge_archive): Likewise.
14258 2013-05-28  Ben North  <ben@redfrontdoor.org>
14260         * manual/arith.texi (frexp): It is the magnitude of the return
14261         value which lies in [0.5, 1), not the return value itself.
14263 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14265         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14267 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14269         * stdio-common/bug26.c (main): Correct fscanf template.
14271         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14272         declare _dl_skip_args.
14274         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14275         Don't declare.
14277         * manual/platform.texi: Add missing @end deftypefun.
14279 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14281         [BZ #15529]
14282         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14283         bit of mantissa of 2^16382.
14284         * math/libm-test.inc (hypot_test_data): Add more tests.
14286         * math/libm-test.inc: Add drem and pow10 to list of tested
14287         functions.
14288         (pow10_test): New function.
14289         (drem_test): Likewise.
14290         (drem_test_tonearest): Likewise.
14291         (drem_test_towardzero): Likewise.
14292         (drem_test_downward): Likewise.
14293         (drem_test_upward): Likewise.
14294         (main): Call the new functions.
14296         * math/libm-test.inc (finite_test_data): Remove.
14297         (finite_test): Run tests from isfinite_test_data.
14298         (gamma_test_data): Remove.
14299         (gamma_test): Run tests from lgamma_test_data.
14300         * sysdeps/i386/fpu/libm-test-ulps: Update.
14301         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14303 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14305         * manual/platform.texi: Add PowerPC PPR function set documentation.
14306         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14307         implementation.
14309 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14311         * math/libm-test.inc (MAX_EXP): Define.
14312         (ULPDIFF): Define.
14313         (ulp): New function.
14314         (check_float_internal): Use ULPDIFF.
14315         (cpow_test): Disable failing test.
14316         (check_ulp): Test ulp() implemetnation.
14317         (main): Call check_ulp before starting tests.
14319 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14321         * math/gen-libm-test.pl (generate_testfile): Do not handle
14322         START_DATA and END_DATA.
14323         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14324         END_DATA.
14325         (acos_tonearest_test_data): Likewise.
14326         (acos_towardzero_test_data): Likewise.
14327         (acos_downward_test_data): Likewise.
14328         (acos_upward_test_data): Likewise.
14329         (acosh_test_data): Likewise.
14330         (asin_test_data): Likewise.
14331         (asin_tonearest_test_data): Likewise.
14332         (asin_towardzero_test_data): Likewise.
14333         (asin_downward_test_data): Likewise.
14334         (asin_upward_test_data): Likewise.
14335         (asinh_test_data): Likewise.
14336         (atan_test_data): Likewise.
14337         (atanh_test_data): Likewise.
14338         (atan2_test_data): Likewise.
14339         (cabs_test_data): Likewise.
14340         (cacos_test_data): Likewise.
14341         (cacosh_test_data): Likewise.
14342         (carg_test_data): Likewise.
14343         (casin_test_data): Likewise.
14344         (casinh_test_data): Likewise.
14345         (catan_test_data): Likewise.
14346         (catanh_test_data): Likewise.
14347         (cbrt_test_data): Likewise.
14348         (ccos_test_data): Likewise.
14349         (ccosh_test_data): Likewise.
14350         (ceil_test_data): Likewise.
14351         (cexp_test_data): Likewise.
14352         (cimag_test_data): Likewise.
14353         (clog_test_data): Likewise.
14354         (clog10_test_data): Likewise.
14355         (conj_test_data): Likewise.
14356         (copysign_test_data): Likewise.
14357         (cos_test_data): Likewise.
14358         (cos_tonearest_test_data): Likewise.
14359         (cos_towardzero_test_data): Likewise.
14360         (cos_downward_test_data): Likewise.
14361         (cos_upward_test_data): Likewise.
14362         (cosh_test_data): Likewise.
14363         (cosh_tonearest_test_data): Likewise.
14364         (cosh_towardzero_test_data): Likewise.
14365         (cosh_downward_test_data): Likewise.
14366         (cosh_upward_test_data): Likewise.
14367         (cpow_test_data): Likewise.
14368         (cproj_test_data): Likewise.
14369         (creal_test_data): Likewise.
14370         (csin_test_data): Likewise.
14371         (csinh_test_data): Likewise.
14372         (csqrt_test_data): Likewise.
14373         (ctan_test_data): Likewise.
14374         (ctan_tonearest_test_data): Likewise.
14375         (ctan_towardzero_test_data): Likewise.
14376         (ctan_downward_test_data): Likewise.
14377         (ctan_upward_test_data): Likewise.
14378         (ctanh_test_data): Likewise.
14379         (ctanh_tonearest_test_data): Likewise.
14380         (ctanh_towardzero_test_data): Likewise.
14381         (ctanh_downward_test_data): Likewise.
14382         (ctanh_upward_test_data): Likewise.
14383         (erf_test_data): Likewise.
14384         (erfc_test_data): Likewise.
14385         (exp_test_data): Likewise.
14386         (exp_tonearest_test_data): Likewise.
14387         (exp_towardzero_test_data): Likewise.
14388         (exp_downward_test_data): Likewise.
14389         (exp_upward_test_data): Likewise.
14390         (exp10_test_data): Likewise.
14391         (exp2_test_data): Likewise.
14392         (expm1_test_data): Likewise.
14393         (fabs_test_data): Likewise.
14394         (fdim_test_data): Likewise.
14395         (finite_test_data): Likewise.
14396         (floor_test_data): Likewise.
14397         (fma_test_data): Likewise.
14398         (fma_towardzero_test_data): Likewise.
14399         (fma_downward_test_data): Likewise.
14400         (fma_upward_test_data): Likewise.
14401         (fmax_test_data): Likewise.
14402         (fmin_test_data): Likewise.
14403         (fmod_test_data): Likewise.
14404         (fpclassify_test_data): Likewise.
14405         (frexp_test_data): Likewise.
14406         (gamma_test_data): Likewise.
14407         (hypot_test_data): Likewise.
14408         (ilogb_test_data): Likewise.
14409         (isfinite_test_data): Likewise.
14410         (isgreater_test_data): Likewise.
14411         (isgreaterequal_test_data): Likewise.
14412         (isinf_test_data): Likewise.
14413         (isless_test_data): Likewise.
14414         (islessequal_test_data): Likewise.
14415         (islessgreater_test_data): Likewise.
14416         (isnan_test_data): Likewise.
14417         (isnormal_test_data): Likewise.
14418         (issignaling_test_data): Likewise.
14419         (isunordered_test_data): Likewise.
14420         (j0_test_data): Likewise.
14421         (j1_test_data): Likewise.
14422         (jn_test_data): Likewise.
14423         (ldexp_test_data): Likewise.
14424         (lgamma_test_data): Likewise.
14425         (lrint_test_data): Likewise.
14426         (lrint_tonearest_test_data): Likewise.
14427         (lrint_towardzero_test_data): Likewise.
14428         (lrint_downward_test_data): Likewise.
14429         (lrint_upward_test_data): Likewise.
14430         (llrint_test_data): Likewise.
14431         (llrint_tonearest_test_data): Likewise.
14432         (llrint_towardzero_test_data): Likewise.
14433         (llrint_downward_test_data): Likewise.
14434         (llrint_upward_test_data): Likewise.
14435         (log_test_data): Likewise.
14436         (log10_test_data): Likewise.
14437         (log1p_test_data): Likewise.
14438         (log2_test_data): Likewise.
14439         (logb_test_data): Likewise.
14440         (logb_downward_test_data): Likewise.
14441         (lround_test_data): Likewise.
14442         (llround_test_data): Likewise.
14443         (modf_test_data): Likewise.
14444         (nearbyint_test_data): Likewise.
14445         (nextafter_test_data): Likewise.
14446         (nexttoward_test_data): Likewise.
14447         (pow_test_data): Likewise.
14448         (pow_tonearest_test_data): Likewise.
14449         (pow_towardzero_test_data): Likewise.
14450         (pow_downward_test_data): Likewise.
14451         (pow_upward_test_data): Likewise.
14452         (remainder_test_data): Likewise.
14453         (remainder_tonearest_test_data): Likewise.
14454         (remainder_towardzero_test_data): Likewise.
14455         (remainder_downward_test_data): Likewise.
14456         (remainder_upward_test_data): Likewise.
14457         (remquo_test_data): Likewise.
14458         (rint_test_data): Likewise.
14459         (rint_tonearest_test_data): Likewise.
14460         (rint_towardzero_test_data): Likewise.
14461         (rint_downward_test_data): Likewise.
14462         (rint_upward_test_data): Likewise.
14463         (round_test_data): Likewise.
14464         (scalb_test_data): Likewise.
14465         (scalbn_test_data): Likewise.
14466         (scalbln_test_data): Likewise.
14467         (signbit_test_data): Likewise.
14468         (sin_test_data): Likewise.
14469         (sin_tonearest_test_data): Likewise.
14470         (sin_towardzero_test_data): Likewise.
14471         (sin_downward_test_data): Likewise.
14472         (sin_upward_test_data): Likewise.
14473         (sincos_test_data): Likewise.
14474         (sinh_test_data): Likewise.
14475         (sinh_tonearest_test_data): Likewise.
14476         (sinh_towardzero_test_data): Likewise.
14477         (sinh_downward_test_data): Likewise.
14478         (sinh_upward_test_data): Likewise.
14479         (sqrt_test_data): Likewise.
14480         (tan_test_data): Likewise.
14481         (tan_tonearest_test_data): Likewise.
14482         (tan_towardzero_test_data): Likewise.
14483         (tan_downward_test_data): Likewise.
14484         (tan_upward_test_data): Likewise.
14485         (tanh_test_data): Likewise.
14486         (tgamma_test_data): Likewise.
14487         (trunc_test_data): Likewise.
14488         (y0_test_data): Likewise.
14489         (y1_test_data): Likewise.
14490         (yn_test_data): Likewise.
14491         (significand_test_data): Likewise.
14493         * math/gen-libm-test.pl (@functions): Remove variable.
14494         (generate_testfile): Don't handle START and END lines.
14495         * math/libm-test.inc (START): New macro.
14496         (END): Likewise.
14497         (END_COMPLEX): Likewise.
14498         (acos_test): Use END macro without arguments.
14499         (acos_test_tonearest): Likewise.
14500         (acos_test_towardzero): Likewise.
14501         (acos_test_downward): Likewise.
14502         (acos_test_upward): Likewise.
14503         (acosh_test): Likewise.
14504         (asin_test): Likewise.
14505         (asin_test_tonearest): Likewise.
14506         (asin_test_towardzero): Likewise.
14507         (asin_test_downward): Likewise.
14508         (asin_test_upward): Likewise.
14509         (asinh_test): Likewise.
14510         (atan_test): Likewise.
14511         (atanh_test): Likewise.
14512         (atan2_test): Likewise.
14513         (cabs_test): Likewise.
14514         (cacos_test): Use END_COMPLEX macro without arguments.
14515         (cacosh_test): Likewise.
14516         (carg_test): Use END macro without arguments.
14517         (casin_test): Use END_COMPLEX macro without arguments.
14518         (casinh_test): Likewise.
14519         (catan_test): Likewise.
14520         (catanh_test): Likewise.
14521         (cbrt_test): Use END macro without arguments.
14522         (ccos_test): Use END_COMPLEX macro without arguments.
14523         (ccosh_test): Likewise.
14524         (ceil_test): Use END macro without arguments.
14525         (cexp_test): Use END_COMPLEX macro without arguments.
14526         (cimag_test): Use END macro without arguments.
14527         (clog_test): Use END_COMPLEX macro without arguments.
14528         (clog10_test): Likewise.
14529         (conj_test): Likewise.
14530         (copysign_test): Use END macro without arguments.
14531         (cos_test): Likewise.
14532         (cos_test_tonearest): Likewise.
14533         (cos_test_towardzero): Likewise.
14534         (cos_test_downward): Likewise.
14535         (cos_test_upward): Likewise.
14536         (cosh_test): Likewise.
14537         (cosh_test_tonearest): Likewise.
14538         (cosh_test_towardzero): Likewise.
14539         (cosh_test_downward): Likewise.
14540         (cosh_test_upward): Likewise.
14541         (cpow_test): Use END_COMPLEX macro without arguments.
14542         (cproj_test): Likewise.
14543         (creal_test): Use END macro without arguments.
14544         (csin_test): Use END_COMPLEX macro without arguments.
14545         (csinh_test): Likewise.
14546         (csqrt_test): Likewise.
14547         (ctan_test): Likewise.
14548         (ctan_test_tonearest): Likewise.
14549         (ctan_test_towardzero): Likewise.
14550         (ctan_test_downward): Likewise.
14551         (ctan_test_upward): Likewise.
14552         (ctanh_test): Likewise.
14553         (ctanh_test_tonearest): Likewise.
14554         (ctanh_test_towardzero): Likewise.
14555         (ctanh_test_downward): Likewise.
14556         (ctanh_test_upward): Likewise.
14557         (erf_test): Use END macro without arguments.
14558         (erfc_test): Likewise.
14559         (exp_test): Likewise.
14560         (exp_test_tonearest): Likewise.
14561         (exp_test_towardzero): Likewise.
14562         (exp_test_downward): Likewise.
14563         (exp_test_upward): Likewise.
14564         (exp10_test): Likewise.
14565         (exp2_test): Likewise.
14566         (expm1_test): Likewise.
14567         (fabs_test): Likewise.
14568         (fdim_test): Likewise.
14569         (finite_test): Likewise.
14570         (floor_test): Likewise.
14571         (fma_test): Likewise.
14572         (fma_test_towardzero): Likewise.
14573         (fma_test_downward): Likewise.
14574         (fma_test_upward): Likewise.
14575         (fmax_test): Likewise.
14576         (fmin_test): Likewise.
14577         (fmod_test): Likewise.
14578         (fpclassify_test): Likewise.
14579         (frexp_test): Likewise.
14580         (gamma_test): Likewise.
14581         (hypot_test): Likewise.
14582         (ilogb_test): Likewise.
14583         (isfinite_test): Likewise.
14584         (isgreater_test): Likewise.
14585         (isgreaterequal_test): Likewise.
14586         (isinf_test): Likewise.
14587         (isless_test): Likewise.
14588         (islessequal_test): Likewise.
14589         (islessgreater_test): Likewise.
14590         (isnan_test): Likewise.
14591         (isnormal_test): Likewise.
14592         (issignaling_test): Likewise.
14593         (isunordered_test): Likewise.
14594         (j0_test): Likewise.
14595         (j1_test): Likewise.
14596         (jn_test): Likewise.
14597         (ldexp_test): Likewise.
14598         (lgamma_test): Likewise.
14599         (lrint_test): Likewise.
14600         (lrint_test_tonearest): Likewise.
14601         (lrint_test_towardzero): Likewise.
14602         (lrint_test_downward): Likewise.
14603         (lrint_test_upward): Likewise.
14604         (llrint_test): Likewise.
14605         (llrint_test_tonearest): Likewise.
14606         (llrint_test_towardzero): Likewise.
14607         (llrint_test_downward): Likewise.
14608         (llrint_test_upward): Likewise.
14609         (log_test): Likewise.
14610         (log10_test): Likewise.
14611         (log1p_test): Likewise.
14612         (log2_test): Likewise.
14613         (logb_test): Likewise.
14614         (logb_test_downward): Likewise.
14615         (lround_test): Likewise.
14616         (llround_test): Likewise.
14617         (modf_test): Likewise.
14618         (nearbyint_test): Likewise.
14619         (nextafter_test): Likewise.
14620         (nexttoward_test): Likewise.
14621         (pow_test): Likewise.
14622         (pow_test_tonearest): Likewise.
14623         (pow_test_towardzero): Likewise.
14624         (pow_test_downward): Likewise.
14625         (pow_test_upward): Likewise.
14626         (remainder_test): Likewise.
14627         (remainder_test_tonearest): Likewise.
14628         (remainder_test_towardzero): Likewise.
14629         (remainder_test_downward): Likewise.
14630         (remainder_test_upward): Likewise.
14631         (remquo_test): Likewise.
14632         (rint_test): Likewise.
14633         (rint_test_tonearest): Likewise.
14634         (rint_test_towardzero): Likewise.
14635         (rint_test_downward): Likewise.
14636         (rint_test_upward): Likewise.
14637         (round_test): Likewise.
14638         (scalb_test): Likewise.
14639         (scalbn_test): Likewise.
14640         (scalbln_test): Likewise.
14641         (signbit_test): Likewise.
14642         (sin_test): Likewise.
14643         (sin_test_tonearest): Likewise.
14644         (sin_test_towardzero): Likewise.
14645         (sin_test_downward): Likewise.
14646         (sin_test_upward): Likewise.
14647         (sincos_test): Likewise.
14648         (sinh_test): Likewise.
14649         (sinh_test_tonearest): Likewise.
14650         (sinh_test_towardzero): Likewise.
14651         (sinh_test_downward): Likewise.
14652         (sinh_test_upward): Likewise.
14653         (sqrt_test): Likewise.
14654         (tan_test): Likewise.
14655         (tan_test_tonearest): Likewise.
14656         (tan_test_towardzero): Likewise.
14657         (tan_test_downward): Likewise.
14658         (tan_test_upward): Likewise.
14659         (tanh_test): Likewise.
14660         (tgamma_test): Likewise.
14661         (trunc_test): Likewise.
14662         (y0_test): Likewise.
14663         (y1_test): Likewise.
14664         (yn_test): Likewise.
14665         (significand_test): Likewise.
14667 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14669         [BZ #15381]
14670         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14672 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14674         [BZ #14894]
14675         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14676         __ppc_mdoio and __ppc_mdoom.
14677         * manual/platform.texi: Document new functions __ppc_yield,
14678         __ppc_mdoio and __ppc_mdoom.
14680 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14682         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14683         (main): Mention "tls" pseudo-hwcap is legacy.
14684         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14686 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14688         * math/gen-libm-test.pl (parse_args): Output only string of
14689         arguments as text for test name, not full call or descriptions of
14690         tests for extra outputs.
14691         (generate_testfile): Do not pass function name to parse_args.
14692         Generate this_func variable from START.
14693         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14694         field to arg_str.
14695         (struct test_ff_f_data): Likewise.
14696         (test_ff_f_data_nexttoward): Likewise.
14697         (struct test_fi_f_data): Likewise.
14698         (struct test_fl_f_data): Likewise.
14699         (struct test_if_f_data): Likewise.
14700         (struct test_fff_f_data): Likewise.
14701         (struct test_c_f_data): Likewise.
14702         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14703         (struct test_fF_f1_data): Likewise.
14704         (struct test_ffI_f1_data): Likewise.
14705         (struct test_c_c_data): Rename test_name field to arg_str.
14706         (struct test_cc_c_data): Likewise.
14707         (struct test_f_i_data): Likewise.
14708         (struct test_ff_i_data): Likewise.
14709         (struct test_f_l_data): Likewise.
14710         (struct test_f_L_data): Likewise.
14711         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14712         and extra2_name.
14713         (COMMON_TEST_SETUP): New macro.
14714         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14715         (COMMON_TEST_CLEANUP): Likewise.
14716         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14717         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14718         macros.
14719         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14720         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14721         macros.
14722         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14723         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14724         cleanup macros.
14725         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14726         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14727         macros.
14728         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14729         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14730         macros.
14731         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14732         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14733         cleanup macros.
14734         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14735         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14736         cleanup macros.
14737         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14738         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14739         cleanup macros.
14740         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14741         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14742         macros.
14743         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14744         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14745         macros.
14746         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14747         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14748         macros.
14749         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14750         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14751         cleanup macros.
14752         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14753         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14754         cleanup macros.
14755         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14756         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14757         macros.
14758         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14759         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14760         cleanup macros.
14761         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14762         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14763         macros.
14764         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14765         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14766         macros.
14767         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14768         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14769         cleanup macros.
14770         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14772 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14774         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14775         to _sifields.sigfault.
14776         (si_addr_lsb): Define new macro.
14777         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14778         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14779         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14781 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14783         [BZ #15441]
14784         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14785         returns -1.
14786         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14787         null return -1.
14788         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14789         loading the domain.
14791 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14793         * math/gen-libm-test.pl (parse_args): Do not include expected
14794         result in test name.
14795         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14796         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14797         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14798         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14799         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14800         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14802 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14804         * benchtests/Makefile: Sort function entries.
14806         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14807         tanh, asinh, acosh, atanh.
14808         * benchtests/acos-inputs: New file.
14809         * benchtests/acosh-inputs: New file.
14810         * benchtests/asin-inputs: New file.
14811         * benchtests/asinh-inputs: New file.
14812         * benchtests/atanh-inputs: New file.
14813         * benchtests/cosh-inputs: New file.
14814         * benchtests/log-inputs: New file.
14815         * benchtests/sinh-inputs: New file.
14816         * benchtests/tanh-inputs: New file.
14818 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14820         [BZ #15339]
14821         * posix/tst-getaddrinfo4.c: New test.
14822         * posix/Makefile (tests): Add it.
14824 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14826         [BZ #15339]
14827         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14828         when no services were used.
14829         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14830         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14832 2013-05-21  Andreas Schwab  <schwab@suse.de>
14834         [BZ #15014]
14835         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14836         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14837         successful.
14838         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14839         redundant variable declarations and reallocation of buffer when
14840         parsing as IPv6 address.  Always set NSS status when called from
14841         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14842         buffer too small.  Correct computation of needed size.
14843         * nss/Makefile (tests): Add test-digits-dots.
14844         * nss/test-digits-dots.c: New test.
14846 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14848         * benchtests/Makefile: Remove instructions for adding
14849         benchmark tests.
14850         * benchtests/README: New file to explain how to execute and
14851         enhance the benchmark tests.
14853 2013-05-21  Andreas Schwab  <schwab@suse.de>
14855         [BZ #15493]
14856         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14857         * setjmp/tst-sigsetjmp.c: New test.
14859 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14861         * sysdeps/x86_64/memset.S (memset): New implementation.
14862         (__bzero): Likewise.
14863         (__memset_tail): New function.
14865 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14867         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14868         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14869         __memcpy_sse2_unaligned ifunc selection.
14870         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
14871         Add memcpy-sse2-unaligned.S.
14872         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
14873         Add: __memcpy_sse2_unaligned.
14875 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
14877         [BZ #15490]
14878         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
14879         math_force_eval before restoring floating-point envrionment.
14880         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
14881         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
14882         Likewise.
14883         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
14884         <math_private.h>.
14885         (__nearbyintl): Use math_force_eval before restoring
14886         floating-point environment.
14887         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
14889         * math/gen-libm-test.pl (special_functions): Remove.
14890         (parse_args): Don't handle TEST_extra.  Handle functions with no
14891         return value.
14892         * math/libm-test.inc (struct test_sincos_data): Replace with
14893         struct test_fFF_11_data.
14894         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
14895         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
14896         (sincos_test_data): Change element type to struct
14897         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
14898         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
14899         RUN_TEST_LOOP_sincos.
14900         * math/README.libm-test: Don't mention special handling of
14901         individual functions.
14902         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
14903         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14904         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14905         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14906         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14907         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14909         * math/gen-libm-test.pl (get_variable): Remove function.
14910         (parse_args): Don't show pointer parameters to call in test
14911         names.  Use "extra output N" in test names for extra outputs
14912         rather than naming variables.
14914 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
14916         [BZ #15488]
14917         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
14918         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
14919         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
14920         double tests.
14921         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
14922         disable.
14923         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
14924         check_long_double.
14926         * math/gen-libm-test.pl (@tests): Remove variable.
14927         ($count): Likewise.
14928         (new_test): Remove function.
14929         (show_exceptions): New function.
14930         (special_functions): Use show_exceptions instead of new_test.
14931         (parse_args): Likewise.
14932         (generate_testfile): Pass only function name in generated call to
14933         print_max_error or print_complex_max_error.
14934         (get_ulps): Do not handle complex tests specially.
14935         (output_test): Rename to ...
14936         (get_all_ulps_for_test): ... this.  Return a string rather than
14937         printing to a file.  Require ulps to be present.
14938         (output_ulps): Generate arrays rather than #defines.
14939         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
14940         (struct ulp_data): New type.
14941         (BUILD_COMPLEX_ULP): Remove macro.
14942         (compare_ulp_data): New function.
14943         (find_ulps): Likewise.
14944         (find_test_ulps): Likewise.
14945         (find_function_ulps): Likewise.
14946         (find_complex_function_ulps): Likewise.
14947         (print_max_error): Determine allowed ulps using
14948         find_function_ulps.
14949         (print_complex_max_error): Determine allowed ulps using
14950         find_complex_function_ulps.
14951         (check_float_internal): Determine max ulps using find_test_ulps.
14952         (check_float): Do not take max_ulp parameter.  Update call to
14953         check_float_internal.
14954         (check_complex): Likewise.
14955         (check_int): Do not take max_ulp parameter.
14956         (check_long): Likewise.
14957         (check_bool): Likewise.
14958         (check_longlong): Likewise.
14959         (struct test_f_f_data): Remove max_ulp field.
14960         (struct test_ff_f_data): Likewise.
14961         (struct test_ff_f_data_nexttoward): Likewise.
14962         (struct test_fi_f_data): Likewise.
14963         (struct test_fl_f_data): Likewise.
14964         (struct test_if_f_data): Likewise.
14965         (struct test_fff_f_data): Likewise.
14966         (struct test_c_f_data): Likewise.
14967         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
14968         (struct test_fF_f1_data): Likewise.
14969         (struct test_ffI_f1_data): Likewise.
14970         (struct test_c_c_data): Remove max_ulp field.
14971         (struct test_cc_c_data): Likewise.
14972         (struct test_f_i_data): Likewise.
14973         (struct test_ff_i_data): Likewise.
14974         (struct test_f_l_data): Likewise.
14975         (struct test_f_L_data): Likewise.
14976         (struct test_sincos_data): Likewise.
14977         (RUN_TEST_f_f): Do not handle ulps.
14978         (RUN_TEST_LOOP_f_f): Likewise.
14979         (RUN_TEST_2_f): Likewise.
14980         (RUN_TEST_LOOP_2_f): Likewise.
14981         (RUN_TEST_fff_f): Likewise.
14982         (RUN_TEST_LOOP_fff_f): Likewise.
14983         (RUN_TEST_c_f): Likewise.
14984         (RUN_TEST_LOOP_c_f): Likewise.
14985         (RUN_TEST_f_f1): Likewise.
14986         (RUN_TEST_LOOP_f_f1): Likewise.
14987         (RUN_TEST_fF_f1): Likewise.
14988         (RUN_TEST_LOOP_fF_f1): Likewise.
14989         (RUN_TEST_fI_f1): Likewise.
14990         (RUN_TEST_LOOP_fI_f1): Likewise.
14991         (RUN_TEST_ffI_f1): Likewise.
14992         (RUN_TEST_LOOP_ffI_f1): Likewise.
14993         (RUN_TEST_c_c): Likewise.
14994         (RUN_TEST_LOOP_c_c): Likewise.
14995         (RUN_TEST_cc_c): Likewise.
14996         (RUN_TEST_LOOP_cc_c): Likewise.
14997         (RUN_TEST_f_i): Likewise.
14998         (RUN_TEST_LOOP_f_i): Likewise.
14999         (RUN_TEST_f_i_tg): Likewise.
15000         (RUN_TEST_LOOP_f_i_tg): Likewise.
15001         (RUN_TEST_ff_i_tg): Likewise.
15002         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15003         (RUN_TEST_f_b): Likewise.
15004         (RUN_TEST_LOOP_f_b): Likewise.
15005         (RUN_TEST_f_b_tg): Likewise.
15006         (RUN_TEST_LOOP_f_b_tg): Likewise.
15007         (RUN_TEST_f_l): Likewise.
15008         (RUN_TEST_LOOP_f_l): Likewise.
15009         (RUN_TEST_f_L): Likewise.
15010         (RUN_TEST_LOOP_f_L): Likewise.
15011         (RUN_TEST_sincos): Likewise.
15012         (RUN_TEST_LOOP_sincos): Likewise.
15014 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15016         [BZ #15480]
15017         [BZ #15485]
15018         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15019         main case of finite arguments, set rounding mode to FE_TONEAREST
15020         and discard exceptions.
15021         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15022         exceptions.
15023         (remainder_tonearest_test_data): New variable.
15024         (remainder_test_tonearest): New function.
15025         (remainder_towardzero_test_data): New variable.
15026         (remainder_test_towardzero): New function.
15027         (remainder_downward_test_data): New variable.
15028         (remainder_test_downward): New function.
15029         (remainder_upward_test_data): New variable.
15030         (remainder_test_upward): New function.
15031         (main): Call the new test functions.
15033         * math/libm-test.inc (struct test_f_f1_data): Remove field
15034         extra_init.
15035         (struct test_fF_f1_data): Likewise.
15036         (struct test_ffI_f1_data): Likewise.
15037         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15038         based on value of EXTRA_EXPECTED.
15039         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15040         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15041         EXTRA_VAR based on value of EXTRA_EXPECTED.
15042         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15043         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15044         EXTRA_VAR based on value of EXTRA_EXPECTED.
15045         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15046         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15047         EXTRA_VAR based on value of EXTRA_EXPECTED.
15048         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15049         * math/gen-libm-test.pl (parse_args): Don't output initializers
15050         for extra output values.
15052         * math/libm-test.inc (check_int): Expect result to be exactly
15053         equal to expected value and do not handle ulps.
15054         (check_long): Likewise.
15055         (check_longlong): Likewise.
15057         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15058         exceptions.
15059         (cimag_test_data): Likewise.
15060         (conj_test_data): Likewise.
15061         (copysign_test_data): Likewise.
15062         (cproj_test_data): Likewise.
15063         (creal_test_data): Likewise.
15064         (fabs_test_data): Likewise.
15065         (fdim_test_data): Likewise.
15066         (finite_test_data): Likewise.
15067         (floor_test_data): Likewise.
15068         (fmax_test_data): Likewise.
15069         (fmin_test_data): Likewise.
15070         (fmod_test_data): Likewise.
15071         (fpclassify_test_data): Likewise.
15072         (frexp_test_data): Likewise.
15073         (ilogb_test_data): Likewise.
15074         (isfinite_test_data): Likewise.
15075         (isgreater_test_data): Likewise.
15076         (isgreaterequal_test_data): Likewise.
15077         (isinf_test_data): Likewise.
15078         (isless_test_data): Likewise.
15079         (islessequal_test_data): Likewise.
15080         (islessgreater_test_data): Likewise.
15081         (isnan_test_data): Likewise.
15082         (isnormal_test_data): Likewise.
15083         (issignaling_test_data): Likewise.
15084         (isunordered_test_data): Likewise.
15085         (ldexp_test_data): Likewise.
15086         (lrint_test_data): Likewise.
15087         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15088         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15089         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15090         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15091         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15092         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15093         test input.
15094         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15095         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15096         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15097         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15098         that test input.
15099         (lrint_downward_test_data): Test for "inexact" exceptions.
15100         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15101         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15102         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15103         test input.
15104         (lrint_upward_test_data): Test for "inexact" exceptions.
15105         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15106         test input.
15107         (llrint_test_data): Test for "inexact" exceptions.
15108         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15109         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15110         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15111         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15112         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15113         (llrint_downward_test_data): Test for "inexact" exceptions.
15114         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15115         (llrint_upward_test_data): Test for "inexact" exceptions.
15116         (logb_test_data): Likewise.
15117         (logb_downward_test_data): Likewise.
15118         (nextafter_test_data): Likewise.
15119         (nexttoward_test_data): Likewise.
15120         (remainder_test_data): Likewise.
15121         (remquo_test_data): Likewise.
15122         (scalbn_test_data): Likewise.
15123         (scalbln_test_data): Likewise.
15124         (signbit_test_data): Likewise.
15125         (sqrt_test_data): Likewise.
15126         (significand_test_data): Likewise.
15128 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15130         [BZ #15424]
15131         * benchtests/bench-modf.c (struct args): Mark arg0 as
15132         volatile.
15133         * scripts/bench.pl: Mark members of struct args as volatile.
15135 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15137         [BZ # 15497]
15138         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15139         negative infinity on POWER6 or lower.
15140         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15142 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15144         [BZ #15442]
15145         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15146         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15147         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15148         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15149         (_FP_SETQNAN): New macro.
15150         (_FP_SETQNAN_SEMIRAW): Likewise.
15151         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15152         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15153         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15154         (FP_EXTEND): Use _FP_FRAC_SNANP.
15155         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15156         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15157         into account.
15158         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15159         New macro.
15160         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15161         Likewise.
15163 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15165         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15166         with DIVIDE_BY_ZERO_EXCEPTION.
15167         (gamma_test_data): Likewise.
15168         (lgamma_test_data): Likewise.
15169         (log_test_data): Likewise.
15170         (log10_test_data): Likewise.
15171         (log2_test_data): Likewise.
15172         (tgamma_test_data): Likewise.
15174         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15175         (acos_test_tonearest): Likewise.
15176         (acos_test_towardzero): Likewise.
15177         (acos_test_downward): Likewise.
15178         (acos_test_upward): Likewise.
15179         (acosh_test): Likewise.
15180         (asin_test): Likewise.
15181         (asin_test_tonearest): Likewise.
15182         (asin_test_towardzero): Likewise.
15183         (asin_test_downward): Likewise.
15184         (asin_test_upward): Likewise.
15185         (asinh_test): Likewise.
15186         (atan_test): Likewise.
15187         (atanh_test): Likewise.
15188         (atan2_test): Likewise.
15189         (cabs_test): Likewise.
15190         (cacos_test): Likewise.
15191         (cacosh_test): Likewise.
15192         (casin_test): Likewise.
15193         (casinh_test): Likewise.
15194         (catan_test): Likewise.
15195         (catanh_test): Likewise.
15196         (cbrt_test): Likewise.
15197         (ccos_test): Likewise.
15198         (ccosh_test): Likewise.
15199         (cexp_test): Likewise.
15200         (clog_test): Likewise.
15201         (clog10_test): Likewise.
15202         (cos_test): Likewise.
15203         (cos_test_tonearest): Likewise.
15204         (cos_test_towardzero): Likewise.
15205         (cos_test_downward): Likewise.
15206         (cos_test_upward): Likewise.
15207         (cosh_test): Likewise.
15208         (cosh_test_tonearest): Likewise.
15209         (cosh_test_towardzero): Likewise.
15210         (cosh_test_downward): Likewise.
15211         (cosh_test_upward): Likewise.
15212         (cpow_test): Likewise.
15213         (csin_test): Likewise.
15214         (csinh_test): Likewise.
15215         (csqrt_test): Likewise.
15216         (ctan_test): Likewise.
15217         (ctan_test_tonearest): Likewise.
15218         (ctan_test_towardzero): Likewise.
15219         (ctan_test_downward): Likewise.
15220         (ctan_test_upward): Likewise.
15221         (ctanh_test): Likewise.
15222         (ctanh_test_tonearest): Likewise.
15223         (ctanh_test_towardzero): Likewise.
15224         (ctanh_test_downward): Likewise.
15225         (ctanh_test_upward): Likewise.
15226         (erf_test): Likewise.
15227         (erfc_test): Likewise.
15228         (exp_test): Likewise.
15229         (exp_test_tonearest): Likewise.
15230         (exp_test_towardzero): Likewise.
15231         (exp_test_downward): Likewise.
15232         (exp_test_upward): Likewise.
15233         (exp10_test): Likewise.
15234         (exp2_test): Likewise.
15235         (expm1_test): Likewise.
15236         (fmod_test): Likewise.
15237         (gamma_test): Likewise.
15238         (hypot_test): Likewise.
15239         (j0_test): Likewise.
15240         (j1_test): Likewise.
15241         (jn_test): Likewise.
15242         (lgamma_test): Likewise.
15243         (log_test): Likewise.
15244         (log10_test): Likewise.
15245         (log1p_test): Likewise.
15246         (log2_test): Likewise.
15247         (logb_test_downward): Likewise.
15248         (pow_test): Likewise.
15249         (pow_test_tonearest): Likewise.
15250         (pow_test_towardzero): Likewise.
15251         (pow_test_downward): Likewise.
15252         (pow_test_upward): Likewise.
15253         (remainder_test): Likewise.
15254         (remquo_test): Likewise.
15255         (sin_test): Likewise.
15256         (sin_test_tonearest): Likewise.
15257         (sin_test_towardzero): Likewise.
15258         (sin_test_downward): Likewise.
15259         (sin_test_upward): Likewise.
15260         (sincos_test): Likewise.
15261         (sinh_test): Likewise.
15262         (sinh_test_tonearest): Likewise.
15263         (sinh_test_towardzero): Likewise.
15264         (sinh_test_downward): Likewise.
15265         (sinh_test_upward): Likewise.
15266         (sqrt_test): Likewise.
15267         (tan_test): Likewise.
15268         (tan_test_tonearest): Likewise.
15269         (tan_test_towardzero): Likewise.
15270         (tan_test_downward): Likewise.
15271         (tan_test_upward): Likewise.
15272         (tanh_test): Likewise.
15273         (tgamma_test): Likewise.
15274         (y0_test): Likewise.
15275         (y1_test): Likewise.
15276         (yn_test): Likewise.
15278         * math/gen-libm-test.pl (adjust_arg): Remove function.
15279         (special_function): Remove argument $in_func.  Only handle
15280         generating output for tables of tests, not inside functions.
15281         (parse_args): Likewise.
15282         (generate_testfile): Remove variable $in_func.  Update call to
15283         parse_args.
15284         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15285         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15286         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15287         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15288         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15289         (MAX_VALUE_INIT): Rename macro to max_value.
15290         (MIN_VALUE_INIT): Rename macro to min_value.
15291         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15292         (plus_zero): Remove variable.
15293         (minus_zero): Likewise.
15294         (plus_infty): Likewise.
15295         (minus_infty): Likewise.
15296         (qnan_value): Likewise.
15297         (max_value): Likewise.
15298         (min_value): Likewise.
15299         (min_subnorm_value): Likewise.
15301 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15303         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15304         uint64_t or uint32_t usage.
15305         * crypt/sha256-block.c: Likewise.
15306         * crypt/sha256-crypt.c: Likewise.
15307         * crypt/sha256.c: Likewise.
15308         * crypt/sha512-block.c: Likewise.
15309         * crypt/sha512-crypt.c: Likewise.
15310         * crypt/sha512.c: Likewise.
15311         * debug/backtrace-tst.c: Likewise.
15312         * debug/pcprofiledump.c: Likewise.
15313         * elf/cache.c: Likewise.
15314         * elf/dl-cache.c: Likewise.
15315         * elf/dl-misc.c: Likewise.
15316         * elf/dl-profile.c: Likewise.
15317         * elf/dl-support.c: Likewise.
15318         * elf/ldconfig.c: Likewise.
15319         * elf/sprof.c: Likewise.
15320         * iconv/dummy-repertoire.c: Likewise.
15321         * iconv/iconv_charmap.c: Likewise.
15322         * iconv/skeleton.c: Likewise.
15323         * iconvdata/8bit-generic.c: Likewise.
15324         * iconvdata/cp737.h: Likewise.
15325         * iconvdata/cp775.h: Likewise.
15326         * iconvdata/ibm1008.h: Likewise.
15327         * iconvdata/ibm1025.h: Likewise.
15328         * iconvdata/ibm1046.h: Likewise.
15329         * iconvdata/ibm1097.h: Likewise.
15330         * iconvdata/ibm1112.h: Likewise.
15331         * iconvdata/ibm1122.h: Likewise.
15332         * iconvdata/ibm1123.h: Likewise.
15333         * iconvdata/ibm1124.h: Likewise.
15334         * iconvdata/ibm1129.h: Likewise.
15335         * iconvdata/ibm1130.h: Likewise.
15336         * iconvdata/ibm1132.h: Likewise.
15337         * iconvdata/ibm1133.h: Likewise.
15338         * iconvdata/ibm1137.h: Likewise.
15339         * iconvdata/ibm1140.h: Likewise.
15340         * iconvdata/ibm1141.h: Likewise.
15341         * iconvdata/ibm1142.h: Likewise.
15342         * iconvdata/ibm1143.h: Likewise.
15343         * iconvdata/ibm1144.h: Likewise.
15344         * iconvdata/ibm1145.h: Likewise.
15345         * iconvdata/ibm1146.h: Likewise.
15346         * iconvdata/ibm1147.h: Likewise.
15347         * iconvdata/ibm1148.h: Likewise.
15348         * iconvdata/ibm1149.h: Likewise.
15349         * iconvdata/ibm1153.h: Likewise.
15350         * iconvdata/ibm1154.h: Likewise.
15351         * iconvdata/ibm1155.h: Likewise.
15352         * iconvdata/ibm1156.h: Likewise.
15353         * iconvdata/ibm1157.h: Likewise.
15354         * iconvdata/ibm1158.h: Likewise.
15355         * iconvdata/ibm1160.h: Likewise.
15356         * iconvdata/ibm1161.h: Likewise.
15357         * iconvdata/ibm1162.h: Likewise.
15358         * iconvdata/ibm1163.h: Likewise.
15359         * iconvdata/ibm1164.h: Likewise.
15360         * iconvdata/ibm1166.h: Likewise.
15361         * iconvdata/ibm1167.h: Likewise.
15362         * iconvdata/ibm12712.h: Likewise.
15363         * iconvdata/ibm1390.h: Likewise.
15364         * iconvdata/ibm1399.h: Likewise.
15365         * iconvdata/ibm16804.h: Likewise.
15366         * iconvdata/ibm4517.h: Likewise.
15367         * iconvdata/ibm4899.h: Likewise.
15368         * iconvdata/ibm4909.h: Likewise.
15369         * iconvdata/ibm4971.h: Likewise.
15370         * iconvdata/ibm5347.h: Likewise.
15371         * iconvdata/ibm803.h: Likewise.
15372         * iconvdata/ibm856.h: Likewise.
15373         * iconvdata/ibm901.h: Likewise.
15374         * iconvdata/ibm902.h: Likewise.
15375         * iconvdata/ibm9030.h: Likewise.
15376         * iconvdata/ibm9066.h: Likewise.
15377         * iconvdata/ibm921.h: Likewise.
15378         * iconvdata/ibm922.h: Likewise.
15379         * iconvdata/ibm9448.h: Likewise.
15380         * iconvdata/isiri-3342.h: Likewise.
15381         * iconvdata/jis0201.h: Likewise.
15382         * include/link.h: Likewise.
15383         * include/netdb.h: Likewise.
15384         * inet/check_native.c: Likewise.
15385         * inet/check_pf.c: Likewise.
15386         * inet/getipv4sourcefilter.c: Likewise.
15387         * inet/getnameinfo.c: Likewise.
15388         * inet/getsourcefilter.c: Likewise.
15389         * inet/htonl.c: Likewise.
15390         * inet/setipv4sourcefilter.c: Likewise.
15391         * inet/setsourcefilter.c: Likewise.
15392         * inet/test-inet6_opt.c: Likewise.
15393         * inet/tst-network.c: Likewise.
15394         * locale/C-collate.c: Likewise.
15395         * locale/C-ctype.c: Likewise.
15396         * locale/C-time.c: Likewise.
15397         * locale/C-translit.h: Likewise.
15398         * locale/loadarchive.c: Likewise.
15399         * locale/programs/3level.h: Likewise.
15400         * locale/programs/charmap.c: Likewise.
15401         * locale/programs/charmap.h: Likewise.
15402         * locale/programs/ld-address.c: Likewise.
15403         * locale/programs/ld-collate.c: Likewise.
15404         * locale/programs/ld-ctype.c: Likewise.
15405         * locale/programs/ld-identification.c: Likewise.
15406         * locale/programs/ld-measurement.c: Likewise.
15407         * locale/programs/ld-messages.c: Likewise.
15408         * locale/programs/ld-monetary.c: Likewise.
15409         * locale/programs/ld-name.c: Likewise.
15410         * locale/programs/ld-numeric.c: Likewise.
15411         * locale/programs/ld-paper.c: Likewise.
15412         * locale/programs/ld-telephone.c: Likewise.
15413         * locale/programs/ld-time.c: Likewise.
15414         * locale/programs/linereader.c: Likewise.
15415         * locale/programs/locale.c: Likewise.
15416         * locale/programs/locarchive.c: Likewise.
15417         * locale/programs/locfile.h: Likewise.
15418         * locale/programs/repertoire.c: Likewise.
15419         * locale/programs/simple-hash.c: Likewise.
15420         * locale/programs/simple-hash.h: Likewise.
15421         * malloc/memusage.c: Likewise.
15422         * malloc/memusagestat.c: Likewise.
15423         * nis/nis_defaults.c: Likewise.
15424         * nis/nis_hash.c: Likewise.
15425         * nis/nis_print.c: Likewise.
15426         * nis/nis_xdr.c: Likewise.
15427         * nscd/connections.c: Likewise.
15428         * nscd/hstcache.c: Likewise.
15429         * nscd/nscd_gethst_r.c: Likewise.
15430         * nscd/nscd_getserv_r.c: Likewise.
15431         * nscd/nscd_helper.c: Likewise.
15432         * nscd/servicescache.c: Likewise.
15433         * nss/makedb.c: Likewise.
15434         * nss/nss_db/db-XXX.c: Likewise.
15435         * nss/nss_db/db-initgroups.c: Likewise.
15436         * nss/nss_db/db-netgrp.c: Likewise.
15437         * nss/nss_files/files-network.c: Likewise.
15438         * nss/nss_files/files-parse.c: Likewise.
15439         * posix/bug-regex5.c: Likewise.
15440         * posix/fnmatch_loop.c: Likewise.
15441         * posix/regcomp.c: Likewise.
15442         * posix/regexec.c: Likewise.
15443         * posix/tst-rfc3484-2.c: Likewise.
15444         * posix/tst-rfc3484-3.c: Likewise.
15445         * posix/tst-rfc3484.c: Likewise.
15446         * resolv/nss_dns/dns-canon.c: Likewise.
15447         * resolv/nss_dns/dns-network.c: Likewise.
15448         * resolv/res_init.c: Likewise.
15449         * resolv/res_mkquery.c: Likewise.
15450         * resolv/tst-aton.c: Likewise.
15451         * stdlib/cxa_atexit.c: Likewise.
15452         * stdlib/cxa_finalize.c: Likewise.
15453         * stdlib/gen-fpioconst.c: Likewise.
15454         * stdlib/strtol_l.c: Likewise.
15455         * string/tst-endian.c: Likewise.
15456         * sunrpc/auth_des.c: Likewise.
15457         * sunrpc/clnt_udp.c: Likewise.
15458         * sunrpc/rtime.c: Likewise.
15459         * sunrpc/svcauth_des.c: Likewise.
15460         * sunrpc/xdr.c: Likewise.
15461         * sunrpc/xdr_intXX_t.c: Likewise.
15462         * sunrpc/xdr_rec.c: Likewise.
15463         * sysdeps/generic/ldconfig.h: Likewise.
15464         * sysdeps/generic/ldsodefs.h: Likewise.
15465         * sysdeps/generic/memusage.h: Likewise.
15466         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15467         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15468         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15469         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15470         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15471         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15472         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15473         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15474         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15475         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15476         * sysdeps/posix/getaddrinfo.c: Likewise.
15477         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15478         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15479         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15480         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15481         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15482         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15483         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15484         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15485         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15486         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15487         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15488         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15489         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15490         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15491         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15492         * sysdeps/x86_64/dl-tls.h: Likewise.
15493         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15494         * time/alt_digit.c: Likewise.
15495         * time/era.c: Likewise.
15496         * wcsmbs/tst-c16c32-1.c: Likewise.
15498 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15500         * math/libm-test.inc (struct test_sincos_data): New type.
15501         (RUN_TEST_LOOP_sincos): New macro.
15502         (sincos_test_data): New variable.
15503         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15505 2013-05-16  Richard Henderson  <rth@redhat.com>
15507         * math/atest-exp2.c (LIMB64): New macro.
15508         (CONSTSZ): New macro.
15509         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15510         (hexdig): Move ...
15511         (print_mpn_fp): ... to function scope.
15512         (read_mpn_hex): Remove.
15513         (get_log2): Remove.
15514         (exp2_mpn): Use mp_log2.
15515         (main): Use mp_exp1.
15517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15519         * math/libm-test.inc: Remove comment about not testing "inexact"
15520         exceptions.
15521         (INEXACT_EXCEPTION): New macro.
15522         (NO_INEXACT_EXCEPTION): Likewise.
15523         (INVALID_EXCEPTION_OK): Update value.
15524         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15525         (OVERFLOW_EXCEPTION_OK): Likewise.
15526         (UNDERFLOW_EXCEPTION_OK): Likewise.
15527         (IGNORE_ZERO_INF_SIGN): Likewise.
15528         (ERRNO_UNCHANGED): Likewise.
15529         (ERRNO_EDOM): Likewise.
15530         (ERRNO_ERANGE): Likewise.
15531         (test_exceptions): Handle testing "inexact" exceptions.
15532         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15533         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15534         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15535         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15536         INEXACT_EXCEPTION.
15537         (rint_towardzero_test_data): Likewise.
15538         (rint_downward_test_data): Likewise.
15539         (rint_upward_test_data): Likewise.
15541         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15542         with OVERFLOW_EXCEPTION.
15543         (exp10_test_data): Likewise.
15544         (exp2_test_data): Likewise.
15545         (expm1_test_data): Likewise.
15546         (lgamma_test_data): Likewise.
15547         (pow_test_data): Likewise.
15548         (tgamma_test_data): Likewise.
15549         (yn_test_data): Remove duplicate test of overflow.
15551         * math/libm-test.inc (struct test_cc_c_data): New type.
15552         (RUN_TEST_LOOP_cc_c): New macro.
15553         (cpow_test_data): New variable.
15554         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15556         * math/libm-test.inc (struct test_f_L_data): New type.
15557         (RUN_TEST_LOOP_f_L): New macro.
15558         (llrint_test_data): New variable.
15559         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15560         (llrint_tonearest_test_data): New variable.
15561         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15562         (llrint_towardzero_test_data): New variable.
15563         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15564         (llrint_downward_test_data): New variable.
15565         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15566         (llrint_upward_test_data): New variable.
15567         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15568         (llround_test_data): New variable.
15569         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15571 2013-05-13  Peter Collingbourne  <pcc@google.com>
15573         * math/atest-exp2.c (get_log2): Remove const attribute.
15575 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15577         * math/libm-test.inc (struct test_f_l_data): New type.
15578         (RUN_TEST_LOOP_f_l): New macro.
15579         (lrint_test_data): New variable.
15580         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15581         (lrint_tonearest_test_data): New variable.
15582         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15583         (lrint_towardzero_test_data): New variable.
15584         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15585         (lrint_downward_test_data): New variable.
15586         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15587         (lrint_upward_test_data): New variable.
15588         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15589         (lround_test_data): New variable.
15590         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15592 2013-05-15  Peter Collingbourne  <pcc@google.com>
15594         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15595         (EXTRACT_WORDS64) Use where appropriate.
15596         (INSERT_WORDS64) Likewise.
15598         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15599         constraints with x constraints.
15600         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15602         * malloc/obstack.c (_obstack_compat): Add initializer.
15604 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15606         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15607         si_trapno and add si_addr_lsb to _sifields.sigfault.
15608         (si_trapno): Remove macro.
15609         (si_addr_lsb): Define new macro.
15610         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15612 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15614         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15615         instead of TEST_f_l.
15616         (llrint_test_tonearest): Likewise.
15617         (llrint_test_towardzero): Likewise.
15618         (llrint_test_downward): Likewise.
15619         (llrint_test_upward): Likewise.
15620         (llround_test): Likewise.
15622         * math/libm-test.inc (struct test_f_i_data): Add comment.
15623         (RUN_TEST_LOOP_f_b): New macro.
15624         (RUN_TEST_LOOP_f_b_tg): Likewise.
15625         (finite_test_data): New variable.
15626         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15627         (isfinite_test_data): New variable.
15628         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15629         (isinf_test_data): New variable.
15630         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15631         (isnan_test_data): New variable.
15632         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15633         (isnormal_test_data): New variable.
15634         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15635         (issignaling_test_data): New variable.
15636         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15637         (signbit_test_data): New variable.
15638         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15640         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15641         with INVALID_EXCEPTION.
15642         (acosh_test_data): Likewise.
15643         (asin_test_data): Likewise.
15644         (atanh_test_data): Likewise.
15645         (fmod_test_data): Likewise.
15646         (log_test_data): Likewise.
15647         (log10_test_data): Likewise.
15648         (log2_test_data): Likewise.
15649         (pow_test_data): Likewise.
15650         (sqrt_test_data): Likewise.
15651         (y0_test_data): Likewise.
15652         (y1_test_data): Likewise.
15653         (yn_test_data): Likewise.
15655         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15656         function contents.
15658         * math/libm-test.inc (struct test_ff_i_data): New type.
15659         (RUN_TEST_LOOP_ff_i_tg): New macro.
15660         (isgreater_test_data): New variable.
15661         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15662         (isgreaterequal_test_data): New variable.
15663         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15664         (isless_test_data): New variable.
15665         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15666         (islessequal_test_data): New variable.
15667         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15668         (islessgreater_test_data): New variable.
15669         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15670         (isunordered_test_data): New variable.
15671         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15673 2013-05-14  David S. Miller  <davem@davemloft.net>
15675         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15677 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15679         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15681         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15682         extra_test to int.
15683         (struct test_f_i_data): Change type of max_ulp to int.
15685         * math/libm-test.inc (test_ffI_f1_data): New type.
15686         (RUN_TEST_LOOP_ffI_f1): New macro.
15687         (remquo_test_data): New variable.
15688         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15690         * setjmp/tst-setjmp-fp.c: New file.
15691         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15692         (link-libm): New variable.
15693         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15695         * math/libm-test.inc (struct test_f_i_data): New type.
15696         (RUN_TEST_LOOP_f_i): New macro.
15697         (RUN_TEST_LOOP_f_i_tg): Likewise.
15698         (fpclassify_test_data): New variable.
15699         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15700         (ilogb_test_data): New variable.
15701         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15703         * math/libm-test.inc (scalbln_test): Correct function name in END
15704         call.
15706         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15707         (RUN_TEST_LOOP_fI_f1): New macro.
15708         (frexp_test_data): New variable.
15709         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15711         * math/libm-test.inc (struct test_fF_f1_data): New type.
15712         (RUN_TEST_LOOP_fF_f1): New macro.
15713         (modf_test_data): New variable.
15714         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15716         * math/libm-test.inc (struct test_f_f1_data): New type.
15717         (RUN_TEST_LOOP_f_f1): New macro.
15718         (gamma_test_data): New variable.
15719         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15720         (lgamma_test_data): New variable.
15721         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15723 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15725         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15726         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15727         (main): Comment "tls" pseudo-hwcap.
15729 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15731         * math/libm-test.inc (struct test_fl_f_data): New type.
15732         (RUN_TEST_LOOP_fl_f): New variable.
15733         (scalbln_test_data): New variable.
15734         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15736         * math/libm-test.inc (struct test_fi_f_data): New type.
15737         (RUN_TEST_LOOP_fi_f): New macro.
15738         (ldexp_test_data): New variable.
15739         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15740         (scalbn_test_data): New variable.
15741         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15743         * math/libm-test.inc (struct test_c_f_data): New type.
15744         (RUN_TEST_LOOP_c_f): New macro.
15745         (cabs_test_data): New variable.
15746         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15747         (carg_test_data): New variable.
15748         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15749         (cimag_test_data): New variable.
15750         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15751         (creal_test_data): New variable.
15752         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15754         * math/libm-test.inc (struct test_if_f_data): New type.
15755         (RUN_TEST_LOOP_if_f): New macro.
15756         (jn_test_data): New variable.
15757         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15758         (yn_test_data): New variable.
15759         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15761         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15763 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15765         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15766         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15768 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15770         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15771         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15772         (bench-deps): Add bench-timing.h.
15773         * benchtests-bench-skeleton.c: Include bench-timing.h.
15774         (main): Use TIMING_* macros instead of clock_gettime.
15775         * benchtests/bench-timing.h: New file.
15777         [BZ #14582]
15778         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15779         Renamed from _LIB_VERSION.
15780         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15782 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15784         * math/libm-test.inc (struct test_fff_f_data): New type.
15785         (RUN_TEST_LOOP_fff_f): New macro.
15786         (fma_test_data): New variable.
15787         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15788         (fma_towardzero_test_data): New variable.
15789         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15790         (fma_downward_test_data): New variable.
15791         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15792         (fma_upward_test_data): New variable.
15793         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15795         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15796         (struct test_c_c_data): New type.
15797         (RUN_TEST_LOOP_c_c): New macro.
15798         (cacos_test_data): New variable.
15799         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15800         (cacosh_test_data): New variable.
15801         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15802         (casin_test_data): New variable.
15803         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15804         (casinh_test_data): New variable.
15805         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15806         (catan_test_data): New variable.
15807         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15808         (catanh_test_data): New variable.
15809         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15810         (ccos_test_data): New variable.
15811         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15812         (ccosh_test_data): New variable.
15813         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15814         (cexp_test_data): New variable.
15815         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15816         (clog_test_data): New variable.
15817         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15818         (clog10_test_data): New variable.
15819         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15820         (conj_test_data): New variable.
15821         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15822         (cproj_test_data): New variable.
15823         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15824         (csin_test_data): New variable.
15825         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15826         (csinh_test_data): New variable.
15827         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15828         (csqrt_test_data): New variable.
15829         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15830         (ctan_test_data): New variable.
15831         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15832         (ctan_tonearest_test_data): New variable.
15833         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15834         (ctan_towardzero_test_data): New variable.
15835         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15836         (ctan_downward_test_data): New variable.
15837         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15838         (ctan_upward_test_data): New variable.
15839         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15840         (ctanh_test_data): New variable.
15841         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15842         (ctanh_tonearest_test_data): New variable.
15843         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15844         (ctanh_towardzero_test_data): New variable.
15845         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15846         (ctanh_downward_test_data): New variable.
15847         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15848         (ctanh_upward_test_data): New variable.
15849         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15850         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15851         of BUILD_COMPLEX.
15853         * math/libm-test.inc (struct test_ff_f_data): New type.
15854         (struct test_ff_f_data_nexttoward): Likewise.
15855         (RUN_TEST_LOOP_2_f): New macro.
15856         (RUN_TEST_LOOP_ff_f): Likewise.
15857         (atan2_test_data): New variable.
15858         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15859         (copysign_test_data): New variable.
15860         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15861         (fdim_test_data): New variable.
15862         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15863         (fmax_test_data): New variable.
15864         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15865         (fmin_test_data): New variable.
15866         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15867         (fmod_test_data): New variable.
15868         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15869         (hypot_test_data): New variable.
15870         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
15871         (nextafter_test_data): New variable.
15872         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
15873         (nexttoward_test_data): New variable.
15874         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
15875         (pow_test_data): New variable.
15876         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
15877         (pow_tonearest_test_data): New variable.
15878         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
15879         (pow_towardzero_test_data): New variable.
15880         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
15881         (pow_downward_test_data): New variable.
15882         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
15883         (pow_upward_test_data): New variable.
15884         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
15885         (remainder_test_data): New variable.
15886         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
15887         (scalb_test_data): New variable.
15888         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
15889         * sysdeps/i386/fpu/libm-test-ulps: Update.
15891 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
15893         * math/libm-test.inc (fma_test): Use max_value instead of local
15894         variable fltmax.
15895         (nextafter_test): Likewise.
15897         * math/libm-test.inc (acos_towardzero_test_data): New variable.
15898         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15899         (acos_downward_test_data): New variable.
15900         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15901         (acos_upward_test_data): New variable.
15902         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15903         (acosh_test_data): New variable.
15904         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
15905         (asin_test_data): New variable.
15906         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
15907         (asin_tonearest_test_data): New variable.
15908         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15909         (asin_towardzero_test_data): New variable.
15910         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15911         (asin_downward_test_data): New variable.
15912         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15913         (asin_upward_test_data): New variable.
15914         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15915         (asinh_test_data): New variable.
15916         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
15917         (atan_test_data): New variable.
15918         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
15919         (atanh_test_data): New variable.
15920         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
15921         (cbrt_test_data): New variable.
15922         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
15923         (ceil_test_data): New variable.
15924         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
15925         (cos_test_data): New variable.
15926         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
15927         (cos_tonearest_test_data): New variable.
15928         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15929         (cos_towardzero_test_data): New variable.
15930         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15931         (cos_downward_test_data): New variable.
15932         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15933         (cos_upward_test_data): New variable.
15934         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15935         (cosh_test_data): New variable.
15936         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
15937         (cosh_tonearest_test_data): New variable.
15938         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15939         (cosh_towardzero_test_data): New variable.
15940         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15941         (cosh_downward_test_data): New variable.
15942         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15943         (cosh_upward_test_data): New variable.
15944         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15945         (erf_test_data): New variable.
15946         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
15947         (erfc_test_data): New variable.
15948         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
15949         (exp_test_data): New variable.
15950         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
15951         (exp_tonearest_test_data): New variable.
15952         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15953         (exp_towardzero_test_data): New variable.
15954         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15955         (exp_downward_test_data): New variable.
15956         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15957         (exp_upward_test_data): New variable.
15958         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15959         (exp10_test_data): New variable.
15960         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
15961         (exp2_test_data): New variable.
15962         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
15963         (expm1_test_data): New variable.
15964         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
15965         (fabs_test_data): New variable.
15966         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
15967         (floor_test_data): New variable.
15968         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
15969         (j0_test_data): New variable.
15970         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
15971         (j1_test_data): New variable.
15972         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
15973         (log_test_data): New variable.
15974         (log_test): Run tests with RUN_TEST_LOOP_f_f.
15975         (log10_test_data): New variable.
15976         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
15977         (log1p_test_data): New variable.
15978         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
15979         (log2_test_data): New variable.
15980         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
15981         (logb_test_data): New variable.
15982         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
15983         (logb_downward_test_data): New variable.
15984         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15985         (nearbyint_test_data): New variable.
15986         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
15987         (rint_test_data): New variable.
15988         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
15989         (rint_tonearest_test_data): New variable.
15990         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
15991         (rint_towardzero_test_data): New variable.
15992         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
15993         (rint_downward_test_data): New variable.
15994         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
15995         (rint_upward_test_data): New variable.
15996         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
15997         (round_test_data): New variable.
15998         (round_test): Run tests with RUN_TEST_LOOP_f_f.
15999         (sin_test_data): New variable.
16000         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16001         (sin_tonearest_test_data): New variable.
16002         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16003         (sin_towardzero_test_data): New variable.
16004         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16005         (sin_downward_test_data): New variable.
16006         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16007         (sin_upward_test_data): New variable.
16008         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16009         (sinh_test_data): New variable.
16010         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16011         (sinh_tonearest_test_data): New variable.
16012         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16013         (sinh_towardzero_test_data): New variable.
16014         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16015         (sinh_downward_test_data): New variable.
16016         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16017         (sinh_upward_test_data): New variable.
16018         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16019         (sqrt_test_data): New variable.
16020         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16021         (tan_test_data): New variable.
16022         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16023         (tan_tonearest_test_data): New variable.
16024         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16025         (tan_towardzero_test_data): New variable.
16026         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16027         (tan_downward_test_data): New variable.
16028         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16029         (tan_upward_test_data): New variable.
16030         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16031         (tanh_test_data): New variable.
16032         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16033         (tgamma_test_data): New variable.
16034         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16035         (trunc_test_data): New variable.
16036         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16037         (y0_test_data): New variable.
16038         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16039         (y1_test_data): New variable.
16040         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16041         (significand_test_data): New variable.
16042         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16044 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16046         [BZ #12387]
16047         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16049 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16051         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16053 2013-05-10  Andreas Jaeger  <aj@suse.de>
16055         [BZ #15448]
16056         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16057         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16059 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16061         * math/gen-libm-test.pl (adjust_arg): New function.
16062         (special_functions): Handle generating output in both functions
16063         and arrays.
16064         (parse_args): Likewise.
16065         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16066         $in_func argument to parse_args.
16067         * math/libm-test.inc (struct test_f_f_data): New type.
16068         (IF_ROUND_INIT_): New macro.
16069         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16070         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16071         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16072         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16073         (ROUND_RESTORE_): Likewise.
16074         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16075         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16076         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16077         (ROUND_RESTORE_FE_UPWARD): Likewise.
16078         (RUN_TEST_LOOP_f_f): New macro.
16079         (acos_test_data): New variable.
16080         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16081         (acos_tonearest_test_data): New variable.
16082         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16084 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16086         * benchtests/bench-skeleton.c (startup): Fix coding style.
16088 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16090         [BZ #6809]
16091         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16092         negative infinity argument.
16093         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16094         negative infinity argument.
16095         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16096         negative infinity argument.
16097         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16098         domain errors.
16100 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16102         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16103         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16104         * iconv/iconv_prog.c (main): Likewise.
16105         * locale/programs/charmap-dir.c (charmap_readdir)
16106         (fopen_uncompressed): Likewise.
16107         * locale/programs/locfile.c (siblings_uncached)
16108         (write_locale_data): Use lstat64 instead of lstat.
16109         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16110         stat.
16112 2013-05-10  Andreas Jaeger  <aj@suse.de>
16114         [BZ #15395]
16115         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16116         localization.
16117         Include <locale.h>.
16119 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16121         * elf/dl-close.c (_dl_close_worker): Add comments.
16123 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16125         [BZ #15359]
16126         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16127         high part of pi/2.
16128         (__ieee754_rem_pio2l): Update comments.
16130         [BZ #15429]
16131         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16132         high part of pi/2.
16133         (__ieee754_rem_pio2l): Update comments.
16135         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16136         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16138         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16139         M_PI_4l.
16141         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16142         (M_PI_34_LOG10El): Likewise.
16143         (M_PI2_LOG10El): Likewise.
16144         (M_PI4_LOG10El): Likewise.
16145         (M_PI_LOG10El): Likewise.
16147 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16149         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16151 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16153         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16154         (MINUS_ZERO_INIT): Likewise.
16155         (PLUS_INFTY_INIT): Likewise.
16156         (MINUS_INFTY_INIT): Likewise.
16157         (QNAN_VALUE_INIT): Likewise.
16158         (MAX_VALUE_INIT): Likewise.
16159         (MIN_VALUE_INIT): Likewise.
16160         (MIN_SUBNORM_VALUE_INIT): Likewise.
16161         (plus_zero): Initialize with PLUS_ZERO_INIT.
16162         (minus_zero): Initialize with MINUS_ZERO_INIT.
16163         (plus_infty): Initialize with PLUS_INFTY_INIT.
16164         (minus_infty): Initialize with MINUS_INFTY_INIT.
16165         (qnan_value): Initialize with QNAN_VALUE_INIT.
16166         (max_value): Initialize with MAX_VALUE_INIT.
16167         (min_value): Initialize with MIN_VALUE_INIT.
16168         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16170         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16171         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16172         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16173         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16175         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16176         (RUN_TEST_2_f): Likewise.
16177         (RUN_TEST_ff_f): Likewise.
16178         (RUN_TEST_fi_f): Likewise.
16179         (RUN_TEST_fl_f): Likewise.
16180         (RUN_TEST_fff_f): Likewise.
16181         (RUN_TEST_c_f): Likewise.
16182         (RUN_TEST_f_f1): Likewise.
16183         (RUN_TEST_fF_f1): Likewise.
16184         (RUN_TEST_fI_f1): Likewise.
16185         (RUN_TEST_ffI_f1): Likewise.
16186         (RUN_TEST_c_c): Likewise.
16187         (RUN_TEST_cc_c): Likewise.
16188         (RUN_TEST_f_i): Likewise.
16189         (RUN_TEST_f_i_tg): Likewise.
16190         (RUN_TEST_ff_i_tg): Likewise.
16191         (RUN_TEST_f_b): Likewise.
16192         (RUN_TEST_f_b_tg): Likewise.
16193         (RUN_TEST_f_l): Likewise.
16194         (RUN_TEST_f_L): Likewise.
16195         (RUN_TEST_sincos): Likewise.
16196         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16197         whether to show exceptions.  Do not include ");\n" in return
16198         value.
16199         (special_functions): Output call to RUN_TEST_sincos instead of
16200         check_float calls.  Update calls to new_test.
16201         (parse_args): Output call to single RUN_TEST_* macro instead of
16202         check_* calls and other assignments.  Update calls to new_test.
16204         [BZ #2546]
16205         [BZ #2560]
16206         [BZ #5159]
16207         [BZ #15426]
16208         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16209         input to result for tgamma overflow.
16210         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16211         (gamma_coeff): New variable.
16212         (NCOEFF): New macro.
16213         (gamma_positive): New function.
16214         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16215         underflow here.  Use gamma_positive instead of exp (lgamma) for
16216         other arguments.
16217         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16218         (gamma_coeff): New variable.
16219         (NCOEFF): New macro.
16220         (gammaf_positive): New function.
16221         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16222         underflow here.  Use gamma_positive instead of exp (lgamma) for
16223         other arguments.
16224         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16225         (gamma_coeff): New variable.
16226         (NCOEFF): New macro.
16227         (gammal_positive): New function.
16228         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16229         underflow here.  Use gamma_positive instead of exp (lgamma) for
16230         other arguments.
16231         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16232         (gamma_coeff): New variable.
16233         (NCOEFF): New macro.
16234         (gammal_positive): New function.
16235         (__ieee754_gammal_r): Handle positive infinity, overflow and
16236         underflow here.  Handle NaN the same as positive infinity.  Remove
16237         check x < 0xffffffff for negative integers.  Use gamma_positive
16238         instead of exp (lgamma) for other arguments.
16239         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16240         (gamma_coeff): New variable.
16241         (NCOEFF): New macro.
16242         (gammal_positive): New function.
16243         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16244         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16245         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16246         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16247         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16248         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16249         * sysdeps/generic/math_private.h (__gamma_productf): New
16250         prototype.
16251         (__gamma_product): Likewise.
16252         (__gamma_productl): Likewise.
16253         * math/Makefile (libm-calls): Add gamma_product.
16254         * math/libm-test.inc (tgamma_test): Add more tests.
16255         * sysdeps/i386/fpu/libm-test-ulps: Update.
16256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16258 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16260         * benchtests/bench-skeleton.c (main): Preheat CPU.
16262 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16264         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16266 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16268         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16269         and _dl_skip_args_internal.
16271 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16273         * manual/message.texi (Message Translation): Talk about users.
16274         Message to key mapping impacts design.
16276 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16278         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16280         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16282         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16283         * sysdeps/wordsize-64/glob64.c: ... here.
16285         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16286         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16287         New macros.
16289         * debug/getlogin_r_chk.c: Moved to ...
16290         * login/getlogin_r_chk.c: ... here.
16291         * debug/Makefile (routines): Move getlogin_r_chk to ...
16292         * login/Makefile (routines): ... here.
16293         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16294         * login/Versions (libc: GLIBC_2.4): ... here.
16296         * io/poll.c (__poll): Renamed from poll.
16297         Add libc_hidden_def.
16298         (poll): Define as weak alias.
16300         * debug/ptsname_r_chk.c: Moved to ...
16301         * login/ptsname_r_chk.c: ... here.
16302         * debug/Makefile (routines): Move ptsname_r_chk to ...
16303         * login/Makefile (routines): ... here.
16304         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16305         * login/Versions (libc: GLIBC_2.4): ... here.
16307         * posix/getlogin.c: Moved to ...
16308         * login/getlogin.c: ... here.
16309         * posix/getlogin_r.c: Moved to ...
16310         * login/getlogin_r.c: ... here.
16311         * posix/getlogin_r.c: Moved to ...
16312         * login/getlogin_r.c: ... here.
16313         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16314         * login/Makefile (routines): ... here.
16315         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16316         * login/Versions (libc: GLIBC_2.0): ... here.
16318         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16319         (setrlimit): Define as weak alias.
16321         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16322         Call __ names for open, ftruncate, and close.
16323         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16324         (truncate): Define as weak alias.
16326 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16328         * math/gen-libm-test.pl (parse_args): Initialize x before each
16329         test of frexp, modf and remquo.
16331         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16332         test signgam value.
16334 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16336         [BZ #15418]
16337         [BZ #15419]
16338         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16339         internal tests.
16340         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16342 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16344         * elf/dl-writev.h: New file.
16345         * elf/dl-misc.c: Include it.
16346         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16347         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16349 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16351         * math/libm-test.inc (noXFails): Remove variable.
16352         (noXPasses): Likewise.
16353         (BUILD_COMPLEX_INT): Remove macro.
16354         (print_screen): Remove xfail argument.
16355         (print_screen_max_error): Likewise.
16356         (update_stats): Likewise.
16357         (print_max_error): Likewise.  Update calls to other affected
16358         functions.
16359         (print_complex_max_error): Likewise.
16360         (test_single_exception): Update calls to print_screen.
16361         (test_single_errno): Likewise.
16362         (check_float_internal): Remove xfail argument.  Update calls to
16363         other affected functions.
16364         (check_float): Likewise.
16365         (check_complex): Likewise.
16366         (check_int): Likewise.
16367         (check_long): Likewise.
16368         (check_bool): Likewise.
16369         (check_longlong): Likewise.
16370         (main): Don't print noXFails and noXPasses.
16371         * math/gen-libm-test.pl (top level): Don't mention expected
16372         failure handling in comment.
16373         (new_test): Don't handle expected failures.
16374         (parse_args): Don't mention expected failure handling in comment.
16375         (generate_testfile): Don't handle expected failures.
16376         (parse_ulps): Likewise.
16377         (print_ulps_file): Likewise.
16378         (get_failure): Remove function.
16379         (output_test): Don't handle expected failures.
16380         * make/README.libm-test: Don't mention expected failure handling.
16382         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16383         (minus_zero): Likewise.
16384         (plus_infty): Likewise.
16385         (minus_infty): Likewise.
16386         (qnan_value): Likewise.
16387         (max_value): Likewise.
16388         (min_value): Likewise.
16389         (min_subnorm_value): Likewise.
16390         (initialize): Do not initialize those variables dynamically.
16392 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16394         * io/open.c (__open_2): Moved to ...
16395         * io/open_2.c: ... this new file.
16396         * io/open64.c (__open64_2): Moved to ...
16397         * io/open64_2.c: ... this new file.
16398         * io/openat.c (__openat_2): Moved to ...
16399         * io/openat_2.c: ... this new file.
16400         * io/openat64.c (__openat64_2): Moved to ...
16401         * io/openat64_2.c: ... this new file.
16402         * io/Makefile (routines): Add them.
16403         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16404         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16405         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16406         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16407         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16408         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16409         (__openat64): Add hidden_ver.
16410         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16411         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16413         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16414         Separately conditionalize setting of GLRO(dl_sysinfo) so
16415         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16416         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16418 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16420         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16421         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16422         definition.
16423         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16424         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16425         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16426         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16427         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16429 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16431         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16432         test signgam value.
16434         * math/libm-test.inc (hypot_test): Do not use
16435         IGNORE_ZERO_INF_SIGN.
16437 2013-05-03  Andreas Jaeger  <aj@suse.de>
16439         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16440         Linux 3.9.
16441         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16442         (PF_MAX): Adjust for VSOCK change.
16444 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16448 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16450         [BZ #15264]
16451         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16452         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16453         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16455 2013-05-02  David S. Miller  <davem@davemloft.net>
16457         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16459 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16461         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16463 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16465         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16467 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16469         [BZ #14952]
16470         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16471         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16472         Use __attribute__ ((__gnu_inline__)).
16473         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16474         Don't use __attribute__ ((__gnu_inline__)).
16476 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16478         [BZ #15423]
16479         * math/s_catan.c (__catan): Handle small real or imaginary part of
16480         input specially to avoid spurious underflow.
16481         * math/s_catanf.c (__catanf): Likewise.
16482         * math/s_catanh.c (__catanh): Likewise.
16483         * math/s_catanhf.c (__catanhf): Likewise.
16484         * math/s_catanhl.c (__catanhl): Likewise.
16485         * math/s_catanl.c (__catanl): Likewise.
16486         * math/libm-test.inc (catan_test): Add more tests.
16487         (catanh_test): Likewise.
16488         * sysdeps/i386/fpu/libm-test-ulps: Update.
16489         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16491 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16493         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16495 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16497         [BZ #15416]
16498         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16499         accurately for denominator in atan2.
16500         * math/s_catanf.c (__catanf): Likewise.
16501         * math/s_catanh.c (__catanh): Likewise.
16502         * math/s_catanhf.c (__catanhf): Likewise.
16503         * math/s_catanhl.c (__catanhl): Likewise.
16504         * math/s_catanl.c (__catanl): Likewise.
16505         * math/libm-test.inc (catan_test): Add more tests.
16506         (catanh_test): Likewise.
16507         * sysdeps/i386/fpu/libm-test-ulps: Update.
16508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16510 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16512         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16514         * benchtests/Makefile (bench): Remove slow benchmarks.
16515         * benchtests/atan-inputs: Add slow benchmark inputs.
16516         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16517         (BENCH_FUNC): Accept variant offset.
16518         (VARIANT): Define.
16519         * benchtests/bench-skeleton.c (main): Run benchmark for each
16520         variant.
16521         * benchtests/cos-inputs: Add slow benchmark inputs.
16522         * benchtests/exp-inputs: Likewise.
16523         * benchtests/pow-inputs: Likewise.
16524         * benchtests/sin-inputs: Likewise.
16525         * benchtests/slowatan-inputs: Remove.
16526         * benchtests/slowatan.c: Remove.
16527         * benchtests/slowcos-inputs: Remove.
16528         * benchtests/slowcos.c: Remove.
16529         * benchtests/slowexp-inputs: Remove.
16530         * benchtests/slowexp.c: Remove.
16531         * benchtests/slowpow-inputs: Remove.
16532         * benchtests/slowpow.c: Remove.
16533         * benchtests/slowsin-inputs: Remove.
16534         * benchtests/slowsin.c: Remove.
16535         * benchtests/slowtan-inputs: Remove.
16536         * benchtests/slowtan.c: Remove.
16537         * benchtests/tan-inputs: Add slow benchmark inputs.
16538         * scripts/bench.pl: Parse comments and directives.
16540         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16541         in CPPFLAGS.
16542         ($(objpfx)bench-%.c): Remove *-ITER.
16543         * benchtests/bench-modf.c: Remove definition of ITER.
16544         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16545         (main): Loop for DURATION seconds instead of fixed number of
16546         iterations.
16547         * scripts/bench.pl: Don't expect iterations in parameters.
16549 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16551         * io/fchdir.c (__fchdir): Renamed from fchdir.
16552         (fchdir): Define as weak alias.
16554 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16556         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16557         (ERRNO_EDOM): Likewise.
16558         (ERRNO_ERANGE): Likewise.
16559         (noErrnoTests): New variable.
16560         (init_max_error): Set errno to 0.
16561         (test_single_errno): New function.
16562         (test_errno): Likewise.
16563         (check_float_internal): Call test_errno.  Set errno to 0.
16564         (check_complex): Refer to errno tests in comment.
16565         (check_int): Call test_errno.  Set errno to 0.
16566         (check_long): Likewise.
16567         (check_bool): Likewise.
16568         (check_longlong): Likewise.
16569         (cos_test): Use ERRNO_* flags for errno tests instead of
16570         check_int.
16571         (expm1_test): Likewise.
16572         (fmod_test): Likewise.
16573         (ilogb_test): Likewise.
16574         (lgamma_test): Likewise.
16575         (pow_test): Likewise.
16576         (remainder_test): Likewise.
16577         (sin_test): Likewise.
16578         (tan_test): Likewise.
16579         (yn_test): Likewise.
16580         (initialize): Set errno to 0.
16581         (main): Print number of errno tests.
16582         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16584 2013-04-29  Andreas Jaeger  <aj@suse.de>
16586         [BZ #15084]
16587         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16588         and RES_USEVC.
16590         [BZ #15085]
16591         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16592         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16593         unimplemented.
16595         [BZ #15380]
16596         * stdlib/random.c (__initstate): Return NULL if
16597         __initstate fails.
16599         [BZ #15086]
16600         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16601         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16602         RES_SNGLKUPREOP.
16604 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16606         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16608 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16610         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16611         of individual tests.
16612         (casin_test): Likewise.
16613         (casinh_test): Likewise.
16615 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16617         [BZ #15409]
16618         * math/s_catan.c (__catan): Handle arguments with large real or
16619         imaginary part separately without squaring.
16620         * math/s_catanf.c (__catanf): Likewise.
16621         * math/s_catanh.c (__catanh): Likewise.
16622         * math/s_catanhf.c (__catanhf): Likewise.
16623         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16624         and redefine.
16625         (__catanhl): Handle arguments with large real or imaginary part
16626         separately without squaring.
16627         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16628         and redefine.
16629         (__catanl): Handle arguments with large real or imaginary part
16630         separately without squaring.
16631         * math/libm-test.inc (catan_test): Add more tests.
16632         (catanh_test): Likewise.
16633         * sysdeps/i386/fpu/libm-test-ulps: Update.
16634         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16636 2013-04-27  Andreas Jaeger  <aj@suse.de>
16638         [BZ #15007]
16639         * stdlib/stdlib.h: Update guards for qecvt.
16640         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16641         <stdlib.h>.
16643 2013-04-27  Allan McRae  <allan@archlinux.org>
16645         * sysdeps/i386/fpu/libm-test-ulps: Update.
16647 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16649         [BZ #15406]
16650         * math/s_catan.c: Include <float.h>.
16651         (__catan): Ensure underflow exception occurs for underflowed
16652         result.
16653         * math/s_catanf.c: Include <float.h>.
16654         (__catanf): Ensure underflow exception occurs for underflowed
16655         result.
16656         * math/s_catanh.c: Include <float.h>.
16657         (__catanh): Ensure underflow exception occurs for underflowed
16658         result.
16659         * math/s_catanhf.c: Include <float.h>.
16660         (__catanhf): Ensure underflow exception occurs for underflowed
16661         result.
16662         * math/s_catanhl.c: Include <float.h>.
16663         (__catanhl): Ensure underflow exception occurs for underflowed
16664         result.
16665         * math/s_catanl.c: Include <float.h>.
16666         (__catanl): Ensure underflow exception occurs for underflowed
16667         result.
16668         * math/libm-test.inc (catan_test): Add more tests.
16669         (catanh_test): Likewise.
16671         [BZ #15405]
16672         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16673         underflowed result.
16674         * math/s_ccoshf.c (__ccoshf): Likewise.
16675         * math/s_ccoshl.c (__ccoshl): Likewise.
16676         * math/s_csin.c (__csin): Likewise.
16677         * math/s_csinf.c (__csinf): Likewise.
16678         * math/s_csinh.c (__csinh): Likewise.
16679         * math/s_csinhf.c (__csinhf): Likewise.
16680         * math/s_csinhl.c (__csinhl): Likewise.
16681         * math/s_csinl.c (__csinl): Likewise.
16682         * math/libm-test.inc (ccos_test): Add more tests.
16683         (ccosh_test): Likewise.
16684         (csin_test): Likewise.
16685         (csinh_test): Likewise.
16687 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16689         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16690         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16691         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16692         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16693         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16694         powerpc/power5+/fpu folders.
16695         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16698 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16700         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16702 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16704         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16705         additions to variable.
16706         [$(config-machine) = x86_64] (modules-names): Likewise.
16707         ($(objpfx)tst-audit3): Remove dependency.
16708         ($(objpfx)tst-audit3.out): Likewise.
16709         ($(objpfx)tst-audit4): Likewise.
16710         ($(objpfx)tst-audit4.out): Likewise.
16711         ($(objpfx)tst-audit5): Likewise.
16712         ($(objpfx)tst-audit5.out): Likewise.
16713         ($(objpfx)tst-audit6): Likewise.
16714         ($(objpfx)tst-audit6.out): Likewise.
16715         ($(objpfx)tst-audit7): Likewise.
16716         ($(objpfx)tst-audit7.out): Likewise.
16717         (tst-audit3-ENV): Remove variable.
16718         (tst-audit4-ENV): Likewise.
16719         (tst-audit5-ENV): Likewise.
16720         (tst-audit6-ENV): Likewise.
16721         (tst-audit7-ENV): Likewise.
16722         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16723         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16724         addition to variable.
16725         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16726         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16727         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16728         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16729         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16730         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16731         tst-audit3, tst-audit4 and tst-audit5.
16732         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16733         tst-audit6 and tst-audit7.
16734         [$(subdir) = elf] (modules-names): Add audit modules for those
16735         tests.
16736         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16737         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16738         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16739         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16740         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16741         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16742         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16743         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16744         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16745         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16746         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16747         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16748         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16749         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16750         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16751         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16752         Likewise.
16753         [$(subdir) = elf && $(config-cflags-avx) = yes]
16754         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16755         [$(subdir) = elf && $(config-cflags-avx) = yes]
16756         (CFLAGS-tst-auditmod4a.c): Likewise.
16757         [$(subdir) = elf && $(config-cflags-avx) = yes]
16758         (CFLAGS-tst-auditmod4b.c): Likewise.
16759         [$(subdir) = elf && $(config-cflags-avx) = yes]
16760         (CFLAGS-tst-auditmod6b.c): Likewise.
16761         [$(subdir) = elf && $(config-cflags-avx) = yes]
16762         (CFLAGS-tst-auditmod6c.c): Likewise.
16763         [$(subdir) = elf && $(config-cflags-avx) = yes]
16764         (CFLAGS-tst-auditmod7b.c): Likewise.
16765         * elf/tst-audit3.c: Move to ...
16766         * sysdeps/x86_64/tst-audit3.c: ... here.
16767         * elf/tst-audit4.c: Move to ...
16768         * sysdeps/x86_64/tst-audit4.c: ... here.
16769         * elf/tst-audit5.c: Move to ...
16770         * sysdeps/x86_64/tst-audit5.c: ... here.
16771         * elf/tst-audit6.c: Move to ...
16772         * sysdeps/x86_64/tst-audit6.c: ... here.
16773         * elf/tst-audit7.c: Move to ...
16774         * sysdeps/x86_64/tst-audit7.c: ... here.
16775         * elf/tst-auditmod3a.c: Move to ...
16776         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16777         * elf/tst-auditmod3b.c: Move to ...
16778         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16779         * elf/tst-auditmod4a.c: Move to ...
16780         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16781         * elf/tst-auditmod4b.c: Move to ...
16782         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16783         * elf/tst-auditmod5a.c: Move to ...
16784         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16785         * elf/tst-auditmod5b.c: Move to ...
16786         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16787         * elf/tst-auditmod6a.c: Move to ...
16788         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16789         * elf/tst-auditmod6b.c: Move to ...
16790         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16791         * elf/tst-auditmod6c.c: Move to ...
16792         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16793         * elf/tst-auditmod7a.c: Move to ...
16794         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16795         * elf/tst-auditmod7b.c: Move to ...
16796         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16798 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16800         [BZ #15366]
16801         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16802         define unconditionally.
16803         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16804         define unconditionally.
16805         (INT8_C, INT16_C, etc.): Likewise.
16807 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16809         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16810         __ehdr_start with hidden visibility.
16812         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16814 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16816         * math/libm-test.inc (cos_test): Use accurate hex constants.
16817         (sincost_test): Likewise.
16819 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16821         * math/libm-test.inc (catan_test): Add more tests.
16822         (catanh_test): Likewise.
16824         * math/s_catanf.c (__catanf): Use suffixed floating-point
16825         constants.
16826         * math/s_catanhf.c (__catanhf): Likewise.
16827         * math/s_catanhl.c (__catanhl): Likewise.
16828         * math/s_catanl.c (__catanl): Likewise.
16830         [BZ #15394]
16831         * math/s_catan.c (__catan): Calculate imaginary part of result
16832         with log1p not log unless computing log of number close to 0.
16833         * math/s_catanf.c (__catanf): Likewise.
16834         * math/s_catanl.c (__catanl): Likewise.
16835         * math/s_catanh.c (__catanh): Calculate real part of result with
16836         log1p not log unless computing log of number close to 0.
16837         * math/s_catanhf.c (__catanhf): Likewise.
16838         * math/s_catanhl.c (__catanhl): Likewise.
16839         * math/libm-test.inc (catan_test): Add more tests.
16840         (catanh_test): Likewise.
16841         * sysdeps/i386/fpu/libm-test-ulps: Update.
16842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16844 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16846         * benchtests/Makefile: Mention files in which fast and slow
16847         paths of math functions are implemented.
16849 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16851         * sysdeps/posix/timespec_get.c: New file.
16853 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16855         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16856         POWER.
16857         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16858         for POWER.
16859         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16860         powerpc/power5/fpu folders.
16861         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16862         * benchtests/Makefile: Add modf testcase.
16863         * benchtests/bench-modf.c: New file: Benchmark test for mo
16865 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16867         [BZ #14888]
16868         * time/Makefile (tests): Add tst-strptime-whitespace.
16869         * time/strptime_l.c (get_number): Use ISSPACE.
16870         (__strptime_internal): Likewise.
16871         * time/tst-strptime-whitespace.c: New test case.
16873 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
16875         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
16876         member.
16877         (_nss_files_init): Set it here.
16879 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
16881         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
16882         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
16883         unsigned.
16885 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
16887         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
16889 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
16891         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
16892         size just once.
16894 2013-04-21  David S. Miller  <davem@davemloft.net>
16896         * po/ru.po: Update Russion translation from translation project.
16898 2013-04-17  Adam Conrad  <adconrad@0c3.net>
16900         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
16901         and setfsgid.
16903 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
16905         * configure.in: Remove i386 configure warning. Remove i386 case.
16906         * configure: Regenerate.
16907         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
16908         Add example to error message.
16909         * sysdeps/i386/configure: Regenerate.
16911 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
16913         * benchtests/Makefile (bench): Add cos, tan, slowcos and
16914         slowtan.
16915         * benchtests/cos-inputs: New file.
16916         * benchtests/slowcos-inputs: New file.
16917         * benchtests/slowcos.c: New file.
16918         * benchtests/slowtan-inputs: New file.
16919         * benchtests/slowtan.c: New file.
16920         * benchtests/tan-inputs: New file.
16922 2013-04-16  Roland McGrath  <roland@hack.frob.com>
16924         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
16925         considered kosher.
16927 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16929         * benchtests/Makefile: Include cppflags-iterator.mk to add
16930         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
16932         * Makefile.in (bench-clean): New target.
16933         * benchtests/Makefile (bench-clean): Likewise.
16935 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
16937         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
16939 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
16941         * stdio-common/tstdiomisc.c: Fix coding-style violation.
16943 2013-04-15  Andreas Schwab  <schwab@suse.de>
16945         * nscd/grpcache.c (cache_addgr): Properly check for short write.
16946         * nscd/initgrcache.c (addinitgroupsX): Likewise.
16947         * nscd/pwdcache.c (cache_addpw): Likewise.
16948         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
16949         more than recsize.
16951 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16953         * benchtests/Makefile (bench): Write all output to
16954         bench-out.tmp together.
16956 2013-04-15  Andreas Schwab  <schwab@suse.de>
16958         * nscd/nscd.c (main): Don't fork again after closing files.
16960 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
16962         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
16964         * benchtests/Rules (bench-deps): Collect dependencies into a
16965         single variable.  Add Makefile to dependencies.
16966         ($(objpfx)bench-%.c): Depend on bench-deps.
16968 2013-04-12  Roland McGrath  <roland@hack.frob.com>
16969             Xavier Roche  <roche+kml2@exalead.com>
16971         [BZ #15361]
16972         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
16973         just that it's a file descriptor.
16974         * manual/llio.texi (Synchronizing AIO Operations): Update description
16975         for EBADF error from aio_fsync.
16977 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
16979         * Rules (bench): Move target definition...
16980         * benchtests/Makefile: ... here.
16982 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
16984         * math/libm-test.inc (cos_test): Fix PI/2 test.
16985         (sincos_test): Likewise.
16986         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
16987         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
16989 2013-04-11  Andreas Schwab  <schwab@suse.de>
16991         [BZ #13988]
16992         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
16993         accept exponent character only when digits were seen.
16994         * stdio-common/Makefile (tests): Add bug26.
16995         * stdio-common/bug26.c: New file.
16997         [BZ #14293]
16998         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
16999         non-freeable.
17001 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17003         * Makeconfig (rtld-prefix): Define built linker prefix.
17004         * Rules (run-bench): Use it.
17005         * math/Makefile (run-regen-ulps): Likewise.
17007         * Rules (bench): Remove eval.
17009 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17010             Roland McGrath  <roland@hack.frob.com>
17011             Ondrej Bilka  <neleai@seznam.cz>
17013         [BZ #15346]
17014         * time/getdate.c: Include ctype.h and alloca.h.
17015         (__getdate_r): Trim leading and trailing spaces of input.
17016         * time/tst-getdate.c (tests): Add tests with leading and
17017         trailing spaces.
17019 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17021         [BZ #14280]
17022         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17023         when computing value.
17025 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17027         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17028         Use testrun.sh to run libm tests.
17030         [BZ #15309]
17031         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17033 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17035         [BZ #15264]
17036         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17038 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17040         * Makefile.in (regen-ulps): New target.
17041         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17042         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17043         [ifneq (no,$(PERL)] (regen-ulps): New target.
17044         [ifeq (no,$(PERL)] (regen-ulps): New target.
17045         * math/libm-test.inc (ulps_file_name): Define.
17046         (output_dir): New variable.
17047         (options): Add "output-dir" option.
17048         (parse_opt): Handle 'o' case.
17049         (main): If output_dir is non-NULL use it as a prefix
17050         otherwise use "".
17051         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17053 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17055         [BZ #10060, #10062]
17056         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17057         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17058         fail configure if __sync_val_compare_and_swap is not inlined.
17059         * sysdeps/i386/configure: Regenerate.
17060         * configure.in: Build for i686 when configured for i386.
17061         * configure: Regenerate.
17062         * README: Remove i386 reference.
17064 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17066         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17067         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17069 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17071         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17072         (lmsnanval): New variables.
17073         (F): Add conversion tests.
17074         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17075         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17077         * stdio-common/tstdiomisc.c (F): Properly collect individual
17078         tests' results.
17080         [BZ #14686, #15336]
17081         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17082         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17083         Instead, use input NaN values or generate a qNaN by arithmetic
17084         operation.  Also fix bugs to comply with the standard.
17085         * math/libm-test.inc (remainder_test): Add more tests.
17087         [BZ #15335, #15342]
17088         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17089         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17090         input NaN values or generate a qNaN by arithmetic operation.
17092         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17093         unreachable code.
17095         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17096         definitions.
17098 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17100         [BZ #14478]
17101         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17102         underflowed result.
17103         * math/s_cexpf.c (__cexpf): Likewise.
17104         * math/s_cexpl.c (__cexpl): Likewise.
17105         * math/libm-test.inc (cexp_test): Add more tests.
17107 2013-04-03  Andreas Schwab  <schwab@suse.de>
17109         [BZ #15330]
17110         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17111         order arrays from heap if bigger than alloca cutoff.
17113 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17115         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17116         (SNAN_TESTS_double): Refer to GCC PR56831.
17117         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17118         GCC PR56828.
17120 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17122         * Rules (bench): Move bench.out after the run is complete.
17124         * Rules (bench): Echo currently running benchmark.
17126         * benchtests/Makefile (bench): Add atan and slowatan.
17127         * benchtests/atan-inputs: New file.
17128         * benchtests/slowatan-inputs: New file.
17129         * benchtests/slowatan.c: New file.
17131         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17132         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17133         its value.
17135         [BZ #15305]
17136         * sysdeps/unix/sysv/linux/kernel-features.h
17137         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17138         __ASSUME_XFS_RESTRICTED_CHOWN.
17139         * sysdeps/unix/sysv/linux/pathconf.c
17140         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17141         Save and restore errno.
17143 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17145         [BZ #15327]
17146         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17147         arguments using __kernel_casinh.
17148         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17149         arguments using __kernel_casinhf.
17150         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17151         arguments using __kernel_casinhl.
17152         * math/libm-test.inc (cacosh_test): Add more tests.
17153         * sysdeps/i386/fpu/libm-test-ulps: Update.
17154         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17156 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17158         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17159         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17161         * bench/Makefile (bench): Add sin and slowsin.
17162         * benchtests/sin-inputs: New file.
17163         * benchtests/slowsin-inputs: New file.
17164         * benchtests/slowsin.c: New file.
17166         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17167         (bench): Add slowexp and slowpow.
17168         (exp-ITER): Increase iterations.
17169         (pow-ITER): Likewise.
17170         * benchtests/exp-inputs: Change input.
17171         * benchtests/pow-inputs: Likewise.
17172         * benchtests/slowexp-inputs: New file.
17173         * benchtests/slowexp.c: New file.
17174         * benchtests/slowpow-inputs: New file.
17175         * benchtests/slowpow.c: New file.
17177 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17179         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17180         instructions.
17181         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17182         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17183         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17184         * benchtests/Makefile: Add rint benchtest.
17185         * benchtests/rint-inputs: Input for rint benchtest.
17187 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17189         * Versions.def (libm): Add GLIBC_2.18.
17190         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17191         hidden libm prototypes.
17192         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17193         * math/Makefile (libm-calls): Add s_issignaling.
17194         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17195         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17196         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17197         declaration.
17198         * math/math.h [__USE_GNU] (issignaling): New macro.
17199         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17200         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17201         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17202         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17203         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17204         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17205         * manual/arith.texi (issignaling): New section.
17206         * manual/libm-err-tab.pl (@all_functions): Update comment.
17207         * math/gen-libm-test.pl (parse_args): Apply special handling for
17208         issignaling.
17209         * math/libm-test.inc (print_float, issignaling_test): New
17210         functions.
17211         (check_float_internal): Add issignaling checks.
17212         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17213         default definition.
17214         * sysdeps/powerpc/math-tests.h: New file.
17215         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17216         tests.
17217         * math/test-snan.c (TEST_FUNC): Likewise.
17219 2013-03-30  David S. Miller  <davem@davemloft.net>
17221         * po/de.po: Update from translation team.
17223 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17225         [BZ #10357]
17226         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17227         imaginary part less than 1.0 and real part less than 0.5
17228         specially.
17229         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17230         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17231         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17232         (cacos_test): Add more tests.
17233         (casin_test): Likewise.
17234         (casinh_test): Likewise.
17235         * sysdeps/i386/fpu/libm-test-ulps: Update.
17236         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17238 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17240         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17241         ONE with its value.
17243         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17244         (__pow_mp): Replace ONE and MONE with their values.
17245         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17246         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17247         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17248         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17249         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17250         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17252         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17254         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17255         (__pow_mp): Replace ZERO and MZERO with their values.
17256         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17257         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17258         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17259         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17260         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17261         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17262         (__sqr): Likewise.
17264         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17266         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17268 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17270         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17271         Declare with __attribute__ ((weak)).
17272         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17273         Call __call_tls_dtors only if it's not NULL.
17275 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17277         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17278         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17279         magic __ehdr_start linker symbol if it's defined.
17280         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17281         them up here if it was already done.
17283         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17284         (_dl_aux_init): Use const in cast when setting it.
17285         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17286         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17287         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17289         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17290         Declare them here.
17291         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17292         * csu/libc-tls.c: Nor here.
17293         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17295         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17296         (__libc_message): Never call vsyslog.
17298 2013-03-28  Alan Modra  <amodra@gmail.com>
17300         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17301         Define as empty.
17302         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17303         Likewise.
17305 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17307         [BZ #15214]
17308         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17309         underflow.
17310         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17312 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17314         [BZ #15304]
17315         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17316         Don't add gid passed as argument.
17318         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17320 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17322         [BZ #15307]
17323         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17324         imaginary part between 1.0 and 1.5 and real part less than 0.5
17325         specially.
17326         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17327         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17328         * math/libm-test.inc (cacos_test): Add more tests.
17329         (casin_test): Likewise.
17330         (casinh_test): Likewise.
17331         * sysdeps/i386/fpu/libm-test-ulps: Update.
17332         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17334 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17336         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17337         constants.
17338         (norm): Likewise.
17339         (denorm): Likewise.
17340         (__dbl_mp): Likewise.
17341         (add_magnitudes): Likewise.
17342         (sub_magnitudes): Likewise.
17343         (__add): Likewise.
17344         (__sub): Likewise.
17345         (__mul): Likewise.
17346         (__sqr): Likewise.
17347         (__inv): Likewise.
17348         (__dvd): Likewise.
17350         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17351         commented code.
17352         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17353         (__dubcos): Likewise.
17354         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17355         (__ieee754_acos): Likewise.
17356         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17357         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17358         (__exp1): Likewise.
17359         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17360         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17361         (log1): Likewise.
17362         (my_log2): Likewise.
17363         (checkint): Likewise.
17364         * sysdeps/ieee754/dbl-64/e_remainder.c
17365         (__ieee754_remainder): Likewise.
17366         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17367         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17368         (bsloww): Likewise.
17369         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17371         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17372         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17373         MANTISSA_STORE_T to store computations on mantissa.  Use
17374         macros for rounding and division.
17375         (denorm): Likewise.
17376         (__dbl_mp): Likewise.
17377         (add_magnitudes): Likewise.
17378         (sub_magnitudes): Likewise.
17379         (__mul): Likewise.
17380         (__sqr): Likewise.
17381         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17382         powers of two in terms of TWOPOW macro.
17383         (mp_no): Make type of mantissa as MANTISSA_T.
17384         [!RADIXI]: Define RADIXI.
17385         [!TWO52]: Define TWO52.
17386         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17388 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17390         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17391         llroundl symbol when building for PPC32.
17393 2013-03-24  Mark H Weaver  <mhw@netris.org>
17395         * manual/arith.texi (Normalization Functions): Fix prototypes for
17396         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17398 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17400         [BZ #13889]
17401         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17402         high value to check if expl overflow.
17403         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17404         to check for underflow and overflow.
17405         * math/libm-test.inc: Add exp test.
17407 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17409         [BZ #11120]
17410         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17411         with NOT_IN_libc.
17413 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17415         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17416         symbol.
17418 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17420         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17421         wrap blocks consisting of several statements.
17423         * sysdeps/generic/math-tests.h: New file.
17424         * sysdeps/i386/fpu/math-tests.h: Likewise.
17425         * math/test-snan.c: Include it.
17426         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17428 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17430         [BZ #15285]
17431         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17432         (__ieee754_j0l): Do not improve calculations using cos of twice
17433         input for inputs above LDBL_MAX / 2.0L.
17434         (__ieee754_y0l): Likewise.
17435         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17436         (__ieee754_j1l): Do not improve calculations using cos of twice
17437         input for inputs above LDBL_MAX / 2.0L.
17438         (__ieee754_y1l): Likewise.
17439         * math/libm-test.inc (j0_test): Add another test.
17440         (j1_test): Likewise.
17441         (y0_test): Likewise.
17442         (y1_test): Likewise.
17443         * sysdeps/i386/fpu/libm-test-ulps: Update.
17445 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17447         * Rules ($(objpfx)bench-%.c): Include code from a C source
17448         file.
17450 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17452         [BZ #15287]
17453         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17454         imaginary part 1.0 and real part less than 0.5 specially.
17455         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17456         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17457         * math/libm-test.inc (cacos_test): Add more tests.
17458         (casin_test): Likewise.
17459         (casinh_test): Likewise.
17460         * sysdeps/i386/fpu/libm-test-ulps: Update.
17461         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17463 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17465         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17466         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17468 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17470         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17471         * config.make.in (config-cflags-sse4): Remove variable.
17472         (config-cflags-avx): Likewise.
17473         (config-cflags-sse2avx): Likewise.
17474         (config-cflags-novzeroupper): Likewise.
17475         (config-asflags-i686): Likewise.
17476         (have-mfma4): Likewise.
17477         (have-as-vis3): Likewise.
17478         (MIG): Likewise.
17479         * configure.in (MIG): Do not AC_SUBST.
17480         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17481         (libc_cv_cc_sse4): Do not AC_SUBST.
17482         (libc_cv_cc_avx): Likewise.
17483         (libc_cv_cc_sse2avx): Likewise.
17484         (libc_cv_cc_novzeroupper): Likewise.
17485         (libc_cv_cc_fma4): Likewise.
17486         (libc_cv_as_i686): Likewise.
17487         (libc_cv_sparc_as_vis3): Likewise.
17488         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17489         LIBC_CONFIG_VAR.
17490         (config-asflags-i686): Likewise.
17491         (config-cflags-avx): Likewise.
17492         (config-cflags-sse2avx): Likewise.
17493         (have-mfma4): Likewise.
17494         (config-cflags-novzeroupper): Likewise.
17495         * sysdeps/mach/configure.in (MIG): Likewise.
17496         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17497         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17498         LIBC_CONFIG_VAR.
17499         (config-cflags-avx): Likewise.
17500         (config-cflags-sse2avx): Likewise.
17501         (have-mfma4): Likewise.
17502         (config-cflags-novzeroupper): Likewise.
17503         * configure: Regenerated.
17504         * sysdeps/i386/configure: Likewise.
17505         * sysdeps/mach/configure: Likewise.
17506         * sysdeps/sparc/configure: Likewise.
17507         * sysdeps/x86_64/configure: Likewise.
17509 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17511         [BZ #14812]
17512         * locale/programs/localedef.c (options): Put N_ translation marker
17513         on argument names, not just descriptions.
17515 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17517         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17519 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17521         [BZ #14176]
17522         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17524 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17526         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17527         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17528         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17529         [!BEFORE_ABORT] (before_abort): New function.
17530         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17531         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17532         (writev_for_fatal): New function.
17533         (WRITEV_FOR_FATAL): New macro; call that.
17534         (backtrace_and_maps): New function.
17535         (BEFORE_ABORT): New macro; call that.
17536         (struct str_list): Type removed.
17537         (__libc_message, __libc_fatal): Functions removed.
17538         Include <sysdeps/posix/libc_fatal.c> instead.
17540 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17542         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17543         constants.
17544         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17545         double constants.
17547 2013-03-19  Andreas Schwab  <schwab@suse.de>
17549         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17550         * sysdeps/gnu/configure: Regenerate.
17552         * configure.in: Substitute libc_cv_rtlddir.
17553         * configure: Regenerate.
17554         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17555         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17556         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17557         * elf/Makefile (install-others, CFLAGS-interp.c)
17558         (ldso_install, common-ldd-rewrite): Likewise.
17559         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17560         $(inst_slibdir)/$(rtld-installed-name).
17561         * scripts/rellns-sh: Add -p option.
17562         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17563         for source.
17565 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17567         * manual/nptl.texi: Renamed to ...
17568         * manual/threads.texi: ... this.
17569         * manual/Makefile (chapters): Update.
17571 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17573         [BZ #14812]
17574         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17575         on argument names, not just descriptions.
17576         * malloc/memusagestat.c (options): Likewise.
17577         * nss/getent.c (options): Likewise.
17579 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17581         [BZ #14812]
17582         * iconv/iconv_prog.c (options): Put N_ translation marker
17583         on argument names, not just descriptions.
17584         * iconv/iconvconfig.c (options): Likewise.
17586 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17588         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17589         implementation which is faster on all x86_64 architectures.
17590         Tested on AMD, Intel Nehalem, SNB, IVB.
17591         * sysdeps/x86_64/strnlen.S: Likewise.
17593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17594         Remove all multiarch strlen and strnlen versions.
17595         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17596         Remove strlen and strnlen related parts.
17598         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17599         Inline strlen part.
17600         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17602         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17603         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17604         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17605         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17606         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17607         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17609 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17611         * manual/memory.texi (Malloc Tunable Parameters):
17612         Sort parameters alphabetically. Add comments for missing entries.
17614 2013-03-17  David S. Miller  <davem@davemloft.net>
17616         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17618 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17620         [BZ #15283]
17621         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17622         for arguments at most half maximum finite value.
17623         * math/libm-test.inc (j0_test): Add more tests.
17624         (j1_test): Likewise.
17625         (y0_test): Likewise.
17626         (y1_test): Likewise.
17627         * sysdeps/i386/fpu/libm-test-ulps: Update.
17628         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17630         [BZ #14155]
17631         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17632         1 / x and functions P and Q for arguments above 0x1p256L.
17633         (__ieee754_y0l): Likewise.
17634         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17635         (__ieee754_y1l): Likewise.
17636         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17637         (j1_test): Likewise.
17638         (y0_test): Likewise.
17639         (y1_test): Likewise.
17641 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17643         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17644         variable.
17646 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17648         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17649         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17650         zero since it's initialized to EXEC_PAGESIZE.
17652         * sysdeps/unix/sysv/linux/ldsodefs.h
17653         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17654         * sysdeps/generic/ldsodefs.h: ... here.
17656 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17658         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17660         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17661         math/test-snan.c.
17662         * math/test-snan.c: Renamed from
17663         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17664         * math/Makefile (tests): Add test-snan.
17665         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17666         test-powerpc-snan.
17668         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17669         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17670         functions.
17671         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17672         __builtin_nan family of functions.
17673         * math/libm-test.inc (initialize): Initialize qnan_value with
17674         __builtin_nan family of functions.
17675         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17676         Remove variables.
17677         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17678         Remove functions.
17679         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17680         storage class.  Initialize qNaN_var and sNaN_var with
17681         __builtin_nan and __builtin_nans families of functions,
17682         respectively.
17684         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17685         (sqrt_test): Remove duplicate test with qNaN input.
17686         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17687         (round_test, signbit_test, significand_test): Note missing +/-Inf
17688         as well as qNaN tests.
17690         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17691         qNaN_var.  Fix a few strings, too.
17692         * math/libm-test.inc (nan_value): Rename to qnan_value.
17693         * math/gen-libm-test.pl (%beautify): Adjust to that.
17694         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17695         * math/test-misc.c (main): Likewise.
17696         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17697         to __qnan_bytes, and __qnan_union, respectively.
17698         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17699         Likewise.
17700         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17701         and lqnanval, respectively.
17702         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17703         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17704         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17705         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17707         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17708         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17709         doubles.
17711         * math/test-misc.c (main): Fix copy'n'pastos.
17712         * misc/tst-efgcvt.c (special): Likewise.
17714         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17715         Remove declarations.
17717 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17719         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17720         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17721         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17722         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17724 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17726         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17727         macro to return vdso values correctly in IFUNC implementations.
17728         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17729         Optimization by using IFUNC.
17731 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17732             Richard Henderson  <rth@redhat.com>
17733             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17735         * Makefile.in (bench): New target.
17736         * NEWS: Mention the benchmark framework.
17737         * Rules (bench): Likewise.
17738         (binaries-bench): Generate binaries for functions to
17739         benchmark.
17740         * benchtests/Makefile: New makefile for benchmark tests.
17741         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17742         programs.
17743         * benchtests/exp-inputs: New input file for EXP function.
17744         * benchtests/pow-inputs: New input file for POW function.
17745         * scripts/bench.pl: New script to generate source files for
17746         benchmark programs.
17748 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17750         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17751         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17752         computations on mantissa.  Use macros for rounding and
17753         division.
17754         (denorm): Likewise.
17755         (__dbl_mp): Likewise.
17756         (add_magnitudes): Likewise.
17757         (sub_magnitudes): Likewise.
17758         (__mul): Likewise.
17759         (__sqr): Likewise.
17760         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17761         powers of two in terms of TWOPOW macro.
17762         (mp_no): Make type of mantissa as MANTISSA_T.
17763         [!RADIXI]: Define RADIXI.
17764         [!TWO52]: Define TWO52.
17765         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17767         * manual/nptl.texi (cindex): Modify threads to pthreads.
17769 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17771         * sysdeps/x86_64/preconfigure: Regenerated.
17773 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17775         [BZ #14155]
17776         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17777         0x1p28 and above.
17778         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17779         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17780         0x1p28 and above.
17781         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17782         * math/libm-test.inc (j0_test): Do not allow one spurious
17783         underflow exception.
17784         (y1_test): Likewise.
17786 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17788         * manual/Makefile (chapters): Add nptl.
17789         * manual/debug.texi (Debugging Support): Add link to Threads
17790         chapter.
17791         * manual/nptl.texi: New file.
17793         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17795 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17797         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17798         for non-NULL pointer before the memory validity test. Pointed
17799         out by Holger Brunck <holger.brunck@keymile.com>.
17801 2013-03-13  Andreas Schwab  <schwab@suse.de>
17803         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17804         instead of .os.
17806 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17808         * timezone/zic.c: Update from tzcode 2013b.
17810 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17812         * manual/install.texi (Configuring and compiling):
17813         Mention i686 and i586.
17814         * INSTALL: Regenerate.
17816 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17818         * sysdeps/init_array/elf-init.c: New file.
17819         * csu/elf-init.c
17820         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17821         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17823         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17824         __gmon_start__ as global, but as static with a .preinit_array pointer.
17825         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17826         * sysdeps/init_array/crti.S: New file, empty except for comments.
17827         * sysdeps/init_array/crtn.S: Likewise.
17829 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17831         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17832         definining bcopy.
17833         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17834         Remove Prefer_SSE_for_memop.
17835         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17836         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17837         HAS_PREFER_SSE_FOR_MEMOP.
17838         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17839         memset-x86-64.
17840         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17841         Remove bzero, memset ifunc support.
17842         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17843         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17844         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17845         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17847 2013-03-11  Andreas Schwab  <schwab@suse.de>
17849         [BZ #15234]
17850         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17851         by SHLIB_COMPAT.
17852         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17853         (GLIBC_2.16): Remove pthread_atfork.
17855 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17857         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17858         (ptestcases.h): Likewise.
17860 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17862         * Makeconfig ($(common-objpfx)config.status): Depend on
17863         sysdeps/*/preconfigure{,.in} too.
17865 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17867         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17868         (__free_hook): Use void * instead of __malloc_ptr_t.
17869         (__malloc_hook): Likewise.
17870         (__realloc_hook): Likewise.
17871         (__memalign_hook): Likewise.
17872         (__after_morecore_hook): Likewise.
17873         * malloc/arena.c (save_malloc_hook): Likewise.
17874         (save_free_hook): Likewise.
17875         * malloc/hooks.c (malloc_hook_ini): Likewise.
17876         (realloc_hook_ini): Likewise.
17877         (memalign_hook_ini): Likewise.
17878         * malloc/malloc.c (malloc_hook_ini): Likewise.
17879         (realloc_hook_ini): Likewise.
17880         (memalign_hook_ini): Likewise.
17881         (__free_hook): Likewise.
17882         (__malloc_hook): Likewise.
17883         (__realloc_hook): Likewise.
17884         (__memalign_hook): Likewise.
17885         (__libc_malloc): Likewise.
17886         (__libc_free): Likewise.
17887         (__libc_realloc): Likewise.
17888         (__libc_memalign): Likewise.
17889         (__libc_valloc): Likewise.
17890         (__libc_pvalloc): Likewise.
17891         (__libc_calloc): Likewise.
17892         (__posix_memalign): Likewise.
17893         * malloc/morecore.c (__sbrk): Likewise.
17894         (__default_morecore): Likewise.
17896         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
17898         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
17899         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
17900         __malloc_ptrdiff_t.
17902         * malloc/malloc.h (__malloc_size_t): Remove macro.
17903         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
17904         __malloc_size_t.
17905         (old_memalign_hook): Likewise.
17906         (old_realloc_hook): Likewise.
17907         (struct hdr): Likewise.
17908         (flood): Likewise.
17909         (mallochook): Likewise.
17910         (memalignhook): Likewise.
17911         (reallochook): Likewise.
17912         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
17913         (tr_old_realloc_hook): Likewise.
17914         (tr_old_memalign_hook): Likewise.
17915         (tr_mallochook): Likewise.
17916         (tr_reallochook): Likewise.
17917         (tr_memalignhook): Likewise.
17919 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17921         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
17922         default_ldbl_pack and using as default implementation.
17923         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
17924         implementation.
17925         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
17926         redundant definition.
17927         (ldbl_insert_mantissa): Likewise.
17928         (ldbl_canonicalize): Likewise.
17929         (ldbl_nearbyint): Likewise.
17930         (ldbl_pack): Rename to ldbl_pack_ppc.
17931         (ldbl_unpack): Rename to ldbl_unpack_ppc.
17932         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
17933         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
17935 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
17937         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
17938         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
17939         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
17940         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
17941         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
17942         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
17943         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
17944         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
17946 2013-03-07  Andreas Jaeger  <aj@suse.de>
17948         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
17949         bits/mman-linux.h.
17951 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17953         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
17954         Include mpa.h and declare __MPEXP.
17955         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
17956         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17957         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17958         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
17959         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17960         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
17961         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
17963         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
17964         (__slowpow): Use long double EXPL and LOGL functions to
17965         compute POW.
17966         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
17967         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17968         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
17969         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
17970         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
17971         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
17973         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
17974         intermediate variable to calculate exponent.
17975         (__sqr): Likewise.
17976         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
17977         Likewise.
17978         (__sqr): Likewise.
17980         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
17981         [!NO__SQR]: Define __sqr.
17982         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
17983         and NO__SQR.  Remove all code except __mul and __sqr.  Include
17984         sysdeps/ieee754/dbl-64/mpa.c.
17985         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
17987         [BZ #12723]
17988         * posix/Makefile (tests): Add tst-pathconf.
17989         * posix/tst-pathconf.c: New test case.
17990         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
17991         _PC_PIPE_BUF.
17992         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
17994 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
17996         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
17998 2013-03-06  Andreas Jaeger  <aj@suse.de>
18000         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18001         definition via __MAP_ANONYMOUS.
18003         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18004         it's not part of Linux headers.
18006         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18007         (MAP_HUGE_MASK): Define.
18009         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18010         Define.
18011         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18012         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18013         Define.
18014         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18015         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18016         Define.
18017         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18018         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18019         Define.
18020         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18022         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18023         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18024         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18025         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18026         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18027         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18029         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18030         Handle f2fs.
18032         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18033         Handle f2fs and efivarfs.
18035         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18036         f2fs.
18038         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18039         (EFIVARFS_MAGIC): Add.
18040         (F2FS_LINK_MAX): Add.
18042 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18044         * stdio-common/vfprintf.c: Replace __builtin_expect with
18045         __glibc_unlikely.
18047 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18049         [BZ #13550]
18050         * sysdeps/generic/bp-sym.h: Remove file.
18051         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18052         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18053         <bp-sym.h> and <bp-asm.h>.
18054         (__longjmp): Don't use BP_SYM.
18055         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18056         and <bp-asm.h>.
18057         (memcpy): Don't use BP_SYM.
18058         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18059         <bp-sym.h> and <bp-asm.h>.
18060         (memcpy): Don't use BP_SYM.
18061         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18062         <bp-asm.h>.
18063         (memcpy): Don't use BP_SYM.
18064         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18065         <bp-asm.h>.
18066         (memset): Don't use BP_SYM.
18067         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18068         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18069         (__bzero): Don't use BP_SYM.
18070         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18071         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18072         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18073         <bp-sym.h> and <bp-asm.h>.
18074         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18075         pointers.
18076         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18077         <bp-sym.h> and <bp-asm.h>.
18078         (memcpy): Don't use BP_SYM.
18079         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18080         <bp-sym.h> and <bp-asm.h>.
18081         (memset): Don't use BP_SYM.
18082         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18083         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18084         (__bzero): Don't use BP_SYM.
18085         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18086         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18087         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18088         <bp-sym.h> and <bp-asm.h>.
18089         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18090         pointers.
18091         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18092         <bp-sym.h> and <bp-asm.h>.
18093         (memcpy): Don't use BP_SYM.
18094         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18095         <bp-sym.h> and <bp-asm.h>.
18096         (memset): Don't use BP_SYM.
18097         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18098         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18099         (__bzero): Don't use BP_SYM.
18100         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18101         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18102         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18103         <bp-sym.h> and <bp-asm.h>.
18104         (__memchr): Don't use BP_SYM.
18105         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18106         <bp-sym.h> and <bp-asm.h>.
18107         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18108         pointers.
18109         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18110         <bp-sym.h> and <bp-asm.h>.
18111         (memcpy): Don't use BP_SYM.
18112         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18113         <bp-sym.h> and <bp-asm.h>.
18114         (__mempcpy): Don't use BP_SYM.
18115         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18116         <bp-sym.h> and <bp-asm.h>.
18117         (__memrchr): Don't use BP_SYM.
18118         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18119         <bp-sym.h> and <bp-asm.h>.
18120         (memset): Don't use BP_SYM.
18121         (__bzero): Likewise.
18122         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18123         <bp-sym.h> and <bp-asm.h>.
18124         (__rawmemchr): Don't use BP_SYM.
18125         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18126         <bp-sym.h> and <bp-asm.h>.
18127         (__STRCMP): Don't use BP_SYM.
18128         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18129         <bp-sym.h> and <bp-asm.h>.
18130         (strchr): Don't use BP_SYM.
18131         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18132         <bp-sym.h> and <bp-asm.h>.
18133         (__strchrnul): Don't use BP_SYM.
18134         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18135         <bp-sym.h> and <bp-asm.h>.
18136         (strlen): Don't use BP_SYM.
18137         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18138         <bp-sym.h> and <bp-asm.h>.
18139         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18140         pointers.
18141         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18142         <bp-sym.h> and <bp-asm.h>.
18143         (__strnlen): Don't use BP_SYM.
18144         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18145         <bp-sym.h> and <bp-asm.h>.
18146         (__GI__setjmp): Don't use BP_SYM.
18147         (_setjmp): Likewise.
18148         (__sigsetjmp): Likewise.
18149         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18150         (L(start_addresses)): Don't use BP_SYM.
18151         (_start): Likewise.
18152         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18153         <bp-asm.h>.
18154         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18155         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18156         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18157         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18158         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18159         <bp-asm.h>.
18160         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18161         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18162         about bounded pointers.
18163         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18164         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18165         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18166         <bp-asm.h>.
18167         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18168         about bounded pointers.  Remove GKM FIXME comments.
18169         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18170         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18171         <bp-asm.h>.
18172         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18173         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18174         Remove GKM FIXME comments.
18175         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18176         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18177         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18178         <bp-asm.h>.
18179         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18180         about bounded pointers.  Remove GKM FIXME comment.
18181         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18182         and <bp-asm.h>.
18183         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18184         pointers.
18185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18186         <bp-sym.h> and <bp-asm.h>.
18187         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18189         <bp-sym.h> and <bp-asm.h>.
18190         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18191         comment.
18193 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18195         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18196         call free(NULL).
18198 2013-03-05  David S. Miller  <davem@davemloft.net>
18200         * po/es.po: Update from translation team.
18202 2013-03-05  Andreas Jaeger  <aj@suse.de>
18204         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18205         <bits/mman-linux.h>.
18206         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18207         is fine.
18208         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18209         <bits/mman-linux.h> to end of file.
18210         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18211         is fine.
18212         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18213         <bits/mman-linux.h> to end of file.
18214         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18215         is fine.
18216         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18217         <bits/mman-linux.h> to end of file.
18219         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18220         (MCL_CURRENT, MCL_FUTURE): Define here.
18222 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18224         [BZ #15232]
18225         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18226         attribute_hidden.
18227         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18229 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18231         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18232         fourth parameter needed for rt_sigprocmask syscall.
18233         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18234         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18235         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18236         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18237         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18238         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18240 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18242         [BZ #13550]
18243         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18244         comment about bounded pointers.
18245         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18246         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18248 2013-03-04  Andreas Jaeger  <aj@suse.de>
18250         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18251         common definitions.
18253         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18254         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18255         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18256         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18257         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18258         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18260 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18262         [BZ #15055]
18263         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18264         __ieee754_sqrl instead of __sqrl.
18266 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18268         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18269         * sysdeps/powerpc/fpu_control.h: ... here.
18270         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18271         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18272         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18273         * sysdeps/powerpc/bits/mathinline.h: ... here.
18275 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18277         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18278         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18279         to just [NEED_DL_SYSINFO_DSO].
18280         * elf/dl-support.c: Likewise.
18281         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18282         * elf/rtld.c (dl_main): Likewise.
18283         * elf/setup-vdso.h (setup_vdso): Likewise.
18284         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18285         * sysdeps/unix/sysv/linux/dl-sysdep.c
18286         (_dl_discover_osversion): Likewise.
18288 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18290         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18291         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18293 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18295         * NEWS: Mention libm performance improvements and non-x86 PI
18296         futex support.
18298         * csu/libc-start.c (__pthread_initialize_minimal): Change
18299         function arguments.
18300         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18302 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18304         [BZ #13550]
18305         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18306         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18307         <bp-sym.h> and <bp-asm.h>.
18308         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18309         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18310         and <bp-asm.h>.
18311         (memcpy): Don't use BP_SYM.
18312         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18313         <bp-asm.h>.
18314         (__mpn_add_n): Don't use BP_SYM.
18315         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18316         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18317         and <bp-asm.h>.
18318         (__mpn_addmul_1): Don't use BP_SYM.
18319         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18320         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18321         <bp-sym.h>.
18322         (_setjmp): Don't use BP_SYM.
18323         (__novmx_setjmp): Likewise.
18324         (__GI__setjmp): Likewise.
18325         (__vmx_setjmp): Likewise.
18326         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18327         <bp-sym.h>.
18328         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18329         (__bzero): Don't use BP_SYM.
18330         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18331         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18332         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18333         <bp-sym.h> and <bp-asm.h>.
18334         (memcpy): Don't use BP_SYM.
18335         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18336         <bp-sym.h> and <bp-asm.h>.
18337         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18338         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18339         <bp-sym.h> and <bp-asm.h>.
18340         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18341         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18342         <bp-asm.h>.
18343         (__mpn_lshift): Don't use BP_SYM.
18344         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18345         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18346         <bp-asm.h>.
18347         (memset): Don't use BP_SYM.
18348         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18349         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18350         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18351         <bp-asm.h>.
18352         (__mpn_mul_1): Don't use BP_SYM.
18353         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18354         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18355         <bp-sym.h> and <bp-asm.h>.
18356         (memcmp): Don't use BP_SYM.
18357         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18358         <bp-sym.h> and <bp-asm.h>.
18359         (memcpy): Don't use BP_SYM.
18360         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18361         <bp-sym.h> and <bp-asm.h>.
18362         (memset): Don't use BP_SYM.
18363         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18364         <bp-sym.h> and <bp-asm.h>.
18365         (strncmp): Don't use BP_SYM.
18366         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18367         <bp-sym.h> and <bp-asm.h>.
18368         (memcpy): Don't use BP_SYM.
18369         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18370         <bp-sym.h> and <bp-asm.h>.
18371         (memset): Don't use BP_SYM.
18372         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18373         <bp-sym.h> and <bp-asm.h>.
18374         (__memchr): Don't use BP_SYM.
18375         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18376         <bp-sym.h> and <bp-asm.h>.
18377         (memcmp): Don't use BP_SYM.
18378         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18379         <bp-sym.h> and <bp-asm.h>.
18380         (memcpy): Don't use BP_SYM.
18381         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18382         <bp-sym.h> and <bp-asm.h>.
18383         (__mempcpy): Don't use BP_SYM.
18384         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18385         <bp-sym.h> and <bp-asm.h>.
18386         (__memrchr): Don't use BP_SYM.
18387         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18388         <bp-sym.h> and <bp-asm.h>.
18389         (memset): Don't use BP_SYM.
18390         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18391         <bp-sym.h> and <bp-asm.h>.
18392         (__rawmemchr): Don't use BP_SYM.
18393         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18394         <bp-sym.h> and <bp-asm.h>.
18395         (__STRCMP): Don't use BP_SYM.
18396         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18397         <bp-sym.h> and <bp-asm.h>.
18398         (strchr): Don't use BP_SYM.
18399         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18400         <bp-sym.h> and <bp-asm.h>.
18401         (__strchrnul): Don't use BP_SYM.
18402         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18403         <bp-sym.h> and <bp-asm.h>.
18404         (strlen): Don't use BP_SYM.
18405         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18406         <bp-sym.h> and <bp-asm.h>.
18407         (strncmp): Don't use BP_SYM.
18408         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18409         <bp-sym.h> and <bp-asm.h>.
18410         (__strnlen): Don't use BP_SYM.
18411         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18412         <bp-asm.h>.
18413         (__mpn_rshift): Don't use BP_SYM.
18414         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18415         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18416         <bp-sym.h> and <bp-asm.h>.
18417         (__sigsetjmp): Don't use BP_SYM.
18418         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18419         (L(start_addresses)): Don't use BP_SYM.
18420         (_start): Likewise.
18421         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18422         <bp-asm.h>.
18423         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18424         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18425         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18426         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18427         <bp-asm.h>.
18428         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18429         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18430         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18431         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18432         <bp-asm.h>.
18433         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18434         comments.
18435         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18436         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18437         <bp-asm.h>.
18438         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18439         FIXME comments.
18440         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18441         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18442         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18443         <bp-asm.h>.
18444         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18445         comment.
18446         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18447         and <bp-asm.h>.
18448         (strncmp): Don't use BP_SYM,
18449         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18450         <bp-asm.h>.
18451         (__mpn_sub_n): Don't use BP_SYM.
18452         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18453         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18454         and <bp-asm.h>.
18455         (__mpn_submul_1): Don't use BP_SYM.
18456         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18457         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18458         <bp-sym.h> and <bp-asm.h>.
18459         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18461         <bp-sym.h> and <bp-asm.h>.
18462         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18463         comment.
18465 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18467         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18468         Use ZK to minimize writes to Z.
18469         (sub_magnitudes): Simplify code a bit.
18470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18471         Use ZK to minimize writes to Z.
18472         (sub_magnitudes): Simplify code a bit.
18474 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18476         * csu/gmon-start.c: Add special exception to license text.
18478 2013-02-27  Richard Henderson  <rth@redhat.com>
18480         * scripts/config.guess: Update from config.git.
18481         * scripts/config.sub: Likewise.
18483 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18485         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18487         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18489         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18491         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18493         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18495 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18497         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18498         [$(build-shared = yes].
18500 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18502         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18503         (__mul): Reduce iterations for calculating mantissa.
18505         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18506         MPTWO.
18507         (__mpranred): Likewise.
18509         [BZ #15160]
18510         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18511         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18513 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18515         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18516         Define __attribute__.
18518 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18520         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18521         unused.
18522         * posix/regex_internal.h (__attribute): Remove.
18523         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18524         (re_string_context_at): Likewise.
18525         (bitset_not): Use __attribute__ and mark function as possibly
18526         unused.
18527         (bitset_merge): Likewise.
18528         (bitset_mask): Likewise.
18529         (re_string_char_size_at): Likewise.
18530         (re_string_wchar_at): Likewise.
18531         (re_string_elem_size_at): Likewise.
18533 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18535         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18536         code.
18537         (cc32): Likewise.
18539         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18540         (__acr): Likewise.
18541         (__cpy): Likewise.
18542         (norm): Likewise.
18543         (denorm): Likewise.
18544         (__dbl_mp): Likewise.
18545         (add_magnitudes): Likewise.
18546         (sub_magnitudes): Likewise.
18547         (__mul): Likewise.
18548         (__inv): Likewise.
18550         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18551         style.
18553         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18554         style.
18556         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18557         code.
18559         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18560         up changes with default code.
18561         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18562         Likewise.
18564 2013-02-24  Allan McRae  <allan@archlinux.org>
18566         * manual/socket.texi (The Internet Namespace): Order menu items
18567         to match that in the file.
18569         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18570         node listing of the info page menu.
18572 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18574         [BZ #13550]
18575         * sysdeps/i386/bp-asm.h: Remove file.
18576         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18577         (PARMS): Do not use macros from bp-asm.h.
18578         (S1): Likewise.
18579         (S2): Likewise.
18580         (SIZE): Likewise.
18581         (__mpn_add_n): Do not use BP_SYM
18582         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18583         "bp-asm.h".
18584         (PARMS): Do not use macros from bp-asm.h.
18585         (S1): Likewise.
18586         (SIZE): Likewise.
18587         (__mpn_addmul_1): Do not use BP_SYM
18588         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18589         "bp-asm.h".
18590         (PARMS): Do not use macros from bp-asm.h.
18591         (SIGMSK): Likewise.
18592         (_setjmp): Likewise.  Do not use BP_SYM.
18593         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18594         "bp-asm.h".
18595         (PARMS): Do not use macros from bp-asm.h.
18596         (SIGMSK): Likewise.
18597         (setjmp): Likewise.  Do not use BP_SYM.
18598         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18599         "bp-asm.h".
18600         (PARMS): Do not use macros from bp-asm.h.
18601         (__frexp): Do not use BP_SYM.
18602         (frexp): Likewise.
18603         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18604         "bp-asm.h".
18605         (PARMS): Do not use macros from bp-asm.h.
18606         (__frexpf): Do not use BP_SYM.
18607         (frexpf): Likewise.
18608         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18609         "bp-asm.h".
18610         (PARMS): Do not use macros from bp-asm.h.
18611         (__frexpl): Do not use BP_SYM.
18612         (frexpl): Likewise.
18613         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18614         "bp-asm.h".
18615         (PARMS): Do not use macros from bp-asm.h.
18616         (__remquo): Do not use BP_SYM.
18617         (remquo): Likewise.
18618         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18619         "bp-asm.h".
18620         (PARMS): Do not use macros from bp-asm.h.
18621         (__remquof): Do not use BP_SYM.
18622         (remquof): Likewise.
18623         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18624         "bp-asm.h".
18625         (PARMS): Do not use macros from bp-asm.h.
18626         (__remquol): Do not use BP_SYM.
18627         (remquol): Likewise.
18628         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18629         "bp-asm.h".
18630         (PARMS): Do not use macros from bp-asm.h.
18631         (DEST): Likewise.
18632         (SRC): Likewise.
18633         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18634         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18635         "bp-asm.h".
18636         (PARMS): Do not use macros from bp-asm.h.
18637         (strlen): Do not use BP_SYM.
18638         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18639         "bp-asm.h".
18640         (PARMS): Do not use macros from bp-asm.h.
18641         (S1): Likewise.
18642         (S2): Likewise.
18643         (SIZE): Likewise.
18644         (__mpn_add_n): Do not use BP_SYM.
18645         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18646         "bp-asm.h".
18647         (PARMS): Do not use macros from bp-asm.h.
18648         (S1): Likewise.
18649         (SIZE): Likewise.
18650         (__mpn_addmul_1): Do not use BP_SYM.
18651         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18652         weak_alias.
18653         (bzero): Likewise.
18654         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18655         "bp-asm.h".
18656         (PARMS): Do not use macros from bp-asm.h.
18657         (S): Likewise.
18658         (SIZE): Likewise.
18659         (__mpn_lshift): Do not use BP_SYM.
18660         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18661         "bp-asm.h".
18662         (PARMS): Do not use macros from bp-asm.h.
18663         (DEST): Likewise.
18664         (SRC): Likewise.
18665         (LEN): Likewise.
18666         (memcpy): Likewise.  Do not use BP_SYM.
18667         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18668         libc_hidden_def and weak_alias.
18669         (mempcpy): Do not use BP_SYM in weak_alias.
18670         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18671         "bp-asm.h".
18672         (PARMS): Do not use macros from bp-asm.h.
18673         (DEST): Likewise.
18674         (LEN): Likewise.
18675         [!BZERO_P] (CHR): Likewise.
18676         (memset): Likewise.  Do not use BP_SYM.
18677         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18678         "bp-asm.h".
18679         (PARMS): Do not use macros from bp-asm.h.
18680         (S1): Likewise.
18681         (SIZE): Likewise.
18682         (__mpn_mul_1): Do not use BP_SYM.
18683         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18684         "bp-asm.h".
18685         (PARMS): Do not use macros from bp-asm.h.
18686         (S): Likewise.
18687         (SIZE): Likewise.
18688         (__mpn_rshift): Do not use BP_SYM.
18689         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18690         "bp-asm.h".
18691         (PARMS): Do not use macros from bp-asm.h.
18692         (STR): Likewise.
18693         (CHR): Likewise.
18694         (strchr): Likewise.  Do not use BP_SYM.
18695         (index): Do not use BP_SYM in weak_alias.
18696         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18697         "bp-asm.h".
18698         (PARMS): Do not use macros from bp-asm.h.
18699         (DEST): Likewise.
18700         (SRC): Likewise.
18701         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18702         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18703         "bp-asm.h".
18704         (PARMS): Do not use macros from bp-asm.h.
18705         (strlen): Do not use BP_SYM.
18706         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18707         "bp-asm.h".
18708         (PARMS): Do not use macros from bp-asm.h.
18709         (S1): Likewise.
18710         (S2): Likewise.
18711         (SIZE): Likewise.
18712         (__mpn_sub_n): Do not use BP_SYM.
18713         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18714         "bp-asm.h".
18715         (PARMS): Do not use macros from bp-asm.h.
18716         (S1): Likewise.
18717         (SIZE): Likewise.
18718         (__mpn_submul_1): Do not use BP_SYM.
18719         * sysdeps/i386/i686/add_n.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         (S2): Likewise.
18724         (SIZE): Likewise.
18725         (__mpn_add_n): Do not use BP_SYM.
18726         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18727         weak_alias.
18728         (bzero): Likewise.
18729         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18730         "bp-asm.h".
18731         (PARMS): Do not use macros from bp-asm.h.
18732         (BLK2): Likewise.
18733         (LEN): Likewise.
18734         (memcmp): Do not use BP_SYM.
18735         (bcmp): Do not use BP_SYM in weak_alias.
18736         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18737         "bp-asm.h".
18738         (PARMS): Do not use macros from bp-asm.h.
18739         (DEST): Likewise.
18740         (SRC): Likewise.
18741         (LEN): Likewise.
18742         (memcpy): Likewise.  Do not use BP_SYM.
18743         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18744         "bp-asm.h".
18745         (PARMS): Do not use macros from bp-asm.h.
18746         (DEST): Likewise.
18747         (SRC): Likewise.
18748         (LEN): Likewise.
18749         (memmove): Likewise.  Do not use BP_SYM.
18750         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18751         "bp-asm.h".
18752         (PARMS): Do not use macros from bp-asm.h.
18753         (DEST): Likewise.
18754         (SRC): Likewise.
18755         (LEN): Likewise.
18756         (__mempcpy): Likewise.  Do not use BP_SYM.
18757         (mempcpy): Do not use BP_SYM in weak_alias.
18758         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18759         "bp-asm.h".
18760         (PARMS): Do not use macros from bp-asm.h.
18761         (DEST): Likewise.
18762         (LEN): Likewise.
18763         [!BZERO_P] (CHR): Likewise.
18764         (memset): Likewise.  Do not use BP_SYM.
18765         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18766         "bp-asm.h".
18767         (PARMS): Do not use macros from bp-asm.h.
18768         (STR2): Likewise.
18769         (strcmp): Do not use BP_SYM.
18770         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18771         "bp-asm.h".
18772         (PARMS): Do not use macros from bp-asm.h.
18773         (STR): Likewise.
18774         (DELIM): Likewise.
18775         [USE_AS_STRTOK_R] (SAVE): Likewise.
18776         (FUNCTION): Likewise.  Do not use BP_SYM.
18777         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18778         aliases.
18779         (strtok_r): Likewise.
18780         (__GI___strtok_r): Likewise.
18781         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18782         (PARMS): Do not use macros from bp-asm.h.
18783         (S): Likewise.
18784         (SIZE): Likewise.
18785         (__mpn_lshift): Do not use BP_SYM.
18786         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18787         (PARMS): Do not use macros from bp-asm.h.
18788         (STR): Likewise.
18789         (CHR): Likewise.
18790         (__memchr): Do not use BP_SYM.
18791         (memchr): Do not use BP_SYM in weak_alias.
18792         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18793         (PARMS): Do not use macros from bp-asm.h.
18794         (BLK2): Likewise.
18795         (LEN): Likewise.
18796         (memcmp): Do not use BP_SYM.
18797         (bcmp): Do not use BP_SYM in weak_alias.
18798         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18799         (PARMS): Do not use macros from bp-asm.h.
18800         (S1): Likewise.
18801         (SIZE): Likewise.
18802         (__mpn_mul_1): Do not use BP_SYM.
18803         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18804         "bp-asm.h".
18805         (PARMS): Do not use macros from bp-asm.h.
18806         (STR): Likewise.
18807         (CHR): Likewise.
18808         (__rawmemchr): Do not use BP_SYM.
18809         (rawmemchr): Do not use BP_SYM in weak_alias.
18810         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18811         (PARMS): Do not use macros from bp-asm.h.
18812         (S): Likewise.
18813         (SIZE): Likewise.
18814         (__mpn_rshift): Do not use BP_SYM.
18815         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18816         (PARMS): Do not use macros from bp-asm.h.
18817         (SIGMSK): Likewise.
18818         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18819         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18820         (_start): Do not use BP_SYM.
18821         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18822         (PARMS): Do not use macros from bp-asm.h.
18823         (DEST): Likewise.
18824         (SRC): Likewise.
18825         (__stpcpy): Likewise.  Do not use BP_SYM.
18826         (stpcpy): Do not use BP_SYM in weak_alias.
18827         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18828         "bp-asm.h".
18829         (PARMS): Do not use macros from bp-asm.h.
18830         (DEST): Likewise.
18831         (SRC): Likewise.
18832         (LEN): Likewise.
18833         (__stpncpy): Likewise.  Do not use BP_SYM.
18834         (stpncpy): Do not use BP_SYM in weak_alias.
18835         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18836         (PARMS): Do not use macros from bp-asm.h.
18837         (STR): Likewise.
18838         (CHR): Likewise.
18839         (strchr): Likewise.  Do not use BP_SYM.
18840         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18841         "bp-asm.h".
18842         (PARMS): Do not use macros from bp-asm.h.
18843         (STR): Likewise.
18844         (CHR): Likewise.
18845         (__strchrnul): Likewise.  Do not use BP_SYM.
18846         (strchrnul): Do not use BP_SYM in weak_alias.
18847         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18848         "bp-asm.h".
18849         (PARMS): Do not use macros from bp-asm.h.
18850         (STOP): Likewise.
18851         (strcspn): Do not use BP_SYM.
18852         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18853         "bp-asm.h".
18854         (PARMS): Do not use macros from bp-asm.h.
18855         (STR): Likewise.
18856         (STOP): Likewise.
18857         (strpbrk): Likewise.  Do not use BP_SYM.
18858         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18859         "bp-asm.h".
18860         (PARMS): Do not use macros from bp-asm.h.
18861         (STR): Likewise.
18862         (CHR): Likewise.
18863         (strrchr): Likewise.  Do not use BP_SYM.
18864         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18865         (PARMS): Do not use macros from bp-asm.h.
18866         (SKIP): Likewise.
18867         (strspn): Do not use BP_SYM.
18868         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18869         (PARMS): Do not use macros from bp-asm.h.
18870         (STR): Likewise.
18871         (DELIM): Likewise.
18872         (SAVE): Likewise.
18873         (FUNCTION): Likewise.  Do not use BP_SYM.
18874         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
18875         aliases.
18876         (strtok_r): Likewise.
18877         (__GI___strtok_r): Likewise.
18878         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18879         (PARMS): Do not use macros from bp-asm.h.
18880         (S1): Likewise.
18881         (S2): Likewise.
18882         (SIZE): Likewise.
18883         (__mpn_sub_n): Do not use BP_SYM.
18884         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
18885         "bp-asm.h".
18886         (PARMS): Do not use macros from bp-asm.h.
18887         (S1): Likewise.
18888         (SIZE): Likewise.
18889         (__mpn_submul_1): Do not use BP_SYM.
18890         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
18891         <bp-sym.h>.
18892         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
18893         and <bp-asm.h>.
18894         (PARMS): Do not use macros from bp-asm.h.
18895         (FLAGS): Likewise.
18896         (PTID): Likewise.
18897         (TLS): Likewise.
18898         (CTID): Likewise.
18899         (__clone): Do not use BP_SYM.
18900         (clone): Do not use BP_SYM in weak_alias.
18901         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
18902         and <bp-asm.h>.
18903         (PARMS): Do not use macros from bp-asm.h.
18904         (LEN): Likewise.
18905         (__mmap64): Do not use BP_SYM.
18906         (mmap64): Do not use BP_SYM in weak_alias.
18907         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18908         <bp-sym.h> and <bp-asm.h>.
18909         (PARMS): Do not use macros from bp-asm.h.
18910         (__posix_fadvise64_l64): Do not use BP_SYM.
18911         * sysdeps/unix/sysv/linux/i386/semtimedop.S
18912         (PARMS): Do not use macros from bp-asm.h.
18913         (NSOPS): Likewise.
18914         (semtimedop): Do not use BP_SYM.
18915         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
18916         and <bp-asm.h>.
18918 2013-02-21  Allan McRae  <allan@archlinux.org>
18920         * manual/message.texi (Charset conversion in gettext):
18921         Move @end statement to beginning of line.
18923 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18925         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
18926         static.
18927         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
18928         Likewise.
18930         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
18931         (denorm): Likewise.
18932         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
18933         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
18935 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18937         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
18938         tail-call to the resolved function if pltexit isn't needed.
18940 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
18942         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
18943         or Y being zero as being unlikely.
18944         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18945         Likewise.
18947 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
18949         * manual/nss.texi (System Databases and Name Service Switch):
18950         Remove frobnicate @pxref.
18952 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
18954         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
18955         __attribute__ ((unused)) to __attribute__ ((__unused__)).
18957 2013-02-20  Petr Machata  <pmachata@redhat.com>
18959         * elf/elf.h (R_ARM_TARGET1): New macro.
18960         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
18961         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
18962         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
18963         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
18964         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
18965         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
18966         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
18967         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
18968         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
18969         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
18970         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
18971         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
18972         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
18973         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
18974         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
18975         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
18976         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
18977         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
18978         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
18979         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
18980         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
18981         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
18982         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
18983         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
18984         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
18985         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
18986         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
18987         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
18988         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
18989         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
18990         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
18991         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
18992         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
18993         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
18994         (R_ARM_THM_GOT_BREL12): Likewise.
18995         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
18996         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
18997         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
18998         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
18999         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19000         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19001         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19002         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19003         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19005 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19007         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19008         __attribute_used__ to __attribute__ ((unused)).
19010 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19012         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19013         powerpc mpa.c.
19014         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19015         comment formatting.
19016         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19018 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19020         [BZ #13550]
19021         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19022         Remove macro.
19023         (ENTER): Remove both macro definitions.
19024         (LEAVE): Likewise.
19025         (CHECK_BOUNDS_LOW): Likewise.
19026         (CHECK_BOUNDS_HIGH): Likewise.
19027         (CHECK_BOUNDS_BOTH): Likewise.
19028         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19029         (RETURN_BOUNDED_POINTER): Likewise.
19030         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19031         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19032         (POP_ERRNO_LOCATION_RETURN): Likewise.
19033         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19034         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19035         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19036         macros.
19037         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19038         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19039         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19040         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19041         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19042         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19043         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19044         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19045         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19046         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19047         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19048         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19049         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19050         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19051         removed macros.
19052         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19053         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19054         macros.
19055         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19056         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19057         * sysdeps/i386/i586/memset.S (memset): Likewise.
19058         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19059         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19060         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19061         macros.
19062         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19063         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19064         Change uses of L(2) to L(out).
19065         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19066         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19067         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19068         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19069         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19070         removed macros.
19071         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19072         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19073         macros.
19074         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19075         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19076         (RETURN): Do not use macro LEAVE.
19077         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19078         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19079         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19080         * sysdeps/i386/i686/memset.S (memset): Likewise.
19081         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19082         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19083         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19084         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19085         Likewise.
19086         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19087         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19088         L(1_2) and L(1_3) into L(1).
19089         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19090         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19091         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19092         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19093         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19094         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19095         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19096         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19097         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19098         macros.
19099         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19100         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19101         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19102         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19103         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19104         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19105         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19106         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19107         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19108         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19109         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19110         * sysdeps/i386/strspn.S (strspn): Likewise.
19111         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19112         conditional code.
19113         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19114         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19115         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19116         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19117         L(1_3) into L(1_1).
19118         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19119         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19120         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19121         macros.
19122         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19124 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19126         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19127         macro.
19129 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19131         * math/atest-exp.c (exp_mpn): Remove ROUND.
19132         * math/atest-exp2.c (exp_mpn): Likewise.
19133         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19135         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19136         * stdlib/tst-tls-atexit-lib.c: Likewise.
19137         * stdlib/tst-tls-atexit.c: Likewise.
19139 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19141         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19142         and __attribute_alloc_size__.
19144 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19146         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19147         __attribute_alloc_size__.
19148         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19149         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19151 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19153         * include/programs/xmalloc.h: New file.
19154         * catgets/gencat.c: Include it.
19155         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19156         * elf/pldd.c: Likewise.
19157         * iconv/iconv_charmap.c: Likewise.
19158         * iconv/iconvconfig.c: Likewise.
19159         * iconv/strtab.c: Likewise.
19160         * locale/programs/locale.c: Likewise.
19161         * locale/programs/localedef.h: Likewise.
19162         * locale/programs/simple-hash.c: Likewise.
19163         * nscd/nscd.h: Likewise.
19164         * nss/makedb.c: Likewise.
19165         * sysdeps/generic/ldconfig.h: Likewise.
19167 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19169         * Versions.def: Add GLIBC_2.18.
19170         * include/link.h (struct link_map): New member l_tls_dtor_count.
19171         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19172         (__call_tls_dtors): Likewise.
19173         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19174         __cxa_thread_atexit_impl.
19175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19176         Likewise.
19177         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19178         Likewise.
19179         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19180         Likewise.
19181         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19182         Likewise.
19183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19184         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19185         Likewise.
19186         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19187         Likewise.
19188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19190         Likewise.
19191         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19192         (tests): Add test case tst-tls-atexit.
19193         (modules-names): Add shared library for tst-tls-atexit.
19194         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19195         (GLIBC_PRIVATE): Add __call_tls_dtors.
19196         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19197         for libstdc++.
19198         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19199         * stdlib/tst-tls-atexit.c: New test case.
19200         * stdlib/tst-tls-atexit-lib.c: New test case.
19202         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19204         * elf/Versions (ld): Add _dl_find_dso_for_object.
19205         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19206         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19207         (dl_open_worker): Use _dl_find_dso_for_object.
19208         * elf/dl-sym.c (do_sym): Likewise.
19209         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19211 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19213         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19214         Syntactic changes only.
19215         (_dl_runtime_profile): Do a tail-call to the resolved function.
19217 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19219         [BZ #13550]
19220         * sysdeps/x86_64/bp-asm.h: Remove file.
19221         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19222         <bp-sym.h> and <bp-asm.h>.
19223         (__clone): Do not use BP_SYM.
19224         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19225         <bp-sym.h> and <bp-asm.h>.
19226         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19227         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19228         "bp-asm.h".
19229         (_setjmp): Do not use BP_SYM.
19230         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19231         "bp-asm.h".
19232         (setjmp): Do not use BP_SYM.
19233         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19234         libc_hidden_def.
19235         (mempcpy): Do not use BP_SYM in weak_alias.
19236         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19237         "bp-asm.h".
19238         (strchr): Do not use BP_SYM.
19239         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19240         "bp-asm.h".
19241         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19242         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19243         (_start): Do not use BP_SYM.
19244         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19245         "bp-asm.h".
19246         (strcat): Do not use BP_SYM.
19247         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19248         "bp-asm.h".
19249         (STRCMP): Do not use BP_SYM.
19250         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19251         "bp-asm.h".
19252         (STRCPY): Do not use BP_SYM.
19253         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19254         "bp-asm.h".
19255         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19256         "bp-asm.h".
19257         (FUNCTION): Do not use BP_SYM.
19258         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19259         weak_alias.
19260         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19262 2013-02-17  Andreas Jaeger  <aj@suse.de>
19264         * time/Versions: Sort entries.
19265         * string/Versions: Likewise.
19266         * resolv/Versions: Likewise.
19267         * posix/Versions: Likewise.
19268         * iconv/Versions: Likewise.
19269         * elf/Versions: Likewise.
19270         * wcsmbs/Versions: Likewise.
19272 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19274         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19275         loop termination condition.
19277         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19278         variable to calculate EZ.
19279         (__sqr): Likewise.
19281         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19282         the lower precision input.
19284 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19286         [BZ #13550]
19287         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19288         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19289         (run-via-rtld-prefix): Do not handle %-bp tests.
19290         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19291         (all-object-suffixes): Remove .ob.
19292         (bppfx): Remove variable.
19293         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19294         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19295         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19296         [$(build-bounded) = yes] (libtype.ob): Likewise.
19297         * Makerules (elide-routines.ob): Remove variable.
19298         (do-tests-clean): Do not handle *-bp.out.
19299         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19300         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19301         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19302         (tests): Do not include $(tests-bp.out).
19303         (xtests): Do not include $(xtests-bp.out).
19304         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19305         [$(build-bounded) = yes] ($(addprefix
19306         $(objpfx),$(binaries-bounded))): Remove rule.
19307         ($(objpfx)%-bp.out): Remove rule.
19308         * config.make.in (build-bounded): Remove variable.
19309         * crypt/Makefile [$(build-bounded) = yes]
19310         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19311         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19312         append to variable.
19313         [$(build-bounded) = yes] (install-lib): Likewise.
19314         [$(build-bounded) = yes] (generated): Likewise.
19315         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19316         Remove rule.
19317         * intl/Makefile [$(build-bounded) = yes]
19318         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19319         * math/Makefile [$(build-bounded) = yes]
19320         ($(tests:%=$(objpfx)%-bp): Likewise.
19321         * misc/Makefile [$(build-bounded) = yes]
19322         ($(objpfx)tst-tsearch-bp): Likewise.
19323         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19324         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19325         Remove dependency.
19326         * string/Makefile (o-objects.ob): Remove variable.
19327         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19328         (CFLAGS-.ob): Remove variable.
19329         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19330         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19331         both definitions of variable.
19332         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19333         (ASFLAGS-.ob): Remove variable.
19335 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19337         [BZ #13550]
19338         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19339         Remove __BOUNDED_POINTERS__ from condition.
19340         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19341         * string/bits/string2.h [!__NO_STRING_INLINES &&
19342         !__BOUNDED_POINTERS__]: Likewise.
19343         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19344         Likewise.
19345         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19346         Remove conditional code.
19347         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19348         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19349         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19350         condition.
19352         [BZ #13550]
19353         * csu/libc-start.c: Do not include <bp-sym.h>.
19354         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19355         * elf/dl-open.c: Do not include <bp-sym.h>.
19356         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19357         * math/fegetenv.c: Do not include <bp-sym.h>.
19358         (fegetenv): Do not use BP_SYM in versioned symbols.
19359         * nptl/sysdeps/pthread/bits/libc-lockP.h
19360         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19361         <bp-sym.h>.
19362         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19363         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19364         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19365         (__pthread_mutex_destroy): Likewise.
19366         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19367         (__pthread_mutex_lock): Likewise.
19368         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19369         (__pthread_mutex_trylock): Likewise.
19370         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19371         (__pthread_mutex_unlock): Likewise.
19372         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19373         (__pthread_mutexattr_init): Likewise.
19374         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19375         (__pthread_mutexattr_destroy): Likewise.
19376         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19377         (__pthread_mutexattr_settype): Likewise.
19378         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19379         (__pthread_rwlock_init): Likewise.
19380         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19381         (__pthread_rwlock_destroy): Likewise.
19382         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19383         (__pthread_rwlock_rdlock): Likewise.
19384         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19385         (__pthread_rwlock_tryrdlock): Likewise.
19386         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19387         (__pthread_rwlock_wrlock): Likewise.
19388         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19389         (__pthread_rwlock_trywrlock): Likewise.
19390         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19391         (__pthread_rwlock_unlock): Likewise.
19392         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19393         (__pthread_key_create): Likewise.
19394         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19395         (__pthread_setspecific): Likewise.
19396         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19397         (__pthread_getspecific): Likewise.
19398         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19399         Likewise.
19400         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19401         (_pthread_cleanup_push_defer): Likewise.
19402         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19403         (_pthread_cleanup_pop_restore): Likewise.
19404         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19405         (pthread_setcancelstate): Likewise.
19406         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19407         <bp-sym.h>.
19408         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19409         (memchr): Do not use BP_SYM in weak_alias.
19410         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19411         (fegetenv): Do not use BP_SYM in versioned symbols.
19412         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19413         (fesetenv): Do not use BP_SYM in versioned symbols.
19414         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19415         (feupdateenv): Do not use BP_SYM in versioned symbols.
19416         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19417         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19418         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19419         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19420         (open64): Do not use BP_SYM in weak_alias.
19421         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19422         (fegetenv): Do not use BP_SYM in versioned symbols.
19423         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19424         (fesetenv): Do not use BP_SYM in versioned symbols.
19425         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19426         (feupdateenv): Do not use BP_SYM in versioned symbols.
19427         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19428         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19429         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19430         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19431         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19432         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19433         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19434         <bp-sym.h>.
19435         (__libc_start_main): Do not use BP_SYM.
19437 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19439         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19440         redundant return line.
19441         (norm): Likewise.
19442         (denorm): Likewise.
19443         (dbl_mp): Likewise.
19444         (sub_magnitudes): Likewise.
19445         (__add): Likewise.
19446         (__sub): Likewise.
19447         (__mul): Likewise.
19448         (__inv): Likewise.
19449         (__dvd): Likewise.
19450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19451         (norm): Likewise.
19452         (denorm): Likewise.
19453         (dbl_mp): Likewise.
19454         (sub_magnitudes): Likewise.
19455         (__add): Likewise.
19456         (__sub): Likewise.
19457         (__mul): Likewise.
19458         (__inv): Likewise.
19459         (__dvd): Likewise.
19461         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19462         instead of __mul.
19463         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19464         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19465         (cc32): Likewise.
19467         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19468         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19469         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19470         of __mul for squares.
19471         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19472         function
19473         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19474         Likewise.
19475         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19476         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19478 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19480         [BZ #13550]
19481         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19482         code.
19483         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19484         prototype or function definition.  Rename ubp_* variables and
19485         parameters.  Remove argv definitions conditional on
19486         [__BOUNDED_POINTERS__].
19487         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19488         * elf/dl-runtime.c (_dl_fixup): Likewise.
19489         * include/set-hooks.h (RUN_HOOK): Likewise.
19490         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19491         definition.
19492         * string/strcpy.c (strcpy): Do not use __unbounded.
19493         * sysdeps/generic/frame.h (struct layout): Likewise.
19494         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19495         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19496         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19497         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19498         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19499         (__backtrace): Likewise.
19500         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19501         use __ptrvalue.
19502         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19503         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19504         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19505         Likewise.
19506         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19507         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19508         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19509         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19510         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19511         Do not use __unbounded.
19512         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19513         Rename __unboundedrlimits parameter to rlimits in prototype.
19514         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19515         Do not use __unbounded.
19516         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19517         not use __ptrvalue.
19518         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19519         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19520         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19521         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19522         __ptrvalue or __unbounded.
19523         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19524         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19525         use __unbounded.
19526         (__new_msgctl): Do not use __ptrvalue.
19527         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19528         __unbounded.
19529         (__libc_msgrcv): Do not use __ptrvalue.
19530         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19531         startup_info): Do not use __unbounded.
19532         (__libc_start_main): Likewise.  Rename ubp_* variables and
19533         parameters.  Remove argv definitions conditional on
19534         [__BOUNDED_POINTERS__].
19535         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19536         __ptrvalue.
19537         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19538         use __unbounded.
19539         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19540         or __ptrvalue.
19541         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19542         use __unbounded.
19543         (__new_shmctl): Do not use __ptrvalue.
19544         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19545         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19546         Likewise.
19547         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19548         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19549         (__libc_sigaction): Likewise.
19550         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19551         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19552         Likewise.
19553         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19555 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19557         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19559         * string/mempcpy.c: Implement by calling memcpy.
19561 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19563         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19565         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19566         evaluation.
19568         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19569         values in the mantissa.
19571         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19572         minimize writes to Z.
19573         (sub_magnitudes): Simplify code a bit.
19575 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19577         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19578         from the message.  The linker prefixes all warnings with that already.
19580 2013-02-12  Andreas Schwab  <schwab@suse.de>
19582         [BZ #15078]
19583         * posix/regexec.c (extend_buffers): Add parameter min_len.
19584         (check_matching): Pass minimum needed length.
19585         (clean_state_log_if_needed): Likewise.
19586         (get_subexp): Likewise.
19587         * posix/Makefile (tests): Add bug-regex34.
19588         (bug-regex34-ENV): Define.
19589         * posix/bug-regex34.c: New file.
19591         [BZ #11561]
19592         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19593         elements compare against the byte sequence of it, not its name.
19594         * posix/Makefile (tests): Add bug-regex35.
19595         (bug-regex35-ENV): Define.
19596         * posix/bug-regex35.c: New file.
19598 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19600         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19601         comment.
19602         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19603         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19604         (CHECK_EOL): Add undef.
19606 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19608         * bits/stdlib-bsearch.h: New file.
19609         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19610         * stdlib/stdlib.h: Likewise.
19612 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19614         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19615         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19616         declaration.
19617         * manual/search.texi (Array Search Function): Add missing const in
19618         lfind prototype.
19619         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19620         declaration to use rlim_t.
19621         (Basic Scheduling Functions): Remove erroneous const from
19622         sched_getparam prototype.  Remove erroneous * from
19623         sched_get_priority_max and sched_get_priority_min prototypes.
19624         (Resource Usage): Fix summary @comment on vtimes to refer to
19625         sys/vtimes.h rather than vtimes.h.
19626         Add missing *s in vtimes prototype.
19627         (Limits on Resources): Fix ulimit prototype to return long int.
19628         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19629         prototypes to use long int rather than double.
19630         (BSD Random): Fix initstate and setstate to use char *, not void *.
19631         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19632         prototype to make second argument 'struct aiocb64 *const[]'.
19633         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19634         (Status of AIO Operations): Remove erroneous const in aio_return and
19635         aio_return64 prototypes.
19636         (Synchronizing I/O): Fix sync prototype to return void.
19637         * manual/startup.texi (Suboptions): Remove an erroneous const in
19638         getsubopt prototype.
19639         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19640         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19641         use size_t rather than int.
19642         (Scanning All Users): Likewise for getpwent_r.
19643         (Setting Groups): Add missing const to setgroups prototype.
19644         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19645         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19646         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19647         'const void *' rather than 'const char *'.
19648         (Host Address Functions): Likewise for inet_ntop.
19649         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19650         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19651         ssize_t for return value.
19652         (Sending Data): Likewise for send, sendto, sendmsg.
19653         (Socket Option Functions): Add a missing const in setsockopt prototype.
19654         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19655         use wchar_t for the argument.
19656         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19657         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19658         take no arguments.
19659         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19660         double/float/long double for second argument.
19661         Fix return types of significand, significandf, significandl.
19662         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19663         argument in fchmod prototype.
19664         (File Owner): Use uid_t and gid_t in fchown prototype.
19665         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19666         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19667         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19668         use 'const struct dirent **' as argument types to CMP function pointer
19669         argument.
19670         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19671         (File Times): Fix summary magic @comment for struct utimbuf and utime
19672         to refer to utime.h, not time.h.
19673         * manual/string.texi (Argz Functions): Add missing const in
19674         argz_extract and argz_next prototypes.
19675         (Finding Tokens in a String): Likewise for basename.
19676         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19677         (Copying and Concatenation): Fix typo in wmemmove prototype.
19678         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19679         (Signal Stack): Remove erroneous const in sigstack prototype.
19680         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19681         prototype.
19682         (Simple Calendar Time): Likewise for stime.
19683         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19684         prototype.
19685         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19686         say sys/sysctl.h instead.
19687         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19688         and vsyslog prototypes.
19690 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19692         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19693         Remove.
19695 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19697         * misc/sys/mman.h: Fix typo in mremap comment.
19699 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19701         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19702         the '\0' terminator.
19704 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19706         [BZ #13550]
19707         * debug/segfault.c: Don't include <bp-checks.h>.
19708         * sysdeps/generic/bp-checks.h: Remove file.
19709         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19710         (__GETDENTS): Don't use CHECK_N.
19711         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19712         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19713         (__getgroups): Don't use CHECK_N.
19714         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19715         (setgroups): Don't use CHECK_N.
19716         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19717         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19718         (__libc_msgrcv): Don't use CHECK_N.
19719         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19720         (__libc_msgsnd): Don't use CHECK_N.
19721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19722         <bp-checks.h>.
19723         (__libc_pread): Don't use CHECK_N.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19725         include <bp-checks.h>.
19726         (__libc_pread64): Don't use CHECK_N.
19727         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19728         include <bp-checks.h>.
19729         (__libc_pwrite): Don't use CHECK_N.
19730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19731         include <bp-checks.h>.
19732         (__libc_pwrite64): Don't use CHECK_N.
19733         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19734         <bp-checks.h>.
19735         (__libc_pread): Don't use CHECK_N.
19736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19737         include <bp-checks.h>.
19738         (__libc_pread64): Don't use CHECK_N.
19739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19740         include <bp-checks.h>.
19741         (__libc_pwrite): Don't use CHECK_N.
19742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19743         include <bp-checks.h>.
19744         (__libc_pwrite64): Don't use CHECK_N.
19745         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19746         (do_pread): Don't use CHECK_N.
19747         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19748         (do_pread64): Don't use CHECK_N.
19749         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19750         (do_pwrite): Don't use CHECK_N.
19751         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19752         (do_pwrite64): Don't use CHECK_N.
19753         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19754         (__libc_readv): Don't use CHECK_N.
19755         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19756         (semop): Don't use CHECK_N.
19757         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19758         <bp-checks.h>.
19759         (semtimedop): Don't use CHECK_N.
19760         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19761         (__libc_pread): Don't use CHECK_N.
19762         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19763         <bp-checks.h>.
19764         (__libc_pread64): Don't use CHECK_N.
19765         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19766         <bp-checks.h>.
19767         (__libc_pwrite): Don't use CHECK_N.
19768         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19769         <bp-checks.h>.
19770         (__libc_pwrite64): Don't use CHECK_N.
19771         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19772         <bp-checks.h>.
19773         (__libc_msgrcv): Don't use CHECK_N.
19774         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19775         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19776         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19777         (__libc_writev): Don't use CHECK_N.
19779 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19781         * string/strcpy.c: Removed unused variable.
19783         * Makeconfig (+sysdep-includes): Define with := rather than =.
19784         Use an existing include/ subdir of each sysdeps dir before it.
19786 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19788         * nscd/connection.c (register_traced_file): Comment function.
19789         [HAVE_INOTIFY] (union __inev): Define.
19790         [HAVE_INOTIFY] (inotify_check_files): New function.
19791         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19792         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19793         clear_db_cache.
19794         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19796 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19798         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19799         loaded if not already and that a failure is permanent.
19801 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19803         [BZ #15006]
19804         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19805         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19807 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19809         [BZ #13550]
19810         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19811         (CHECK_1_NULL_OK): Likewise.
19812         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19813         (__fxstat): Do not use CHECK_1.
19814         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19815         <bp-checks.h>.
19816         (___fxstat64): Do not use CHECK_1.
19817         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19818         <bp-checks.h>.
19819         (__fxstatat): Do not use CHECK_1.
19820         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19821         <bp-checks.h>.
19822         (__fxstatat64): Do not use CHECK_1.
19823         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19824         <bp-checks.h>.
19825         (__fxstat): Do not use CHECK_1.
19826         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19827         <bp-checks.h>.
19828         (__fxstatat): Do not use CHECK_1.
19829         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19830         <bp-checks.h>.
19831         (__getresgid): Do not use CHECK_1.
19832         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19833         <bp-checks.h>.
19834         (__getresuid): Do not use CHECK_1.
19835         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19836         <bp-checks.h>.
19837         (__lxstat): Do not use CHECK_1.
19838         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19839         <bp-checks.h>.
19840         (__old_msgctl): Do not use CHECK_1.
19841         (__new_msgctl): Likewise.
19842         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19843         <bp-checks.h>.
19844         (__new_setrlimit): Do not use CHECK_1.
19845         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19846         <bp-checks.h>.
19847         (__old_shmctl): Do not use CHECK_1.
19848         (__new_shmctl): Likewise.
19849         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19850         <bp-checks.h>.
19851         (__xstat): Do not use CHECK_1.
19852         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19853         (__lxstat): Do not use CHECK_1.
19854         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19855         <bp-checks.h>.
19856         (___lxstat64): Do not use CHECK_1.
19857         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19858         (__old_msgctl): Do not use CHECK_1.
19859         (__new_msgctl): Likewise.
19860         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19861         <bp-checks.h>.
19862         (__gettimeofday): Do not use CHECK_1.
19863         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19864         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19865         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19866         <bp-checks.h>.
19867         (__gettimeofday): Do not use CHECK_1.
19868         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19869         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19870         (__new_shmctl): Do not use CHECK_1.
19871         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
19872         <bp-checks.h>.
19873         (do_sigtimedwait): Do not use CHECK_1.
19874         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
19875         <bp-checks.h>.
19876         (do_sigwaitinfo): Do not use CHECK_1.
19877         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
19878         <bp-checks.h>.
19879         (msgctl): Do not use CHECK_1.
19880         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
19881         <bp-checks.h>.
19882         (shmctl): Do not use CHECK_1.
19883         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
19884         (ustat): Do not use CHECK_1.
19885         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
19886         <bp-checks.h>.
19887         (__fxstat): Do not use CHECK_1.
19888         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
19889         <bp-checks.h>.
19890         (__fxstatat): Do not use CHECK_1.
19891         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
19892         <bp-checks.h>.
19893         (__lxstat): Do not use CHECK_1.
19894         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
19895         <bp-checks.h>.
19896         (__xstat): Do not use CHECK_1.
19897         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
19898         (__xstat): Do not use CHECK_1.
19899         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
19900         (___xstat64): Do not use CHECK_1.
19902         [BZ #13550]
19903         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
19904         definitions.
19905         (CHECK_BOUNDS_HIGH): Likewise.
19906         * string/strcpy.c: Do not include <bp-checks.h>.
19907         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
19909 2013-02-07  Roland McGrath  <roland@hack.frob.com>
19911         * nscd/nscd-client.h (__nscd_drop_map_ref):
19912         Add __attribute__ ((unused)).
19913         * nis/nss-nisplus.h (niserr2nss): Likewise.
19915         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
19916         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
19918         * csu/libc-tls.c (init_static_tls, init_slotinfo):
19919         Remove inline keyword.
19920         * include/rounding-mode.h (round_away): Likewise.
19921         * libio/wfileops.c (adjust_wide_data): Likewise.
19922         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
19923         (__m128i_strloadu_tolower): Likewise.
19924         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
19925         (__m128i_strloadu_tolower): Likewise.
19926         * time/mktime.c (ydhms_diff): Likewise.
19927         * locale/elem-hash.h (elem_hash): Likewise.
19928         * locale/setlocale.c (setdata): Likewise.
19929         * posix/regex_internal.h (re_string_char_size_at): Likewise.
19930         (re_string_wchar_at): Likewise.
19931         (bitset_not, bitset_merge, bitset_mask): Likewise.
19932         [!(__GNUC__ > 3)] (inline): Remove macro.
19933         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
19934         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
19935         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
19936         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
19937         * string/memcmp.c (memcmp_bytes): Likewise.
19938         * locale/programs/locarchive.c (compute_hashval): Likewise.
19939         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
19940         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
19941         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
19942         * nss/getent.c (print_rpc, print_protocols): Likewise.
19943         (print_passwd, print_group, print_aliases): Likewise.
19944         * nis/nss-nisplus.h (niserr2nss): Likewise.
19945         * nscd/connections.c (restart_p): Likewise.
19946         Change return type to bool.
19948 2013-02-05  Roland McGrath  <roland@hack.frob.com>
19950         * Makeconfig (all-Depend-files): Add existing
19951         $(sorted-subdirs:=/Depend) files.
19952         (all-subdirs): Remove nss.
19953         * sysdeps/unix/inet/Subdirs: Add it here instead.
19954         * hesiod/Depend: New file.
19956         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
19957         instead of calling alloca.
19959         * io/lseek.c (__lseek): Rename to __libc_lseek.
19960         Define __lseek as an alias.
19962         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
19964 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
19966         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
19967         else clause and remove check for non-standard endianness.
19969 2013-02-04  David S. Miller  <davem@davemloft.net>
19971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19973 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
19975         [BZ #13550]
19976         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
19977         (__ubp_memchr): Remove prototype.
19978         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
19979         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19980         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
19981         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
19982         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
19983         Remove alias.
19984         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
19985         (__ubp_memchr): Likewise.
19986         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
19987         (__ubp_memchr): Likewise.
19988         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
19989         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
19990         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
19991         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
19992         CHECK_STRING.
19993         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19994         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
19995         (__getcwd): Do not use CHECK_STRING.
19996         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
19997         <bp-checks.h>.
19998         (__real_chown): Do not use CHECK_STRING.
19999         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20000         <bp-checks.h>.
20001         (fchownat): Do not use CHECK_STRING.
20002         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20003         CHECK_STRING.
20004         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20005         <bp-checks.h>.
20006         (__lchown): Do not use CHECK_STRING.
20007         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20008         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20009         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20010         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20011         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20012         include <bp-checks.h>.
20013         (truncate64): Do not use CHECK_STRING.
20014         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20015         <bp-checks.h>.
20016         (__real_chown): Do not use CHECK_STRING.
20017         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20018         <bp-checks.h>.
20019         (__lchown): Do not use CHECK_STRING.
20020         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20021         <bp-checks.h>.
20022         (__chown): Do not use CHECK_STRING.
20023         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20024         <bp-checks.h>.
20025         (truncate64): Do not use CHECK_STRING.
20026         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20027         Likewise.
20028         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20029         (__xmknod): Do not use CHECK_STRING.
20030         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20031         <bp-checks.h>.
20032         (__xmknodat): Do not use CHECK_STRING.
20033         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20034         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20036 2013-02-04  Andreas Schwab  <schwab@suse.de>
20038         [BZ #14142]
20039         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20040         * include/netdb.h: Likewise for h_errno.
20041         * elf/tst-stackguard1.c: Include <tls.h>.
20043 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20045         * elf/link.h (struct link_map): Extend the l_addr comment.
20046         * include/link.h (struct link_map): Likewise.
20048 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20050         [BZ #13550]
20051         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20052         (BOUNDED_1): Remove macro.
20053         * debug/backtrace.c: Don't include <bp-checks.h>.
20054         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20055         (__backtrace): Likewise.
20056         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20057         <bp-checks.h>.
20058         (__backtrace): Don't use BOUNDED_1.
20059         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20060         <bp-checks.h>.
20061         (__backtrace): Don't use BOUNDED_1.
20062         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20063         (__backtrace): Don't use BOUNDED_1.
20064         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20065         (shmat): Don't use BOUNDED_N.
20067 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20069         [BZ #13550]
20070         * sysdeps/generic/bp-start.h: Remove file.
20071         * csu/libc-start.c: Don't include <bp-start.h>.
20072         (LIBC_START_MAIN): Set up __environ directly instead of using
20073         INIT_ARGV_and_ENVIRON.
20074         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20075         <bp-start.h>.
20077         [BZ #13550]
20078         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20079         definitions.
20080         (CHECK_FCNTL): Likewise.
20081         (CHECK_N_PAGES): Likewise.
20083         [BZ #13550]
20084         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20085         definitions.
20086         (CHECK_SIGSET_NULL_OK): Likewise.
20087         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20088         <bp-checks.h>.
20089         (sigpending): Don't use CHECK_SIGSET.
20090         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20091         <bp-checks.h>.
20092         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20093         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20094         <bp-checks.h>.
20095         (do_sigsuspend): Don't use CHECK_SIGSET.
20096         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20097         use CHECK_SIGSET.
20098         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20099         (do_sigwait): Don't use CHECK_SIGSET.
20100         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20101         use CHECK_SIGSET.
20102         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20103         include <bp-checks.h>.
20104         (sigpending): Don't use CHECK_SIGSET.
20105         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20106         include <bp-checks.h>.
20107         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20108         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20109         <bp-checks.h>.
20110         (sigpending): Don't use CHECK_SIGSET.
20111         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20112         <bp-checks.h>.
20113         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20115         [BZ #13550]
20116         * sysdeps/generic/bp-semctl.h: Remove file.
20117         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20118         <bp-checks.h> and <bp-semctl.h>.
20119         (__old_semctl): Don't use CHECK_SEMCTL.
20120         (__new_semctl): Likewise.
20121         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20122         and <bp-semctl.h>.
20123         (__old_semctl): Don't use CHECK_SEMCTL.
20124         (__new_semctl): Likewise.
20125         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20126         <bp-checks.h> and <bp-semctl.h>.
20127         (__old_semctl): Don't use CHECK_SEMCTL.
20128         (__new_semctl): Likewise.
20129         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20130         <bp-checks.h> and <bp-semctl.h>.
20131         (semctl): Don't use CHECK_SEMCTL.
20133         [BZ #13550]
20134         * Makerules (elide-bp-thunks): Remove variable.
20135         (elide-routines.oS): Don't use $(elide-bp-thunks).
20136         (elide-routines.os): Likewise.
20137         (elide-routines.o): Likewise.
20138         (elide-routines.op): Likewise.
20139         (elide-routines.og): Likewise.
20140         (objects): Don't use $(bp-thunks).
20141         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20142         include.
20143         (common-generated): Do not add s-proto-bp.d.
20144         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20145         (int): Likewise.
20146         (typ): Likewise.
20147         Do not generate makefile rules for bounded-pointer thunks.
20148         * sysdeps/generic/bp-thunks.h: Remove file.
20149         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20150         * sysdeps/unix/s-proto-bp.S: Likewise.
20152         [BZ #15062]
20153         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20154         parts of result separately when argument is not close to line from
20155         -i to i and one part of argument is small.
20156         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20157         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20158         * math/libm-test.inc (cacos_test): Add more tests.
20159         (casin_test): Likewise.
20160         (casinh_test): Likewise.
20161         * sysdeps/i386/fpu/libm-test-ulps: Update.
20162         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20164 2013-01-31  David S. Miller  <davem@davemloft.net>
20166         * po/de.po: Update from translation team.
20168 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20170         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20172 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20174         * configure.in (_AC_PROG_CC_C89): New definition.
20175         * configure: Regenerate.
20177         * configure.in (AC_PROG_CPP): New definition.
20178         * configure: Regenerate.
20180 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20182         * debug/tst-backtrace.h: New file.
20183         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20184         (ret): Remove variable.
20185         (x): Likewise.
20186         (FAIL): Remove macro.
20187         (NO_INLINE): Likewise.
20188         (fn1): Use match function instead of strstr.
20189         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20190         (ret): Remove variable.
20191         (x): Likewise.
20192         (FAIL): Remove macro.
20193         (NO_INLINE): Likewise.
20194         (fn): Use match function instead of strstr.
20195         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20196         (ret): Remove variable.
20197         (x): Likewise.
20198         (FAIL): Remove macro.
20199         (NO_INLINE): Likewise.
20200         (handle_signal): Use match function instead of strstr.
20201         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20202         (ret): Remove variable.
20203         (x): Likewise.
20204         (FAIL): Remove macro.
20205         (NO_INLINE): Likewise.
20206         (handle_signal): Use match function instead of strstr.
20208 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20210         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20212 2013-01-23  David S. Miller  <davem@davemloft.net>
20214         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20215         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20216         argument of CAS if possible.
20217         * sysdeps/sparc/sparc64/bits/atomic.h
20218         (__arch_compare_and_exchange_val_32_acq): Likewise.
20219         (__arch_compare_and_exchange_val_64_acq): Likewise.
20221 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20223         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20224         * sysdeps/posix/ulimit.c: ... this.
20225         Include <limits.h>.
20226         * sysdeps/unix/bsd/ulimit.c: Remove file.
20228 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20230         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20231         (LDFLAGS-tst-array5): Likewise.
20233 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20235         [BZ #15036]
20236         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20237         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20238         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20239         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20241 2013-01-21  David S. Miller  <davem@davemloft.net>
20243         * sysdeps/sparc/backtrace.c: New file.
20244         * sysdeps/sparc/sparc32/backtrace.h: New file.
20245         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20246         * sysdeps/sparc/sparc64/backtrace.h: New file.
20247         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20248         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20249         -funwind-tables.
20251 2013-01-21  Andreas Schwab  <schwab@suse.de>
20253         [BZ #15020]
20254         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20255         closed its stdout.
20257 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20259         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20260         "mpa2.h".
20261         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20263 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20264             Mark Mitchell  <mark@codesourcery.com>
20265             Tom de Vries  <tom@codesourcery.com>
20266             Paul Pluzhnikov  <ppluzhnikov@google.com>
20268         * debug/tst-backtrace2.c: New file.
20269         * debug/tst-backtrace3.c: Likewise.
20270         * debug/tst-backtrace4.c: Likewise.
20271         * debug/tst-backtrace5.c: Likewise.
20272         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20273         (CFLAGS-tst-backtrace3.c): Likewise.
20274         (CFLAGS-tst-backtrace4.c): Likewise.
20275         (CFLAGS-tst-backtrace5.c): Likewise.
20276         (LDFLAGS-tst-backtrace2): Likewise.
20277         (LDFLAGS-tst-backtrace3): Likewise.
20278         (LDFLAGS-tst-backtrace4): Likewise.
20279         (LDFLAGS-tst-backtrace5): Likewise.
20280         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20281         tst-backtrace4 and tst-backtrace5.
20283 2013-01-18  Anton Blanchard  <anton@samba.org>
20284             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20286         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20287         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20288         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20289         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20291         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20292         "+r" and remove output regs list as redundant.  Add explicit inline
20293         asm to specify register of return val to work around compiler codegen
20294         bug.  Remove (int) cast on return value.  Add return type parameter to
20295         use in macro so that this macro does not truncate return value for
20296         64-bit values.
20297         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20298         pass to INTERNAL_VSYSCALL_NCS.
20299         (INLINE_VSYSCALL): Add 'long int' as return type to
20300         INTERNAL_VSYSCALL_NCS macro invocation.
20301         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20302         INTERNAL_VSYSCALL_NCS macro invocation.
20303         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20305 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20307         [BZ #14496]
20308         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20309         Fix application of SIMD FP exception mask.
20311         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20312         mp_no from a power of two.
20313         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20314         __mpexp_twomm1.  Use __pow_mp.
20316         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20317         multiplication.
20319 2013-01-17  David S. Miller  <davem@davemloft.net>
20321         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20323 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20325         [BZ #15023]
20326         * include/complex.h: Condition contents on [!_COMPLEX_H].
20327         (__kernel_casinhf): New prototype.
20328         (__kernel_casinh): Likewise.
20329         (__kernel_casinhl): Likewise.
20330         * math/Makefile (libm_calls): Add k_casinh.
20331         * math/k_casinh.c: New file.
20332         * math/k_casinhf.c: Likewise.
20333         * math/k_casinhl.c: Likewise.
20334         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20335         finite nonzero arguments.
20336         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20337         finite nonzero arguments.
20338         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20339         finite nonzero arguments.
20340         * math/s_casinh.c: Do not include <float.h>.
20341         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20342         * math/s_casinhf.c: Do not include <float.h>.
20343         (__casinhf): Move code for finite nonzero arguments to
20344         k_casinhf.c.
20345         * math/s_casinhl.c: Do not include <float.h>.
20346         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20347         redefine.
20348         (__casinhl): Move code for finite nonzero arguments to
20349         k_casinhl.c.
20350         * math/libm-test.inc (cacos_test): Add more tests.
20351         * sysdeps/i386/fpu/libm-test-ulps: Update.
20352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20354 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20356         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20357         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20358         [!HAVE_MREMAP]: Remove [defined linux] case.
20359         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20361 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20363         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20365 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20367         * elf/elf.h (R_386_SIZE32): New relocation.
20368         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20369         R_386_SIZE32.
20370         (elf_machine_rela): Likewise.
20371         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20372         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20374 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20376         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20377         (FP_FAST_FMA): Do not define.
20378         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20379         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20380         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20381         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20382         !_SOFT_FLOAT]: Likewise.
20383         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20384         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20385         value.
20386         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20387         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20388         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20389         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20390         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20391         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20392         file.
20394 2013-01-16  Andreas Schwab  <schwab@suse.de>
20396         [BZ #14327]
20397         * include/stdlib.h (__mktemp): Add declaration.
20398         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20399         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20401 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20403         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20404         definitions.
20405         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20406         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20407         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20408         definitions here.
20409         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20410         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20411         definitions.
20412         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20413         and ONE.
20414         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20415         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20416         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20417         definitions.
20418         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20419         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20420         definitions.
20421         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20423         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20425 2013-01-15  David S. Miller  <davem@davemloft.net>
20427         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20428         trunc{,f} to libm-sysdep_routes.
20429         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20430         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20431         file.
20432         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20433         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20434         file.
20435         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20436         file.
20437         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20438         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20439         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20440         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20441         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20442         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20443         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20444         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20447         nearbyint{,f} to libm-sysdep_routes.
20448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20450         New file.
20451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20452         file.
20453         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20454         New file.
20455         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20456         file.
20457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20458         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20459         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20460         file.
20461         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20462         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20463         file.
20464         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20465         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20466         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20468         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20469         libc_feholdexcept and libc_fesetenv.
20471 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20473         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20475 2013-01-14  David S. Miller  <davem@davemloft.net>
20477         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20478         (SPARC_ASM_VIS2_IFUNC): Likewise.
20479         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20480         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20481         use of 'siam' instruction.
20482         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20483         Likewise.
20484         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20485         Likewise.
20486         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20487         Likewise.
20488         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20489         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20490         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20491         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20492         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20493         file.
20494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20495         file.
20496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20497         file.
20498         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20499         file.
20500         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20501         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20502         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20503         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20504         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20505         new VIS2 routines.
20506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20509         Likewise.
20510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20512         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20513         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20515         routines to libm-sysdep_routines.
20516         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20518         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20519         fdim/fdimf to libm-sysdep_routines.
20520         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20521         file.
20522         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20524         file.
20525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20526         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20527         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20528         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20529         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20530         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20531         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20533 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20535         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20536         to optimize copies.
20538         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20539         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20540         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20542         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20543         local variable MPTWO.
20544         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20545         Likewise.
20547 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20549         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20550         GLOB_NOESCAPE.
20552 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20554         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20556 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20558         * manual/pattern.texi (glob_t): Document gl_flags.
20559         (glob64_t): Likewise.
20561 2013-01-11  David S. Miller  <davem@davemloft.net>
20563         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20564         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20565         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20566         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20567         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20568         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20569         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20570         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20571         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20572         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20573         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20574         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20575         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20577         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20578         sparc V9 rather than using V8 code.
20579         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20580         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20582         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20583         Move to...
20584         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20585         Here.
20587 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20589         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20590         not in the main loop.
20591         * configure: Regenerated.
20593 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20595         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20596         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20597         to just #else.
20598         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20599         [!__GLIBC_HAVE_LONG_LONG] case.
20600         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20601         condition to just #else.
20602         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20603         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20604         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20605         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20606         unconditional.
20607         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20608         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20609         #elif condition to just #else.
20610         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20611         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20612         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20613         #elif condition to just #else.
20615 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20617         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20618         (EF_MIPS_ARCH_64): Fix value.
20619         (EF_MIPS_ARCH_32R2): New.
20620         (EF_MIPS_ARCH_64R2): New.
20622 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20624         * Makeconfig (+link-pie-before-libc): New.
20625         (+link-pie-after-libc): Likewise.
20626         (+link-pie-tests): Likewise.
20627         (+link-pie): Rewritten.
20628         (link-before-libc): Remove $(config-LDFLAGS).
20629         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20630         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20631         (config-LDFLAGS): Renamed to ...
20632         (rtld-LDFLAGS): This.
20633         (rtld-tests-LDFLAGS): New macro.
20634         (link-libc-rpath-link): Likewise.
20635         (link-libc-tests-rpath-link): Likewise.
20636         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20637         (link-libc): Prepand $(link-libc-rpath-link).
20638         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20639         (test-program-prefix): New macro.
20640         (test-via-rtld-prefix): Likewise.
20641         (test-program-cmd): Likewise.
20642         (host-test-program-cmd): Likewise.
20643         * Makefile ($(common-objpfx)testrun.sh): Replace
20644         $(run-program-prefix) with $(test-program-prefix).
20645         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20646         $(rtld-LDFLAGS).
20647         ($(common-objpfx)shlib.lds): Likewise.
20648         (build-module-helper): Likewise.
20649         ($(common-objpfx)format.lds): Likewise.
20650         * Rules (binaries-pie-tests): New.
20651         (binaries-pie-notests): Likewise.
20652         (binaries-pie): Rewritten.
20653         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20654         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20655         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20656         (make-test-out): Replace $(host-built-program-cmd) with
20657         $(host-test-program-cmd).
20658         * config.make.in (build-hardcoded-path-in-tests): New variable.
20659         * configure.in (--enable-hardcoded-path-in-tests): New configure
20660         option.
20661         (hardcoded_path_in_tests): New AC_SUBST.
20662         * configure: Regenerated.
20663         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20664         $(built-program-cmd) with $(test-program-cmd).
20665         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20666         (test_program_cmd): This.
20667         * elf/Makefile ($(objpfx)order.out): Run test with
20668         $(test-program-prefix).
20669         ($(objpfx)order2.out): Likewise.
20670         ($(objpfx)tst-initorder.out): Likewise.
20671         ($(objpfx)tst-initorder2.out): Likewise.
20672         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20673         $(test-program-cmd).
20674         ($(objpfx)tst-array1-static.out): Likewise.
20675         ($(objpfx)tst-array2.out): Likewise.
20676         ($(objpfx)tst-array3.out): Likewise.
20677         ($(objpfx)tst-array4.out): Likewise.
20678         ($(objpfx)tst-array5.out): Likewise.
20679         ($(objpfx)tst-array5-static.out): Likewise.
20680         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20681         $(test-program-cmd).
20682         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20683         $(run-program-prefix) with $(test-program-prefix).
20684         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20685         (test_program_prefix): This.
20686         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20687         $(run-program-prefix) with $(test-program-prefix).
20688         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20689         (test_program_prefix): This.
20690         * iconvdata/tst-tables.sh: Likewise.
20691         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20692         $(run-program-prefix) with $(test-program-prefix).
20693         ($(objpfx)tst-translit.out): Likewise.
20694         ($(objpfx)tst-gettext2.out): Likewise.
20695         ($(objpfx)tst-gettext4.out): Likewise.
20696         ($(objpfx)tst-gettext6.out): Likewise.
20697         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20698         (test_program_prefix): This.
20699         * intl/tst-gettext2.sh: Likewise.
20700         * intl/tst-gettext4.sh  Likewise.
20701         * intl/tst-gettext6.sh: Likewise.
20702         * intl/tst-translit.sh: Likewise.
20703         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20704         with $(test-program-cmd).
20705         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20706         $(run-program-prefix) with $(test-program-prefix).
20707         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20708         (test_program_prefix): This.
20709         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20710         $(run-program-prefix) with $(test-program-prefix).
20711         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20712         (test_program_prefix): This.
20713         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20714         * posix/Makefile ($(objpfx)globtest.out): Replace
20715         $(run-via-rtld-prefix) and $(test-wrapper) with
20716         $(test-program-prefix) and $(test-via-rtld-prefix).
20717         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20718         $(test-program-prefix).
20719         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20720         $(host-test-program-cmd).
20721         (tst-spawn-ARGS): Likewise.
20722         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20723         $(test-program-prefix).
20724         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20725         (test_via_rtld_prefix): This.
20726         (test_wrapper): Renamed to ...
20727         (test_program_prefix): This.
20728         (run_program_prefix): Replaced by test_program_prefix.
20729         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20730         (test_program_prefix): This.
20731         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20732         with $(host-test-program-cmd).
20733         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20734         $(run-program-prefix) with $(test-program-prefix).
20735         ($(objpfx)tst-printf.out): Likewise.
20736         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20737         $(test-program-cmd).
20738         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20739         (test_program_prefix): This.
20740         * stdio-common/tst-unbputc.sh: Likewise.
20741         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20742         $(run-program-prefix) with $(test-program-prefix).
20743         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20744         (test_program_prefix): This.
20745         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20746         $(built-program-cmd) with $(test-program-cmd).
20748 2013-01-11  Andreas Jaeger  <aj@suse.de>
20750         [BZ #15003]
20751         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20752         value. Sync with Linux 3.7.
20754 2013-01-10  David S. Miller  <davem@davemloft.net>
20756         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20757         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20758         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20760 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20762         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20763         never set.
20764         * configure: Regenerated.
20766 2013-01-10  David S. Miller  <davem@davemloft.net>
20768         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20769         sparc V9 rather than using V8 code.
20770         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20771         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20773 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20775         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20776         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20777         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20778         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20779         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20780         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20781         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20782         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20783         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20784         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20785         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20786         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20787         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20788         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20789         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20790         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20791         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20792         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20793         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20794         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20795         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20796         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20797         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20798         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20799         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20800         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20801         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20803 2013-01-10  David S. Miller  <davem@davemloft.net>
20805         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20807 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20809         * posix/Makefile (tests-static): New variable.
20810         (tests): Add $(tests-static).
20811         (tst-exec-static-ARGS): New variable.
20812         (tst-spawn-static-ARGS): Likewise.
20813         * posix/tst-exec-static.c: New file.
20814         * posix/tst-spawn-static.c: Likewise.
20815         * posix/tst-exec.c: Support run directly.
20816         * posix/tst-spawn.c: Likewise.
20818 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20820         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20821         long.
20822         * math/bits/mathcalls.h (llrint): Likewise.
20823         (llround): Likewise.
20824         * stdlib/stdlib.h (struct drand48_data): Likewise.
20825         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20826         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20827         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20828         Likewise.
20829         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20830         Likewise.
20831         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20832         (elf_greg_t): Likewise.
20833         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20834         (__jmp_buf): Likewise.
20835         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20836         definitions.
20837         (llrint): Likewise, for all definitions.
20838         (llrintl): Likewise.
20840         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20841         Remove [__GNUC__] condition.
20842         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20843         condition to just [__USE_ISOC99].
20844         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20846 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20848         [BZ #14200]
20849         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20850         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20851         defined.
20852         (_POSIX_V6_ILP32_OFF32): Likewise.
20853         (_XBS5_ILP32_OFF32): Likewise.
20854         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20855         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20857 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20859         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20861         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20862         doubles __mpexp_twomm1.  Adjust usage.
20863         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20864         Remove.
20866 2013-01-10  Andreas Schwab  <schwab@suse.de>
20868         [BZ #14964]
20869         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20870         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
20872 2013-01-09  David S. Miller  <davem@davemloft.net>
20874         [BZ #15003]
20875         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
20876         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
20877         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
20878         (TCP_FASTOPEN): Define.
20879         (tcp_repair_opt): New structure.
20880         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
20881         enum values.
20882         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
20883         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
20884         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
20885         (tcp_cookie_transactions): New structure.
20887 2013-01-09  Anton Blanchard  <anton@samba.org>
20889         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
20890         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
20891         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
20892         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
20894 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
20896         * include/features.h (__USE_ANSI): Remove.
20898 2013-01-09  Roland McGrath  <roland@hack.frob.com>
20900         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
20902         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
20904 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
20906         * sysdeps/s390/fpu/libm-test-ulps: Update.
20908         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20910         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
20911         (__acr): Likewise.
20912         (__cpy): Likewise.
20913         (norm): Likewise.
20914         (denorm): Likewise.
20915         (__mp_dbl): Likewise.
20916         (__dbl_mp): Likewise.
20917         (add_magnitudes): Likewise.
20918         (sub_magnitudes): Likewise.
20919         (__add): Likewise.
20920         (__sub): Likewise.
20921         (__mul): Likewise.
20922         (__inv): Likewise.
20923         (__dvd): Likewise.
20924         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
20925         (__acr): Likewise.
20926         (__cpy): Likewise.
20927         (norm): Likewise.
20928         (denorm): Likewise.
20929         (__mp_dbl): Likewise.
20930         (__dbl_mp): Likewise.
20931         (add_magnitudes): Likewise.
20932         (sub_magnitudes): Likewise.
20933         (__add): Likewise.
20934         (__sub): Likewise.
20935         (__mul): Likewise.
20936         (__inv): Likewise.
20937         (__dvd): Likewise.
20938         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
20939         (__acr): Likewise.
20940         (__cpy): Likewise.
20941         (norm): Likewise.
20942         (denorm): Likewise.
20943         (__mp_dbl): Likewise.
20944         (__dbl_mp): Likewise.
20945         (add_magnitudes): Likewise.
20946         (sub_magnitudes): Likewise.
20947         (__add): Likewise.
20948         (__sub): Likewise.
20949         (__mul): Likewise.
20950         (__inv): Likewise.
20951         (__dvd): Likewise.
20953 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
20955         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
20956         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
20957         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
20958         2 && __USE_EXTERN_INLINES]: Likewise.
20960 2013-01-08  Andreas Jaeger  <aj@suse.de>
20962         [BZ# 14985]
20963         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
20964         Remove.
20965         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20966         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
20968 2013-01-07  Anton Blanchard  <anton@samba.org>
20970         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
20971         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
20972         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
20973         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
20974         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
20975         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
20976         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
20977         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
20978         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20979         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
20980         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
20981         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
20982         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
20983         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
20984         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
20985         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
20986         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
20987         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
20988         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20989         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
20990         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20991         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
20992         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
20993         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
20994         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
20995         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
20996         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
20997         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
20998         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
20999         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21000         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21001         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21002         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21003         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21004         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21005         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21006         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21007         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21008         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21009         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21010         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21011         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21012         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21014 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21016         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21017         (__MALLOC_PMT): Likewise.
21018         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21019         [__GNUC__], only on [_LIBC].
21020         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21021         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21022         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21023         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21024         forward declaration.
21025         (realloc_hook_ini): Likewise.
21026         (memalign_hook_ini): Likewise.
21027         (__libc_memalign): Do not use __MALLOC_PMT in variable
21028         declaration.
21029         (__libc_valloc): Likewise.
21030         (__libc_pvalloc): Likewise.
21031         (__libc_calloc): Likewise.
21032         (__posix_memalign): Likewise.
21034         [BZ #14996]
21035         * math/s_casinh.c: Include <float.h>.
21036         (__casinh): Do not do computation with squaring and square root
21037         for large arguments.
21038         * math/s_casinhf.c: Include <float.h>.
21039         (__casinhf): Do not do computation with squaring and square root
21040         for large arguments.
21041         * math/s_casinhl.c: Include <float.h>.
21042         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21043         (__casinhl): Do not do computation with squaring and square root
21044         for large arguments.
21045         * math/libm-test.inc (casin_test): Add more tests.
21046         (casinh_test): Likewise.
21047         * sysdeps/i386/fpu/libm-test-ulps: Update.
21048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21050 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21052         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21053         (__x86_64_raw_data_cache_size): Likewise.
21054         (__x86_64_data_cache_size_half): Likewise.
21055         (__x86_64_raw_data_cache_size_half): Likewise.
21056         (__x86_64_shared_cache_size): Likewise.
21057         (__x86_64_raw_shared_cache_size): Likewise.
21058         (__x86_64_shared_cache_size_half): Likewise.
21059         (__x86_64_raw_shared_cache_size_half): Likewise.
21060         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21061         to ...
21062         (__x86_data_cache_size): This.
21063         (__x86_64_raw_data_cache_size): Renamed to ...
21064         (__x86_raw_data_cache_size): This.
21065         (__x86_64_data_cache_size_half): Renamed to ...
21066         (__x86_data_cache_size_half): This.
21067         (__x86_64_raw_data_cache_size_half): Renamed to ...
21068         (__x86_raw_data_cache_size_half): This.
21069         (__x86_64_shared_cache_size): Renamed to ...
21070         (__x86_shared_cache_size): This.
21071         (__x86_64_raw_shared_cache_size): Renamed to ...
21072         (__x86_raw_shared_cache_size): This.
21073         (__x86_64_shared_cache_size_half): Renamed to ...
21074         (__x86_shared_cache_size_half): This.
21075         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21076         (__x86_raw_shared_cache_size_half): This.
21077         * sysdeps/x86_64/memcpy.S: Updated.
21078         * sysdeps/x86_64/memset.S: Likewise.
21079         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21080         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21081         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21083 2013-01-04  David S. Miller  <davem@davemloft.net>
21085         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21087 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21089         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21090         1 to avoid redefinition warning.
21091         (__USE_GNU): Don't define.
21092         (init_signaling_nan): Protoize.
21094         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21096 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21098         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21099         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21100         (__cpymn): Likewise.
21101         (norm): Remove commented code.
21102         (denorm): Likewise.
21103         (__mp_dbl): Likewise.
21104         (__inv): Likewise.
21105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21106         (__cpymn): Likewise.
21107         (norm): Remove commented code.
21108         (denorm): Likewise.
21109         (__mp_dbl): Likewise.
21110         (__inv): Likewise.
21112         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21113         mp_no value for 1.0 and 2.0.
21114         (norm): Use RADIXI instead of radixi.d.
21115         (denorm): Likewise.
21116         (__mul): Use 0.0 instead of zero.d.
21117         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21118         mp_no value for 1.0 and 2.0.
21119         (norm): Use RADIXI instead of radixi.d.
21120         (denorm): Likewise.
21121         (__mul): Use 0.0 instead of zero.d.
21123 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21125         [BZ #14994]
21126         * math/s_casinh.c (__casinh): Reduce finite argument to first
21127         quadrant then set signs of results at the end.
21128         * math/s_casinhf.c (__casinhf): Likewise.
21129         * math/s_casinhl.c (__casinhl): Likewise.
21130         * math/libm-test.inc (casin_test): Add more tests.
21131         (casinh_test): Likewise.
21132         * sysdeps/i386/fpu/libm-test-ulps: Update.
21133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21135 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21137         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21139         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21141         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21142         declarations.
21143         (denorm): Likewise.
21144         (__mp_dbl): Likewise.
21145         (__inv): Likewise.
21147         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21148         and adjust the header comment.
21150         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21151         variable name from declaration.
21153 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21155         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21156         Initialize COMMON_CPUID_INDEX_7 element.
21157         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21158         (CPUID_RTM): Likewise.
21159         (HAS_RTM): Likewise.
21160         (COMMON_CPUID_INDEX_7): New enum.
21162 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21164         [BZ #14981]
21165         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21166         size is zero, record memory as freed.
21168 2013-01-03  Andreas Jaeger  <aj@suse.de>
21170         * po/ia.po: Add new Interlingua translation.
21172 2012-01-03  Allan McRae  <allan@archlinux.org>
21174         * locale/programs/localedef.c: Fix description of '--posix' flag.
21176 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21178         * NEWS: Update dates in second copyright notice.
21179         * README: Update copyright dates in example.
21180         * manual/libc.texinfo: Update copyright dates.
21181         * scripts/test-installation.pl: Update copyright date in --version
21182         output.
21184         * hurd/ctty-input.c: Fix copyright notice formatting.
21185         * hurd/ctty-output.c: Likewise.
21186         * hurd/dtable.c: Likewise.
21187         * hurd/hurd-raise.c: Likewise.
21188         * hurd/hurdprio.c: Likewise.
21189         * hurd/msgportdemux.c: Likewise.
21190         * misc/sys/file.h: Likewise.
21191         * misc/sys/ioctl.h: Likewise.
21192         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21193         * sysdeps/mach/hurd/chdir.c: Likewise.
21194         * sysdeps/mach/hurd/fchdir.c: Likewise.
21195         * sysdeps/mach/hurd/rename.c: Likewise.
21196         * sysdeps/mach/hurd/rmdir.c: Likewise.
21197         * sysdeps/mach/hurd/seekdir.c: Likewise.
21198         * sysdeps/mach/hurd/setsid.c: Likewise.
21199         * sysdeps/posix/wait3.c: Likewise.
21201         * All files with FSF copyright notices: Update copyright dates
21202         using scripts/update-copyrights.
21203         * intl/plural.c: Regenerated.
21204         * locale/programs/charmap-kw.h: Likewise.
21205         * locale/programs/locfile-kw.h: Likewise.
21207 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21209         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21210         four values.
21212         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21213         calculation loop and add branch prediction.
21215         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21216         check access beyond bounds of m1np.
21218         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21219         MPTWO.
21220         (__inv): Remove local variable MPTWO to use the global
21221         constant.
21222         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21223         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21224         variable MPTWO.
21225         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21226         MP3HALFS static const.
21228 2013-01-01  David S. Miller  <davem@davemloft.net>
21230         * po/ca.po: Update from translation team.
21232 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21234         * scripts/update-copyrights: New file.
21235         * Makeconfig: Reformat copyright notice.
21236         * ctype/ctype.h: Likewise.
21237         * debug/swprintf_chk.c: Likewise.
21238         * elf/dl-cache.c: Likewise.
21239         * elf/dl-debug.c: Likewise.
21240         * elf/dl-object.c: Likewise.
21241         * grp/initgroups.c: Likewise.
21242         * hurd/Makefile: Likewise.
21243         * hurd/hurd/signal.h: Likewise.
21244         * hurd/hurdfault.c: Likewise.
21245         * hurd/hurdioctl.c: Likewise.
21246         * hurd/hurdlookup.c: Likewise.
21247         * hurd/intr-msg.c: Likewise.
21248         * iconv/gconv_open.c: Likewise.
21249         * libio/swprintf.c: Likewise.
21250         * locale/lc-ctype.c: Likewise.
21251         * locale/nl_langinfo.c: Likewise.
21252         * mach/Machrules: Likewise.
21253         * mach/Makefile: Likewise.
21254         * malloc/obstack.h: Likewise.
21255         * manual/Makefile: Likewise.
21256         * manual/tsort.awk: Likewise.
21257         * misc/bits/stab.def: Likewise.
21258         * nis/nis_print_group_entry.c: Likewise.
21259         * nis/nis_table.c: Likewise.
21260         * nis/nss_compat/compat-pwd.c: Likewise.
21261         * nis/nss_compat/compat-spwd.c: Likewise.
21262         * po/Makefile: Likewise.
21263         * posix/fnmatch.c: Likewise.
21264         * posix/regex.h: Likewise.
21265         * resolv/Makefile: Likewise.
21266         * resolv/nss_dns/dns-network.c: Likewise.
21267         * resolv/res_hconf.c: Likewise.
21268         * scripts/gen-sorted.awk: Likewise.
21269         * soft-fp/soft-fp.h: Likewise.
21270         * stdio-common/printf.h: Likewise.
21271         * stdlib/monetary.h: Likewise.
21272         * stdlib/random.c: Likewise.
21273         * stdlib/random_r.c: Likewise.
21274         * sysdeps/generic/Makefile: Likewise.
21275         * sysdeps/gnu/Makefile: Likewise.
21276         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21277         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21278         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21279         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21280         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21281         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21283         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21284         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21285         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21286         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21287         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21288         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21289         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21290         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21291         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21292         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21293         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21294         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21295         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21296         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21297         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21298         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21299         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21300         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21301         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21302         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21303         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21304         * sysdeps/mach/hurd/errnos.awk: Likewise.
21305         * sysdeps/mach/hurd/fork.c: Likewise.
21306         * sysdeps/mach/hurd/getcwd.c: Likewise.
21307         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21308         * sysdeps/mach/hurd/mmap.c: Likewise.
21309         * sysdeps/mach/hurd/utimes.c: Likewise.
21310         * sysdeps/mach/hurd/xmknod.c: Likewise.
21311         * sysdeps/posix/profil.c: Likewise.
21312         * sysdeps/posix/readdir_r.c: Likewise.
21313         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21314         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21315         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21316         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21317         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21318         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21319         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21320         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21321         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21322         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21323         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21324         * sysdeps/pthread/lio_listio.c: Likewise.
21325         * sysdeps/sparc/dl-procinfo.h: Likewise.
21326         * sysdeps/unix/i386/sysdep.S: Likewise.
21327         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21328         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21329         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21330         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21332         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21333         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21334         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21335         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21336         * sysdeps/wordsize-32/divdi3.c: Likewise.
21337         * time/sys/time.h: Likewise.
21338         * wcsmbs/Makefile: Likewise.
21340 2013-01-01  David S. Miller  <davem@davemloft.net>
21342         * po/fr.po: Update from translation team.
21344         * catgets/gencat.c: Update copyright year.
21345         * csu/version.c: Likewise.
21346         * debug/catchsegv.sh: Likewise.
21347         * debug/pcprofiledump.c: Likewise.
21348         * debug/xtrace.sh: Likewise.
21349         * elf/ldconfig.c: Likewise.
21350         * elf/ldd.bash.in: Likewise.
21351         * elf/pldd.c: Likewise.
21352         * elf/sotruss.ksh: Likewise.
21353         * elf/sprof.c: Likewise.
21354         * iconv/iconv_prog.c: Likewise.
21355         * iconv/iconvconfig.c: Likewise.
21356         * locale/programs/locale.c: Likewise.
21357         * locale/programs/localedef.c: Likewise.
21358         * login/programs/pt_chown.c: Likewise.
21359         * malloc/memusage.sh: Likewise.
21360         * malloc/memusagestat.c: Likewise.
21361         * malloc/mtrace.pl: Likewise.
21362         * nscd/nscd.c: Likewise.
21363         * nss/getent.c: Likewise.
21364         * nss/makedb.c: Likewise.
21365         * posix/getconf.c: Likewise.
21367 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21369         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21370         numbers.
21372 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21374         * math/bits/mathcalls.h (modf): Use __nonnull.
21376 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21378         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21379         (split): Use macro CN instead of the bare value.
21380         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21381         could be used.
21382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21383         instead of the bare value.
21384         (power1): Likewise.
21386 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21388         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21389         __ATAN_TWOM.
21390         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21392         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21393         their values.
21394         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21395         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21396         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21397         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21399 2012-12-28  Andreas Jaeger  <aj@suse.de>
21401         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21402         values are from Linux 3.7.
21404         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21405         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21407 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21409         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21410         TRUE case.
21412         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21413         (norm): Likewise.
21414         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21415         variables with preprocessor constants.
21416         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21417         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21418         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21420 2012-12-27  Bruno Haible  <bruno@clisp.org>
21422         [BZ #14317]
21423         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21424         only if needed.
21426 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21428         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21429         and use variable directly.
21430         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21432         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21433         MPONE.
21434         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21435         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21436         variable MPONE.
21437         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21438         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21439         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21440         include directive.  Remove local variable MPONE.
21441         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21442         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21443         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21445 2012-12-25  David S. Miller  <davem@davemloft.net>
21447         * version.h (RELEASE): Set to "development".
21448         (VERSION): Set to "2.17.90".
21449         * NEWS: Add 2.18 section.
21451 2012-12-21  David S. Miller  <davem@davemloft.net>
21453         * po/hr.po: Update from translation team.
21455 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21457         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21459 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21461         * NEWS:  Mention new memcpy for MIPS.
21463 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21465         * manual/contrib.texi (Contributors): Spelling correction.
21467 2012-12-15  David S. Miller  <davem@davemloft.net>
21469         * po/ru.po: Update from translation team.
21471 2012-12-13  David S. Miller  <davem@davemloft.net>
21473         * NEWS: Mention IFUNC testsuite enhancements.
21475         * po/pl.po: Update from translation team.
21476         * po/bg.po: Likewise.
21478         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21479         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21481 2012-12-11  David S. Miller  <davem@davemloft.net>
21483         * po/sv.po: Update from translation team.
21485         * po/vi.po: Update from translation team.
21487         * po/cs.po: Update from translation team.
21489         * po/de.po: Update from translation team.
21490         * po/eo.po: Likewise.
21491         * po/nl.po: Likewise.
21493 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21495         [BZ #14246]
21496         * manual/argp.texi (Argp Helper Functions): Move node to follow
21497         Argp Parsing State.
21499         [BZ #14872]
21500         * manual/conf.texi (Limits on File System Capacity): Mention if
21501         terminating null is included in the max size.
21503 2012-12-10  Andreas Jaeger  <aj@suse.de>
21505         * po/cs.po: Update from translation team.
21507 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21509         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21510         void pointer and cast to uintptr_t.
21511         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21512         path.
21513         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21514         * sysdeps/s390/s390-64/memset.S: Likewise.
21516 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21518         [BZ #14833]
21519         * menual/message.texi (Message Translation): Fix typos.
21520         (Helper programs for gettext): Likewise.
21522 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21524         [BZ #14898]
21525         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21526         Change to -1.
21528 2012-12-07  David S. Miller  <davem@davemloft.net>
21530         * po/libc.pot: Update.
21532 2012-12-07  Richard Henderson  <rth@redhat.com>
21534         [BZ #10114]
21535         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21536         normal/normal case to before the switch.
21537         (_FP_DIV): Likewise.
21539 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21540             Mike Frysinger  <vapier@gentoo.org>
21542         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21543         check for __NR_fadvise64_64.
21545 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21547         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21548         0, not just to plain "0" as a statement.
21549         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21550         with cw.
21552 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21554         * NEWS: Use sourceware.org in Bugzilla URL.
21556 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21559         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21561         * stdio-common/tst-put-error.c (do_test): Add newline to the
21562         padded test to ensure flush.
21564 2012-12-05  Jeff Law  <law@redhat.com>
21566         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21568 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21570         * README: Don't refer to ports add-on as distributed separately.
21571         Mention AArch64 in list of systems supported in the ports add-on.
21573         * LICENSES: Add more non-FSF copyright and license notices.
21575         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21576         ((unused)).
21578         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21580         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21581         10000 as width of padded output.
21583 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21585         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21587         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21588         variable LX with __attribute__ ((unused)).
21589         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21590         Likewise.
21591         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21592         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21593         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21594         with __attribute__ ((unused)).
21596 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21598         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21600 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21602         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21603         (CFLAGS-nldbl-acos.c): New variable.
21604         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21605         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21606         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21607         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21608         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21609         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21610         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21611         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21612         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21613         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21614         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21615         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21616         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21617         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21618         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21619         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21620         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21621         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21622         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21623         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21624         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21625         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21626         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21627         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21628         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21629         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21630         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21631         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21632         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21633         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21634         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21635         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21636         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21637         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21638         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21639         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21640         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21641         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21642         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21643         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21644         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21645         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21646         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21647         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21648         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21649         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21650         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21651         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21652         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21653         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21654         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21655         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21656         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21657         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21658         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21659         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21660         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21661         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21662         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21663         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21664         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21665         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21666         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21667         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21668         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21669         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21670         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21671         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21672         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21673         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21674         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21675         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21676         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21677         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21678         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21679         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21680         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21681         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21682         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21683         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21684         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21685         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21686         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21687         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21688         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21689         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21690         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21691         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21692         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21693         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21694         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21695         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21696         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21697         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21698         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21699         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21700         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21703         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21705         [BZ #14914]
21706         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21707         whole low double instead of just low 47 bits when splitting values
21708         into two parts.
21710 2012-12-03  Allan McRae  <allan@archlinux.org>
21712         * manual/stdio.texi (Predefined Printf Handlers): Remove
21713         @hsep and @vsep usage.
21715 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21717         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21718         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21720 2012-12-03  Jeff Law  <law@redhat.com>
21722         * time/sys/time.h (settimeofday): Do not mark TV argument
21723         as __nonnull.
21725 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21727         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21728         when currently writing and seek to current position when not.
21729         * libio/Makefile (tests): Remove bug-fclose1.
21730         * libio/bug-fclose1.c: Delete.
21732 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21734         * manual/arith.texi (feenableexcept): Fix typo.
21735         (fedisableexcept): Likewise.
21737 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21739         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21740         second, differently-typed declaration, rather than a cast.
21742 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21744         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21745         * include/rpc/svc.h: ... here.
21747 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21749         [BZ #13013]
21750         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21751         depending n and resplen2 to catch cases where answer
21752         equals answerp2.
21754 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21756         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21757         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21759 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21761         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21763 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21765         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21767 2012-11-28  Jeff Law  <law@redhat.com>
21769         [BZ #13761]
21770         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21771         dataset_temporary.  Track alloca usage into alloca_used.
21772         If dataset is large allocate and release it via malloc/free.
21774 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21776         [BZ #14197]
21777         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21779 2012-11-28  David S. Miller  <davem@davemloft.net>
21781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21783 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21785         [BZ #14803]
21786         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21787         of pi/2 rounded to nearest to 64 bits.
21788         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21789         nearest to 64 bits.
21790         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21791         bits.
21793 2012-11-28  Jeff Law <law@redhat.com>
21794             Martin Osvald <mosvald@redhat.com>
21796         [BZ #14889]
21797         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21798         * sunrpc/svc.c: Include time.h.
21799         (__svc_accept_failed): New function.
21800         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21801         any reason other than EINTR, call __svc_accept_failed.
21802         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21803         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21805 2012-11-28  Andreas Schwab  <schwab@suse.de>
21807         * scripts/abilist.awk: Also handle indirect functions in .opd
21808         section.
21810 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21812         [BZ #13881]
21813         * sysdeps/x86/fpu/powl_helper.c: New file.
21814         * sysdeps/x86/fpu/Makefile: Likewise.
21815         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21816         (p3): New object.
21817         (__ieee754_powl): Use __powl_helper for finite arguments except
21818         integer exponents below 8.
21819         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21820         (p3): New object.
21821         (__ieee754_powl): Use __powl_helper for finite arguments except
21822         integer exponents below 8.
21823         * math/libm-test.inc (pow_test): Add more tests and enable some
21824         previously disabled tests.
21825         * sysdeps/i386/fpu/libm-test-ulps: Update.
21826         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21828 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21829             Carlos O'Donell  <carlos_odonell@mentor.com>
21831         * nss/makedb.c (is_prime): Assert that input is odd and greater
21832         than 4.  Note that fact in a comment too.
21833         (next_prime): Add 4 to input.
21835 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21837         [BZ #11741]
21838         * libio/Makefile (tests): Add test case tst-fwrite-error.
21839         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21840         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21841         * libio/tst-fwrite-error.c: New test case.
21843 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21845         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21846         before casting to void *.
21847         * include/libc-internal.h (__pointer_type): New macro.
21848         (__integer_if_pointer_type_sub): Likewise.
21849         (__integer_if_pointer_type): Likewise.
21850         (cast_to_integer): Likewise.
21851         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21852         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21853         before casting to atomic64_t.
21854         (atomic_exchange_acq): Likewise.
21855         (__arch_exchange_and_add_body): Likewise.
21856         (__arch_add_body): Likewise.
21857         (atomic_add_negative): Likewise.
21858         (atomic_add_zero): Likewise.
21860 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21862         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21863         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21864         (add_fdes): Likewise.
21865         (linear_search_fdes): Likewise.
21866         (binary_search_unencoded_fdes): Likewise.
21868 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21870         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
21872 2012-11-24  Adam Conrad  <adconrad@0c3.net>
21874         * configure.in: Autodetect C++ header directories.
21875         * configure: Regenerated.
21877 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
21879         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
21881 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
21883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21885 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
21887         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
21888         LDBL_MANT_DIG == 106]: Disable some tests.
21889         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21890         Likewise.
21891         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
21892         Likewise.
21894         [BZ #14871]
21895         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
21896         input for small inputs.  Return +/- pi/2 for large inputs.
21897         * math/libm-test.inc (atan_test): Add more tests.
21899         * sysdeps/generic/unwind-dw2-fde-glibc.c
21900         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
21901         __attribute__ ((unused)).
21903         [BZ #14645]
21904         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
21905         x * y if x and y are nonzero and z is zero.
21907         [BZ #14811]
21908         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
21909         nonzero exponents with absolute value below 0x1p-117 to +/-
21910         0x1p-117.
21912         [BZ #14869]
21913         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
21914         up arguments below 2**-450, not just those below 2**-500.
21915         * math/libm-test.inc (hypot_test): Add another test.
21917         [BZ #14868]
21918         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
21919         Return a+b for ratio over 2**120, not 2**60.
21920         * math/libm-test.inc (hypot_test): Add another test.
21922         * math/libm-test.inc (clog_test): Use
21923         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
21924         (clog10_test): Likewise.
21926         [BZ #6778]
21927         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
21929 2012-11-22  Andreas Schwab  <schwab@suse.de>
21931         * sysdeps/i386/fpu/libm-test-ulps: Update.
21933 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
21935         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
21936         printf output with newline.
21938 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
21940         [BZ #14865]
21941         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
21942         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
21943         -z nodlopen, -z initfirst and -z execstack support.
21944         * configure: Regenerated.
21946         * elf/elf.h (DF_1_NODIRECT): New macro.
21947         (DF_1_IGNMULDEF): Likewise.
21948         (DF_1_NOKSYMS): Likewise.
21949         (DF_1_NOHDR): Likewise.
21950         (DF_1_EDITED): Likewise.
21951         (DF_1_NORELOC): Likewise.
21952         (DF_1_SYMINTPOSE): Likewise.
21953         (DF_1_GLOBAUDIT): Likewise.
21954         (DF_1_SINGLETON): Likewise.
21955         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
21956         DT_1_SUPPORTED_MASK bits.
21957         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
21959 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
21961         * sysdeps/unix/make-syscalls.sh: Document prefixes.
21963 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
21965         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
21966         macro.
21968         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
21969         (sendmmsg): Move declarations...
21970         * socket/sys/socket.h: ... here.
21971         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
21972         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
21973         include it from...
21974         * socket/recvmmsg.c: ... this new file.
21975         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
21976         (sendmmsg): Rename to __sendmmsg, create weak alias and make
21977         definition of __sendmmsg hidden.
21978         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
21979         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
21980         Move ENOSYS stub into and include it from...
21981         * socket/sendmmsg.c: ... this new file.
21982         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
21983         (sysdep_routines): Move recvmmsg and sendmmsg...
21984         * socket/Makefile (routines): ... here.
21985         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
21986         (GLIBC_PRIVATE): Add __sendmmsg.
21987         * include/sys/socket.h (__sendmmsg): Add declarations.
21988         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
21989         sendmmsg.
21991 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
21993         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
21994         variable I1 with __attribute__ ((unused)).
21995         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
21997 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
21999         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22000         DUMMY variables with __attribute__ ((unused)).
22002         * bits/byteswap.h: Include <bits/types.h>.
22003         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22005 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22007         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22008         string_t.  Do not manually set errno.
22009         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22010         length with __strnlen.  Make sure to both set errno and return it on
22011         failure.
22013 2012-11-19  David S. Miller  <davem@davemloft.net>
22015         With help from Joseph Myers.
22016         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22017         very large arguments properly.
22018         * math/libm-test.inc (atan_test): New tests.
22019         (atan2_test): New tests.
22020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22021         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22023 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22025         [BZ #14856]
22026         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22027         Define to 3.
22029         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22030         [POSIX] (EADDRNOTAVAIL): Likewise.
22031         [POSIX] (EAFNOSUPPORT): Likewise.
22032         [POSIX] (EALREADY): Likewise.
22033         [POSIX] (ECONNABORTED): Likewise.
22034         [POSIX] (ECONNREFUSED): Likewise.
22035         [POSIX] (ECONNRESET): Likewise.
22036         [POSIX] (EDESTADDRREQ): Likewise.
22037         [POSIX] (EDQUOT): Likewise.
22038         [POSIX] (EHOSTUNREACH): Likewise.
22039         [POSIX] (EIDRM): Likewise.
22040         [POSIX] (EISCONN): Likewise.
22041         [POSIX] (ELOOP): Likewise.
22042         [POSIX] (EMULTIHOP): Likewise.
22043         [POSIX] (ENETDOWN): Likewise.
22044         [POSIX] (ENETUNREACH): Likewise.
22045         [POSIX] (ENOBUFS): Likewise.
22046         [POSIX] (ENODATA): Likewise.
22047         [POSIX] (ENOLINK): Likewise.
22048         [POSIX] (ENOMSG): Likewise.
22049         [POSIX] (ENOPROTOOPT): Likewise.
22050         [POSIX] (ENOSR): Likewise.
22051         [POSIX] (ENOSTR): Likewise.
22052         [POSIX] (ENOTCONN): Likewise.
22053         [POSIX] (ENOTSOCK): Likewise.
22054         [POSIX] (EOPNOTSUPP): Likewise.
22055         [POSIX] (EOVERFLOW): Likewise.
22056         [POSIX] (EPROTO): Likewise.
22057         [POSIX] (EPROTONOSUPPORT): Likewise.
22058         [POSIX] (EPROTOTYPE): Likewise.
22059         [POSIX] (ESTALE): Likewise.
22060         [POSIX] (ETIME): Likewise.
22061         [POSIX] (ETXTBSY): Likewise.
22062         [POSIX] (EWOULDBLOCK): Likewise.
22063         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22064         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22065         [POSIX] (SEEK_CUR): Likewise.
22066         [POSIX] (SEEK_END): Likewise.
22067         [POSIX || UNIX98] (mode_t): Do not require.
22068         [POSIX] (off_t): Likewise.
22069         [POSIX] (pid_t): Likewise.
22070         [POSIX] (sys/stat.h): Do not allow header.
22071         [POSIX] (unistd.h): Likewise.
22072         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22073         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22074         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22075         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22076         require.
22077         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22078         sigevent): Specify elements.
22079         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22080         entry.
22081         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22082         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22084         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22085         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22086         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22087         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22088         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22089         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22090         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22091         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22092         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22093         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22094         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22095         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22096         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22097         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22098         Likewise.
22099         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22100         Likewise.
22101         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22102         Likewise.
22103         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22104         Likewise.
22105         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22106         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22107         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22108         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22109         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22110         Specify lower bound on value.
22111         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22112         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22113         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22114         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22115         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22116         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22117         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22118         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22119         value.
22120         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22121         as optional.
22122         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22123         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22124         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22125         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22126         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22127         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22128         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22129         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22130         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22131         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22132         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22133         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22134         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22135         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22136         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22137         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22138         entry.
22139         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22140         optional.
22141         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22142         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22143         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22144         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22145         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22146         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22147         Likewise.
22148         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22149         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22150         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22151         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22152         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22153         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22154         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22155         as optional.
22156         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22157         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22158         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22159         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22160         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22161         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22162         specify as optional.
22163         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22164         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22165         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22166         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22167         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22168         [XPG3] (NL_LANGMAX): Likewise.
22169         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22170         [POSIX || XPG3] (NL_NMAX): Likewise.
22171         [POSIX || XPG3] (NL_SETMAX): Likewise.
22172         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22173         [XPG3] (NZERO): Likewise.
22174         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22175         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22176         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22177         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22178         (REG_ERANGE): Expect.
22179         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22180         optional-constant.
22181         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22182         Use (void) in prototype.
22183         [POSIX] (*_t): Allow.
22184         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22185         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22186         (WRDE_BADVAL): Expect.
22188         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22189         expect.
22190         [XPG3 || XPG4] (O_RSYNC): Likewise.
22191         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22192         Likewise.
22193         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22194         [XPG3 || XPG4] (sigqueue): Likewise.
22195         [XPG3 || XPG4] (sigtimedwait): Likewise.
22196         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22197         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22198         [XPG3 || XPG4] (vsnprintf): Likewise.
22199         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22200         Likewise.
22201         [XPG3 || XPG4] (blksize_t): Likewise.
22202         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22203         Likewise.
22204         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22205         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22206         [XPG3 || XPG4] (struct itimerspec): Likewise.
22207         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22208         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22209         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22210         [XPG3 || XPG4] (clockid_t): Likewise.
22211         [XPG3 || XPG4] (timer_t): Likewise.
22212         [XPG3 || XPG4] (clock_getres): Likewise.
22213         [XPG3 || XPG4] (clock_gettime): Likewise.
22214         [XPG3 || XPG4] (clock_settime): Likewise.
22215         [XPG3 || XPG4] (nanosleep): Likewise.
22216         [XPG3 || XPG4] (timer_create): Likewise.
22217         [XPG3 || XPG4] (timer_delete): Likewise.
22218         [XPG3 || XPG4] (timer_gettime): Likewise.
22219         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22220         [XPG3 || XPG4] (timer_settime): Likewise.
22221         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22222         [XPG3 || XPG4] (getlogin_r): Likewise.
22223         [XPG3 || XPG4] (pread): Likewise.
22224         [XPG3 || XPG4] (pthread_atfork): Likewise.
22225         [XPG3 || XPG4] (pwrite): Likewise.
22227         [BZ #14835]
22228         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22229         <bits/siginfo.h>.
22231 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22233         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22234         finalizing MALLSTREAM.
22236         * sysdeps/mach/hurd/syncfs.c: New file.
22238 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22240         [BZ #14719]
22241         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22242         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22243         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22244         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22245         (_nss_dns_gethostbyname4_r): Likewise.
22246         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22247         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22249 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22251         [BZ #13763]
22252         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22254 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22256         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22257         * elf/cache.c (print_entry): Print ",AArch64" for
22258         FLAG_AARCH64_LIB64
22260         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22261         * elf/cache.c (print_entry): Print ",hard-float" for
22262         FLAG_ARM_LIBHF.
22264 2012-11-18  David S. Miller  <davem@davemloft.net>
22266         With help from Joseph Myers.
22267         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22268         cutoff to 2**-13.
22269         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22270         cutoff to 2**-25.
22271         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22272         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22273         small.
22274         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22275         * math/libm-test.inc (y0_test): New tests.
22276         (y1_test): New tests.
22277         * sysdeps/i386/fpu/libm-test-ulps: Update.
22278         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22279         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22281 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22283         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22284         64-bit targets.
22285         * configure: Regenerated.
22287 2012-11-17  David S. Miller  <davem@davemloft.net>
22289         [BZ #14811]
22290         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22291         nonzero exponents with absolute value below 0x1p-128 to +/-
22292         0x1p-128.
22294 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22296         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22298         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22300         * posix/getconf-speclist.c: New file.
22301         * posix/posix-envs.def: Likewise.
22302         * posix/confstr.c (START_ENV_GROUP): New macro.
22303         (END_ENV_GROUP): Likewise.
22304         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22305         (KNOWN_PRESENT_ENV_STRING): Likewise.
22306         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22307         (UNKNOWN_ENVIRONMENT): Likewise.
22308         (confstr): Include posix-envs.def instead of handling
22309         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22310         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22311         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22312         (END_ENV_GROUP): Likewise.
22313         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22314         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22315         (UNKNOWN_ENVIRONMENT): Likewise.
22316         (__sysconf): Include posix-envs.def instead of handling associated
22317         cases directly here.
22318         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22319         preprocessing getconf-speclist.c rather than running getconf or
22320         generating empty file.
22322 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22324         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22326 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22328         [BZ #14672]
22329         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22331 2012-11-16  David S. Miller  <davem@davemloft.net>
22333         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22334         smaller than LDBL_EPSILON/2.0L, just return xm1.
22336 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22338         * elf/tst-array1.c (init): Set constructor priority to 1000.
22339         (fini): Set destructor priority to 1000.
22340         * elf/tst-array2dep.c: Likewise.
22342 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22344         [BZ #11741]
22345         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22346         (_IO_new_file_xsputn): Also return EOF if none of the input
22347         data was written when overflow failed.
22348         * libio/iopadn.c (_IO_padn): Likewise.
22349         * libio/iowpadn.c (_IO_wpadn): Likewise.
22350         * stdio-common/tst-put-error.c: Add copyright notice.
22351         (do_test): Add case for printing padded string.
22352         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22353         _IO_padn returned error.
22354         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22355         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22356         return EOF.
22358 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22360         * libio/libioP.h: Add comment note that the references to C++
22361         bits are now obsolete.
22363 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22365         * math/libm-test.inc (check_complex): Use asprintf.
22367 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22369         * debug/pcprofiledump.c (print_version): Update copyright year.
22370         * malloc/memusagestat.c (print_version): Likewise.
22372 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22374         [BZ #14831]
22375         * elf/Makefile (tests): Add tst-audit8.
22376         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22377         ($(objpfx)tst-audit8.out): New target.
22378         (tst-audit8-ENV): New variable.
22379         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22380         audit if l_reloc_result is NULL.
22381         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22382         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22383         * elf/tst-audit8.c: New file.
22385 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22387         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22388         * misc/Makefile (CFLAGS-select.c): Define.
22389         * posix/Makefile (CFLAGS-pause.c): Define.
22391 2012-11-13  David S. Miller  <davem@davemloft.net>
22393         * crypt/Makefile: Move test targets after toplevel Rules
22394         inclusion.  Grab any necessary sysdep routines when linking.
22395         * crypt/md5.c (md5_process_block): Remove define, we will always
22396         name it __md5_process_block.
22397         (md5_finish_ctx): Update md5_process_block call.
22398         (md5_stream): Likewise.
22399         (md5_process_bytes): Likewise.
22400         (md5_process_block): Rename to __md5_process_block and move to ...
22401         * crypt/md5-block.c: ... here.
22402         * crypt/sha256.c (sha256_process_block): Move to ...
22403         * crypt/sha256-block.c: ... here.
22404         * crypt/sha512.c (sha512_process_block): Move to ...
22405         * crypt/sha512-block.c: ... here.
22406         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22407         path.
22408         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22409         * sysdeps/sparc/sparc64/multiarch/Makefile
22410         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22411         crypt subdir.
22412         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22413         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22414         multiarch changes.
22415         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22416         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22417         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22418         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22419         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22420         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22421         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22422         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22423         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22424         file.
22425         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22426         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22427         file.
22428         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22430 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22432         * timezone/tzselect.ksh: Update from tzcode git revision
22433         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22434         * timezone/zdump.c: Likewise.
22435         * timezone/zic.c: Likewise.
22436         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22437         in TZVERSION setting, not $(PKGVERSION).
22438         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22439         REPORT_BUGS_TO settings.
22441         [BZ #14838]
22442         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22443         macro.
22445 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22447         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22448         detection to immediately after _FP_ROUND().
22449         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22450         bits are 0.
22452 2012-11-11  David S. Miller  <davem@davemloft.net>
22454         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22455         inttypes.h
22456         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22457         __close rather than their public counterparts.
22459 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22461         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22462         file.
22463         [UNIX98] (sem_timedwait): Do not expect.
22464         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22465         [XPG4 || UNIX98] (sockatmark): Do not expect.
22466         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22467         (clock_getcpuclockid): Do not expect.
22468         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22469         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22470         Do not expect.
22471         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22472         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22473         [UNIX98] (vwscanf): Likewise.
22474         [UNIX98] (vswscanf): Likewise.
22476 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22478         * timezone/version.h: Remove file.
22479         * timezone/README: Do not refer to version.h.
22480         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22481         $(objpfx)version.h.
22482         ($(objpfx)zdump.o): Likewise.
22483         ($(objpfx)version.h): New target.
22485         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22486         2012i.
22487         * timezone/README: Don't mention modification to tzselect.ksh.
22488         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22489         work on unmodified tzselect.ksh.  Substitute version numbers in
22490         tzselect.ksh.
22492         * Makefile (format-me): Remove.
22493         (INSTALL): Adjust indentation.  Use commands directly instead of
22494         using $(format-me).
22496         * aclocal.m4 (ACX_PKGVERSION): New macro.
22497         (ACX_BUGURL): Likewise.
22498         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22499         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22500         (REPORT_BUGS_TO): Likewise.
22501         * configure: Regenerated.
22502         * config.h.in (PKGVERSION): New macro.
22503         (REPORT_BUGS_TO): Likewise.
22504         * config.make.in (PKGVERSION): New variable.
22505         (PKGVERSION_TEXI): Likewise.
22506         (REPORT_BUGS_TO): Likewise.
22507         (REPORT_BUGS_TEXI): Likewise.
22508         * Makefile (format-me): Use -I$(common-objpfx)manual.
22509         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22510         ($(common-objpfx)manual/%): New target.
22511         (manual/%): Remove target.
22512         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22513         (print_version): Use PKGVERSION.
22514         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22515         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22516         and REPORT_BUGS_TO.
22517         ($(objpfx)xtrace): Likewise.
22518         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22519         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22520         (print_version): Use PKGVERSION.
22521         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22522         (do_version): Use PKGVERSION.
22523         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22524         REPORT_BUGS_TO.
22525         (common-ldd-rewrite): Likewise.
22526         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22527         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22528         (print_version): Use PKGVERSION.
22529         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22530         * elf/pldd.c (argp_program_bug_address): Remove variable.
22531         (more_help): New function.
22532         (argp): Use more_help.
22533         (print_version): Use PKGVERSION.
22534         * elf/sln.c (main): Use PKGVERSION.
22535         (usage): Use REPORT_BUGS_TO.
22536         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22537         (top level): Use PKGVERSION.
22538         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22539         (print_version): Use PKGVERSION.
22540         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22541         (print_version): Use PKGVERSION.
22542         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22543         (print_version): Use PKGVERSION.
22544         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22545         (print_version): Use PKGVERSION.
22546         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22547         (print_version): Use PKGVERSION.
22548         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22549         (print_version): Use PKGVERSION.
22550         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22551         and BUGURL.
22552         ($(objpfx)memusage): Likewise.
22553         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22554         (do_version): Use PKGVERSION.
22555         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22556         (print_version): Use PKGVERSION.
22557         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22558         ($PKGVERSION): New variable.
22559         ($REPORT_BUGS_TO): Likewise.
22560         (usage): Use $REPORT_BUGS_TO.
22561         (top level): Use $PKGVERSION.
22562         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22563         ($(objpfx)pkgvers.texi): New rule.
22564         ($(objpfx)stamp-pkgvers): Likewise.
22565         * manual/install.texi: Include pkgvers.texi.
22566         (--with-pkgversion): Document new configure option.
22567         (--with-bugurl): Likewise.
22568         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22569         than necessarily for this particular distribution.  Use
22570         REPORT_BUGS_TO for where to report bugs.
22571         * INSTALL: Regenerated.
22572         * manual/libc.texinfo: Include pkgvers.texi.
22573         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22574         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22575         (print_version): Use PKGVERSION.
22576         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22577         (print_version): Use PKGVERSION.
22578         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22579         (print_version): Use PKGVERSION.
22580         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22581         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22582         macro.
22583         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22584         (print_version): Use PKGVERSION.
22585         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22586         (print_version): Use PKGVERSION.
22587         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22588         and PKGVERSION.
22590         * timezone/checktab.awk: Update from tzcode 2012i.
22591         * timezone/ialloc.c: Likewise.
22592         * timezone/private.h: Likewise.
22593         * timezone/scheck.c: Likewise.
22594         * timezone/tzfile.h: Likewise.
22595         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22596         (TZVERSION): Hardcode tzcode version number.
22597         * timezone/zdump.c: Update from tzcode 2012i.
22598         * timezone/zic.c: Likewise.
22599         * timezone/version.h: New file.
22600         * timezone/README: Describe version.h.  Update upstream location.
22602         [BZ #14824]
22603         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22604         (mktemp): Enable declaration.
22605         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22606         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22607         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22608         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22609         Likewise.
22610         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22611         Likewise.
22612         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22613         Likewise.
22614         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22615         Likewise.
22616         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22617         Likewise.
22618         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22619         Likewise.
22621         [BZ #14821]
22622         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22623         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22624         for copies of such integer values.
22625         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22626         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22628 2012-11-09  Andreas Jaeger  <aj@suse.de>
22630         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22631         definitions and declarations that are provided by
22632         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22634 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22636         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22637         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22638         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22639         definition.
22641 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22643         * elf/elf.h: Update comment before AArch64 relocations.
22645 2012-11-07  David S. Miller  <davem@davemloft.net>
22647         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22648         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22649         (__start_context): Declare.
22650         (__makecontext_ret): Delete.
22651         (__makecontext): Hook up __start_context instead of
22652         __makecontext_ret.
22653         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22654         (sysdep_routines): Add __start_context when in stdlib.
22656 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22658         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22659         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22660         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22661         hardcoded "nm".
22662         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22663         (READELF): New variable.  Use it instead of hardcoded "readelf".
22665 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22667         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22668         * sysdeps/x86/Makefile: Here.
22669         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22670         * sysdeps/x86/tst-xmmymm.sh: This.
22672 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22674         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22675         expectations.
22676         [UNIX98] (pthread_barrier_t): Do not expect.
22677         [UNIX98] (pthread_barrierattr_t): Likewise.
22678         [UNIX98] (pthread_spinlock_t): Likewise.
22679         [UNIX98] (pthread_barrier_destroy): Likewise.
22680         [UNIX98] (pthread_barrier_init): Likewise.
22681         [UNIX98] (pthread_barrier_wait): Likewise.
22682         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22683         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22684         [UNIX98] (pthread_barrierattr_init): Likewise.
22685         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22686         [UNIX98] (pthread_getcpuclockid): Likewise.
22687         [UNIX98] (pthread_mutex_timedlock): Likewise.
22688         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22689         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22690         [UNIX98] (pthread_sigmask): Likewise.
22691         [UNIX98] (pthread_spin_destroy): Likewise.
22692         [UNIX98] (pthread_spin_init): Likewise.
22693         [UNIX98] (pthread_spin_lock): Likewise.
22694         [UNIX98] (pthread_spin_trylock): Likewise.
22695         [UNIX98] (pthread_spin_unlock): Likewise.
22696         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22697         Do not expect.
22698         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22699         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22700         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22701         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22702         [XPG3 || XPG4] (pthread_key_t): Likewise.
22703         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22704         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22705         [XPG3 || XPG4] (pthread_once_t): Likewise.
22706         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22707         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22708         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22709         [XPG3 || XPG4] (pthread_t): Likewise.
22711         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22712         not expect.
22713         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22715         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22716         Change function return type to int.
22718         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22719         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22720         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22721         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22722         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22723         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22724         [!POSIX] (posix_madvise): Likewise.
22725         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22726         && !UNIX98].
22727         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22728         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22729         (mode_t): Likewise.
22730         (posix_mem_offset): Likewise.
22731         (posix_typed_mem_get_info): Likewise.
22732         (posix_typed_mem_open): Likewise.
22734         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22735         Change condition to [XOPEN2K8].
22737         * conform/conformtest.pl: Preprocess allow-header data with -x c
22738         instead of from stdin.
22739         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22740         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22741         [C99-based standards] (cerfc): Likewise.
22742         [C99-based standards] (cexp2): Likewise.
22743         [C99-based standards] (cexpm1): Likewise.
22744         [C99-based standards] (clog10): Likewise.
22745         [C99-based standards] (clog1p): Likewise.
22746         [C99-based standards] (clog2): Likewise.
22747         [C99-based standards] (clgamma): Likewise.
22748         [C99-based standards] (ctgamma): Likewise.
22749         [C99-based standards] (cerff): Likewise.
22750         [C99-based standards] (cerfcf): Likewise.
22751         [C99-based standards] (cexp2f): Likewise.
22752         [C99-based standards] (cexpm1f): Likewise.
22753         [C99-based standards] (clog10f): Likewise.
22754         [C99-based standards] (clog1pf): Likewise.
22755         [C99-based standards] (clog2f): Likewise.
22756         [C99-based standards] (clgammaf): Likewise.
22757         [C99-based standards] (ctgammaf): Likewise.
22758         [C99-based standards] (cerfl): Likewise.
22759         [C99-based standards] (cerfcl): Likewise.
22760         [C99-based standards] (cexp2l): Likewise.
22761         [C99-based standards] (cexpm1l): Likewise.
22762         [C99-based standards] (clog10l): Likewise.
22763         [C99-based standards] (clog1pl): Likewise.
22764         [C99-based standards] (clog2l): Likewise.
22765         [C99-based standards] (clgammal): Likewise.
22766         [C99-based standards] (ctgammal): Likewise.
22767         * conform/data/inttypes.h-data [C99-based standards]: Include
22768         stdint.h-data.  Remove all expectations for stdint.h contents.
22769         [C99-based standards] (PRI*): Do not allow.
22770         [C99-based standards] (SCN*): Likewise.
22771         [C99-based standards] (*_t): Likewise.
22772         [C99-based-standards] (PRId8): Expect macro.
22773         [C99-based-standards] (PRIi8): Likewise.
22774         [C99-based-standards] (PRIo8): Likewise.
22775         [C99-based-standards] (PRIu8): Likewise.
22776         [C99-based-standards] (PRIx8): Likewise.
22777         [C99-based-standards] (PRIX8): Likewise.
22778         [C99-based-standards] (SCNd8): Likewise.
22779         [C99-based-standards] (SCNi8): Likewise.
22780         [C99-based-standards] (SCNo8): Likewise.
22781         [C99-based-standards] (SCNu8): Likewise.
22782         [C99-based-standards] (SCNx8): Likewise.
22783         [C99-based-standards] (PRIdLEAST8): Likewise.
22784         [C99-based-standards] (PRIiLEAST8): Likewise.
22785         [C99-based-standards] (PRIoLEAST8): Likewise.
22786         [C99-based-standards] (PRIuLEAST8): Likewise.
22787         [C99-based-standards] (PRIxLEAST8): Likewise.
22788         [C99-based-standards] (PRIXLEAST8): Likewise.
22789         [C99-based-standards] (SCNdLEAST8): Likewise.
22790         [C99-based-standards] (SCNiLEAST8): Likewise.
22791         [C99-based-standards] (SCNoLEAST8): Likewise.
22792         [C99-based-standards] (SCNuLEAST8): Likewise.
22793         [C99-based-standards] (SCNxLEAST8): Likewise.
22794         [C99-based-standards] (PRIdFAST8): Likewise.
22795         [C99-based-standards] (PRIiFAST8): Likewise.
22796         [C99-based-standards] (PRIoFAST8): Likewise.
22797         [C99-based-standards] (PRIuFAST8): Likewise.
22798         [C99-based-standards] (PRIxFAST8): Likewise.
22799         [C99-based-standards] (PRIXFAST8): Likewise.
22800         [C99-based-standards] (SCNdFAST8): Likewise.
22801         [C99-based-standards] (SCNiFAST8): Likewise.
22802         [C99-based-standards] (SCNoFAST8): Likewise.
22803         [C99-based-standards] (SCNuFAST8): Likewise.
22804         [C99-based-standards] (SCNxFAST8): Likewise.
22805         [C99-based-standards] (PRId16): Likewise.
22806         [C99-based-standards] (PRIi16): Likewise.
22807         [C99-based-standards] (PRIo16): Likewise.
22808         [C99-based-standards] (PRIu16): Likewise.
22809         [C99-based-standards] (PRIx16): Likewise.
22810         [C99-based-standards] (PRIX16): Likewise.
22811         [C99-based-standards] (SCNd16): Likewise.
22812         [C99-based-standards] (SCNi16): Likewise.
22813         [C99-based-standards] (SCNo16): Likewise.
22814         [C99-based-standards] (SCNu16): Likewise.
22815         [C99-based-standards] (SCNx16): Likewise.
22816         [C99-based-standards] (PRIdLEAST16): Likewise.
22817         [C99-based-standards] (PRIiLEAST16): Likewise.
22818         [C99-based-standards] (PRIoLEAST16): Likewise.
22819         [C99-based-standards] (PRIuLEAST16): Likewise.
22820         [C99-based-standards] (PRIxLEAST16): Likewise.
22821         [C99-based-standards] (PRIXLEAST16): Likewise.
22822         [C99-based-standards] (SCNdLEAST16): Likewise.
22823         [C99-based-standards] (SCNiLEAST16): Likewise.
22824         [C99-based-standards] (SCNoLEAST16): Likewise.
22825         [C99-based-standards] (SCNuLEAST16): Likewise.
22826         [C99-based-standards] (SCNxLEAST16): Likewise.
22827         [C99-based-standards] (PRIdFAST16): Likewise.
22828         [C99-based-standards] (PRIiFAST16): Likewise.
22829         [C99-based-standards] (PRIoFAST16): Likewise.
22830         [C99-based-standards] (PRIuFAST16): Likewise.
22831         [C99-based-standards] (PRIxFAST16): Likewise.
22832         [C99-based-standards] (PRIXFAST16): Likewise.
22833         [C99-based-standards] (SCNdFAST16): Likewise.
22834         [C99-based-standards] (SCNiFAST16): Likewise.
22835         [C99-based-standards] (SCNoFAST16): Likewise.
22836         [C99-based-standards] (SCNuFAST16): Likewise.
22837         [C99-based-standards] (SCNxFAST16): Likewise.
22838         [C99-based-standards] (PRId32): Likewise.
22839         [C99-based-standards] (PRIi32): Likewise.
22840         [C99-based-standards] (PRIo32): Likewise.
22841         [C99-based-standards] (PRIu32): Likewise.
22842         [C99-based-standards] (PRIx32): Likewise.
22843         [C99-based-standards] (PRIX32): Likewise.
22844         [C99-based-standards] (SCNd32): Likewise.
22845         [C99-based-standards] (SCNi32): Likewise.
22846         [C99-based-standards] (SCNo32): Likewise.
22847         [C99-based-standards] (SCNu32): Likewise.
22848         [C99-based-standards] (SCNx32): Likewise.
22849         [C99-based-standards] (PRIdLEAST32): Likewise.
22850         [C99-based-standards] (PRIiLEAST32): Likewise.
22851         [C99-based-standards] (PRIoLEAST32): Likewise.
22852         [C99-based-standards] (PRIuLEAST32): Likewise.
22853         [C99-based-standards] (PRIxLEAST32): Likewise.
22854         [C99-based-standards] (PRIXLEAST32): Likewise.
22855         [C99-based-standards] (SCNdLEAST32): Likewise.
22856         [C99-based-standards] (SCNiLEAST32): Likewise.
22857         [C99-based-standards] (SCNoLEAST32): Likewise.
22858         [C99-based-standards] (SCNuLEAST32): Likewise.
22859         [C99-based-standards] (SCNxLEAST32): Likewise.
22860         [C99-based-standards] (PRIdFAST32): Likewise.
22861         [C99-based-standards] (PRIiFAST32): Likewise.
22862         [C99-based-standards] (PRIoFAST32): Likewise.
22863         [C99-based-standards] (PRIuFAST32): Likewise.
22864         [C99-based-standards] (PRIxFAST32): Likewise.
22865         [C99-based-standards] (PRIXFAST32): Likewise.
22866         [C99-based-standards] (SCNdFAST32): Likewise.
22867         [C99-based-standards] (SCNiFAST32): Likewise.
22868         [C99-based-standards] (SCNoFAST32): Likewise.
22869         [C99-based-standards] (SCNuFAST32): Likewise.
22870         [C99-based-standards] (SCNxFAST32): Likewise.
22871         [C99-based-standards] (PRId64): Likewise.
22872         [C99-based-standards] (PRIi64): Likewise.
22873         [C99-based-standards] (PRIo64): Likewise.
22874         [C99-based-standards] (PRIu64): Likewise.
22875         [C99-based-standards] (PRIx64): Likewise.
22876         [C99-based-standards] (PRIX64): Likewise.
22877         [C99-based-standards] (SCNd64): Likewise.
22878         [C99-based-standards] (SCNi64): Likewise.
22879         [C99-based-standards] (SCNo64): Likewise.
22880         [C99-based-standards] (SCNu64): Likewise.
22881         [C99-based-standards] (SCNx64): Likewise.
22882         [C99-based-standards] (PRIdLEAST64): Likewise.
22883         [C99-based-standards] (PRIiLEAST64): Likewise.
22884         [C99-based-standards] (PRIoLEAST64): Likewise.
22885         [C99-based-standards] (PRIuLEAST64): Likewise.
22886         [C99-based-standards] (PRIxLEAST64): Likewise.
22887         [C99-based-standards] (PRIXLEAST64): Likewise.
22888         [C99-based-standards] (SCNdLEAST64): Likewise.
22889         [C99-based-standards] (SCNiLEAST64): Likewise.
22890         [C99-based-standards] (SCNoLEAST64): Likewise.
22891         [C99-based-standards] (SCNuLEAST64): Likewise.
22892         [C99-based-standards] (SCNxLEAST64): Likewise.
22893         [C99-based-standards] (PRIdFAST64): Likewise.
22894         [C99-based-standards] (PRIiFAST64): Likewise.
22895         [C99-based-standards] (PRIoFAST64): Likewise.
22896         [C99-based-standards] (PRIuFAST64): Likewise.
22897         [C99-based-standards] (PRIxFAST64): Likewise.
22898         [C99-based-standards] (PRIXFAST64): Likewise.
22899         [C99-based-standards] (SCNdFAST64): Likewise.
22900         [C99-based-standards] (SCNiFAST64): Likewise.
22901         [C99-based-standards] (SCNoFAST64): Likewise.
22902         [C99-based-standards] (SCNuFAST64): Likewise.
22903         [C99-based-standards] (SCNxFAST64): Likewise.
22904         [C99-based-standards] (PRIdMAX): Likewise.
22905         [C99-based-standards] (PRIiMAX): Likewise.
22906         [C99-based-standards] (PRIoMAX): Likewise.
22907         [C99-based-standards] (PRIuMAX): Likewise.
22908         [C99-based-standards] (PRIxMAX): Likewise.
22909         [C99-based-standards] (PRIXMAX): Likewise.
22910         [C99-based-standards] (SCNdMAX): Likewise.
22911         [C99-based-standards] (SCNiMAX): Likewise.
22912         [C99-based-standards] (SCNoMAX): Likewise.
22913         [C99-based-standards] (SCNuMAX): Likewise.
22914         [C99-based-standards] (SCNxMAX): Likewise.
22915         [C99-based-standards] (PRIdPTR): Likewise.
22916         [C99-based-standards] (PRIiPTR): Likewise.
22917         [C99-based-standards] (PRIoPTR): Likewise.
22918         [C99-based-standards] (PRIuPTR): Likewise.
22919         [C99-based-standards] (PRIxPTR): Likewise.
22920         [C99-based-standards] (PRIXPTR): Likewise.
22921         [C99-based-standards] (SCNdPTR): Likewise.
22922         [C99-based-standards] (SCNiPTR): Likewise.
22923         [C99-based-standards] (SCNoPTR): Likewise.
22924         [C99-based-standards] (SCNuPTR): Likewise.
22925         [C99-based-standards] (SCNxPTR): Likewise.
22926         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
22927         allow.
22928         * conform/data/stdint.h-data: Update comments to clarify
22929         requirements.
22930         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
22931         type.
22932         [C99-based standards] (INT8_MAX): Likewise.
22933         [C99-based standards] (INT16_MIN): Likewise.
22934         [C99-based standards] (INT16_MAX): Likewise.
22935         [C99-based standards] (INT32_MIN): Likewise.
22936         [C99-based standards] (INT32_MAX): Likewise.
22937         [C99-based standards] (INT64_MIN): Likewise.
22938         [C99-based standards] (INT64_MAX): Likewise.
22939         [C99-based standards] (UINT8_MAX): Likewise.
22940         [C99-based standards] (UINT16_MAX): Likewise.
22941         [C99-based standards] (UINT32_MAX): Likewise.
22942         [C99-based standards] (UINT64_MAX): Likewise.
22943         [C99-based standards] (INT_LEAST8_MIN): Likewise.
22944         [C99-based standards] (INT_LEAST8_MAX): Likewise.
22945         [C99-based standards] (INT_LEAST16_MIN): Likewise.
22946         [C99-based standards] (INT_LEAST16_MAX): Likewise.
22947         [C99-based standards] (INT_LEAST32_MIN): Likewise.
22948         [C99-based standards] (INT_LEAST32_MAX): Likewise.
22949         [C99-based standards] (INT_LEAST64_MIN): Likewise.
22950         [C99-based standards] (INT_LEAST64_MAX): Likewise.
22951         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
22952         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
22953         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
22954         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
22955         [C99-based standards] (INT_FAST8_MIN): Likewise.
22956         [C99-based standards] (INT_FAST8_MAX): Likewise.
22957         [C99-based standards] (INT_FAST16_MIN): Likewise.
22958         [C99-based standards] (INT_FAST16_MAX): Likewise.
22959         [C99-based standards] (INT_FAST32_MIN): Likewise.
22960         [C99-based standards] (INT_FAST32_MAX): Likewise.
22961         [C99-based standards] (INT_FAST64_MIN): Likewise.
22962         [C99-based standards] (INT_FAST64_MAX): Likewise.
22963         [C99-based standards] (UINT_FAST8_MAX): Likewise.
22964         [C99-based standards] (UINT_FAST16_MAX): Likewise.
22965         [C99-based standards] (UINT_FAST32_MAX): Likewise.
22966         [C99-based standards] (UINT_FAST64_MAX): Likewise.
22967         [C99-based standards] (INTPTR_MIN): Likewise.
22968         [C99-based standards] (INTPTR_MAX): Likewise.
22969         [C99-based standards] (UINTPTR_MAX): Likewise.
22970         [C99-based standards] (INTMAX_MIN): Likewise.
22971         [C99-based standards] (INTMAX_MAX): Likewise.
22972         [C99-based standards] (UINTMAX_MAX): Likewise.
22973         [C99-based standards] (PTRDIFF_MIN): Likewise.
22974         [C99-based standards] (PTRDIFF_MAX): Likewise.
22975         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
22976         [C99-based standards] (SIZE_MAX): Likewise.
22977         [C99-based standards] (WCHAR_MAX): Likewise.
22978         [C99-based standards] (WINT_MAX): Likewise.
22979         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
22980         constraint on value.
22981         [C99-based standards] (WCHAR_MIN): Likewise.
22982         [C99-based standards] (WINT_MIN): Likewise.
22983         [C99-based standards] (*_t): Allow.
22984         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
22985         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
22986         Include math.h-data and complex.h-data.  Remove all expectations
22987         of math.h and complex.h contents.
22988         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
22989         at end of line.
22990         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
22991         (struct tm): Expect tag.
22992         [C99-based-standards] (wcstof): Expect function.
22993         [C99-based-standards] (wcstold): Likewise.
22994         [C99-based-standards] (wcstoll): Likewise.
22995         [C99-based-standards] (wcstoull): Likewise.
22996         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
22997         macro-int-constant.  Specify type.
22998         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
22999         constraint on value.
23000         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23001         Specify type.
23002         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23003         Specify value.
23004         [ISO C standards]: Do not allow headers.
23005         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23006         wcs[abcdefghijklmnopqrstuvwxyz]*.
23007         [ISO C standards] (*_t): Do not allow.
23008         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23009         Expect function.
23010         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23011         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23012         Specify type.
23013         [ISO C standards]: Do not allow headers.
23014         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23015         is[abcdefghijklmnopqrstuvwxyz]*.
23016         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23017         to[abcdefghijklmnopqrstuvwxyz]*.
23018         [ISO C standards] (*_t): Do not allow.
23019         * conform/data/stdalign.h-data: New file.
23020         * conform/data/stdbool.h-data: Likewise.
23021         * conform/data/stdnoreturn.h-data: Likewise.
23023 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23025         [BZ #14815]
23026         * manual/filesys.texi (Directory Entries): Typo fix.
23027         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23029 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23031         * elf/elf.h (EM_AARCH64): New macro.
23032         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23033         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23034         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23035         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23036         (R_AARCH64_TLSDESC): Likewise.
23037         (NT_ARM_TLS): Likewise.
23038         (NT_ARM_HW_BREAK): Likewise.
23039         (NT_ARM_HW_WATCH): Likewise.
23041 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23043         [BZ #14811]
23044         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23045         (__ieee754_powl): Saturate nonzero exponents with absolute value
23046         below 0x1p-79 to +/- 0x1p-79.
23047         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23048         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23049         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23050         nonzero exponents with absolute value below 0x1p-32 to +/-
23051         0x1p-32.
23052         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23053         (__ieee754_powl): Saturate nonzero exponents with absolute value
23054         below 0x1p-79 to +/- 0x1p-79.
23055         * math/libm-test.inc (pow_test): Add more tests.
23057 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23059         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23060         _dl_s390_cap_flags with kernel. Increase string length.
23061         (_dl_s390_platforms): Add z196 and zEC12.
23063 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23065         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23066         Change XOPEN21K to XOPEN2K.
23068 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23070         * string/memmove.c: Use memcpy when possible.
23072 2012-11-06  Andreas Jaeger  <aj@suse.de>
23074         * po/eo.po: Update from translation team.
23076 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23078         [BZ #14793]
23079         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23080         exponent and small x and y exponents, scale x or y up.  Increase
23081         by 2 the exponent used in scaling up.
23082         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23083         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23084         * math/libm-test.inc (fma_test): Add more tests.
23085         (fma_test_towardzero): Likewise.
23086         (fma_test_downward): Likewise.
23087         (fma_test_upward): Likewise.
23089 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23091         [BZ #14805]
23092         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23093         fenv_t *.
23095         [BZ #14801]
23096         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23097         namespace for names of struct fields.
23098         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23099         fenv_t fields.
23100         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23101         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23103 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23105         [BZ #3665]
23106         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23108 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23110         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23111         PTR_DEMANGLE.
23113         [BZ #5246]
23114         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23115         PTR_DEMANGLE.
23117 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23119         [BZ #14797]
23120         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23121         definitely overflow as x * y not x * y + z.
23122         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23123         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23124         * math/libm-test.inc (fma_test): Add more tests.
23125         (fma_test_towardzero): Likewise.
23126         (fma_test_downward): Likewise.
23127         (fma_test_upward): Likewise.
23129 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23131         [BZ #157]
23133         * include/stub-tag.h: Remove file.
23134         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23135         '#include' of it.
23136         * manual/maint.texi (Porting): Don't reference it.
23137         * Makerules ($(objpfx)stubs): Likewise.
23138         * dirent/closedir.c: Don't include <stub-tag.h>.
23139         * dirent/dirfd.c: Likewise.
23140         * dirent/fdopendir.c: Likewise.
23141         * dirent/getdents.c: Likewise.
23142         * dirent/getdents64.c: Likewise.
23143         * dirent/opendir.c: Likewise.
23144         * dirent/readdir.c: Likewise.
23145         * dirent/readdir64.c: Likewise.
23146         * dirent/readdir64_r.c: Likewise.
23147         * dirent/readdir_r.c: Likewise.
23148         * dirent/rewinddir.c: Likewise.
23149         * dirent/seekdir.c: Likewise.
23150         * dirent/telldir.c: Likewise.
23151         * gmon/profil.c: Likewise.
23152         * grp/setgroups.c: Likewise.
23153         * inet/if_index.c: Likewise.
23154         * io/access.c: Likewise.
23155         * io/chdir.c: Likewise.
23156         * io/chmod.c: Likewise.
23157         * io/chown.c: Likewise.
23158         * io/close.c: Likewise.
23159         * io/dup.c: Likewise.
23160         * io/dup2.c: Likewise.
23161         * io/dup3.c: Likewise.
23162         * io/euidaccess.c: Likewise.
23163         * io/faccessat.c: Likewise.
23164         * io/fchdir.c: Likewise.
23165         * io/fchmod.c: Likewise.
23166         * io/fchmodat.c: Likewise.
23167         * io/fchown.c: Likewise.
23168         * io/fchownat.c: Likewise.
23169         * io/fcntl.c: Likewise.
23170         * io/flock.c: Likewise.
23171         * io/fstatfs.c: Likewise.
23172         * io/fstatfs64.c: Likewise.
23173         * io/fstatvfs.c: Likewise.
23174         * io/fstatvfs64.c: Likewise.
23175         * io/futimens.c: Likewise.
23176         * io/fxstat.c: Likewise.
23177         * io/fxstat64.c: Likewise.
23178         * io/fxstatat.c: Likewise.
23179         * io/fxstatat64.c: Likewise.
23180         * io/getcwd.c: Likewise.
23181         * io/isatty.c: Likewise.
23182         * io/lchmod.c: Likewise.
23183         * io/lchown.c: Likewise.
23184         * io/link.c: Likewise.
23185         * io/linkat.c: Likewise.
23186         * io/lseek.c: Likewise.
23187         * io/lseek64.c: Likewise.
23188         * io/lxstat64.c: Likewise.
23189         * io/mkdir.c: Likewise.
23190         * io/mkdirat.c: Likewise.
23191         * io/mkfifo.c: Likewise.
23192         * io/mkfifoat.c: Likewise.
23193         * io/open.c: Likewise.
23194         * io/open64.c: Likewise.
23195         * io/openat.c: Likewise.
23196         * io/openat64.c: Likewise.
23197         * io/pipe.c: Likewise.
23198         * io/pipe2.c: Likewise.
23199         * io/poll.c: Likewise.
23200         * io/posix_fadvise.c: Likewise.
23201         * io/posix_fadvise64.c: Likewise.
23202         * io/posix_fallocate.c: Likewise.
23203         * io/posix_fallocate64.c: Likewise.
23204         * io/read.c: Likewise.
23205         * io/readlink.c: Likewise.
23206         * io/readlinkat.c: Likewise.
23207         * io/rmdir.c: Likewise.
23208         * io/sendfile.c: Likewise.
23209         * io/sendfile64.c: Likewise.
23210         * io/statfs.c: Likewise.
23211         * io/statfs64.c: Likewise.
23212         * io/statvfs.c: Likewise.
23213         * io/statvfs64.c: Likewise.
23214         * io/symlink.c: Likewise.
23215         * io/symlinkat.c: Likewise.
23216         * io/ttyname.c: Likewise.
23217         * io/ttyname_r.c: Likewise.
23218         * io/umask.c: Likewise.
23219         * io/unlink.c: Likewise.
23220         * io/unlinkat.c: Likewise.
23221         * io/utime.c: Likewise.
23222         * io/utimensat.c: Likewise.
23223         * io/write.c: Likewise.
23224         * io/xmknod.c: Likewise.
23225         * io/xmknodat.c: Likewise.
23226         * io/xstat.c: Likewise.
23227         * io/xstat64.c: Likewise.
23228         * login/getpt.c: Likewise.
23229         * login/grantpt.c: Likewise.
23230         * login/unlockpt.c: Likewise.
23231         * math/e_acoshl.c: Likewise.
23232         * math/e_acosl.c: Likewise.
23233         * math/e_asinl.c: Likewise.
23234         * math/e_atan2l.c: Likewise.
23235         * math/e_atanhl.c: Likewise.
23236         * math/e_coshl.c: Likewise.
23237         * math/e_expl.c: Likewise.
23238         * math/e_fmodl.c: Likewise.
23239         * math/e_gammal_r.c: Likewise.
23240         * math/e_hypotl.c: Likewise.
23241         * math/e_j0l.c: Likewise.
23242         * math/e_j1l.c: Likewise.
23243         * math/e_jnl.c: Likewise.
23244         * math/e_lgammal_r.c: Likewise.
23245         * math/e_log10l.c: Likewise.
23246         * math/e_log2l.c: Likewise.
23247         * math/e_logl.c: Likewise.
23248         * math/e_powl.c: Likewise.
23249         * math/e_rem_pio2l.c: Likewise.
23250         * math/e_sinhl.c: Likewise.
23251         * math/e_sqrtl.c: Likewise.
23252         * math/fclrexcpt.c: Likewise.
23253         * math/fedisblxcpt.c: Likewise.
23254         * math/feenablxcpt.c: Likewise.
23255         * math/fegetenv.c: Likewise.
23256         * math/fegetexcept.c: Likewise.
23257         * math/fegetround.c: Likewise.
23258         * math/feholdexcpt.c: Likewise.
23259         * math/fesetenv.c: Likewise.
23260         * math/fesetround.c: Likewise.
23261         * math/feupdateenv.c: Likewise.
23262         * math/fgetexcptflg.c: Likewise.
23263         * math/fraiseexcpt.c: Likewise.
23264         * math/fsetexcptflg.c: Likewise.
23265         * math/ftestexcept.c: Likewise.
23266         * math/k_cosl.c: Likewise.
23267         * math/k_rem_pio2l.c: Likewise.
23268         * math/k_sinl.c: Likewise.
23269         * math/k_tanl.c: Likewise.
23270         * math/s_asinhl.c: Likewise.
23271         * math/s_atanl.c: Likewise.
23272         * math/s_cbrtl.c: Likewise.
23273         * math/s_erfl.c: Likewise.
23274         * math/s_expm1l.c: Likewise.
23275         * math/s_log1pl.c: Likewise.
23276         * math/s_tanhl.c: Likewise.
23277         * misc/acct.c: Likewise.
23278         * misc/brk.c: Likewise.
23279         * misc/chflags.c: Likewise.
23280         * misc/chroot.c: Likewise.
23281         * misc/fchflags.c: Likewise.
23282         * misc/fgetxattr.c: Likewise.
23283         * misc/flistxattr.c: Likewise.
23284         * misc/fremovexattr.c: Likewise.
23285         * misc/fsetxattr.c: Likewise.
23286         * misc/fsync.c: Likewise.
23287         * misc/ftruncate.c: Likewise.
23288         * misc/futimes.c: Likewise.
23289         * misc/futimesat.c: Likewise.
23290         * misc/getdomain.c: Likewise.
23291         * misc/getdtsz.c: Likewise.
23292         * misc/gethostid.c: Likewise.
23293         * misc/gethostname.c: Likewise.
23294         * misc/getloadavg.c: Likewise.
23295         * misc/getpagesize.c: Likewise.
23296         * misc/getsysstats.c: Likewise.
23297         * misc/getxattr.c: Likewise.
23298         * misc/gtty.c: Likewise.
23299         * misc/ioctl.c: Likewise.
23300         * misc/lgetxattr.c: Likewise.
23301         * misc/listxattr.c: Likewise.
23302         * misc/llistxattr.c: Likewise.
23303         * misc/lremovexattr.c: Likewise.
23304         * misc/lsetxattr.c: Likewise.
23305         * misc/lutimes.c: Likewise.
23306         * misc/madvise.c: Likewise.
23307         * misc/mincore.c: Likewise.
23308         * misc/mlock.c: Likewise.
23309         * misc/mlockall.c: Likewise.
23310         * misc/mmap.c: Likewise.
23311         * misc/mprotect.c: Likewise.
23312         * misc/msync.c: Likewise.
23313         * misc/munlock.c: Likewise.
23314         * misc/munlockall.c: Likewise.
23315         * misc/munmap.c: Likewise.
23316         * misc/preadv.c: Likewise.
23317         * misc/preadv64.c: Likewise.
23318         * misc/ptrace.c: Likewise.
23319         * misc/pwritev.c: Likewise.
23320         * misc/pwritev64.c: Likewise.
23321         * misc/readv.c: Likewise.
23322         * misc/reboot.c: Likewise.
23323         * misc/remap_file_pages.c: Likewise.
23324         * misc/removexattr.c: Likewise.
23325         * misc/revoke.c: Likewise.
23326         * misc/select.c: Likewise.
23327         * misc/setdomain.c: Likewise.
23328         * misc/setegid.c: Likewise.
23329         * misc/seteuid.c: Likewise.
23330         * misc/sethostid.c: Likewise.
23331         * misc/sethostname.c: Likewise.
23332         * misc/setregid.c: Likewise.
23333         * misc/setreuid.c: Likewise.
23334         * misc/setxattr.c: Likewise.
23335         * misc/sstk.c: Likewise.
23336         * misc/stty.c: Likewise.
23337         * misc/swapoff.c: Likewise.
23338         * misc/swapon.c: Likewise.
23339         * misc/sync.c: Likewise.
23340         * misc/syncfs.c: Likewise.
23341         * misc/syscall.c: Likewise.
23342         * misc/truncate.c: Likewise.
23343         * misc/ualarm.c: Likewise.
23344         * misc/usleep.c: Likewise.
23345         * misc/ustat.c: Likewise.
23346         * misc/utimes.c: Likewise.
23347         * misc/vhangup.c: Likewise.
23348         * misc/writev.c: Likewise.
23349         * posix/_exit.c: Likewise.
23350         * posix/alarm.c: Likewise.
23351         * posix/execve.c: Likewise.
23352         * posix/fexecve.c: Likewise.
23353         * posix/fork.c: Likewise.
23354         * posix/fpathconf.c: Likewise.
23355         * posix/getaddrinfo.c: Likewise.
23356         * posix/getegid.c: Likewise.
23357         * posix/geteuid.c: Likewise.
23358         * posix/getgid.c: Likewise.
23359         * posix/getgroups.c: Likewise.
23360         * posix/getlogin.c: Likewise.
23361         * posix/getlogin_r.c: Likewise.
23362         * posix/getpgid.c: Likewise.
23363         * posix/getpid.c: Likewise.
23364         * posix/getppid.c: Likewise.
23365         * posix/getresgid.c: Likewise.
23366         * posix/getresuid.c: Likewise.
23367         * posix/getsid.c: Likewise.
23368         * posix/getuid.c: Likewise.
23369         * posix/glob64.c: Likewise.
23370         * posix/nanosleep.c: Likewise.
23371         * posix/pathconf.c: Likewise.
23372         * posix/pause.c: Likewise.
23373         * posix/posix_madvise.c: Likewise.
23374         * posix/pread.c: Likewise.
23375         * posix/pread64.c: Likewise.
23376         * posix/pwrite.c: Likewise.
23377         * posix/pwrite64.c: Likewise.
23378         * posix/sched_getaffinity.c: Likewise.
23379         * posix/sched_getp.c: Likewise.
23380         * posix/sched_gets.c: Likewise.
23381         * posix/sched_primax.c: Likewise.
23382         * posix/sched_primin.c: Likewise.
23383         * posix/sched_rr_gi.c: Likewise.
23384         * posix/sched_setaffinity.c: Likewise.
23385         * posix/sched_setp.c: Likewise.
23386         * posix/sched_sets.c: Likewise.
23387         * posix/sched_yield.c: Likewise.
23388         * posix/setgid.c: Likewise.
23389         * posix/setlogin.c: Likewise.
23390         * posix/setpgid.c: Likewise.
23391         * posix/setresgid.c: Likewise.
23392         * posix/setresuid.c: Likewise.
23393         * posix/setsid.c: Likewise.
23394         * posix/setuid.c: Likewise.
23395         * posix/sleep.c: Likewise.
23396         * posix/spawni.c: Likewise.
23397         * posix/sysconf.c: Likewise.
23398         * posix/times.c: Likewise.
23399         * posix/wait.c: Likewise.
23400         * posix/wait3.c: Likewise.
23401         * posix/wait4.c: Likewise.
23402         * posix/waitpid.c: Likewise.
23403         * resolv/gai_sigqueue.c: Likewise.
23404         * resource/getpriority.c: Likewise.
23405         * resource/getrlimit.c: Likewise.
23406         * resource/getrusage.c: Likewise.
23407         * resource/nice.c: Likewise.
23408         * resource/setpriority.c: Likewise.
23409         * resource/setrlimit.c: Likewise.
23410         * resource/ulimit.c: Likewise.
23411         * rt/aio_cancel.c: Likewise.
23412         * rt/aio_fsync.c: Likewise.
23413         * rt/aio_read.c: Likewise.
23414         * rt/aio_sigqueue.c: Likewise.
23415         * rt/aio_suspend.c: Likewise.
23416         * rt/aio_write.c: Likewise.
23417         * rt/clock_getres.c: Likewise.
23418         * rt/clock_gettime.c: Likewise.
23419         * rt/clock_nanosleep.c: Likewise.
23420         * rt/clock_settime.c: Likewise.
23421         * rt/lio_listio.c: Likewise.
23422         * rt/mq_close.c: Likewise.
23423         * rt/mq_getattr.c: Likewise.
23424         * rt/mq_notify.c: Likewise.
23425         * rt/mq_open.c: Likewise.
23426         * rt/mq_receive.c: Likewise.
23427         * rt/mq_send.c: Likewise.
23428         * rt/mq_setattr.c: Likewise.
23429         * rt/mq_timedreceive.c: Likewise.
23430         * rt/mq_timedsend.c: Likewise.
23431         * rt/mq_unlink.c: Likewise.
23432         * rt/shm_open.c: Likewise.
23433         * rt/shm_unlink.c: Likewise.
23434         * rt/timer_create.c: Likewise.
23435         * rt/timer_delete.c: Likewise.
23436         * rt/timer_getoverr.c: Likewise.
23437         * rt/timer_gettime.c: Likewise.
23438         * rt/timer_settime.c: Likewise.
23439         * setjmp/__longjmp.c: Likewise.
23440         * setjmp/setjmp.c: Likewise.
23441         * signal/kill.c: Likewise.
23442         * signal/killpg.c: Likewise.
23443         * signal/raise.c: Likewise.
23444         * signal/sigaction.c: Likewise.
23445         * signal/sigaltstack.c: Likewise.
23446         * signal/sigblock.c: Likewise.
23447         * signal/sigignore.c: Likewise.
23448         * signal/sigintr.c: Likewise.
23449         * signal/signal.c: Likewise.
23450         * signal/sigpause.c: Likewise.
23451         * signal/sigpending.c: Likewise.
23452         * signal/sigqueue.c: Likewise.
23453         * signal/sigreturn.c: Likewise.
23454         * signal/sigset.c: Likewise.
23455         * signal/sigsetmask.c: Likewise.
23456         * signal/sigstack.c: Likewise.
23457         * signal/sigsuspend.c: Likewise.
23458         * signal/sigtimedwait.c: Likewise.
23459         * signal/sigvec.c: Likewise.
23460         * signal/sigwait.c: Likewise.
23461         * signal/sigwaitinfo.c: Likewise.
23462         * signal/sysv_signal.c: Likewise.
23463         * socket/accept.c: Likewise.
23464         * socket/accept4.c: Likewise.
23465         * socket/bind.c: Likewise.
23466         * socket/connect.c: Likewise.
23467         * socket/getpeername.c: Likewise.
23468         * socket/getsockname.c: Likewise.
23469         * socket/getsockopt.c: Likewise.
23470         * socket/isfdtype.c: Likewise.
23471         * socket/listen.c: Likewise.
23472         * socket/recv.c: Likewise.
23473         * socket/recvfrom.c: Likewise.
23474         * socket/recvmsg.c: Likewise.
23475         * socket/send.c: Likewise.
23476         * socket/sendmsg.c: Likewise.
23477         * socket/sendto.c: Likewise.
23478         * socket/setsockopt.c: Likewise.
23479         * socket/shutdown.c: Likewise.
23480         * socket/sockatmark.c: Likewise.
23481         * socket/socket.c: Likewise.
23482         * socket/socketpair.c: Likewise.
23483         * stdio-common/ctermid.c: Likewise.
23484         * stdio-common/cuserid.c: Likewise.
23485         * stdio-common/remove.c: Likewise.
23486         * stdio-common/rename.c: Likewise.
23487         * stdio-common/renameat.c: Likewise.
23488         * stdio-common/tempname.c: Likewise.
23489         * stdlib/getcontext.c: Likewise.
23490         * stdlib/makecontext.c: Likewise.
23491         * stdlib/setcontext.c: Likewise.
23492         * stdlib/swapcontext.c: Likewise.
23493         * stdlib/system.c: Likewise.
23494         * streams/fattach.c: Likewise.
23495         * streams/fdetach.c: Likewise.
23496         * streams/getmsg.c: Likewise.
23497         * streams/getpmsg.c: Likewise.
23498         * streams/putmsg.c: Likewise.
23499         * streams/putpmsg.c: Likewise.
23500         * sysdeps/unix/bsd/getpt.c: Likewise.
23501         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23502         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23503         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23505         Likewise.
23506         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23507         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23508         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23509         * sysvipc/msgctl.c: Likewise.
23510         * sysvipc/msgget.c: Likewise.
23511         * sysvipc/msgrcv.c: Likewise.
23512         * sysvipc/msgsnd.c: Likewise.
23513         * sysvipc/semctl.c: Likewise.
23514         * sysvipc/semget.c: Likewise.
23515         * sysvipc/semop.c: Likewise.
23516         * sysvipc/semtimedop.c: Likewise.
23517         * sysvipc/shmat.c: Likewise.
23518         * sysvipc/shmctl.c: Likewise.
23519         * sysvipc/shmdt.c: Likewise.
23520         * sysvipc/shmget.c: Likewise.
23521         * termios/tcdrain.c: Likewise.
23522         * termios/tcflow.c: Likewise.
23523         * termios/tcflush.c: Likewise.
23524         * termios/tcgetattr.c: Likewise.
23525         * termios/tcgetpgrp.c: Likewise.
23526         * termios/tcsendbrk.c: Likewise.
23527         * termios/tcsetattr.c: Likewise.
23528         * termios/tcsetpgrp.c: Likewise.
23529         * time/adjtime.c: Likewise.
23530         * time/clock.c: Likewise.
23531         * time/getitimer.c: Likewise.
23532         * time/gettimeofday.c: Likewise.
23533         * time/setitimer.c: Likewise.
23534         * time/settimeofday.c: Likewise.
23535         * time/stime.c: Likewise.
23536         * time/time.c: Likewise.
23538 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23540         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23541         /usr/old/bin.
23543         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23544         instead of spaces.
23545         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23547 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23549         [BZ #14796]
23550         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23551         FE_TONEAREST before applying Dekker multiplication and Knuth
23552         addition.  Clear inexact exceptions and check for exact zero
23553         results afterwards.
23554         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23555         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23556         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23557         * math/libm-test.inc (fma_test): Add more tests.
23558         (fma_test_towardzero): Likewise.
23559         (fma_test_downward): Likewise.
23560         (fma_test_upward): Likewise.
23561         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23562         function.
23563         (libc_fesetround): New macro.
23564         (libc_fesetroundf): Likewise.
23565         (libc_fesetroundl): Likewise.
23566         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23567         function.
23568         (libc_fesetround_387): Likewise.
23569         (libc_fesetroundf): New macro.
23570         (libc_fesetround): Likewise.
23571         (libc_fesetroundl): Likewise.
23572         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23573         function.
23574         (libc_fesetroundf): New macro.
23575         (libc_fesetround): Likewise.
23576         (libc_fesetroundl): Likewise.
23577         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23578         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23579         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23580         libm_hidden_ver.
23581         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23582         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23583         libm_hidden_def.
23584         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23585         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23586         libm_hidden_ver.
23587         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23588         libm_hidden_def.
23590         [BZ #3439]
23591         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23592         integer constant usable in #if and use that to give value to enum
23593         constant.
23594         (FE_DIVBYZERO): Likewise.
23595         (FE_UNDERFLOW): Likewise.
23596         (FE_OVERFLOW): Likewise.
23597         (FE_INVALID): Likewise.
23598         (FE_INVALID_SNAN): Likewise.
23599         (FE_INVALID_ISI): Likewise.
23600         (FE_INVALID_IDI): Likewise.
23601         (FE_INVALID_ZDZ): Likewise.
23602         (FE_INVALID_IMZ): Likewise.
23603         (FE_INVALID_COMPARE): Likewise.
23604         (FE_INVALID_SOFTWARE): Likewise.
23605         (FE_INVALID_SQRT): Likewise.
23606         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23607         (FE_TONEAREST): Likewise.
23608         (FE_TOWARDZERO): Likewise.
23609         (FE_UPWARD): Likewise.
23610         (FE_DOWNWARD): Likewise.
23611         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23612         (FE_DIVBYZERO): Likewise.
23613         (FE_OVERFLOW): Likewise.
23614         (FE_UNDERFLOW): Likewise.
23615         (FE_INEXACT): Likewise.
23616         (FE_TONEAREST): Likewise.
23617         (FE_DOWNWARD): Likewise.
23618         (FE_UPWARD): Likewise.
23619         (FE_TOWARDZERO): Likewise.
23620         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23621         (FE_UNDERFLOW): Likewise.
23622         (FE_OVERFLOW): Likewise.
23623         (FE_DIVBYZERO): Likewise.
23624         (FE_INVALID): Likewise.
23625         (FE_TONEAREST): Likewise.
23626         (FE_TOWARDZERO): Likewise.
23627         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23628         (FE_OVERFLOW): Likewise.
23629         (FE_UNDERFLOW): Likewise.
23630         (FE_DIVBYZERO): Likewise.
23631         (FE_INEXACT): Likewise.
23632         (FE_TONEAREST): Likewise.
23633         (FE_TOWARDZERO): Likewise.
23634         (FE_UPWARD): Likewise.
23635         (FE_DOWNWARD): Likewise.
23636         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23637         (FE_DIVBYZERO): Likewise.
23638         (FE_OVERFLOW): Likewise.
23639         (FE_UNDERFLOW): Likewise.
23640         (FE_INEXACT): Likewise.
23641         (FE_TONEAREST): Likewise.
23642         (FE_DOWNWARD): Likewise.
23643         (FE_UPWARD): Likewise.
23644         (FE_TOWARDZERO): Likewise.
23646 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23648         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23650 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23652         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23653         commands.  Quote $PWD.
23654         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23655         -x" by "export".
23656         (remove_newlines): Remove.
23658 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23660         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23661         * stdlib/stdlib.h (atof): Moved to ...
23662         * include/bits/stdlib-float.h: Here.  New file.
23663         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23664         * stdlib/bits/stdlib-float.h: New file.
23665         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23666         -mno-sse -mno-mmx.
23667         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23668         <xmmintrin.h>.
23670 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23672         * conform/conformtest.pl (@headers): Add fenv.h.
23673         * conform/data/fenv.h-data: New file.
23674         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23675         include of <math/fenv.h>.
23677         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23678         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23679         && !UNIX98].  Enables tests for XOPEN2K8.
23680         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23681         POSIX2008]: Likewise.
23683         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23684         (struct rusage): Do not expect type or its members.
23686         [BZ #3439]
23687         * math/math.h (FP_NAN): Define macro to integer constant usable in
23688         #if and use that to give value to enum constant.
23689         (FP_INFINITE): Likewise.
23690         (FP_ZERO): Likewise.
23691         (FP_SUBNORMAL): Likewise.
23692         (FP_NORMAL): Likewise.
23694 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23696         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23697         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23698         arguments.
23700 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23702         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23703         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23704         autoconf-time if not.
23705         * configure.in: Remove AC_PREREQ.
23707 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23709         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23710         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23711         of the internal implementation.
23713 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23715         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23716         except include of <misc/sys/syslog.h>.
23718 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23720         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23721         function returns with a NULL context exit with zero.
23723 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23725         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23727 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23729         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23730         (run_program_cmd): This.
23731         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23732         (tst_langinfo): New variable.  Use it.
23734 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23736         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23737         floating point opcodes.
23739 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23741         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23742         variable.
23744         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23746         * sysdeps/mach/hurd/powerpc: Remove directory.
23747         * sysdeps/mach/powerpc: Likewise.
23749 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23751         * scripts/check-local-headers.sh: Ignore c++ headers.
23753 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23755         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23756         __libc_cleanup_region_start argument.
23758 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23760         [BZ #14784]
23761         [BZ #14785]
23762         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23763         x * y using scaling, not as x * y + z.
23764         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23766         * math/libm-test.inc (fma_test): Add more tests.
23767         (fma_test_towardzero): Likewise.
23768         (fma_test_downward): Likewise.
23769         (fma_test_upward): Likewise.
23771 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23773         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23775 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23777         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23778         New variable.
23780 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23782         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23784 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23786         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23787         Fix sort order.
23788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23789         Likewise.
23791 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23793         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23794         Fix the order of the list for glibc 2.17.
23795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23796         Likewise.
23798 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23800         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23802 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23804         [BZ #14610]
23805         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23806         for low part of x being zero before using __atanl (y).
23807         * math/libm-test.inc (atan2_test): Add another test.
23809         * manual/install.texi (Configuring and compiling): Document
23810         general use of test-wrapper and test-wrapper-env.
23811         * INSTALL: Regenerated.
23813         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23814         (__fma): Do not extract and scale down low bits on after-rounding
23815         systems when result rounded to normal precision would have normal
23816         exponent.
23817         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23818         (__fmal): Do not extract and scale down low bits on after-rounding
23819         systems when result rounded to normal precision would have normal
23820         exponent.
23821         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23822         (__fmal): Do not extract and scale down low bits on after-rounding
23823         systems when result rounded to normal precision would have normal
23824         exponent.
23825         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23826         macro.
23827         (fma_test): Add more tests.
23828         (fma_test_towardzero): Likewise.
23829         (fma_test_downward): Likewise.
23830         (fma_test_upward): Likewise.
23832 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23834         * sysdeps/i386/tininess.h: Renamed to ...
23835         * sysdeps/x86/tininess.h: This.
23836         * sysdeps/x86_64/tininess.h: Removed.
23838 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23840         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23841         input.  Use $(build-program-cmd).
23842         ($(objpfx)tst-array1-static.out): Likewise.
23843         ($(objpfx)tst-array2.out): Likewise.
23844         ($(objpfx)tst-array3.out): Likewise.
23845         ($(objpfx)tst-array4.out): Likewise.
23846         ($(objpfx)tst-array5.out): Likewise.
23847         ($(objpfx)tst-array5-static.out): Likewise.
23849 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23851         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23852         if defined.
23854         * nss/nsswitch.h (nss_interface_function): Provide new
23855         macro for use with NSS functions.
23856         * grp/initgroups.c: Use new macro.
23857         * nss/getXXbyYY.c: Likewise.
23858         * nss/getXXbyYY_r.c: Likewise.
23859         * nss/getXXent.c: Likewise.
23860         * nss/getXXent_r.c: Likewise.
23861         * sysdeps/posix/getaddrinfo.c: Likewise.
23863 2012-10-30  Andreas Jaeger  <aj@suse.de>
23865         * po/ru.po: Update Russion translation from translation project.
23867 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23869         [BZ #14152]
23870         [BZ #14783]
23871         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
23872         result and shift together with sticky bit instead of replicating
23873         round-to-nearest rounding.
23874         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23875         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23876         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
23877         missing underflow exceptions.
23878         (fma_test_towardzero): Add more tests.
23879         (fma_test_downward): Likewise.
23880         (fma_test_upward): Likewise.
23882         [BZ #14047]
23883         * sysdeps/generic/tininess.h: New file.
23884         * sysdeps/i386/tininess.h: Likewise.
23885         * sysdeps/sh/tininess.h: Likewise.
23886         * sysdeps/x86_64/tininess.h: Likewise.
23887         * stdlib/tst-strtod-underflow.c: Likewise.
23888         * stdlib/tst-tininess.c: Likewise.
23889         * stdlib/strtod_l.c: Include <tininess.h>.
23890         (round_and_return): Do not set errno for exact underflow cases.
23891         Force an underflow exception when setting errno for underflow.
23892         Determine underflow based on rounding to normal precision if
23893         TININESS_AFTER_ROUNDING.
23894         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
23895         ERANGE for exact underflow cases.
23896         * stdlib/Makefile (tests): Add tst-tininess and
23897         tst-strtod-underflow.
23898         ($(objpfx)tst-tininess): Use $(link-libm).
23899         ($(objpfx)tst-strtod-underflow): Likewise.
23901 2012-10-30  Andreas Jaeger  <aj@suse.de>
23903         [BZ#14767]
23904         * elf/Makefile (tests): Remove conditional for have-initfini-array
23905         since this is now always required and the variable does not exist
23906         anymore.
23907         (tests-static): Likewise.
23908         (modules-names): Likewise.
23910         * po/eo.po: Add Esperanto translation from translation project.
23912         * elf/tst-array1.c (fini_array): Make writeable so that it can be
23913         merged with constructor/destructor.
23914         (init_array): Likewise.
23915         * elf/tst-array2dep.c (fini_array): Likewise.
23916         (init_array): Likewise.
23918 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
23920         * manual/message.texi: Delete @cartouche tags.
23922 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
23924         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
23925         EOPNOTSUPP.
23926         * sysdeps/mach/hurd/fsync.c: Likewise.
23928         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
23929         [_POSIX_REALTIME_SIGNALS]: Change condition to
23930         [_POSIX_REALTIME_SIGNALS > 0].
23932 2012-10-27  Andreas Jaeger  <aj@suse.de>
23934         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
23935         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
23936         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
23937         [__WORDSIZE != 64]: Likewise.
23939 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
23941         *  iconvdata/tst-table.sh: Remove ${SHELL}.
23942         *  iconvdata/tst-tables.sh: Likewise.
23944 2012-10-25  David S. Miller  <davem@davemloft.net>
23946         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23947         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
23948         of strtoull.
23950         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
23951         ifunc-impl-list.c
23952         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
23953         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
23954         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
23955         file.
23957 2012-10-25  Roland McGrath  <roland@hack.frob.com>
23959         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
23960         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
23961         __getdirentries.
23963 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23964             Jim Blandy  <jimb@codesourcery.com>
23966         * scripts/cross-test-ssh.sh: New file.
23967         * manual/install.texi (Configuring and compiling): Document use of
23968         cross-test-ssh.sh.
23969         * INSTALL: Regenerated.
23971 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
23973         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
23974         EOPNOTSUPP.
23976 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
23978         * Makeconfig (run-program-prefix): Fix comment.
23980 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
23981             Jim Blandy  <jimb@codesourcery.com>
23983         * Makeconfig (test-wrapper): New variable,
23984         (test-wrapper-env): Likewise.
23985         [$(cross-compiling) = yes && $(test-wrapper) != ""]
23986         (run-built-tests): Define to yes.
23987         (run-program-prefix): Use $(test-wrapper).
23988         (built-program-cmd): Likewise.
23989         * Rules (make-test-out): Use $(test-wrapper-env) and
23990         $(host-built-program-cmd).
23991         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
23992         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
23993         tst-pathopt.sh.
23994         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
23995         $(test-wrapper-env) to tst-rtld-load-self.sh.
23996         ($(objpfx)order2.out): Use $(test-wrapper).
23997         ($(objpfx)tst-initorder.out): Likewise.
23998         ($(objpfx)tst-initorder2.out): Likewise.
23999         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24000         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24001         (test_wrapper_env): New variable.  Use it to run ld.so.
24002         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24003         Use it to run ld.so.
24004         (test_wrapper_env): Likewise.
24005         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24006         $(test-wrapper) to run-iconv-test.sh.
24007         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24008         (ICONV): Use $test_wrapper.
24009         * posix/Makefile ($(objpfx)globtest.out): Pass
24010         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24011         globtest.sh, not $(run-program-prefix).
24012         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24013         (test_wrapper): Likewise.
24014         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24015         set together with run_via_rtld_prefix.
24016         (run_program_prefix): Define in terms of test_wrapper and
24017         run_via_rtld_prefix.
24019 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24021         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24022         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24023         Targets removed.
24025         [BZ #14743]
24026         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24027         Declare __clock_getres, __clock_gettime, __clock_settime,
24028         __clock_nanosleep, and __clock_getcpuclockid.
24029         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24030         Remove librt_hidden_def (clock_gettime).
24031         * sysdeps/unix/clock_gettime.c: Likewise.
24032         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24033         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24034         * rt/clock_getres.c: Define __clock_getres as an alias.
24035         * sysdeps/posix/clock_getres.c: Likewise.
24036         * rt/clock_settime.c: Define __clock_settime as an alias.
24037         * sysdeps/unix/clock_settime.c: Likewise.
24038         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24039         * sysdeps/unix/clock_nanosleep.c: Likewise.
24040         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24041         * rt/clock-compat.c: New file.
24042         * rt/Makefile (librt-routines): Add clock-compat and move
24043         $(clock-routines) to ...
24044         (routines): ... here, new variable.
24045         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24046         Don't add get_clockfreq here.
24047         * rt/Versions (libc: GLIBC_2.17): New version set.
24048         Add clock_* symbols here.
24049         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24050         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24051         (GLIBC_2.17): Add clock_* symbols.
24052         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24053         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24054         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24056         Likewise.
24057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24058         Likewise.
24059         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24060         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24061         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24062         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24063         * NEWS: Mention the move.
24065         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24066         Use __open, __read, __close rather than their public counterparts.
24067         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24068         (__get_clockfreq_via_cpuinfo): Likewise.
24069         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24070         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24072         * config.h.in (HAVE_IFUNC): New #undef.
24073         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24074         was successful.
24075         * configure: Regenerated.
24077 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24079         * configure.in: Move READELF check to start of file.
24080         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24081         libc_cv_asm_gnu_indirect_function in the process.
24082         * configure: Regenerated.
24084 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24086         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24087         send the output to /dev/null.
24088         (libc_cv_cc_with_libunwind): Likewise.
24089         (libc_cv_as_noexecstack): Likewise.
24090         * configure: Regenerate.
24092 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24094         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24096         * posix/globtest.sh (TMPDIR): Do not set.
24097         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24098         (testout): Likewise.
24100 2012-10-24  Andreas Jaeger  <aj@suse.de>
24102         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24103         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24104         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24105         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24106         posix_fadvise64, posix_fallocate64.
24108         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24109         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24110         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24111         Likewise.
24112         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24113         Likewise.
24114         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24116         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24117         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24118         <bits/fcntl-linux.h>.
24119         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24121         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24122         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24123         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24124         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24125         [__WORDSIZE != 64]: Likewise.
24127 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24129         * Makeconfig (run-built-tests): New variable.
24130         * Rules [$(cross-compiling) = yes]: Change condition to
24131         [$(run-built-tests) = no].
24132         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24133         to [$(run-built-tests) = yes].
24134         * elf/Makefile [$(cross-compiling) = no]: Likewise
24135         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24136         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24137         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24138         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24139         * io/Makefile [$(cross-compiling) = no]: Likewise.
24140         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24141         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24142         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24143         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24144         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24145         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24146         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24147         * string/Makefile [$(cross-compiling) = no]: Likewise.
24149         * posix/Makefile ($(objpfx)globtest.out): Pass
24150         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24151         $(rtld-installed-name).
24152         * posix/globtest.sh (elf_objpfx): Remove variable.
24153         (rtld_installed_name): Likewise.
24154         (library_path): Likewise.
24155         (run_program_prefix): New variable.  Use for running globtest
24156         binary.
24158 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24159             Joseph Myers  <joseph@codesourcery.com>
24161         * Makeconfig (host-built-program-cmd): New variable.
24162         * elf/Makefile (tst-stackguard1-ARGS): Use
24163         $(host-built-program-cmd).
24164         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24165         (tst-spawn-ARGS): Likewise.
24166         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24168 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24169             Jim Blandy  <jimb@codesourcery.com>
24171         * Makeconfig (run-via-rtld-prefix): New variable.
24172         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24173         (built-program-cmd): Likewise.
24175 2012-10-22  Andreas Jaeger  <aj@suse.de>
24177         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24178         __O_RSYNC if it exists, otherwise to O_SYNC.
24180 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24181             Joseph Myers  <joseph@codesourcery.com>
24183         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24184         /dev/null.
24185         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24186         from /dev/null
24187         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24188         /dev/null.
24190 2012-10-22  Andreas Jaeger  <aj@suse.de>
24192         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24193         Define always.
24194         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24196         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24197         bits/fcntl-linux.h.
24199         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24200         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24202         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24203         to __O_LARGEFILE.
24204         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24205         to __O_LARGEFILE.
24207 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24208             Joseph Myers  <joseph@codesourcery.com>
24210         * config.make.in (NM): New variable.
24212 2012-10-21  Andreas Jaeger  <aj@suse.de>
24214         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24215         definitions and declarations that are provided by
24216         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24218 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24220         [BZ #14683]
24221         * elf/Makefile (tests-static): Add tst-leaks1-static.
24222         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24223         ($(objpfx)tst-leaks1-static): New rule.
24224         ($(objpfx)tst-leaks1-static-mem): Likewise.
24225         (tst-leaks1-static-ENV): New macro.
24226         * elf/dl-open.c (dl_open_worker): Check the main application
24227         only if SHARED is defined.
24228         * elf/tst-leaks1-static.c: New file.
24230 2012-10-20  Andreas Jaeger  <aj@suse.de>
24232         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24233         generic values for Linux.
24234         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24235         and declarations that are provided by <bits/fcntl-linux.h> and
24236         include <bits/fcntl-linux.h>.
24237         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24238         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24240 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24242         * io/fcntl.h: Move include of <bits/types.h> to the top and
24243         include it unconditionally.
24245 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24247         * wcsmbs/Makefile (tests-ifunc): New variable.
24248         (tests): Add $(tests-ifunc).
24249         * wcsmbs/test-wcschr-ifunc.c: New file.
24250         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24251         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24252         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24253         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24254         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24256         * string/Makefile (tests-ifunc): New variable.
24257         (tests): Add $(tests-ifunc).
24258         * string/test-memccpy.c (TEST_NAME): New macro.
24259         * string/test-memchr.c (TEST_NAME): Likewise.
24260         * string/test-memcmp.c (TEST_NAME): Likewise.
24261         * string/test-memcpy.c (TEST_NAME): Likewise.
24262         * string/test-memmem.c (TEST_NAME): Likewise.
24263         * string/test-memmove.c (TEST_NAME): Likewise.
24264         * string/test-memset.c (TEST_NAME): Likewise.
24265         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24266         * string/test-stpcpy.c (TEST_NAME): Likewise.
24267         * string/test-stpncpy.c (TEST_NAME): Likewise.
24268         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24269         * string/test-strcasestr.c (TEST_NAME): Likewise.
24270         * string/test-strcat.c (TEST_NAME): Likewise.
24271         * string/test-strchr.c (TEST_NAME): Likewise.
24272         * string/test-strcmp.c(TEST_NAME): Likewise.
24273         * string/test-strcpy.c (TEST_NAME): Likewise.
24274         * string/test-strcspn.c (TEST_NAME): Likewise.
24275         * string/test-strlen.c (TEST_NAME): Likewise.
24276         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24277         * string/test-strncmp.c (TEST_NAME): Likewise.
24278         * string/test-strncpy.c (TEST_NAME): Likewise.
24279         * string/test-strnlen.c (TEST_NAME): Likewise.
24280         * string/test-strpbrk.c (TEST_NAME): Likewise.
24281         * string/test-strrchr.c (TEST_NAME): Likewise.
24282         * string/test-strspn.c (TEST_NAME): Likewise.
24283         * string/test-strstr.c (TEST_NAME): Likewise.
24284         * string/test-bcopy-ifunc.c: New file.
24285         * string/test-bzero-ifunc.c: Likewise.
24286         * string/test-memccpy-ifunc.c: Likewise.
24287         * string/test-memchr-ifunc.c: Likewise.
24288         * string/test-memcmp-ifunc.c: Likewise.
24289         * string/test-memcpy-ifunc.c: Likewise.
24290         * string/test-memmem-ifunc.c: Likewise.
24291         * string/test-memmove-ifunc.c: Likewise.
24292         * string/test-mempcpy-ifunc.c: Likewise.
24293         * string/test-memset-ifunc.c: Likewise.
24294         * string/test-rawmemchr-ifunc.c: Likewise.
24295         * string/test-stpcpy-ifunc.c: Likewise.
24296         * string/test-stpncpy-ifunc.c: Likewise.
24297         * string/test-strcasecmp-ifunc.c: Likewise.
24298         * string/test-strcasestr-ifunc.c: Likewise.
24299         * string/test-strcat-ifunc.c: Likewise.
24300         * string/test-strchr-ifunc.c: Likewise.
24301         * string/test-strchrnul-ifunc.c: Likewise.
24302         * string/test-strcmp-ifunc.c: Likewise.
24303         * string/test-strcpy-ifunc.c: Likewise.
24304         * string/test-strcspn-ifunc.c: Likewise.
24305         * string/test-strlen-ifunc.c: Likewise.
24306         * string/test-strncasecmp-ifunc.c: Likewise.
24307         * string/test-strncat-ifunc.c: Likewise.
24308         * string/test-strncmp-ifunc.c: Likewise.
24309         * string/test-strncpy-ifunc.c: Likewise.
24310         * string/test-strnlen-ifunc.c: Likewise.
24311         * string/test-strpbrk-ifunc.c: Likewise.
24312         * string/test-strrchr-ifunc.c: Likewise.
24313         * string/test-strspn-ifunc.c: Likewise.
24314         * string/test-strstr-ifunc.c: Likewise.
24316         * debug/Makefile (tests-ifunc): New variable.
24317         (tests): Add $(tests-ifunc).
24318         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24319         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24320         * debug/test-stpcpy_chk-ifunc.c: New file.
24321         * debug/test-strcpy_chk-ifunc.c: Likewise.
24323 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24325         [BZ #13601]
24326         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24327         header is not read in.
24329 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24331         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24332         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24333         directly.  Pass built executable to script as
24334         $(built-program-cmd).
24335         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24336         $testprogram without using LD_LIBRARY_PATH and $ldso.
24338         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24339         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24340         $(rtld-installed-name).
24341         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24342         (rtld_installed_name): Likewise.
24343         (library_path): Likewise.
24344         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24345         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24346         $(run-program-prefix) to tst-tables.sh.
24347         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24348         it to run tst-table-from and tst-table-to.
24349         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24350         Pass it to tst-table.sh.
24351         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24352         $(run-program-prefix) to tst-gettext.sh.
24353         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24354         tst-translit.sh.
24355         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24356         tst-gettext2.sh.
24357         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24358         to run tst-gettext.
24359         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24360         to run tst-gettext2.
24361         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24362         to run tst-translit.
24363         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24364         $(run-program-prefix) to tst-mtrace.sh.
24365         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24366         to run tst-mtrace.
24367         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24368         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24369         $(rtld-installed-name).
24370         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24371         (rtld_installed_name): Likewise.
24372         (run_program_prefix): New variable.  Use it to run wordexp-test.
24374         * Makeconfig (ARCH): Remove all definitions.
24375         (machine): Likewise.
24376         [ARCH]: Remove conditional code.
24377         [!objdir]: Give error.
24378         [!objdir] (objpfx): Remove.
24379         [!objdir] (common-objpfx): Likewise.
24380         [!objdir] (common-objdir): Likewise.
24381         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24382         AC_CONFIG_FILES call.
24383         * configure: Regenerated.
24385         [BZ #13888]
24386         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24387         or TMPDIR.
24388         (testout): Likewise.
24390         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24391         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24392         $(rtld-installed-name).
24393         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24394         (rtld_installed_name): Likwise.
24395         (runit): Remove function.
24396         (run_getconf): New variable,  Use it for running getconf binary.
24398 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24400         [BZ #14716]
24401         * string/test-memmem.c (check_result): New function.
24402         (do_one_test): Use it.
24403         (check1): New function.
24404         (test_main): Use it.
24406 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24408         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24410 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24412         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24413         (_G_LSEEK64): Likewise.
24414         (_G_MMAP64): Likewise.
24415         (_G_FSTAT64): Likewise.
24416         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24417         (_G_LSEEK64): Likewise.
24418         (_G_MMAP64): Likewise.
24419         (_G_FSTAT64): Likewise.
24420         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24421         unconditional.  Call __mmap64 directly.
24422         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24423         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24424         __lseek64 directly.
24425         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24426         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24427         __mmap64 directly.
24428         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24429         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24430         __lseek64 directly.
24431         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24432         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24433         __lseek64 directly.
24434         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24435         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24436         __lseek64 directly.
24437         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24438         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24439         __fxstat64 directly.
24440         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24441         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24442         unconditional.
24443         (freopen64) [!_G_OPEN64]: Remove conditional code.
24444         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24445         unconditional.
24446         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24447         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24448         unconditional.
24449         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24450         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24451         unconditional.
24452         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24453         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24454         unconditional.
24455         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24456         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24457         unconditional.
24458         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24459         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24460         unconditional.
24461         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24462         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24463         unconditional.
24464         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24466 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24468         [BZ #12140]
24469         * manual/memory.texi (Malloc Tunable Parameters): Add note
24470         about free list pointers overwriting some perturb bytes.
24471         Wording suggested by Roland McGrath.
24473 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24475         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24476         (lgamma_test): Likewise.
24477         (tgamma_test): Likewise.
24479 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24481         [BZ #14700]
24482         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24483         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24485 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24487         * NEWS: Mention BZ #14716.
24488         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24489         when removing AVAILABLE1_USES_J macro.
24491 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24493         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24494         (__bswap_64): __uint64_t for unsigned 64-bit int.
24496 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24498         * include/string.h (memmem): Declare libc hidden alias.
24499         * string/memmem.c (memmem): Define libc hidden alias.
24500         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24501         __read, __close instead of open, read, close.
24503 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24505         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24506         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24507         global and hidden.
24508         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24509         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24510         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24511         Likewise.
24512         (__rawmemchr_sse2): Likewise.
24513         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24514         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24515         (__strchr_sse2): Likewise.
24516         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24517         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24518         (__strcasecmp_sse2): Likewise.
24519         (__strncasecmp_sse2): Likewise.
24520         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24521         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24522         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24523         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24524         (__strrchr_sse2): Likewise.
24525         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24526         ifunc-impl-list.c.
24527         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24528         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24529         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24530         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24531         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24532         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24533         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24534         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24535         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24536         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24537         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24538         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24539         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24540         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24541         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24542         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24543         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24544         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24545         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24546         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24547         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24548         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24549         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24550         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24551         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24552         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24553         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24554         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24555         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24556         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24558         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24559         global and hidden.
24560         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24561         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24562         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24563         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24564         Likewise.
24565         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24566         Likewise.
24567         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24568         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24569         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24570         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24571         ifunc-impl-list.c.
24572         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24573         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24574         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24575         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24576         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24577         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24578         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24579         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24580         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24581         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24582         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24583         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24584         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24585         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24586         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24587         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24588         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24589         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24590         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24591         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24592         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24593         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24594         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24595         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24596         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24597         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24598         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24599         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24600         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24601         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24602         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24603         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24604         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24605         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24606         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24607         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24608         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24609         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24610         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24611         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24612         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24614         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24615         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24616         * include/ifunc-impl-list.h: New file.
24617         * misc/ifunc-impl-list.c: Likewise.
24618         * misc/Makefile (routines): Add ifunc-impl-list.
24619         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24620         * string/test-string.h: Include <ifunc-impl-list.h>.
24621         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24622         TEST_NAME]: New variables.
24623         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24624         are defined.
24625         (test_init): Call __libc_ifunc_impl_list to initialize
24626         func_list if TEST_IFUNC and TEST_NAME are defined.
24628         * string/Makefile (strop-tests): Add bcopy and bzero.
24629         * string/test-bcopy.c: New file.
24630         * string/test-bzero.c: Likewise.
24631         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24632         defined.
24633         * string/test-memset.c: Support bzero test if TEST_BZERO is
24634         defined.
24635         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24636         __libc_memmove.
24637         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24638         __libc_memset.
24639         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24640         of memset.
24642 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24644         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24645         * configure: Regenerated.
24647         * Makeconfig (+link-static-before-libc): Don't include
24648         $(link-static-libc).
24650         * libio/libio.h (_IO_pos_t): Remove.
24652 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24654         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24655         McGrath.
24657 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24659         * crypt/crypt-entry.c: Include fips-private.h.
24660         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24661         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24662         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24663         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24665 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24667         * crypt/crypt-private.h: Include stdbool.h.
24668         (_ufc_setup_salt_r): Return bool.
24669         * crypt/crypt-entry.c: Include errno.h.
24670         (__crypt_r): Return NULL with EINVAL for bad salt.
24671         * crypt/crypt_util.c (bad_for_salt): New.
24672         (_ufc_setup_salt_r): Check that salt is long enough and within
24673         the specified alphabet.
24674         * crypt/badsalttest.c: New file.
24675         * crypt/Makefile (tests): Add it.
24676         ($(objpfx)badsalttest): New.
24678 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24680         * NEWS: Add entry for BZ #14602.
24682 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24684         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24685         type-generic.
24686         * math/libm-test.inc: Update comment listing what functions and
24687         macros are tested.
24688         (isgreater_test): New function.
24689         (isgreaterequal_test): Likewise.
24690         (isless_test): Likewise.
24691         (islessequal_test): Likewise.
24692         (islessgreater_test): Likewise.
24693         (isunordered_test): Likewise.
24694         (main): Call the new functions.
24696 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24698         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24699         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24700         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24701         * sysdeps/i386/configure: Regenerated.
24702         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24703         * sysdeps/mach/configure: Regenerated.
24704         * sysdeps/mach/hurd/configure: Regenerated.
24705         * sysdeps/powerpc/configure: Regenerated.
24706         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24707         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24708         * sysdeps/s390/s390-32/configure: Regenerated.
24709         * sysdeps/s390/s390-64/configure: Regenerated.
24710         * sysdeps/sh/configure: Regenerated.
24711         * sysdeps/sparc/configure: Regenerated.
24712         * sysdeps/unix/sysv/linux/configure: Regenerated.
24713         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24714         * sysdeps/x86_64/configure: Regenerated.
24716         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24717         defined.  Don't check if MAP is NULL.
24719 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24721         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24722         (_G_stat64): Likewise.
24723         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24724         (_G_stat64): Likewise.
24725         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24726         instead of struct _G_stat64.
24727         * libio/fileops.c (mmap_remap_check): Likewise.
24728         (decide_maybe_mmap): Likewise.
24729         (_IO_new_file_seekoff): Likewise.
24730         (_IO_file_stat): Likewise.
24731         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24732         _G_off64_t.
24733         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24734         instead of struct _G_stat64.
24735         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24737 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24739         [BZ #14602]
24740         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24741         Replace with ...
24742         (CHECK_EOL): New macro.
24743         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24744         CHECK_EOL.
24745         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24746         Replace with CHECK_EOL.
24747         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24748         Replace with CHECK_EOL.
24750 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24752         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24753         type-generic.
24754         * math/libm-test.inc: Update comment listing what functions and
24755         macros are tested.
24756         (finite_test): New function.
24757         (isinf_test): Likewise.
24758         (isnan_test): Likewise.
24759         (fpclassify_test): Test subnormal input.
24760         (isfinite_test): Likewise.
24761         (isnormal_test): Likewise.
24762         (main): Call the new functions.
24764 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24766         [BZ #14660]
24767         * Makerules (%.dynsym): Force C locale when running
24768         $(OBJDUMP) --dynamic-syms.
24770 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24772         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24773         <stdint.h>.
24775 2012-10-06  David S. Miller  <davem@davemloft.net>
24777         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24778         upper 32-bits of the length value in %o2 since we use branch-on-register
24779         tests which consider the entire 64-bit register.
24781 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24783         * string/test-strstr.c (check2): Add a test for page boundary.
24785 2012-10-05  David S. Miller  <davem@davemloft.net>
24787         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24788         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24789         file.
24790         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24791         sysdep_routines.
24792         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24793         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24794         and bzero when HWCAP_SPARC_CRYPTO is present.
24796 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24798         [BZ #14602]
24799         * string/test-strstr.c (check2): New function.
24800         (test_main): Call check2.
24802         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24803         and bug-strchr1.
24804         * string/bug-strcasestr1.c (do_test): Moved to ...
24805         * string/test-strcasestr.c (check1): Here.  New function.
24806         (do_one_test): Break out result checking code into ...
24807         (check_result): This.  New function.
24808         (do_one_test): Call check_result.
24809         (test_main): Call check1.
24810         * string/bug-strchr1.c (do_test): Moved to ...
24811         * string/test-strchr.c (check1): Here.  New function.
24812         (do_one_test): Break out result checking code into ...
24813         (check_result): This.  New function.
24814         (do_one_test): Call check_result.
24815         (test_main): Call check1.
24816         * string/bug-strstr1.c (main): Moved to ...
24817         * string/test-strstr.c (check1): Here.  New function.
24818         (do_one_test): Break out result checking code into ...
24819         (check_result): This.  New function.
24820         (do_one_test): Call check_result.
24821         (test_main): Call check1.
24822         * string/bug-strcasestr1.c: Removed.
24823         * string/bug-strchr1.c: Likewise.
24824         * string/bug-strstr1.c: Likewise.
24826         * elf/Makefile (dl-routines): Add hwcaps.
24827         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24828         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24829         (_dl_important_hwcaps): Moved to ...
24830         * elf/dl-hwcaps.c: Here.  New file.
24831         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24833         [BZ #14557]
24834         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24835         if IS_IN_rtld isn't defined.
24837         * elf/dl-support.c (_dl_sysinfo_map): New.
24838         Include "get-dynamic-info.h" and "setup-vdso.h".
24839         (_dl_non_dynamic_init): Call setup_vdso.
24840         * elf/dynamic-link.h: Don't include <assert.h>.
24841         (elf_get_dynamic_info): Moved to ...
24842         * elf/get-dynamic-info.h: Here.  New file.
24843         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24844         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24845         * elf/setup-vdso.h: Here.  New file.
24846         * elf/rtld.c: Include "setup-vdso.h".
24847         (dl_main): Call setup_vdso.
24849 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24851         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24852         creal in comment listing functions tested.  List finite, isinf,
24853         isnan, isless, islessequal, isgreater, isgreaterequal,
24854         islessgreater, isunordered, lgamma_r and pow10 as functions and
24855         macros not tested.  Mention which functions not tested are aliases
24856         for other functions.  Fix typo.  Note that signs of NaNs are not
24857         tested.
24859         * scripts/config.guess: Update from config.git.
24860         * scripts/config.sub: Likewise.
24862 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24864         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24865         * misc/madvise.c (madvise): Renamed to __madvise.
24866         Make madvise a weak alias.
24867         * include/sys/mman.h: Declare __madvise.
24868         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24869         * sysdeps/unix/syscalls.list
24870         (madvise): Make __madvise the strong name, and madvise a weak alias.
24871         * sysdeps/unix/sysv/linux/syscalls.list
24872         (madvise, mmap): Remove redundant entries.
24873         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
24874         * malloc/malloc.c (mtrim): Likewise.
24875         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
24877 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24879         * sysdeps/mach/hurd/dl-cache.c: File removed.
24880         * config.h.in (USE_LDCONFIG): New #undef.
24881         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
24882         * configure: Regenerated.
24883         * elf/Makefile (dl-routines): Add dl-cache only under
24884         [$(use-ldconfig) = yes].
24885         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
24886         cache on [USE_LDCONFIG].
24887         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
24888         [USE_LDCONFIG].
24889         * elf/rtld.c (dl_main): Likewise.
24891 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
24893         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
24894         _SC_LEVEL4_CACHE_LINESIZE.
24896 2012-10-03  Roland McGrath  <roland@hack.frob.com>
24898         * sysdeps/unix/bsd/confstr.h: File removed.
24900 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
24902         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
24903         sys/sdt-config.h.
24905 2012-10-02  Roland McGrath  <roland@hack.frob.com>
24907         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
24908         Make 'mapoff' field ElfW(Off) rather than off_t.
24910 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
24912         * nscd/Makefile: Remove nscd-cflags and all its users.
24913         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
24914         (CFLAGS-nonlib): Add compiler flags for nscd modules.
24916         [BZ #10631]
24917         * malloc.c (malloc_printerr): Clarify error message.
24919 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
24921         [BZ #14648]
24922         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
24923         Set bit_FMA_Usable if FMA is supported.
24924         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
24925         macro.
24926         (bit_FMA4_Usable): Updated.
24927         (index_FMA_Usable): New macro.
24928         (CPUID_FMA): Likewise
24929         (HAS_FMA): Defined with bit_FMA_Usable.
24931 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24933         * bits/types.h (__swblk_t): Type removed.
24934         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
24935         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
24936         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
24937         (__SWBLK_T_TYPE): Likewise.
24938         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
24939         (__SWBLK_T_TYPE): Likewise.
24940         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
24941         (__SWBLK_T_TYPE): Likewise.
24942         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
24943         (__SWBLK_T_TYPE): Likewise.
24945 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
24946             Honza Horak <hhorak@redhat.com>
24948         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
24949         (xdr_mapname): Use YPMAXMAP as maxsize.
24950         (xdr_peername): Use YPMAXPEER as maxsize.
24951         (xdr_keydat): Use YPAXRECORD as maxsize.
24952         (xdr_valdat): Use YPMAXRECORD as maxsize.
24954 2012-10-01  Roland McGrath  <roland@hack.frob.com>
24956         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
24958         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
24959         * csu/init-first.c: ... here.
24960         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
24961         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
24962         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
24963         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
24964         * sysdeps/i386/init-first.c: File removed.
24965         * sysdeps/sh/init-first.c: File removed.
24967 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
24969         [BZ #14645]
24970         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
24971         if x * y might underflow to zero and z is zero.
24972         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24973         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24974         * math/libm-test.inc (min_subnorm_value): New variable.
24975         (fma_test): Add more tests.
24976         (fma_test_towardzero): Likewise.
24977         (fma_test_downward): Likewise
24978         (fma_test_upward): Likewise.
24979         (initialize): Set min_subnorm_value.
24981 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
24983         [BZ #14638]
24984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
24985         0 + 0.
24986         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
24987         mode for addition resulting in exact zero.
24988         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
24989         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
24990         exact 0 + 0.
24991         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
24992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24993         * math/libm-test.inc (fma_test): Add more tests.
24994         (fma_test_towardzero): New function.
24995         (fma_test_downward): Likewise.
24996         (fma_test_upward): Likewise.
24997         (main): Call the new functions.
24999 2012-09-28  David S. Miller  <davem@davemloft.net>
25001         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25003 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25005         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25006         instead of SIGALRM.
25008         * sysdeps/gnu/_G_config.h: Moved to ...
25009         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25010         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25011         * sysdeps/generic/_G_config.h: ... here.
25013         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25015         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25017         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25018         Conditionalize target on [libnss_test1.so-version].
25020         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25022         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25023         (elfobjdir): Move out of conditionals.
25025         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25026         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25027         (__nss_lookup_function): Conditionalize label remove_from_tree on
25028         [!DO_STATIC_NSS || SHARED], matching its only use.
25030 2012-09-28  David S. Miller  <davem@davemloft.net>
25032         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25033         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25034         file.
25035         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25036         sysdep_routines.
25037         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25038         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25039         when HWCAP_SPARC_CRYPTO is present.
25041 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25043         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25045 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25047         [BZ #6530]
25048         * stdio-common/vfprintf.c (process_string_arg): Revert
25049         2000-07-22 change.
25051 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25053         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25054         for testcase.
25055         * stdio-common/tst-sprintf.c: Include <locale.h>
25056         (main): Test sprintf's handling of incomplete multibyte
25057         characters.
25059 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25061         * elf/dl-runtime.c (VERSYMIDX): Removed.
25062         * elf/dl-version.c (VERSYMIDX): Likewise.
25063         * elf/do-rel.h (VERSYMIDX): Likewise.
25064         (VALIDX): Likewise.
25065         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25066         * elf/rtld.c (VALIDX): Likewise.
25067         (ADDRIDX): Likewise.
25068         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25069         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25070         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25071         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25072         (VALIDX): Likewise.
25073         (ADDRIDX): Likewise.
25075 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25077         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25079 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25081         [BZ #11438]
25082         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25083         to global scope.
25084         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25085         addresses are in the same scope as 192.0.2/24.
25086         * posix/gai.conf: Document new scope table defaults.
25088 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25090         [BZ #5298]
25091         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25092         for ftell.  Compute offsets from write pointers instead.
25093         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25095 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25097         [BZ #14543]
25098         * libio/Makefile (tests): New test case tst-fseek.
25099         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25100         combination works in wide mode.
25101         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25102         state when the external buffer state changes.
25104 2012-09-27  David S. Miller  <davem@davemloft.net>
25106         [BZ #14376]
25107         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25108         pass reloc->r_addend in as the 'high' argument to
25109         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25111         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25113 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25115         * rt/tst-aio2.c: Include <pthread.h>.
25116         * rt/tst-aio3.c: Likewise.
25118 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25120         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25122 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25124         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25125         contents on [SHARED].
25127 2012-09-26  Marek Polacek  <polacek@redhat.com>
25129         [BZ #14530]
25130         [BZ #13741]
25131         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25132         for C++ and GCC <4.3 as well as for non GCC compilers.
25134 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25136         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25138 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25140         * Makefile.in (all, install): Declare with .PHONY.
25141         Reported by Michael Hope <michael.hope@linaro.org>.
25143 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25145         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25146         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25147         system header.
25148         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25149         Likewise.
25150         (sydep_routines): Add the new and the internal functions.
25151         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25152         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25153         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25154         (GLIBC_2.17): Add the new function.
25155         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25156         (GLIBC_2.17): Likewise.
25157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25158         (GLIBC_2.17): Likewise.
25159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25160         (GLIBC_2.17): Likewise.
25161         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25163 2012-09-25  Alan Modra  <amodra@gmail.com>
25165         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25166         Add release barrier before setting once_control to say
25167         initialisation is done.  Add hints on lwarx.  Use macro in
25168         place of isync.
25169         (clear_once_control): Add release barrier.
25171 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25173         [BZ #13629]
25174         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25175         specially.
25176         * math/s_clog10.c (__clog10): Likewise.
25177         * math/s_clog10f.c (__clog10f): Likewise.
25178         * math/s_clog10l.c (__clog10l): Likewise.
25179         * math/s_clogf.c (__clogf): Likewise.
25180         * math/s_clogl.c (__clogl): Likewise.
25181         * math/Makefile (libm-calls): Add x2y2m1.
25182         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25183         (__x2y2m1): Likewise.
25184         (__x2y2m1l): Likewise.
25185         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25186         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25187         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25188         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25189         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25190         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25191         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25192         * sysdeps/i386/fpu/libm-test-ulps: Update.
25193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25195         [BZ #14621]
25196         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25197         int as type of variable DEPTH.
25198         (glob): Use size_t instead of int as type of variables NEWCOUNT
25199         and OLD_PATHC.
25201 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25203         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25204         Add s_sincosf-sse2.
25205         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25206         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25207         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25208         macros for using routine as __sincosf_ia32.
25209         Use macro for function declaration and weak_alias.
25210         * sysdeps/i386/fpu/libm-test-ulps: Update.
25212         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25213         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25215         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25216         subnormal argument.
25217         * math/s_cexpf.c (__cexpf): Likewise.
25218         * math/s_csinf.c (__csinf): Likewise.
25219         * math/s_csinhf.c (__csinhf): Likewise.
25220         * math/s_ctanf.c (__ctanf): Likewise.
25221         * math/s_ctanhf.c (__ctanhf): Likewise.
25222         * math/s_ccosh.c (__ccoshf): Likewise.
25223         * math/s_cexp.c (__cexpl): Likewise.
25224         * math/s_csin.c (__csin): Likewise.
25225         * math/s_csinh.c (__csinh): Likewise.
25226         * math/s_ctan.c (__ctan): Likewise.
25227         * math/s_ctanh.c (ctanh): Likewise.
25228         * math/s_ccoshl.c (__ccoshl): Likewise.
25229         * math/s_cexpl.c (__cexpl): Likewise.
25230         * math/s_csinl.c (__csinl): Likewise.
25231         * math/s_csinhl.c (__csinhl): Likewise.
25232         * math/s_ctanl.c (__ctanl): Likewise.
25233         * math/s_ctanhl.c (__ctanhl): Likewise.
25235 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25237         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25238         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25239         (_IO_off_t): Define to __off_t, not _G_off_t.
25240         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25241         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25242         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25243         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25244         type of __dummy and __dummy2 fields.
25245         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25246         (_G_ssize_t): Likewise.
25247         (_G_off_t): Likewise.
25248         (_G_pid_t): Likewise.
25249         (_G_uid_t): Likewise.
25250         (_G_wchar_t): Likewise.
25251         (_G_wint_t): Likewise.
25252         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25253         (_G_ssize_t): Likewise.
25254         (_G_off_t): Likewise.
25255         (_G_pid_t): Likewise.
25256         (_G_uid_t): Likewise.
25257         (_G_wchar_t): Likewise.
25258         (_G_wint_t): Likewise.
25259         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25260         (_G_ssize_t): Likewise.
25261         (_G_off_t): Likewise.
25262         (_G_pid_t): Likewise.
25263         (_G_uid_t): Likewise.
25264         (_G_wchar_t): Likewise.
25265         (_G_wint_t): Likewise.
25267 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25269         * malloc/arena.c: Include malloc-sysdep.h.
25270         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25271         is sufficient to shrink the heap or an unmap is needed.
25272         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25273         new function check_may_shrink_heap.
25274         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25275         new function check_may_shrink_heap.
25277 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25279         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25280         comments.
25282 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25284         * catgets/test-gencat.sh: Add "set -e".
25285         * elf/tst-pathopt.sh: Likewise.
25286         * grp/tst_fgetgrent.sh: Likewise.
25287         * iconvdata/run-iconv-test.sh: Likewise.
25288         * intl/tst-gettext.sh: Likewise.
25289         * intl/tst-gettext2.sh: Likewise.
25290         * intl/tst-gettext4.sh: Likewise.
25291         * intl/tst-gettext6.sh: Likewise.
25292         * intl/tst-translit.sh: Likewise.
25293         * io/ftwtest-sh: Likewise.
25294         * libio/test-freopen.sh: Likewise.
25295         * malloc/tst-mtrace.sh: Likewise.
25296         * posix/globtest.sh: Likewise.
25297         * posix/tst-getconf.sh: Likewise.
25298         * posix/wordexp-tst.sh: Likewise.
25299         * stdio-common/tst-printf.sh: Likewise.
25300         * stdio-common/tst-unbputc.sh: Likewise.
25301         * stdlib/tst-fmtmsg.sh: Likewise.
25302         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25303         * catgets/Makefile: Do not specify -e option when running
25304         testsuite shell scripts.
25305         * elf/Makefile: Likewise.
25306         * grp/Makefile: Likewise.
25307         * iconvdata/Makefile: Likewise.
25308         * intl/Makefile: Likewise.
25309         * io/Makefile: Likewise.
25310         * libio/Makefile: Likewise.
25311         * malloc/Makefile: Likewise.
25312         * posix/Makefile: Likewise.
25313         * stdio-common/Makefile: Likewise.
25314         * stdlib/Makefile: Likewise.
25315         * sysdeps/x86_64/Makefile: Likewise.
25317         * io/ftwtest-sh: Add copyright header.
25318         * posix/globtest.sh: Likewise.
25319         * posix/tst-getconf.sh: Likewise.
25320         * posix/wordexp-tst.sh: Likewise.
25321         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25323 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25325         [BZ #13679]
25326         * Makeconfig (+link): Defined as $(+link-static) if
25327         $(build-shared) isn't yes.
25328         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25329         isn't yes.
25330         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25332         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25334         [BZ #14562]
25335         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25336         new chunk size with MALLOC_ALIGN_MASK.
25338 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25340         [BZ #5044]
25341         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25342         <rounding-mode.h>.
25343         (__printf_fphex): Determine rounding using get_rounding_mode and
25344         round_away.
25345         * stdio-common/tst-printf-round.c (struct hex_test): New
25346         structure.
25347         (hex_tests): New variable.
25348         (test_hex_in_one_mode): New function.
25349         (do_test): Also run tests for hex float output.
25351 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25353         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25354         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25355         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25356         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25357         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25358         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25359         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25360         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25362 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25364         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25365         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25366         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25367         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25369 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25371         [BZ #14579]
25372         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25373         mode only.
25374         * elf/tst-rtld-load-self.sh: New test.
25375         * elf/Makefile: Run it.
25377 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25379         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25380         (tst-writev-ENV): Remove.
25381         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25383 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25385         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25387 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25389         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25390         unconditional.
25391         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25392         Likewise.
25393         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25394         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25395         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25396         Likewise.
25398 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25400         [BZ #14587]
25401         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25402         * config.make.in (have-cpp-asm-debuginfo): Removed.
25403         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25404         * configure: Regenerated.
25406 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25408         [BZ #5044]
25409         * stdio-common/printf_fp.c: Include <stdbool.h> and
25410         <rounding-mode.h>.
25411         (___printf_fp): Determine rounding using get_rounding_mode and
25412         round_away.
25413         * stdio-common/tst-printf-round.c: New file.
25414         * stdio-common/Makefile (tests): Add tst-printf-round.
25415         (link-libm): New variable.
25416         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25418 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25420         [BZ #14576]
25421         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25422         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25423         Likewise.
25424         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25425         Likewise.
25427 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25429         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25430         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25431         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25432         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25434 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25436         [BZ #14518]
25437         * include/rounding-mode.h: New file.
25438         * sysdeps/generic/get-rounding-mode.h: Likewise.
25439         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25440         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25441         (MAX_VALUE): New macro.
25442         (MIN_VALUE): Likewise.
25443         (overflow_value): New function.
25444         (underflow_value): Likewise.
25445         (round_and_return): Use overflow_value and underflow_value to
25446         determine return values in overflow and underflow cases.  Use
25447         round_away to determine rounding depending on rounding mode.
25448         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25449         determine return values in overflow and underflow cases.
25450         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25451         (struct test_results): New structure.
25452         (struct test): Use struct test_results to store expected results
25453         for all rounding modes.
25454         (TEST): Include expected results for all rounding modes.
25455         (test_in_one_mode): New function.
25456         (do_test): Use test_in_one_mode to compute and check results.
25457         Check results for all rounding modes.
25458         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25459         $(link-libm).
25461 2012-12-09  Allan McRae  <allan@archlinux.org>
25463         * sysdeps/i386/fpu/libm-test-ulps: Update
25465 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25467         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25468         (_G_int32_t): Likewise.
25469         (_G_uint16_t): Likewise.
25470         (_G_uint32_t): Likewise.
25471         (_G_HAVE_BOOL): Likewise.
25472         (_G_HAVE_ATEXIT): Likewise.
25473         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25474         (_G_HAVE_IO_FILE_OPEN): Likewise.
25475         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25476         (_G_int32_t): Likewise.
25477         (_G_uint16_t): Likewise.
25478         (_G_uint32_t): Likewise.
25479         (_G_HAVE_BOOL): Likewise.
25480         (_G_HAVE_ATEXIT): Likewise.
25481         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25482         (_G_HAVE_IO_FILE_OPEN): Likewise.
25483         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25484         (_G_int32_t): Likewise.
25485         (_G_uint16_t): Likewise.
25486         (_G_uint32_t): Likewise.
25487         (_G_HAVE_BOOL): Likewise.
25488         (_G_HAVE_ATEXIT): Likewise.
25489         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25490         (_G_HAVE_IO_FILE_OPEN): Likewise.
25492 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25494         * csu/libc-tls.c: Update copyright years.
25496 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25498         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25499         [!_G_USING_THUNKS]: Remove conditional code.
25500         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25501         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25503         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25504         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25505         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25506         (_G_VTABLE_LABEL_PREFIX): Likewise.
25507         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25508         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25509         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25510         (_G_VTABLE_LABEL_PREFIX): Likewise.
25511         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25512         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25513         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25514         (_G_VTABLE_LABEL_PREFIX): Likewise.
25515         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25517 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25519         * libio/Makefile: Include ../Makeconfig before tests.
25520         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25521         only if $(build-shared) is yes.
25523         * iconv/gconv_db.c: Update copyright years.
25525 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25527         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25528         unwind info if defined PIC. Fix special cases description.
25529         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25531         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25532         DP_HI_MASK entry.
25533         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25535 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25537         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25539         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25540         is NULL.
25542         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25543         (LDLIBS-tst-chk4): This.
25544         (LDFLAGS-tst-chk5): Renamed to ...
25545         (LDLIBS-tst-chk5): This.
25546         (LDFLAGS-tst-chk6): Renamed to ...
25547         (LDLIBS-tst-chk6): This.
25548         (LDFLAGS-tst-lfschk4): Renamed to ...
25549         (LDLIBS-tst-lfschk4): This.
25550         (LDFLAGS-tst-lfschk5): Renamed to ...
25551         (LDLIBS-tst-lfschk5): This.
25552         (LDFLAGS-tst-lfschk6): Renamed to ...
25553         (LDLIBS-tst-lfschk6): This.
25555         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25556         on $(common-objpfx)soversions.mk.
25558 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25560         [BZ #10014]
25561         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25562         example host name.
25564 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25566         * malloc/arena.c (arena_get_retry): New function that gets
25567         another arena for the caller to try its request on.
25568         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25569         current arena cannot fulfill the request.
25570         (__libc_memalign): Likewise.
25571         (__libc_memalign): Likewise.
25572         (__libc_pvalloc): Likewise.
25573         (__libc_calloc): Likewise.
25575 2012-09-05  John Tobey  <john.tobey@gmail.com>
25577         [BZ #13542]
25578         * manual/arith.texi (Operations on Complex): Fix description
25579         of carg branch cut.
25581 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25583         [BZ #10014]
25584         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25585         host name.
25587         [BZ #10038]
25588         * manual/memory.texi (Memory): Make order of menu items match
25589         order of sections.
25591 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25593         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25594         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25595         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25597 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25599         * csu/libc-tls.c (static_dtv): Renamed to ...
25600         (_dl_static_dtv): This.  Make it global.
25601         (_dl_initial_dtv): Removed.
25602         (__libc_setup_tls): Updated.
25603         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25604         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25605         DL_INITIAL_DTV.
25607 2012-09-06  Petr Machata  <pmachata@redhat.com>
25609         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25610         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25611         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25612         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25614 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25616         [BZ #14545]
25617         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25618         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25619         freeing dtv[-1].
25621 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25623         [BZ #14544]
25624         * Makeconfig (link-static-before-libc): Replace $(+prector)
25625         with $(+prectorT).
25626         (link-static-after-libc): Replace $(+postctor) with
25627         $(+postctorT).
25628         (link-bounded): Replace $(+prector)/$(+postctor) with
25629         $(+prectorT)/$(+postctorT).
25630         (+prectorT): New macro.
25631         (+postctorT): Likewise.
25633 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25635         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25636         (round_str): Handle values above the maximum for IBM long double
25637         as inexact.
25638         * stdlib/tst-strtod-round.c (tests): Regenerated.
25640 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25642         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25643         assembler flag.
25644         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25645         zarch_nohighgprs around the zarch optimized routines.
25646         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25647         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25648         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25649         for zarch.
25651 2012-09-05  David S. Miller  <davem@davemloft.net>
25653         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25655         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25656         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25657         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25658         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25659         entries.
25661 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25663         * malloc/arena.c: Fold copyright years.
25664         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25666 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25668         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25670 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25672         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25674 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25676         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25677         change internal state upon failure.
25679 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25681         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25682         * malloc/memusage.c (mmap): Likewise.
25683         (mmap64, mremap): Likewise.  Adjust name in comment.
25685 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25687         * libio/fileops.c: Fix typos in comments.
25688         * libio/oldfileops.c: Likewise.
25689         * libio/wfileops.c: Likewise.
25691 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25693         [BZ #1349]
25694         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25695         (tst-malloc-usable-ENV): Set environment for test case.
25696         * malloc/hooks.c (malloc_check_get_size): New function to get
25697         requested size.
25698         * malloc/malloc.c (musable): Use malloc_check_get_size.
25699         * malloc/tst-malloc-usable.c: New test case.
25701 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25703         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25705 2012-09-05  Allan McRae  <allan@archlinux.org>
25707         [BZ #13966]
25708         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25709         determine header location.
25710         * configure: Regenerated.
25712 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25714         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25715         float format.
25716         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25717         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25718         format.
25719         (test): Regenerate.
25721 2012-09-04  David S. Miller  <davem@davemloft.net>
25723         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25724         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25725         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25727 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25729         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25730         failures.
25732         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25734 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25736         [BZ #9914]
25737         * libio/iogetdelim.c: Include <limits.h>.
25738         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25739         + len + 1 would overflow.
25741 2012-09-03  Andreas Jaeger  <aj@suse.de>
25743         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25744         * sysdeps/i386/fpu/libm-test-ulps: Update.
25746 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25748         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25749         Add s_sinf-sse2, s_conf-sse2.
25751         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25752         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25753         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25754         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25756         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25757         for using routine as __sinf_ia32.
25758         Use macro for function declaration and weak_alias.
25759         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25760         for using routine as __cosf_ia32.
25761         Use macro for function declaration and weak_alias.
25763         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25764         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25766         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25767         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25768         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25770         * math/libm-test.inc (cos_test): Add more test cases.
25771         (sin_test): Likewise.
25772         (sincos_test): Likewise.
25774 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25776         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25777         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25778         hidden.
25779         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25781 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25783         [BZ #14538]
25784         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25785         first element of the GOT.
25786         (elf_machine_load_address): Return the difference between
25787         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25789 2012-09-01  Allan McRae  <allan@archlinux.org>
25791         [BZ #13412]
25792         * configure.in (AWK): Require gawk version 3.0 or later.
25793         * configure: Regenerated.
25795 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25797         * sysdeps/unix/sysv/linux/kernel-features.h
25798         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25799         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25800         [__NR_clock_getres]: Make code unconditional.
25801         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25802         (clock_getcpuclockid): Remove code left unreachable by removal of
25803         conditionals.
25804         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25805         code unconditional.
25806         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25807         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25808         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25809         Make code unconditional.
25810         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25811         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25812         * sysdeps/unix/sysv/linux/clock_settime.c
25813         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25814         conditional code.
25815         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25816         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25818 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25820         [BZ #14476]
25821         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25822         scripts/test-installation.pl.
25824         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25825         and $ld_so_version if it is set.
25827 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25829         [BZ #14516]
25830         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25831         failure if reading from procfs failed.
25832         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25834 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25836         * sysdeps/unix/sysv/linux/kernel-features.h
25837         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25838         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25839         Remove conditional code.
25840         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25841         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25842         Remove conditional code.
25843         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25844         * sysdeps/unix/sysv/linux/i386/fxstat.c
25845         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25846         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25847         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25848         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25849         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25850         * sysdeps/unix/sysv/linux/i386/lxstat.c
25851         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25852         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25853         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25854         Remove conditional code.
25855         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25856         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25857         Remove conditional code.
25858         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25859         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25860         <kernel-features.h>.
25861         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25862         Remove.
25863         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25864         Remove conditional code.
25865         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25866         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25867         Remove conditional.
25869 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25871         [BZ #5400]
25872         * NEWS: Add fixed bug number.
25874 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25876         [BZ #14519]
25877         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
25878         underflowing exponent in case of negative sign.
25879         * stdlib/tst-strtod-round-data: Add more tests.
25880         * stdlib/tst-strtod-round.c (tests): Regenerated.
25882         [BZ #3479]
25883         * stdlib/strtod_l.c (NDIG): Remove.
25884         (HEXNDIG): Likewise.
25885         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
25886         smallest representable value.
25887         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
25888         lie within an exact representation of 1/2 ulp of the result.
25889         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
25890         unconditionally.
25891         (TENS_P9_IDX): Define unconditionally.
25892         (TENS_P9_SIZE): Likewise.
25893         (TENS_P10_IDX): Likewise.
25894         (TENS_P10_SIZE): Likewise.
25895         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
25896         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
25897         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
25898         entries for 10^2^13 and 10^2^14.
25899         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
25900         (TENS_P13_IDX): Define.
25901         (TENS_P13_SIZE): Likewise.
25902         (TENS_P14_IDX): Likewise.
25903         (TENS_P14_SIZE): Likewise.
25904         (_fpioconst_pow10): Change array size to
25905         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
25906         unconditional.
25907         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
25908         1024]: Add entries for 10^2^13 and 10^2^14.
25909         [LAST_POW10 > _LAST_POW10]: Remove #error.
25910         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
25911         (_fpioconst_pow10): Change array size to
25912         FPIOCONST_POW10_ARRAY_SIZE.
25913         * stdlib/gen-fpioconst.c: New file.
25914         * stdlib/gen-tst-strtod-round.c: Likewise.
25915         * stdlib/tst-strtod-round-data: Likewise.
25916         * stdlib/tst-strtod-round.c: Likewise.
25917         * stdlib/Makefile (tests): Add tst-strtod-round.
25919         [BZ #14459]
25920         * stdlib/strtod_l.c: Include <stdint.h>.
25921         (NDEBUG): Do not define.
25922         (round_and_return): Change EXPONENT parameter to type intmax_t.
25923         Rearrange calculations to avoid internal overflow possibilities.
25924         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
25925         Rearrange calculations to avoid internal overflow possibilities.
25926         Assert that number fits inside MPNSIZE limbs.
25927         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
25928         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
25929         calculations and add assertions to avoid internal overflow
25930         possibilities.  Add casts to avoid signed/unsigned operations.
25931         * stdlib/tst-strtod-overflow.c: New file.
25932         * stdlib/Makefile (tests): Add tst-strtod-overflow.
25934 2012-08-25  Marek Polacek  <polacek@redhat.com>
25936         * time/time.h: Fix some typos in comments.
25938 2012-08-23  Roland McGrath  <roland@hack.frob.com>
25940         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
25941         * posix/tst-rfc3484-2.c: Likewise.
25942         * posix/tst-rfc3484-3.c: Likewise.
25944 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
25946         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
25947         (EF_ARM_ABI_FLOAT_HARD): Likewise.
25949 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
25951         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
25952         #include of fxstatat64.c.
25954 2012-08-22  Roland McGrath  <roland@hack.frob.com>
25956         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
25957         * shadow/getspent_r.c: Likewise.
25958         * shadow/getspnam.c: Likewise.
25959         * shadow/getspnam_r.c: Likewise.
25960         * gshadow/getsgent.c: Likewise.
25961         * gshadow/getsgent_r.c: Likewise.
25962         * gshadow/getsgnam.c: Likewise.
25963         * gshadow/getsgnam_r.c: Likewise.
25964         * inet/getnetbyad.c: Likewise.
25965         * inet/getnetbyad_r.c: Likewise.
25966         * inet/getnetbynm.c: Likewise.
25967         * inet/getnetbynm_r.c: Likewise.
25968         * inet/getnetent.c: Likewise.
25969         * inet/getnetent_r.c: Likewise.
25970         * inet/getproto.c: Likewise.
25971         * inet/getproto_r.c: Likewise.
25972         * inet/getprtent.c: Likewise.
25973         * inet/getprtent_r.c: Likewise.
25974         * inet/getprtname.c: Likewise.
25975         * inet/getprtname_r.c: Likewise.
25976         * inet/getrpcbyname.c: Likewise.
25977         * inet/getrpcbyname_r.c: Likewise.
25978         * inet/getrpcbynumber.c: Likewise.
25979         * inet/getrpcbynumber_r.c: Likewise.
25980         * inet/getrpcent.c: Likewise.
25981         * inet/getrpcent_r.c: Likewise.
25982         * inet/getaliasent.c: Likewise.
25983         * inet/getaliasent_r.c: Likewise.
25984         * inet/getaliasname.c: Likewise.
25985         * inet/getaliasname_r.c: Likewise.
25986         * nscd/getgrgid_r.c: Likewise.
25987         * nscd/getgrnam_r.c: Likewise.
25988         * nscd/gethstbyad_r.c: Likewise.
25989         * nscd/gethstbynm3_r.c: Likewise.
25990         * nscd/getpwnam_r.c: Likewise.
25991         * nscd/getpwuid_r.c: Likewise.
25992         * nscd/getsrvbynm_r.c: Likewise.
25993         * nscd/getsrvbypt_r.c: Likewise.
25994         * nscd/gai.c: Likewise.
25996         * configure.in (build_nscd): New substituted variable, set
25997         by --disable-build-nscd and defaults to $use_nscd.
25998         * configure: Regenerated.
25999         * config.make.in (build-nscd): New substituted variable.
26000         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26001         Change conditional to require [$(build-nscd) = yes] as well.
26002         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26004         [BZ# 13696]
26005         * configure.in (use_nscd): New substituted variable, set by
26006         --disable-nscd.  If enabled, define USE_NSCD.
26007         * configure: Regenerated.
26008         * config.h.in: Add USE_NSCD.
26009         * config.make.in (use-nscd): New substituted variable.
26010         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26011         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26012         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26013         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26014         (CFLAGS-getgrnam_r.c): Likewise.
26015         (CFLAGS-initgroups.c): Likewise.
26016         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26017         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26018         Variables removed.
26019         * inet/getnetgrent_r.c
26020         (nscd_setnetgrent): New function, broken out of ...
26021         (setnetgrent): ... here.  Call it.
26022         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26023         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26024         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26025         * nscd/Makefile (routines, aux): Move definitions after include of
26026         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26027         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26028         Conditionalize on [USE_NSCD].
26029         (is_nscd, nscd_init_cb): Likewise.
26030         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26031         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26032         * nss/nss_db/db-init.c: Likewise.
26033         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26034         [USE_NSCD].
26035         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26036         (make_request): Use it.
26037         (cache_valid_p): New function.
26038         (__check_pf): Use it.
26039         * NEWS: Add item for --disable-nscd.
26041 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26043         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26044         to support sed >= 4.2.1-20-ga9bf076.
26045         * configure: Regenerated.
26047 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26049         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26050         Conditionalize whole body on [IREL].
26052 2012-08-22  Jeff Law <law@redhat.com>
26054         [BZ #14505]
26055         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26056         if the family is PF_UNSPEC.
26058 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26060         * Makerules (lib-version): Rename from V.
26061         (install-lib-nosubdir): Change V to lib-version.
26063 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26065         [BZ #14252]
26066         * powerpc32/power6/wcschr.c: New file.
26067         * powerpc32/power6/wcscpy.c: New file.
26068         * powerpc32/power6/wcsrchr.c: New file.
26069         * powerpc64/power6/wcschr.c: New file.
26070         * powerpc64/power6/wcscpy.c: New file.
26071         * powerpc64/power6/wcsrchr.c: New file.
26073 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26075         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26076         (two_way_short_needle): Use it.
26077         * string/strstr.c (AVAILABLE1_USES_J): Define.
26078         * string/strcasestr.c: Likewise.
26080         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26081         array references.
26082         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26084         [BZ #11607]
26085         * NEWS: Add an entry.
26086         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26087         define their defaults.
26088         (two_way_short_needle): Detect end-of-string on-the-fly.
26089         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26090         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26091         * string/bug-strcasestr1.c: New test.
26092         * string/Makefile: Run it.
26094 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26096         [BZ #11607]
26097         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26098         the first character.
26100 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26102         * csu/elf-init.c (__libc_csu_irel): Function removed.
26103         * csu/libc-start.c (apply_irel): New function.
26104         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26106 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26108         * sysdeps/unix/sysv/linux/kernel-features.h
26109         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26110         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26111         <kernel-features.h>.
26112         [__NR_fadvise64_64]: Make code unconditional.
26113         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26114         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26115         !__NR_fadvise64_64)]: Likewise.
26116         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26117         !__NR_fadvise64_64))]: Likewise.
26118         [__NR_fadvise64]: Make code unconditional.
26119         [!__NR_fadvise64]: Remove conditional code.
26120         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26121         <kernel-features.h>.
26122         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26123         unconditional.
26124         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26125         conditional code.
26126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26127         not include <kernel-features.h>.
26128         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26129         unconditional.
26130         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26131         conditional code.
26132         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26133         include <kernel-features.h>.
26134         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26135         unconditional.
26136         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26137         conditional code.
26139 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26141         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26142         slight instruction rearrangements per scrollpipe analysis.
26143         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26145 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26147         * manual/syslog.texi (syslog; vsyslog, closelog):
26148         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26149         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26151         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26152         DSOCAPS to match condition on defining it.
26154 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26156         * sysdeps/unix/sysv/linux/kernel-features.h
26157         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26158         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26159         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26160         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26161         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26162         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26163         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26164         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26165         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26166         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26168         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26169         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26171         * sysdeps/unix/sysv/linux/kernel-features.h
26172         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26173         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26174         unconditional.
26175         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26176         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26177         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26178         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26179         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26180         Make code unconditional.
26181         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26182         (__mmap64) [!__NR_mmap2]: Likewise.
26183         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26184         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26185         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26186         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26187         [__NR_mmap2]: Make code unconditional.
26188         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26189         (__mmap64) [!__NR_mmap2]: Likewise.
26191 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26193         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26195 2012-08-18  Andreas Jaeger  <aj@suse.de>
26197         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26199 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26201         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26202         * include/unistd.h (__have_sock_cloexec): Likewise.
26203         (__have_pipe2): Likewise.
26204         (__have_dup3): Likewise.
26206 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26208         [BZ #9685]
26209         * include/unistd.h (__have_pipe2): Change define into an extern int.
26210         (__have_dup3): Likewise.
26211         * socket/have_sock_cloexec.c: Include fcntl.h.
26212         (__have_pipe2): New variable.
26213         (__have_dup3): Likewise.
26215 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26217         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26219 2012-08-17  Marek Polacek  <polacek@redhat.com>
26221         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26222         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26224 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26226         * configure.in: Add AC_SUBST for sysheaders.
26227         * configure: Regenerated.
26228         * config.make.in (sysheaders): New substituted variable.
26230         * sysdeps/unix/mkfifo.c: Moved ...
26231         * sysdeps/posix/mkfifo.c: ... here.
26232         * sysdeps/unix/mkfifoat.c: Moved ...
26233         * sysdeps/posix/mkfifoat.c: ... here.
26235         * sysdeps/unix/utime.c: Moved ...
26236         * sysdeps/posix/utime.c: ... here.
26238         * sysdeps/unix/time.c: Moved ...
26239         * sysdeps/posix/time.c: ... here.
26240         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26241         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26243         * sysdeps/unix/nice.c: Moved ...
26244         * sysdeps/posix/nice.c: ... here.
26246         * sysdeps/unix/alarm.c: Moved ...
26247         * sysdeps/posix/alarm.c: ... here.
26249         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26251 2012-08-17  Jeff Law <law@redhat.com>
26253         * intl/Makefile (codeset_mo): New variable.
26254         ($(codeset_mo)): New target.
26255         (tst-codeset.out): Depend on that.  Remove explicit rule.
26256         (tst-gettext3.out, tst-gettext5.out): Likewise.
26257         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26258         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26259         * intl/tst-codeset.sh: Remove.
26260         * intl/tst-gettext3.sh: Likewise.
26261         * intl/tst-gettext5.sh: Likewise.
26263 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26265         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26266         * sysdeps/unix/syscalls.list: ... here.
26268         * sysdeps/posix/getaddrinfo.c
26269         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26270         (gaiconf_init, gaiconf_reload): Use them.
26271         [!_STATBUF_ST_NSEC]
26272         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26273         Define using time_t rather than struct timespec.
26275         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26276         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26277         Macros removed.
26278         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26279         [!NO_THREADS].
26280         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26281         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26282         Likewise.
26284         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26285         __libc_cleanup_push argument.
26287         * bits/param.h: New file.
26288         * misc/sys/param.h: New file.
26289         * include/sys/param.h: New file.
26290         * misc/Makefile (headers): Add bits/param.h.
26291         * sysdeps/generic/sys/param.h: File removed.
26292         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26293         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26294         * sysdeps/mach/hurd/bits/param.h: New file.
26295         * sysdeps/mach/hurd/sys/param.h: File removed.
26297         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26298         last change.
26300         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26301         [_IO_MTSAFE_IO].
26302         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26303         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26304         New macros.
26306         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26307         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26308         rather than -D_IO_MTSAFE_IO conditionally.
26309         * stdio-common/Makefile (CPPFLAGS): Likewise.
26310         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26311         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26312         Use $(libio-mtsafe).
26313         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26314         of -D_IO_MTSAFE_IO.
26315         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26316         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26317         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26318         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26319         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26320         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26321         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26322         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26323         (CFLAGS-fread_u_chk.c): Likewise.
26324         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26325         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26326         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26327         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26328         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26329         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26330         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26331         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26332         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26334         * libio/Makefile: Test [$(libc-reentrant) = yes]
26335         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26337         * Makeconfig
26338         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26339         * sysdeps/pthread/configure: File removed.
26340         * sysdeps/pthread/Makeconfig: New file.
26341         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26342         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26344 2012-08-16  Gary Benson  <gbenson@redhat.com>
26346         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26347         unmapping the first object in a namespace.
26349 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26351         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26352         (__internal_setnetgrent): ... this.  Add internal_function to
26353         definition.  Add libc_hidden_def.
26354         (setnetgrent): Update caller.
26355         (internal_endnetgrent): Renamed to ...
26356         (__internal_endnetgrent): ... this.  Add internal_function to
26357         definition.  Add libc_hidden_def.
26358         (endnetgrent): Update caller.
26359         (internal_getnetgrent_r): Renamed to ...
26360         (__internal_getnetgrent_r): ... this.  Add internal_function to
26361         definition.  Add libc_hidden_def.
26362         (__getnetgrent_r): Update caller.
26363         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26365 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26367         * stdlib/longlong.h: Update from GCC.
26369 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26371         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26372         on _QL, which is set by umul_ppmm but never used.
26373         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26374         variables, which are set by GMP macros but never used.
26375         * stdio-common/_itowa.c (_itowa): Likewise.
26376         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26377         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26379 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26381         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26382         struct La_sh_regs is not constant.
26383         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26384         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26385         and struct La_sparc64_regs are not constant.
26387 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26389         * sysdeps/unix/sysv/linux/kernel-features.h
26390         (__ASSUME_POSIX_TIMERS): Remove.
26391         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26392         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26393         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26394         Make code unconditional.
26395         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26396         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26397         Make code unconditional.
26398         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26399         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26400         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26401         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26402         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26403         Make code unconditional.
26404         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26405         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26406         (__libc_missing_posix_timers): Remove.
26408 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26410         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26411         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26413         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26415         * elf/dl-sym.c: Include <stdlib.h>.
26417         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26418         constants, which avoids warnings in 32-bit builds.
26420         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26421         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26423         * misc/lseek.c: File moved to ...
26424         * io/lseek.c: ... here.
26426         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26428         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26429         shifting LEN more than 31 bits at once.
26431 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26433         [BZ #14195]
26434         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26435         segmentation fault for a case of two empty input strings.
26436         * string/test-strncasecmp.c (check1): Renamed to...
26437         (bz12205): ...this.
26438         (bz14195): Add new testcase for two empty input strings and N > 0.
26439         (test_main): Call new testcase, adapt for renamed function.
26441 2012-08-15  Andreas Jaeger  <aj@suse.de>
26443         [BZ #14090]
26444         * crypt/md5test2.c: New test, based on test supplied by Serge
26445         Belyshev <belyshev@depni.sinp.msu.ru>.
26446         * crypt/Makefile (xtests): Add md5test-giant..
26447         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26449 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26451         [BZ #14090]
26452         * crypt/md5.c (md5_process_block): Don't assume the buffer
26453         length is less than 2**32.
26454         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26455         length is less than 2**64.
26457 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26459         * string/str-two-way.h: Include <sys/param.h>.
26460         (MAX): Macro removed.
26462         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26463         Move #define and #undef of memmove to just before and after
26464         including <string.h>.
26466         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26467         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26468         and after including <string.h>.  Move declarations of
26469         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26470         to before #include "string/memmove.c".
26472         * include/dirent.h: Declare __getdirentries.
26474         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26475         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26477 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26479         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26480         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26481         * sysdeps/i386/configure: Regenerated.
26482         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26483         STABS_CURRENT_FILE, and STABS_FUN.
26484         (END): Remove call to STABS_FUN_END.
26485         (STABS_CURRENT_FILE1): Delete.
26486         (STABS_CURRENT_FILE): Likewise.
26487         (STABS_FUN): Likewise.
26488         (STABS_FUN_END): Likewise.
26489         (STABS_FUN2): Likewise.
26490         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26491         * sysdeps/x86_64/configure: Regenerated.
26493 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26495         * elf/dl-open.c: Include <atomic.h>.
26496         * elf/dl-lookup.c: Likewise.
26498 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26500         * sysdeps/unix/sysv/linux/kernel-features.h
26501         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26502         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26503         unconditionally.
26504         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26505         unconditionally.
26506         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26507         condition on __ASSUME_CLONE_THREAD_FLAGS.
26509 2012-08-14  Andreas Jaeger  <aj@suse.de>
26511         * sysdeps/i386/fpu/libm-test-ulps: Update.
26513 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26515         * include/atomic.h (atomic_exchange_and_add): Split into ...
26516         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26517         New atomic macros.
26519 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26521         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26523 2012-08-13  Jeff Law <law@redhat.com>
26525         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26526         null byte in the output string.
26528 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26530         * sysdeps/unix/sysv/linux/kernel-features.h
26531         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26532         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26533         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26534         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26535         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26536         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26537         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26539 2012-08-09  Jeff Law <law@redhat.com>
26541         [BZ #13939]
26542         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26543         When avoid_arena is set, don't retry in the that arena.  Pick the
26544         next one, whatever it might be.
26545         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26546         (arena_lock): Pass in new parameter to arena_get2.
26547         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26548         arena_get2.
26549         (__libc_malloc): Unify retrying after main arena failure with
26550         __libc_memalign version.
26551         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26553 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26555         [BZ #14166]
26556         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26557         to __redirect_strstr.
26558         (__strstr_sse42): Use typeof __redirect_strstr.
26559         (__strstr_ia32): Likewise.
26560         (__libc_strstr): New prototype.
26561         (strstr): Renamed to ...
26562         (__libc_strstr): This.
26563         (strstr): New strong alias of __libc_strstr.
26564         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26565         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26566         __redirect_time.
26567         Include <time.h>.
26568         (__libc_time): New prototype.
26569         (time_ifunc): Replace time with __libc_time.
26570         (time): New strong alias and hidden definition of __libc_time.
26571         (__GI_time): Remove strong alias.
26572         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26573         Include <stddef.h>.
26574         (memmove): Redefined to __redirect_memmove.
26575         (__memmove_sse2): Use typeof __redirect_memmove.
26576         (__memmove_ssse3): Likewise.
26577         (__memmove_ssse3_back): Likewise.
26578         (__libc_memmove): New prototype.
26579         (memmove): Renamed to ...
26580         (__libc_memmove): This.
26581         (memmove): New strong alias of __libc_memmove.
26583 2012-08-08  Mark Salter  <msalter@redhat.com>
26585         * elf/elf.h
26586         (R_MN10300_TLS_GD): Define.
26587         (R_MN10300_TLS_LD): Likewise.
26588         (R_MN10300_TLS_LDO): Likewise.
26589         (R_MN10300_TLS_GOTIE): Likewise.
26590         (R_MN10300_TLS_IE): Likewise.
26591         (R_MN10300_TLS_LE): Likewise.
26592         (R_MN10300_TLS_DTPMOD): Likewise.
26593         (R_MN10300_TLS_DTPOFF): Likewise.
26594         (R_MN10300_TLS_TPOFF): Likewise.
26595         (R_MN10300_SYM_DIFF): Likewise.
26596         (R_MN10300_ALIGN): Likewise.
26597         (R_MN10300_NUM): Update.
26599 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26601         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26602         Remove.
26604 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26606         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26608         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26609         sysdeps/unix -> sysdeps/posix move.
26610         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26612 2012-08-07      Allan McRae     <allan@archlinux.org>
26614         [BZ #14303]
26615         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26616         (SUNOS_CPP): Likewise.
26617         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26618         not found.
26619         (open_input): Call CPP using execvp.
26621 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26623         * sysdeps/unix/sysv/linux/kernel-features.h
26624         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26625         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26626         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26627         (__ASSUME_WAITID_SYSCALL): Likewise.
26628         * sysdeps/unix/sysv/linux/dl-execstack.c
26629         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26630         code unconditional.
26631         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26632         conditional code.
26633         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26634         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26635         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26636         code.
26637         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26638         unconditional.
26639         [__ASSUME_WAITID_SYSCALL]: Likewise.
26640         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26642 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26644         * sysdeps/unix/closedir.c: Renamed to ...
26645         * sysdeps/posix/closedir.c: ... here.
26646         * sysdeps/unix/dirfd.c: Renamed to ...
26647         * sysdeps/posix/dirfd.c: ... here.
26648         * sysdeps/unix/dirstream.h: Renamed to ...
26649         * sysdeps/posix/dirstream.h: ... here.
26650         * sysdeps/unix/fdopendir.c: Renamed to ...
26651         * sysdeps/posix/fdopendir.c: ... here.
26652         * sysdeps/unix/opendir.c: Renamed to ...
26653         * sysdeps/posix/opendir.c: ... here.
26654         * sysdeps/unix/readdir.c: Renamed to ...
26655         * sysdeps/posix/readdir.c: ... here.
26656         * sysdeps/unix/readdir_r.c: Renamed to ...
26657         * sysdeps/posix/readdir_r.c: ... here.
26658         * sysdeps/unix/rewinddir.c: Renamed to ...
26659         * sysdeps/posix/rewinddir.c: ... here.
26660         * sysdeps/unix/seekdir.c: Renamed to ...
26661         * sysdeps/posix/seekdir.c: ... here.
26662         * sysdeps/unix/telldir.c: Renamed to ...
26663         * sysdeps/posix/telldir.c: ... here.
26664         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26665         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26666         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26667         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26669         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26670         * bits/fcntl.h: ... here.
26672         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26673         not 0.
26674         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26675         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26676         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26677         (struct flock): Move l_start, l_len to the beginning.
26678         Use __pid_t for l_pid.
26679         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26680         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26681         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26682         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26683         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26684         [__USE_LARGEFILE64] (struct flock64): New type.
26685         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26687         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26688         * bits/dirent.h: ... here.
26690         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26691         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26693 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26695         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26696         Change from 2.6.0 to 2.6.16.
26697         * sysdeps/unix/sysv/linux/configure: Regenerated.
26698         * sysdeps/unix/sysv/linux/kernel-features.h
26699         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26700         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26701         version.
26702         (__ASSUME_UTIMES): Likewise.
26703         (__ASSUME_CLONE_STOPPED): Remove.
26704         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26705         architectures, not kernel version.
26706         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26707         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26708         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26709         (__ASSUME_WAITID_SYSCALL): Likewise.
26710         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26711         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26712         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26713         refer to older versions.
26715 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26717         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26718         Define alphasort64 as an alias.
26719         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26720         Define versionsort64 as an alias.
26721         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26722         Define scandir64 as an alias.
26723         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26724         Define scandirat64 as an alias.
26725         * dirent/alphasort64.c (alphasort64):
26726         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26727         * dirent/versionsort64.c: Likewise.
26728         * dirent/scandir64.c: Likewise.
26729         * dirent/scandirat64.c: Likewise.
26730         * sysdeps/wordsize-64/alphasort.c: File removed.
26731         * sysdeps/wordsize-64/alphasort64.c: File removed.
26732         * sysdeps/wordsize-64/scandir.c: File removed.
26733         * sysdeps/wordsize-64/scandir64.c: File removed.
26734         * sysdeps/wordsize-64/scandirat.c: File removed.
26735         * sysdeps/wordsize-64/scandirat64.c: File removed.
26736         * sysdeps/wordsize-64/versionsort.c: File removed.
26737         * sysdeps/wordsize-64/versionsort64.c: File removed.
26738         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26739         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26740         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26741         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26742         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26743         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26744         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26745         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26747         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26748         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26749         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26750         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26751         [defined __arch64__ || defined __sparcv9]
26752         (__INO_T_MATCHES_INO64_T): New macro.
26753         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26754         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26755         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26756         * sysdeps/unix/sysv/linux/bits/dirent.h
26757         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26758         (_DIRENT_MATCHES_DIRENT64): New macro.
26760         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26761         Define lockf64 as an alias.
26762         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26763         Define fseeko64 as an alias.
26764         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26765         Define ftello64 as an alias.
26766         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26767         Define _IO_fgetpos64 and fgetpos64 as aliases.
26768         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26769         Define _IO_fsetpos64 and fsetpos64 as aliases.
26770         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26771         Conditionalize body on this.
26772         * libio/fseeko64.c: Likewise.
26773         * libio/ftello64.c: Likewise.
26774         * libio/iofgetpos64.c: Likewise.
26775         * libio/iofsetpos64.c: Likewise.
26776         * sysdeps/wordsize-64/lockf.c: File removed.
26777         * sysdeps/wordsize-64/lockf64.c: File removed.
26778         * sysdeps/wordsize-64/fseeko.c: File removed.
26779         * sysdeps/wordsize-64/fseeko64.c: File removed.
26780         * sysdeps/wordsize-64/ftello.c: File removed.
26781         * sysdeps/wordsize-64/ftello64.c: File removed.
26782         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26783         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26784         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26785         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26786         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26787         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26788         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26789         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26790         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26791         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26792         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26793         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26794         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26795         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26797         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26798         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26799         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26800         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26801         [defined __arch64__ || defined __sparcv9]
26802         (__OFF_T_MATCHES_OFF64_T): New macro.
26803         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26804         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26805         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26806         (__OFF_T_MATCHES_OFF64_T): New macro.
26808 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26810         * stdlib/secure-getenv.c (__secure_getenv): Replace
26811         GLIBC_2_16 with GLIBC_2_17.
26813 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26815         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26816         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26818 2012-08-03  David S. Miller  <davem@davemloft.net>
26820         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26822 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26824         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26825         Remove.
26826         (__ASSUME_CORRECT_SI_PID): Likewise.
26827         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26828         (__ASSUME_TMPFS_NAME): Likewise.
26829         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26830         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26831         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26832         (HAVE_AUX_SECURE): Make definition unconditional.
26833         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26834         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26836 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26838         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26839         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26840         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26841         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26842         __eloop_threshold instead of SYMLOOP_MAX.
26844         * sysdeps/generic/eloop-threshold.h: New file.
26845         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26846         of MAXSYMLINKS.
26847         * elf/chroot_canon.c (chroot_canon): Likewise.
26849 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26851         [BZ #13717]
26852         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26853         Change to 2.6.0 everywhere.
26854         * sysdeps/unix/sysv/linux/configure: Regenerated.
26855         * sysdeps/unix/sysv/linux/kernel-features.h
26856         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26857         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26858         kernel versions.
26859         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26860         (__ASSUME_FUTEX_REQUEUE): Remove.
26861         (__ASSUME_STATFS64): Define unconditionally.
26862         (__ASSUME_AT_SECURE): Likewise.
26863         (__ASSUME_CORRECT_SI_PID): Likewise.
26864         (__ASSUME_TGKILL): Define without depending on kernel version for
26865         i386.
26866         (__ASSUME_UTIMES): Likewise.
26867         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26868         kernel version.
26869         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26870         (__ASSUME_TMPFS_NAME): Likewise.
26871         * README: Update reference to Linux kernel versions.
26873 2012-08-02  Marek Polacek  <polacek@redhat.com>
26875         [BZ# 14150]
26876         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
26877         libc_cv_asm_type_prefix with %.
26878         * configure: Regenerated.
26879         * include/libc-symbols.h: Remove comment about
26880         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26881         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
26882         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
26883         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
26884         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
26885         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
26886         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
26887         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
26888         * elf/tst-unique2mod1.c: Likewise.
26889         * elf/tst-unique1mod2.c: Likewise.
26890         * elf/tst-unique1mod1.c: Likewise.
26891         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
26892         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
26893         Replace ASM_TYPE_DIRECTIVE with .type.
26894         * sysdeps/s390/s390-64/sysdep.h: Likewise.
26895         * sysdeps/i386/sysdep.h: Likewise.
26896         * sysdeps/x86_64/sysdep.h: Likewise.
26897         * sysdeps/sh/sysdep.h: Likewise.
26898         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
26899         Do not define ASM_TYPE_DIRECTIVE.
26900         * sysdeps/powerpc/sysdep.h: Likewise.
26901         * sysdeps/powerpc/powerpc32/sysdep.h:
26902         Replace ASM_TYPE_DIRECTIVE with .type.
26903         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
26904         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
26905         * sysdeps/i386/fpu/e_powf.S: Likewise.
26906         * sysdeps/i386/fpu/e_expl.S: Likewise.
26907         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
26908         * sysdeps/i386/fpu/e_acosh.S: Likewise.
26909         * sysdeps/i386/fpu/e_pow.S: Likewise.
26910         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
26911         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
26912         * sysdeps/i386/fpu/s_expm1.S: Likewise.
26913         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
26914         * sysdeps/i386/fpu/e_log2.S: Likewise.
26915         * sysdeps/i386/fpu/e_log2l.S: Likewise.
26916         * sysdeps/i386/fpu/e_scalb.S: Likewise.
26917         * sysdeps/i386/fpu/e_powl.S: Likewise.
26918         * sysdeps/i386/fpu/e_log10f.S: Likewise.
26919         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
26920         * sysdeps/i386/fpu/e_logl.S: Likewise.
26921         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
26922         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
26923         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
26924         * sysdeps/i386/fpu/e_log2f.S: Likewise.
26925         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
26926         * sysdeps/i386/fpu/e_log.S: Likewise.
26927         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
26928         * sysdeps/i386/fpu/e_logf.S: Likewise.
26929         * sysdeps/i386/fpu/e_log10l.S: Likewise.
26930         * sysdeps/i386/fpu/e_atanh.S: Likewise.
26931         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
26932         * sysdeps/i386/fpu/e_log10.S: Likewise.
26933         * sysdeps/i386/fpu/s_frexp.S: Likewise.
26934         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
26935         * sysdeps/i386/fpu/s_asinh.S: Likewise.
26936         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
26937         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
26938         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
26939         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
26940         * sysdeps/i386/i686/strtok.S: Likewise.
26941         * sysdeps/i386/i386-mcount.S: Likewise.
26942         * sysdeps/i386/strtok.S: Likewise.
26943         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
26944         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
26945         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
26946         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
26947         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
26948         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
26949         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
26950         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
26951         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
26952         * sysdeps/x86_64/_mcount.S: Likewise.
26953         * sysdeps/x86_64/strtok.S: Likewise.
26954         * sysdeps/sh/_mcount.S: Likewise.
26956 2012-08-01  Roland McGrath  <roland@hack.frob.com>
26958         * libio/iofopen.c: Include <fcntl.h>.
26959         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
26960         (_IO_fopen64, fopen64): Define as aliases.
26961         * libio/iofopen64.c: Include <fcntl.h>.
26962         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
26963         Conditionalize body on this.
26964         * sysdeps/wordsize-64/iofopen.c: File removed.
26965         * sysdeps/wordsize-64/iofopen64.c: File removed.
26967 2012-08-01  Marek Polacek  <polacek@redhat.com>
26969         * libc/Makeconfig: Use elf in place of binfmt-subdir.
26970         Use dlfcn directly instead of a variable.
26971         (binfmt-subdir): Do not define.
26972         (dlfcn): Likewise.
26974 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
26976         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
26977         Remove all definitions.
26978         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
26979         <kernel-features.h>.
26980         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26981         (miss_F_GETOWN_EX): Remove all definitions.
26982         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
26983         macro definition.
26984         [!__ASSUME_FCNTL64]: Remove conditional code.
26985         [__ASSUME_FCNTL64]: Make code unconditional.
26986         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
26987         <kernel-features.h>.
26988         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
26989         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
26990         (lockf64) [__NR_fcntl64]: Make code unconditional.
26991         (lockf64) [__ASSUME_FCNTL64]: Likewise.
26993         * sysdeps/unix/sysv/linux/kernel-features.h
26994         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
26995         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
26996         Make code unconditional.
26997         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
26998         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
26999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27000         [__NR_vfork]: Make code unconditional.
27001         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27002         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27004         [__NR_vfork]: Make code unconditional.
27005         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27006         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27008 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27010         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27011         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27013         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27014         Define mkstemp64 as an alias.
27015         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27016         Define mkstemps64 as an alias.
27017         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27018         Define mkostemp64 as an alias.
27019         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27020         Define mkostemps64 as an alias.
27021         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27022         Conditionalize body on this.
27023         * misc/mkostemp64.c: Likewise.
27024         * misc/mkostemps64.c: Likewise.
27025         * misc/mkstemps64.c: Likewise.
27026         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27027         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27028         * sysdeps/wordsize-64/mkostemp.c: File removed.
27029         * sysdeps/wordsize-64/mkstemp.c: File removed.
27030         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27031         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27032         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27033         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27035         [BZ #14138]
27036         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27037         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27038         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27039         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27041         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27042         compat_symbol macros from <shlib-compat.h> rather than the underlying
27043         default_symbol_version and symbol_version macros, so that DEFAULT
27044         lines in shlib-versions are respected.
27045         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27047 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27049         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27050         Declare with warn_unused_result.
27051         (setgid, setregid, setegid, setresgid): Likewise.
27052         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27053         Likewise.
27054         * WUR-REPORT: Remove set*id functions.
27056 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27058         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27060 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27062         [BZ #10191]
27063         * include/sys/socket.h (__libc_accept, __libc_accept4):
27064         Add attribute_hidden.
27065         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27067         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27068         use of PTR_MANGLE.
27069         * inet/getnetgrent_r.c (setup): Likewise.
27071         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27073 2012-07-31  David S. Miller  <davem@davemloft.net>
27075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27077 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27079         [BZ #13629]
27080         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27081         value between 1.0 and 2.0 and smaller part has absolute value less
27082         than 1.0.
27083         * math/s_clog10.c (__clog10): Likewise.
27084         * math/s_clog10f.c (__clog10f): Likewise.
27085         * math/s_clog10l.c (__clog10l): Likewise.
27086         * math/s_clogf.c (__clogf): Likewise.
27087         * math/s_clogl.c (__clogl): Likewise.
27088         * math/libm-test.inc (clog_test): Add more tests.
27089         (clog10_test): Likewise.
27090         * sysdeps/i386/fpu/libm-test-ulps: Update.
27091         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27093 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27095         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27096         Exit with zero in case no suitable GID is found, and write a
27097         message to standard error.
27099 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27101         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27102         rather than to 1.
27103         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27104         (MAXPATHLEN): Removed.
27105         (NOGROUP, NODEV): New macros.
27106         (setbit, clrbit, isset, isclr): New macros.
27107         (howmany, roundup, powerof2): New macros.
27108         (DEV_BSIZE): New macro.
27110         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27111         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27113         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27114         definition on [!__NO_LONG_DOUBLE_MATH].
27116         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27117         PTR_MANGLE and PTR_DEMANGLE.
27119         * socket/accept4.c (accept4): Rename to __libc_accept4.
27120         Define accept4 as a weak alias.
27122         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27123         on [_DIRENT_HAVE_D_TYPE].
27124         * io/ftw.c (ftw_dir): Likewise.
27126         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27128         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27130         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27131         Use the BSD numbers rather than the arbitrary ones we had.
27132         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27133         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27134         (SIGXCPU, SIGXFSZ): New macros.
27135         (_NSIG): Now 32.
27137         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27138         initializer on [_LIBC_REENTRANT].
27140         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27141         definitions inside [_POSIX_MAPPED_FILES].
27143         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27145         * dirent/opendir.c: Include <fcntl.h>.
27147         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27148         (__libc_getspecific): Likewise.
27149         (__libc_key_create): Likewise.
27151         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27152         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27153         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27154         (tmpfile64): Define as alias.
27155         * sysdeps/wordsize-64/tmpfile.c: File removed.
27156         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27157         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27158         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27160         * stdio-common/vfscanf.c: Include <stdbool.h>.
27161         * nss/makedb.c: Likewise.
27162         * stdio-common/_i18n_number.h: Likewise.
27163         * argp/argp-help.c: Likewise.
27164         * posix/wordexp.c: Likewise.
27165         * sysdeps/posix/spawni.c: Likewise.
27166         * nss/nss_files/files-initgroups.c: Likewise.
27167         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27168         * nss/nss_files/files-initgroups.c: Likewise.
27169         * nss/nss_db/db-netgrp.c: Likewise.
27170         * nss/nss_db/db-initgroups.c: Likewise.
27171         * io/fchmodat.c: Include <sys/stat.h>.
27173         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27174         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27176         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27177         [HAVE_MMAP].
27179         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27180         Add multiple inclusion protection.
27182 2012-07-27  David S. Miller  <davem@davemloft.net>
27184         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27186 2012-07-27  Gary Benson  <gbenson@redhat.com>
27188         [BZ #14298]
27189         * elf/rtld.c: Include <stap-probe.h>.
27190         (dl_main): Added static probes "init_start" and "init_complete".
27191         * elf/dl-load.c: Include <stap-probe.h>.
27192         (lose): Take new parameter "nsid".
27193         Added static probe "map_failed".
27194         (_dl_map_object_from_fd): Pass namespace id to lose.
27195         Added static probe "map_start".
27196         (open_verify): Pass namespace id to lose.
27197         * elf/dl-open.c: Include <stap-probe.h>.
27198         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27199         and "reloc_complete".
27200         * elf/dl-close.c: Include <stap-probe.h>.
27201         (_dl_close_worker): Added static probes "unmap_start" and
27202         "unmap_complete".
27203         * elf/rtld-debugger-interface.txt: New file documenting the above.
27205 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27207         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27208         rather than a string variable.
27209         * sunrpc/rpc_main.c (h_output): Likewise.
27210         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27212 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27214         * inet/check_native.c: New file.
27216 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27218         [BZ #13629]
27219         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27220         if larger part has absolute value 1.0.
27221         * math/s_clog10.c (__clog10): Likewise.
27222         * math/s_clog10f.c (__clog10f): Likewise.
27223         * math/s_clog10l.c (__clog10l): Likewise.
27224         * math/s_clogf.c (__clogf): Likewise.
27225         * math/s_clogl.c (__clogl): Likewise.
27226         * math/libm-test.inc (clog_test): Add more tests.
27227         (clog10_test): Likewise.
27228         * sysdeps/i386/fpu/libm-test-ulps: Update.
27229         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27231         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27232         (pltexit): Likewise.
27233         (La_regs): Likewise.
27234         (La_retval): Likewise.
27235         (int_retval): Likewise.
27236         Update #error for removed macros to refer only to definitions in
27237         tst-audit.h.
27238         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27239         macro.
27240         (pltexit): Likewise.
27241         (La_regs): Likewise.
27242         (La_retval): Likewise.
27243         (int_retval): Likewise.
27244         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27245         macro.
27246         (pltexit): Likewise.
27247         (La_regs): Likewise.
27248         (La_retval): Likewise.
27249         (int_retval): Likewise.
27250         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27251         macro.
27252         (pltexit): Likewise.
27253         (La_regs): Likewise.
27254         (La_retval): Likewise.
27255         (int_retval): Likewise.
27256         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27257         macro.
27258         (pltexit): Likewise.
27259         (La_regs): Likewise.
27260         (La_retval): Likewise.
27261         (int_retval): Likewise.
27262         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27263         macro.
27264         (pltexit): Likewise.
27265         (La_regs): Likewise.
27266         (La_retval): Likewise.
27267         (int_retval): Likewise.
27268         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27269         macro.
27270         (pltexit): Likewise.
27271         (La_regs): Likewise.
27272         (La_retval): Likewise.
27273         (int_retval): Likewise.
27274         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27275         macro definitions in tst-audit.h.
27276         * sysdeps/i386/tst-audit.h: New file.
27277         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27278         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27279         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27280         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27281         * sysdeps/sh/tst-audit.h: Likewise.
27282         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27283         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27284         * sysdeps/x86_64/tst-audit.h: Likewise.
27286 2012-07-26  Andreas Jaeger  <aj@suse.de>
27288         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27289         ptrace.
27291         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27292         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27293         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27294         PTRACE_O_MASK.
27295         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27296         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27297         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27299         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27300         value.
27302         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27303         _sigsys.
27304         (si_call_addr, si_syscall, si_arch): Define new macro.
27305         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27306         _sigsys.
27307         (si_call_addr, si_syscall, si_arch): Define new marcro.
27308         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27309         _sigsys.
27310         (si_call_addr, si_syscall, si_arch): Define new macro.
27311         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27312         _sigsys.
27313         (si_call_addr, si_syscall, si_arch): Define new macro.
27315 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27317         [BZ #13717]
27318         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27319         Change to 2.4.21 where previously 2.4.1.
27320         * sysdeps/unix/sysv/linux/configure: Regenerated.
27321         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27322         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27323         Linux kernel version.
27324         (__ASSUME_STD_AUXV): Remove.
27325         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27326         kernel version.
27327         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27328         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27329         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27330         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27331         (__ASSUME_NETLINK_SUPPORT): Likewise.
27332         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27333         (__no_netlink_support): Remove conditional definition.
27334         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27335         Remove.
27336         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27337         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27338         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27339         (if_nameindex_ioctl): Remove.
27340         (if_nameindex_netlink): Do not handle __no_netlink_support.
27341         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27342         code.
27343         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27344         Remove conditional code.
27345         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27346         code.
27347         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27348         unconditional.
27349         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27350         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27351         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27352         Remove.
27353         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27354         [!__ASSUME_STD_AUXV]: Remove conditional code.
27355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27356         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27357         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27359         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27360         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27361         code.
27362         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27364         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27365         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27366         conditional code.
27367         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27369         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27370         code.
27371         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27372         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27373         conditional code.
27374         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27375         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27376         code unconditional.
27377         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27378         conditional code.
27379         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27380         unconditional.
27381         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27382         conditional code.
27383         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27384         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27385         unconditional.
27386         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27387         conditional code.
27388         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27389         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27390         code unconditional.
27391         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27392         conditional code.
27393         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27394         unconditional.
27395         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27396         conditional code.
27397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27398         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27399         code unconditional.
27400         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27401         conditional code.
27402         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27403         unconditional.
27404         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27405         conditional code.
27407 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27409         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27410         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27411         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27412         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27413         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27414         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27415         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27416         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27417         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27418         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27419         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27420         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27421         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27422         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27423         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27424         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27425         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27426         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27427         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27428         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27429         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27430         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27431         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27433 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27435         * Versions.def: Add GLIBC_2.17.
27436         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27437         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27438         Introduce __libc_secure_getenv.
27439         * stdlib/Versions (2.17): Add secure_getenv
27440         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27441         * stdlib/secure-getenv.c: Rename __secure_getenv to
27442         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27443         symbol __secure_getenv for GLIBC_2.0.
27444         * stdlib/tst-secure-getenv.c: New.
27445         * stdlib/Makefile (tests): Add testcase.
27446         * manual/startup.texi (Environment Access): Document
27447         secure_getenv.
27448         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27449         __libc_secure_getenv.
27450         * inet/ruserpass.c (ruserpass): Likewise.
27451         * malloc/mtrace.c (mtrace): Likewise.
27452         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27453         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27454         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27455         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27456         HAVE_SECURE_GETENV.
27457         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27458         __secure_getenv to __libc_secure_getenv.
27459         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27461         Likewise.
27462         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27463         Likewise.
27464         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27465         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27466         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27467         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27468         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27469         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27472 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27474         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27475         (struct La_i86_retval): Likewise.
27476         (struct La_x86_64_regs): Likewise.
27477         (struct La_x86_64_retval): Likewise.
27478         (struct La_x32_regs): Likewise.
27479         (struct La_x32_retval): Likewise.
27480         (struct La_ppc32_regs): Likewise.
27481         (struct La_ppc32_retval): Likewise.
27482         (struct La_ppc64_regs): Likewise.
27483         (struct La_ppc64_retval): Likewise.
27484         (struct La_sh_regs): Likewise.
27485         (struct La_sh_retval): Likewise.
27486         (struct La_s390_32_regs): Likewise.
27487         (struct La_s390_32_retval): Likewise.
27488         (struct La_s390_64_regs): Likewise.
27489         (struct La_s390_64_retval): Likewise.
27490         (struct La_sparc32_regs): Likewise.
27491         (struct La_sparc32_retval): Likewise.
27492         (struct La_sparc64_regs): Likewise.
27493         (struct La_sparc64_retval): Likewise.
27494         (struct audit_ifaces): Remove architecture-specific pltenter and
27495         pltexit members.
27496         * sysdeps/i386/ldsodefs.h: New file.
27497         * sysdeps/powerpc/ldsodefs.h: Likewise.
27498         * sysdeps/s390/ldsodefs.h: Likewise.
27499         * sysdeps/sh/ldsodefs.h: Likewise.
27500         * sysdeps/sparc/ldsodefs.h: Likewise.
27501         * sysdeps/x86_64/ldsodefs.h: Likewise.
27503 2012-07-25  Marek Polacek  <polacek@redhat.com>
27505         [BZ #6808]
27506         * math/libm-test.inc (yn_test): Add another test.
27507         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27508         to ERANGE when the result is +-Inf.
27509         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27510         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27511         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27512         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27514 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27516         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27517         equal to 0.
27518         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27519         clock_t.
27520         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27522 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27524         * configure.in <sysdeps resolving>: Correct printing
27525         Implies_before.
27526         * configure: Regenerate.
27528 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27530         * math/w_ilogb.c: Include <limits.h>.
27531         * math/w_ilogbl.c: Likewise.
27533 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27535         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27536         va_copy.  Document allowing for unavailable va_copy only as
27537         pre-C99 compatibility.
27538         * manual/string.texi (Copying and Concatenation): Use va_copy
27539         instead of __va_copy in concat example.
27541 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27543         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27544         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27545         it if not null.
27547         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27548         with O_NOLINK passed to __file_name_lookup.
27550         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27551         with O_NOLINK passed to __file_name_lookup.
27553         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27554         negative N or less than NGIDS.
27556         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27557         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27558         enough.  Use memcpy instead of strncpy.
27560 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27562         * elf/Makefile (check-data): Remove.
27563         (localplt.data): New vpath directive.
27564         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27565         instead of $(check-data).
27566         * scripts/data/localplt-generic.data: Move to ...
27567         * sysdeps/generic/localplt.data: ... here.
27568         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27569         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27570         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27572         ... here.
27573         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27575         ... here.
27576         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27578         ... here.
27579         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27580         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27581         ... here.
27582         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27583         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27584         ... here.
27585         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27586         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27587         ... here.
27589 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27591         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27592         PPC32 and PPC64 files.
27593         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27594         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27596 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27598         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27599         __makecontext_ret to ...
27600         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27601         ... here and call exit if uc_link is NULL.  New file.
27602         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27603         __makecontext_ret.S.
27604         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27605         __makecontext_ret to ...
27606         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27607         ... here and call exit if uc_link is NULL.  New file.
27608         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27609         __makecontext_ret.S.
27611 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27613         * elf/elf.h (R_390_IRELATIVE): New definition.
27614         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27615         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27616         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27617         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27618         (elf_machine_lazy_rel): Likewise.
27619         * sysdeps/s390/dl-irel.h: New file.
27620         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27621         * sysdeps/s390/s390-64/memset.S: New asm code.
27622         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27623         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27624         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27625         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27626         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27627         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27628         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27629         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27630         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27631         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27632         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27633         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27634         * sysdeps/s390/s390-32/memset.S: New asm code.
27635         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27637 2012-07-17  Marek Polacek  <polacek@redhat.com>
27639         [BZ #14349]
27640         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27641         * sysdeps/s390/s390-64/configure.in: Likewise.
27642         * sysdeps/sparc/configure.in: Likewise.
27643         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27644         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27645         * sysdeps/i386/configure.in: Likewise.
27646         * sysdeps/x86_64/configure.in: Likewise.
27647         * sysdeps/sh/configure.in: Likewise.
27648         * sysdeps/s390/s390-32/configure: Regenerated.
27649         * sysdeps/s390/s390-64/configure: Likewise.
27650         * sysdeps/x86_64/configure: Likewise.
27651         * sysdeps/sh/configure: Likewise.
27652         * sysdeps/powerpc/powerpc64/configure: Likewise.
27653         * sysdeps/powerpc/powerpc32/configure: Likewise.
27654         * sysdeps/sparc/configure: Likwise.
27655         * sysdeps/i386/configure: Likewise.
27657         * elf/dl-open.c: Comment fixes.
27659 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27661         * Makefile [CXX] (check-data): Remove.
27662         [CXX] (c++-types.data): New vpath directive.
27663         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27664         vpath.  Do not allow for C++ type data being missing.
27665         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27666         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27667         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27668         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27669         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27670         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27671         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27673         ... here.
27674         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27675         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27676         ... here.
27677         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27678         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27679         ... here.
27680         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27681         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27682         ... here.
27683         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27685         ... here.
27686         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27687         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27688         ... here.
27689         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27690         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27691         ... here.
27692         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27693         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27695         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27696         definitions to architecture-specific files.
27697         (TLS_IE): Likewise.
27698         (TLS_LD): Likewise.
27699         (TLS_GD): Likewise.
27700         * sysdeps/i386/tls-macros.h: New file.
27701         * sysdeps/powerpc/tls-macros.h: Likewise.
27702         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27703         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27704         * sysdeps/sh/tls-macros.h: Likewise.
27705         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27706         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27707         * sysdeps/x86_64/tls-macros.h: Likewise.
27709 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27711         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27712         zero value for regular exit case.
27714         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27715         (__start_context): Preserve zero value for regular exit case.
27717 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27718             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27720         * manual/setjmp.texi (setcontext): Clarify normal process
27721         termination when uc_link is the null pointer.
27722         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27723         exit call.
27725 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27727         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27728         preprocessor.  Test for each exception mask separately.
27730 2012-07-16  Andreas Jaeger  <aj@suse.de>
27732         * po/ru.po: Update from translation team.
27734 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27736         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27737         equal to 0.
27738         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27739         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27740         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27741         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27742         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27744 2012-07-13  Andreas Jaeger  <aj@suse.de>
27746         * po/fr.po: Update from translation team.
27748 2012-07-12  Marek Polacek  <polacek@redhat.com>
27750         [BZ #14173]
27751         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27752         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27753         loop condition.
27755 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27757         [BZ #13717]
27758         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27759         Change to 2.4.1 where previously 2.4.0.
27760         * sysdeps/unix/sysv/linux/configure: Regenerated.
27761         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27762         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27763         version.
27764         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27765         (__ASSUME_AT_CLKTCK): Remove.
27766         (__ASSUME_AT_PAGESIZE): Likewise.
27767         (__ASSUME_AT_XID): Likewise.
27768         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27769         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27770         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27771         unconditionally.
27772         (HAVE_AUX_PAGESIZE): Likewise.
27773         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27774         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27775         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27777 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27779         [BZ #14307]
27780         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27781         the temporary buffer used to invoke __gethostbyname2_r,
27782         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27783         host_data / struct gaih_addrtuple.
27784         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27785         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27786         header file nss/nsswitch.h.
27787         * nss/nsswitch.h (global scope): Add definition of implementation
27788         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27789         resolv/nss_dns/dns-host.c).
27791 2012-07-11  Andreas Jaeger  <aj@suse.de>
27793         * po/fr.po: Update from translation team.
27795         * po/sv.po: Update from translation team
27796         * po/fr.po: Another update from translation team.
27798 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27800         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27801         for subnormals or multiply small sinh result by itself.
27802         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27803         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27805 2012-07-11  David S. Miller  <davem@davemloft.net>
27807         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27809 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27811         [BZ #14347]
27812         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27813         (INTERNAL_MARK): Shift it here.
27815 2012-07-10  Marek Polacek  <polacek@redhat.com>
27817         [BZ #14151]
27818         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27819         libc_cv_asm_global_directive with .globl.
27820         * configure: Regenerated.
27821         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27822         with .globl.
27823         * sysdeps/i386/configure: Regenerated.
27824         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27825         with .globl.
27826         * sysdeps/x86_64/configure: Regenerated.
27827         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27828         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27829         * elf/tst-unique2mod2.c: Likewise.
27830         * elf/tst-unique2mod1.c: Likewise.
27831         * elf/tst-unique1mod2.c: Likewise.
27832         * elf/tst-unique1mod1.c: Likewise.
27833         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27834         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27835         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27836         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27837         * sysdeps/mach/sysdep.h: Likewise.
27838         * sysdeps/i386/sysdep.h: Likewise.
27839         * sysdeps/i386/i386-mcount.S: Likewise.
27840         * sysdeps/x86_64/_mcount.S: Likewise.
27841         * sysdeps/x86_64/sysdep.h: Likewise.
27842         * sysdeps/sh/_mcount.S: Likewise.
27843         * sysdeps/sh/sysdep.h: Likewise.
27844         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27845         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27846         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27847         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27848         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27849         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27850         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27851         * locale/localeinfo.h: Likewise.
27852         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27853         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27855 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27857         [BZ #14336]
27858         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27859         system".
27860         * manual/message.texi (The Uniforum approach): Likewise.
27861         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27862         (glibc iconv Implementation): Likewise.
27864 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27866         [BZ #14337]
27867         * math/s_clog.c (__clog): Avoid scaling a value down where that
27868         could result in underflow.
27869         * math/s_clog10.c (__clog10): Likewise.
27870         * math/s_clog10f.c (__clog10f): Likewise.
27871         * math/s_clog10l.c (__clog10l): Likewise.
27872         * math/s_clogf.c (__clogf): Likewise.
27873         * math/s_clogl.c (__clogl): Likewise.
27874         * math/libm-test.inc (clog_test): Add more tests.
27875         (clog10_test): Likewise.
27876         * sysdeps/i386/fpu/libm-test-ulps: Update.
27877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27879 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
27881         [BZ #14283]
27882         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
27883         by 7 not 8 to examine high bit of fractional part.
27885         [BZ #14042]
27886         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
27887         for call to __mcount_internal.
27888         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
27889         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
27890         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
27892 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
27894         [BZ #14154]
27895         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
27896         approximation for values within 0x1p-13f of an odd multiple of
27897         pi/4.
27898         * math/libm-test.inc (tan_test): Do not allow spurious underflow
27899         exception.  Add more tests.
27900         * sysdeps/i386/fpu/libm-test-ulps: Update.
27902         [BZ #6778]
27903         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
27904         inputs and return -1 for them.  Do not check for +Inf in case not
27905         reachable for +Inf.
27906         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
27907         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
27908         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27909         and return -1 for them.  Do not check for +Inf in case not
27910         reachable for +Inf.
27911         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
27912         define.
27913         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
27914         and return -1 for them.  Do not check for +Inf in case not
27915         reachable for +Inf.
27916         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
27917         spurious underflow.
27918         * sysdeps/i386/fpu/libm-test-ulps: Update.
27919         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27921 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
27923         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
27925 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
27927         [BZ #14157]
27928         [BZ #14331]
27929         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
27930         could result in spurious underflow.  Scale down values above
27931         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
27932         * math/s_csqrtf.c (__csqrtf): Likewise.
27933         * math/s_csqrtl.c (__csqrtl): Likewise.
27934         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
27935         spurious underflow.
27936         * sysdeps/i386/fpu/libm-test-ulps: Update.
27937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27939 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
27941         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
27942         xopen-msg.sed.
27943         * catgets/xopen-msg.awk: New file.
27944         * catgets/xopen-msg.sed: Removed.
27946         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
27947         po2text.sed.
27948         * intl/po2test.awk: New file.
27949         * intl/po2test.sed: Removed.
27951 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
27953         [BZ #14328]
27954         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
27955         or multiply small sinh result by itself.
27956         * math/s_ctanf.c (__ctanf): Likewise.
27957         * math/s_ctanh.c (__ctanh): Likewise.
27958         * math/s_ctanhf.c (__ctanhf): Likewise.
27959         * math/s_ctanhl.c (__ctanhl): Likewise.
27960         * math/s_ctanl.c (__ctanl): Likewise.
27961         * math/libm-test.inc (ctan_test_tonearest): New function.
27962         (ctan_test_towardzero): Likewise.
27963         (ctan_test_downward): Likewise.
27964         (ctan_test_upward): Likewise.
27965         (ctanh_test_tonearest): Likewise.
27966         (ctanh_test_towardzero): Likewise.
27967         (ctanh_test_downward): Likewise.
27968         (ctanh_test_upward): Likewise.
27969         (main): Call these new functions.
27970         * sysdeps/i386/fpu/libm-test-ulps: Update.
27971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27973 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
27975         * .gitignore: Delete /ports entry.
27977 2012-07-03  Andreas Jaeger  <aj@suse.de>
27979         * po/bg.po: Update from translation team.
27980         * po/cs.po: Likewise.
27981         * po/de.po: Likewise.
27982         * po/hr.po: Likewise.
27983         * po/nl.pl: Likewise.
27984         * po/pl.po: Likewise.
27985         * po/vi.po: Likewise.
27987 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
27989         * Makeconfig [!+link] (+link-before-libc): New variable.
27990         [!+link] (+link-after-libc): Likewise.
27991         [!+link] (+link-tests): Likewise.
27992         [!+link] (+link): Define in terms of $(+link-before-libc) and
27993         $(+link-after-libc).
27994         [!+link-static] (+link-static-before-libc): New variable.
27995         [!+link-static] (+link-static-after-libc): Likewise.
27996         [!+link-static] (+link-static-tests): Likewise.
27997         [!+link-static] (+link-static): Define in terms of
27998         $(+link-static-before-libc) and $(+link-static-after-libc).
27999         [build-shared] (link-libc-before-gnulib): New variable.
28000         [build-shared] (link-libc-tests): Likewise.
28001         [build-shared] (link-libc): Define in terms of
28002         $(link-libc-before-gnulib).
28003         [!build-shared] (link-libc-tests): New variable.
28004         (link-libc-static-tests): New variable.
28005         [!gnulib] (gnulib-arch): New variable.
28006         [!gnulib] (gnulib-tests): Likewise.
28007         [!gnulib] (static-gnulib-arch): Likewise.
28008         [!gnulib] (static-gnulib-tests): Likewise.
28009         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28010         Define with "=" instead of ":=".
28011         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28012         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28013         * Rules (binaries-all-notests): New variable.
28014         (binaries-all-tests): Likewise.
28015         (binaries-static-notests): Likewise.
28016         (binaries-static-tests): Likewise.
28017         (binaries-all): Define using $(binaries-all-notests) and
28018         $(binaries-all-tests).
28019         (binaries-static): Define using $(binaries-static-notests) and
28020         $(binaries-static-tests).
28021         (binaries-shared-tests): New variable.
28022         (binaries-shared-notests): Likewise.
28023         (binaries-shared): Remove variable.
28024         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28025         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28026         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28027         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28028         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28029         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28030         * elf/Makefile (sln-modules): New variable.
28031         (extra-objs): Add $(sln-modules:=.o).
28032         (ldconfig-modules): Add static-stubs.
28033         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28034         * elf/static-stubs.c: New file.
28036         [BZ #14283]
28037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28038         by 7 not 8 to examine high bit of fractional part.  Use volatile
28039         variables when splitting into final array of floats if
28040         __FLT_EVAL_METHOD__ != 0.
28041         * math/libm-test.inc (cos_test): Add another test.
28042         (sin_test): Likewise.
28043         * sysdeps/i386/fpu/libm-test-ulps: Update.
28045         [BZ #14273]
28046         * math/libm-test.inc (cosh_test): Add more tests.
28048         * version.h (RELEASE): Set to "development".
28049         (VERSION): Set to "2.16.90".
28051 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28053         * NEWS: Update copyright. Remove last-updated date.
28054         Mention math library bug fixes and timezone data changes.
28055         * README: Mention GNU/Hurd, x32, and HPPA support status.
28057 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28059         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28061 2012-06-27  Andreas Jaeger  <aj@suse.de>
28063         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28065 2012-06-25  Andreas Jaeger  <aj@suse.de>
28067         * sysdeps/s390/fpu/libm-test-ulps: Update.
28069 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28070             Thomas Schwinge  <thomas@codesourcery.com>
28072         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28073         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28074         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28075         fanotify_mark.
28077 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28079         * sysdeps/mach/start.c: Remove file.
28080         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28081         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28082         * sysdeps/sh/init-first.c: Likewise.
28084         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28085         registers for frame unwinding purposes, add CFI directives.
28086         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28087         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28088         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28089         Likewise.
28091         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28092         __fortify_fail returning.
28093         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28095         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28096         sysdeps/sh/____longjmp_chk.S.
28097         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28098         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28099         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28100         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28102         * sysdeps/sh/abort-instr.h: New file.
28103         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28104         process in case exit returns.
28106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28107         initialize the GOT register before use.
28109         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28110         calculation of ARGC > 4.
28112         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28113         meaningful names to some local labels.
28115 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28116             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28118         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28119         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28120         (__arch_compare_and_exchange_val_16_acq): Likewise.
28121         (__arch_compare_and_exchange_val_32_acq): Likewise.
28122         (atomic_exchange_and_add): Fix gUSA sequence.
28123         (atomic_add): Likewise.
28124         (atomic_add_negative): Likewise.
28125         (atomic_add_zero): Likewise.
28126         (atomic_bit_test_set): Likewise.
28128 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28130         [BZ #13579]
28131         * include/link.h (struct link_map): Add l_free_initfini.
28132         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28133         l_initfini.
28134         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28135         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28136         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28137         set.
28139 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28141         * configure.in: Use AC_LANG_SOURCE.
28142         * configure: Regenerate.
28144 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28146         * configure.in (libc_cv_localstatedir): New substituted variable.
28147         * configure: Regenerated.
28148         * config.make.in (localstatedir): New variable, substituted from
28149         libc_cv_localstatedir.
28150         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28151         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28152         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28153         * sysdeps/gnu/configure: Regenerated.
28155 2012-06-21  Jeff Law  <law@redhat.com>
28157         [BZ #14277]
28158         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28159         free.  Simplify list management for _LIBC case.
28161 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28163         [BZ #14273]
28164         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28165         Clear sign bit of 64-bit integer value before comparing against
28166         overflow value.
28168         * sysdeps/mach/configure: Regenerated.
28170 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28172         [BZ #14278]
28173         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28175 2012-06-21  Jeff Law  <law@redhat.com>
28177         [BZ #13882]
28178         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28179         uint16_t for elements in the "seen" array to avoid char overflows.
28180         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28181         * elf/dl-open.c (dl_open_worker): Likewise.
28183 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28185         * scripts/list-sources.sh: Scan PORTS for translations.
28186         * po/libc.pot: Regenerated.
28188 2012-06-21  Andreas Jaeger  <aj@suse.de>
28190         [BZ #12194]
28191         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28192         warning.
28193         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28194         * bits/byteswap-16.h (__bswap_16): Likewise.
28195         * bits/byteswap.h (__bswap_constant_16): Likewise.
28197 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28199         [BZ #14117]
28200         * sysdeps/i386/fpu_control.h: Removed.
28201         * sysdeps/x86_64/fpu_control.h: Moved to ...
28202         * sysdeps/x86/fpu_control.h: Here.
28204         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28205         (_FPU_SETCW): Likewise.
28207 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28209         [BZ #14117]
28210         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28211         * sysdeps/x86/fpu/bits/mathinline.h: This.
28212         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28214         [BZ #14050]
28215         [BZ #14117]
28216         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28217         functions if __x86_64__ is defined.
28219 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28221         * string/endian.h: Add !__ASSEMBLER__ condition for including
28222         conversion interfaces.
28224 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28226         [BZ #14241]
28227         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28228         of ABS(x) in calculating zero to negative powers other than odd
28229         integers.
28230         * math/libm-test.inc (pow_test): Add more tests.
28232 2012-06-15  Andreas Jaeger  <aj@suse.de>
28234         * manual/contrib.texi (Contributors): Update entry of Liubov
28235         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28236         Machado Filho.
28238 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28240         * string/string.h: Add __wur to GNU version of strerror_r.
28242 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28244         [BZ #14229]
28245         * string/Makefile (tests): Add tst-strtok_r.
28246         * string/tst-strtok_r.c: New file.
28247         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28248         RAX_LP/RDX_LP on SAVE_PTR.
28250 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28252         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28254 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28256         * libm_test.inc (csqrt_test): Allow more spurious underflow
28257         exceptions.
28258         (j0_test): Likewise.
28259         (j1_test): Likewise.
28260         (y0_test): Likewise.
28261         (y1_test): Likewise.
28263 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28265         * po/Makefile (libc.pot): Use UTF-8 charset.
28267 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28269         [BZ #14210]
28270         Suppress sign-conversion warning from FD_SET.
28271         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28272         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28273         not unsigned long int.
28274         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28276 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28278         [BZ #14050]
28279         [BZ #14117]
28280         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28281         __extern_always_inline instead of __extern_inline.
28282         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28283         (__signbit): Likewise.
28284         (__signbitl): Support C++ namespace.
28285         (lrintf): New inline function.
28286         (lrint): Likewise.
28287         (llrintf): Likewise.
28288         (llrint): Likewise.
28289         (fmaxf): Likewise.
28290         (fmax): Likewise.
28291         (fminf): Likewise.
28292         (fmin): Likewise.
28293         (rint): Likewise.
28294         (rintf): Likewise.
28295         (ceil): Likewise.
28296         (ceilf): Likewise.
28297         (floor): Likewise.
28298         (floorf): Likewise.
28299         (nearbyint): Likewise.
28300         (nearbyintf): Likewise.
28302 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28304         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28305         non-default versions.
28307 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28309         [BZ #14218]
28310         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28312 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28314         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28315         (FE_UPWARD, FE_DOWNWARD): Don't define.
28316         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28317         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28319         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28320         reading it.
28321         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28322         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28324 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28326         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28327         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28328         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28329         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28331 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28333         [BZ #14117]
28334         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28335         * sysdeps/i386/fpu/Implies: New file.
28336         * sysdeps/x86_64/fpu/Implies: Likewise.
28337         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28338         * sysdeps/x86/fpu/bits/fenv.h: This.
28340         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28341         __SSE_MATH__.
28343 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28345         [BZ #14134]
28346         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28347         character 0xffff that matches the last element of the
28348         conversion table.
28350 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28352         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28353         fmodl commit.
28355 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28357         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28358         values higher than 25.6283.
28360 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28362         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28363         subnormal exponent extraction and add some __builtin_expect.
28364         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28365         Fix for subnormal mantissa calculation.
28367 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28369         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28370         cpu2 is -1 and errno is not ENOSYS.
28372 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28374         [BZ #14117]
28375         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28376         * sysdeps/x86/bits/string.h: This.
28377         * sysdeps/x86_64/bits/string.h: Removed.
28379         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28380         if not compiling for x86-64, but compiling for >= i486.
28382         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28383         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28385         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28386         New macro from Linux kernel 3.4.0.
28387         (FP_XSTATE_MAGIC2): Likewise.
28388         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28389         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28390         (struct _fpx_sw_bytes): New struct.
28391         (struct _xsave_hdr): Likewise.
28392         (struct _ymmh_state): Likewise.
28393         (struct _xstate): Likewise.
28395         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28396         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28397         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28398         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28399         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28400         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28402         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28403         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28404         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28405         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28406         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28407         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28409 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28411         [BZ #13743]
28412         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28413         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28414         (sysdep_headers): Include sys/platform/ppc.h.
28415         * sysdeps/powerpc/test-gettimebase.c: Test for
28416         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28417         * manual/Makefile (appendices): Include platform.texi.
28418         * manual/contrib.texi (Contributors): Update @node pointers.
28419         * manual/maint.texi (Maintenance): Likewise.
28420         (Platform): New node.
28421         * manual/platform.texi: New file.  Document the new features.
28423 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28424             Jakub Jelinek  <jakub@redhat.com>
28426         [BZ #14188]
28427         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28428         where __builtin_expect is unavailable.
28430 2012-06-03  David S. Miller  <davem@davemloft.net>
28432         * stdlib/longlong.h: Updated from GCC.
28434 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28436         [BZ #14042]
28437         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28438         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28439         __mcount_internal.
28440         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28441         (GLIBC_2.16): Likewise.
28443 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28445         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28447 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28449         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28450         (default-abi): New variable.
28451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28452         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28453         variable.
28454         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28455         Likewise.
28456         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28457         Likewise.
28458         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28459         Likewise.
28461         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28462         definition.  Document in comment.
28464 2012-06-01  David S. Miller  <davem@davemloft.net>
28466         * stdlib/longlong.h: Updated from GCC.
28468 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28470         [BZ #14117]
28471         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28472         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28473         sys/debugreg.h sys/io.h here.
28474         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28475         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28476         sys/io.h.
28477         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28478         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28479         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28480         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28481         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28482         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28484         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28485         Define only if __x86_64__ is defined.
28487 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28489         [BZ #14048]
28490         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28491         Use int64_t for variable i.
28492         * math/libm-test.inc (fmod_test): Add more tests.
28494         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28495         z computation is not scheduled after fetestexcept.
28496         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28497         Use math_force_eval instead of asm to ensure calculation scheduled
28498         before exception test.
28499         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28500         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28502 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28504         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28505         computation is not scheduled after fetestexcept.
28507 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28509         [BZ #14117]
28510         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28511         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28513 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28515         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28516         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28518 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28520         [BZ #14117]
28521         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28522         <bits/wordsize.h>.
28523         (__WCHAR_MIN): Support __WORDSIZE == 64.
28524         (__WCHAR_MAX): Likewise.
28526         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28527         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28529         [BZ #14183]
28530         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28531         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28533         [BZ #14117]
28534         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28535         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28537         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28538         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28540         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28541         Defined to 1 if __x86_64__ isn't defined.
28542         (_STAT_VER_LINUX_OLD): New.
28543         (st_atime): Remove duplicate.
28544         (st_mtime): Likewise.
28545         (st_ctime): Likewise.
28547 2012-05-31  David S. Miller  <davem@davemloft.net>
28549         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28550         entries.
28552 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28554         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28555         gen-libm-test.pl.
28557         [BZ #14132]
28558         * elf/dl-reloc.c: Include <_itoa.h>.
28559         (_dl_reloc_bad_type): Remove use of INTUSE.
28560         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28561         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28562         * stdio-common/psiginfo.c (psiginfo): Likewise.
28563         * stdio-common/psignal.c (psignal): Likewise.
28564         * string/strsignal.c (strsignal): Likewise.
28565         * include/signal.h (_sys_siglist): Declare hidden proto.
28566         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28567         INTVARDEF with libc_hidden_data_def.
28568         * stdio-common/itoa-udigits.c: Likewise.
28569         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28570         (_itoa_lower_digits_internal): Remove declaration.
28571         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28572         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28573         (_sys_sigabbrev_internal): Remove aliases.
28574         (_sys_siglist): Define hidden alias.
28576 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28578         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28579         bits/sysctl.h.
28581 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28583         [BZ #14117]
28584         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28585         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28587         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28588         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28589         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28590         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28591         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28592         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28594         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28595         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28596         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28598         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28599         with __addr.
28600         (insw): Likewise.
28601         (insl): Likewise.
28602         (outsb): Likewise.
28603         (outsw): Likewise.
28604         (outsl): Likewise.
28606         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28607         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28608         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28610         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28611         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28612         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28613         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28614         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28615         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28617         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28618         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28620         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28621         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28623         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28624         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28625         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28627         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28628         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28629         to ...
28630         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28632         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28633         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28634         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28636         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28637         for x86-64.
28638         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28640 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28642         * math/math.h (M_El): Use two more decimal places.
28643         (M_LOG2El): Likewise.
28644         (M_LOG10El): Likewise.
28645         (M_LN2l): Likewise.
28646         (M_LN10l): Likewise.
28647         (M_PIl): Likewise.
28648         (M_PI_2l): Likewise.
28649         (M_PI_4l): Likewise.
28650         (M_1_PIl): Likewise.
28651         (M_2_PIl): Likewise.
28652         (M_2_SQRTPIl): Likewise.
28653         (M_SQRT2l): Likewise.
28654         (M_SQRT1_2l): Likewise.
28656 2012-05-31  David S. Miller  <davem@davemloft.net>
28658         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28659         values between float registers.
28660         * sysdeps/sparc/sparc64/memset.S: Likewise.
28661         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28663 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28665         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28666         -D_FORTIFY_SOURCE=1.
28667         (CPPFLAGS-tst-longjmp_chk.c): Define.
28668         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28669         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28670         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28671         CFLAGS-tst-wchar-h.c.
28673 2012-05-31  Marek Polacek  <polacek@redhat.com>
28675         [BZ #14132]
28676         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28677         __endmntent_internal): Remove declaration.
28678         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28679         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28680         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28682 2012-05-30  David S. Miller  <davem@davemloft.net>
28684         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28685         (___Q_simulate_exceptions): Use real FP ops rather than writing
28686         into the %fsr.
28687         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28688         Likewise.
28690 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28692         [BZ #14117]
28693         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28694         * sysdeps/x86/bits/xtitypes.h: This.
28696         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28697         * sysdeps/x86/bits/wordsize.h: This.
28699         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28700         * sysdeps/x86/bits/huge_vall.h: This.
28702         * sysdeps/i386/bits/select.h: Removed.
28703         * sysdeps/x86_64/bits/select.h: Renamed to ...
28704         * sysdeps/x86/bits/select.h: This.
28706         * sysdeps/i386/bits/setjmp.h: Removed.
28707         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28708         * sysdeps/x86/bits/setjmp.h: This.
28710         * sysdeps/i386/bits/mathdef.h: Removed.
28711         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28712         * sysdeps/x86/bits/mathdef.h: This.
28714 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28716         [BZ #14132]
28717         * include/sys/socket.h (__connect_internal)
28718         (__libc_sa_len_internal): Remove declaration.
28719         (__connect, __libc_sa_len): Declare hidden_proto.
28720         (SA_LEN): Remove use of INTUSE.
28721         * socket/connect.c: Add libc_hidden_def.
28722         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28723         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28724         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28725         alias.
28726         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28727         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28728         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28729         of adding _internal alias.
28731 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28733         [BZ #14117]
28734         * sysdeps/i386/bits/link.h: Removed.
28735         * sysdeps/i386/bits/linkmap.h: Likewise.
28736         * sysdeps/x86_64/bits/link.h: Renamed to ...
28737         * sysdeps/x86/bits/link.h: This.
28738         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28739         * sysdeps/x86/bits/linkmap.h: This.
28741         * sysdeps/i386/bits/endian.h: Removed.
28742         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28743         * sysdeps/x86/bits/endian.h: This.
28745         * sysdeps/i386/bits/byteswap.h: Removed.
28746         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28747         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28748         * sysdeps/x86/bits/byteswap.h: This.
28749         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28750         * sysdeps/x86/bits/byteswap-16.h: This.
28751         * sysdeps/i386/Implies: Add x86.
28752         * sysdeps/x86_64/Implies: Likewise.
28754 2012-05-30  David S. Miller  <davem@davemloft.net>
28756         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28757         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28758         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28759         (FP_TRAPPING_EXCEPTIONS): Define.
28760         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28761         (FP_TRAPPING_EXCEPTIONS): Define.
28762         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28763         subnormals only when inexact has been signalled or underflow
28764         exceptions are enabled.
28765         (_FP_PACK_CANONICAL): Likewise.
28767 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28769         [BZ #14183]
28770         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28771         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28773 2012-05-30  Richard Henderson  <rth@twiddle.net>
28775         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28776         with #ifndef NOT_IN_libc.
28778         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28779         marked to avoid plt entry.
28781 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28783         [BZ #14112]
28784         * Makeconfig (default-abi): New macro.
28785         (abi-includes): Likewise.
28786         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28787         $(abi-$(default-abi)-lib-soname) for soname if defined.
28788         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28789         abi-variants.
28790         * Makefile (installed-stubs): Likewise.
28791         * include/stubs-biarch.h: Removed.
28792         * scripts/lib-names.awk: Only handle one library at a time.
28793         * scripts/soversions.awk: Remove WORDSIZE support.
28794         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28795         entries.
28796         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28797         Removed.
28798         (syscall-list-default-condition): Likewise.
28799         (syscall-list-default-condition): Likewise.
28800         (syscall-list-includes): Likewise.
28801         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28802         syscall-list-* with abi-*.  Handle undefined abi-variants.
28803         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28804         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28805         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28806         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28807         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28808         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28809         Removed.
28810         (syscall-list-32-options): Likewise.
28811         (syscall-list-32-condition): Likewise.
28812         (syscall-list-64-options): Likewise.
28813         (syscall-list-64-condition): Likewise.
28814         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28815         macro.
28816         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28817         Renamed to ...
28818         (abi-*): This.
28819         (abi-64-ld-soname): New macro.
28820         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28821         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28822         Renamed to ...
28823         (abi-*): This.
28824         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28825         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28827 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28829         * sysdeps/unix/sysv/linux/kernel-features.h
28830         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28831         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28832         include <kernel-features.h>.
28833         [!__NR_ftruncate64]: Remove conditional code.
28834         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28835         [__NR_ftruncate64]: Make code unconditional.
28836         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28837         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28838         include <kernel-features.h>.
28839         [!__NR_ftruncate64]: Remove conditional code.
28840         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28841         [__NR_ftruncate64]: Make code unconditional.
28842         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28844         include <kernel-features.h>.
28845         [!__NR_ftruncate64]: Remove conditional code.
28846         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28847         [__NR_ftruncate64]: Make code unconditional.
28848         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28850         include <kernel-features.h>.
28851         [!__NR_ftruncate64]: Remove conditional code.
28852         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28853         [__NR_ftruncate64]: Make code unconditional.
28854         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28856         * configure.in (libc_cv_fpie): Weaken to a compile test using
28857         LIBC_TRY_CC_OPTION.
28858         * configure: Regenerated.
28860 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28866         Refreshed.
28867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28869         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28870         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
28871         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
28872         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
28873         Refreshed.
28875 2012-05-27  David S. Miller  <davem@davemloft.net>
28877         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
28878         (___Q_zero): New.
28879         (__Q_simulate_exceptions): Return void.  Change to simulate
28880         exceptions by writing into the %fsr.
28881         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
28882         (__Qp_handle_exceptions): Likewise.
28883         (numbers): Delete.
28884         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
28885         __Qp_handle_exceptions.
28886         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
28887         __Qp_handle_exceptions.
28888         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28889         as unused and give dummy FP_RND_NEAREST initializer.
28890         (FP_INHIBIT_RESULTS): Define.
28891         (___Q_simulate_exceptions): Update declaration.
28892         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
28893         formatting.
28894         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
28895         as unused and give dummy FP_RND_NEAREST initializer.
28896         (__Qp_handle_exceptions): Update declaration.
28897         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
28898         formatting.
28900 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
28902         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
28903         the temporary FPU control word.
28904         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
28905         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
28906         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
28907         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28908         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
28909         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
28910         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
28911         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28912         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
28913         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
28914         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28916 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28918         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
28919         fields.
28921 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
28923         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
28924         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
28925         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
28926         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
28927         Likewise.
28928         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
28929         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
28930         Likewise.
28932 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
28934         * po/h.po: Update from translation team.
28936 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
28938         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
28940         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
28941         handling of denormals.
28942         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
28943         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
28944         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
28945         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
28946         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
28947         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
28948         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
28949         Likewise.
28951 2012-05-26  Marek Polacek  <polacek@redhat.com>
28953         [BZ #14152]
28954         * math/libm-test.inc (fma_test): Don't always expect underflow
28955         exception.
28957 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28959         [BZ #12416]
28960         * elf/tst-execstack.c: Include stackinfo.h.
28961         (do_test): Adjust test case to ensure that pthread_getattr_np
28962         behaviour remains the same after marking stack executable.
28964 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
28966         * sysdeps/unix/sysv/linux/kernel-features.h
28967         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
28968         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
28969         kernel-features.h.
28970         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28971         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28972         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
28973         kernel-features.h.
28974         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
28975         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
28977 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
28979         * configure.in: Define the default includes to being none.
28980         * configure: Regenerated.
28982 2012-05-25  Roland McGrath  <roland@hack.frob.com>
28984         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
28985         * sysdeps/x86_64/setjmp.S: Likewise.
28986         * sysdeps/i386/bsd-setjmp.S: Likewise.
28987         * sysdeps/i386/bsd-_setjmp.S: Likewise.
28988         * sysdeps/i386/setjmp.S: Likewise.
28989         * sysdeps/i386/__longjmp.S: Likewise.
28990         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
28991         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
28993         * include/stap-probe.h: New file.
28994         * configure.in: Handle --enable-systemtap.
28995         * configure: Regenerated.
28996         * config.h.in (USE_STAP_PROBE): New #undef.
28997         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
28998         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
28999         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29001 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29003         [BZ #13717]
29004         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29005         to 2.4.0 where earlier.
29006         * sysdeps/unix/sysv/linux/configure: Regenerated.
29007         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29008         <kernel-features.h>.
29009         [__ASSUME_32BITUIDS]: Make code unconditional.
29010         [!__ASSUME_32BITUIDS]: Remove conditional code.
29011         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29012         <kernel-features.h>.
29013         [__ASSUME_32BITUIDS]: Make code unconditional.
29014         [!__ASSUME_32BITUIDS]: Remove conditional code.
29015         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29016         [__ASSUME_32BITUIDS]: Make code unconditional.
29017         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29018         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29019         <kernel-features.h>.
29020         [__ASSUME_32BITUIDS]: Make code unconditional.
29021         [!__ASSUME_32BITUIDS]: Remove conditional code.
29022         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29023         <kernel-features.h>.
29024         [__ASSUME_32BITUIDS]: Make code unconditional.
29025         [!__ASSUME_32BITUIDS]: Remove conditional code.
29026         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29027         <kernel-features.h>.
29028         [__ASSUME_32BITUIDS]: Make code unconditional.
29029         [!__ASSUME_32BITUIDS]: Remove conditional code.
29030         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29031         <kernel-features.h>.
29032         [__ASSUME_32BITUIDS]: Make code unconditional.
29033         [!__ASSUME_32BITUIDS]: Remove conditional code.
29034         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29035         <kernel-features.h>.
29036         [__ASSUME_32BITUIDS]: Make code unconditional.
29037         [!__ASSUME_32BITUIDS]: Remove conditional code.
29038         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29039         <kernel-features.h>.
29040         [__ASSUME_32BITUIDS]: Make code unconditional.
29041         [!__ASSUME_32BITUIDS]: Remove conditional code.
29042         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29043         <kernel-features.h>.
29044         [__ASSUME_32BITUIDS]: Make code unconditional.
29045         [!__ASSUME_32BITUIDS]: Remove conditional code.
29046         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29047         <kernel-features.h>.
29048         [__ASSUME_32BITUIDS]: Make code unconditional.
29049         [!__ASSUME_32BITUIDS]: Remove conditional code.
29050         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29051         <kernel-features.h>.
29052         [__ASSUME_32BITUIDS]: Make code unconditional.
29053         [!__ASSUME_32BITUIDS]: Remove conditional code.
29054         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29055         <kernel-features.h>.
29056         [__ASSUME_32BITUIDS]: Make code unconditional.
29057         [!__ASSUME_32BITUIDS]: Remove conditional code.
29058         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29059         <kernel-features.h>.
29060         [__NR_setresgid] (__setresgid): Do not declare.
29061         [__ASSUME_32BITUIDS]: Make code unconditional.
29062         [!__ASSUME_32BITUIDS]: Remove conditional code.
29063         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29064         <kernel-features.h>.
29065         [__NR_setresuid] (__setresuid): Do not declare.
29066         [__ASSUME_32BITUIDS]: Make code unconditional.
29067         [!__ASSUME_32BITUIDS]: Remove conditional code.
29068         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29069         <kernel-features.h>.
29070         [__ASSUME_32BITUIDS]: Make code unconditional.
29071         [!__ASSUME_32BITUIDS]: Remove conditional code.
29072         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29073         <kernel-features.h>.
29074         [__ASSUME_32BITUIDS]: Make code unconditional.
29075         [!__ASSUME_32BITUIDS]: Remove conditional code.
29076         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29077         <kernel-features.h>.
29078         [__ASSUME_32BITUIDS]: Make code unconditional.
29079         [!__ASSUME_32BITUIDS]: Remove conditional code.
29080         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29081         <kernel-features.h>.
29082         [__ASSUME_32BITUIDS]: Make code unconditional.
29083         [!__ASSUME_32BITUIDS]: Remove conditional code.
29084         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29085         <kernel-features.h>.
29086         [__ASSUME_32BITUIDS]: Make code unconditional.
29087         [!__ASSUME_32BITUIDS]: Remove conditional code.
29088         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29089         <kernel-features.h>.
29090         [__ASSUME_32BITUIDS]: Make code unconditional.
29091         [!__ASSUME_32BITUIDS]: Remove conditional code.
29092         * sysdeps/unix/sysv/linux/i386/setresuid.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/setreuid.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/setuid.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/shmctl.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/kernel-features.h
29109         (__ASSUME_SETRESUID_SYSCALL): Remove.
29110         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29111         (__ASSUME_32BITUIDS): Likewise.
29112         (__ASSUME_LDT_WORKS): Likewise.
29113         (__ASSUME_O_DIRECTORY): Likewise.
29114         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29115         architecture but not kernel version.
29116         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29117         (__ASSUME_MMAP2_SYSCALL): Likewise.
29118         (__ASSUME_STAT64_SYSCALL): Likewise.
29119         (__ASSUME_IPC64): Likewise.
29120         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29121         <kernel-features.h>.
29122         [__ASSUME_32BITUIDS]: Make code unconditional.
29123         [!__ASSUME_32BITUIDS]: Remove conditional code.
29124         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29125         <kernel-features.h>.
29126         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29127         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29128         132096]: Remove conditional code.
29129         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29130         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29131         <kernel-features.h>.
29132         [__ASSUME_32BITUIDS]: Make code unconditional.
29133         [!__ASSUME_32BITUIDS]: Remove conditional code.
29134         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29135         <kernel-features.h>.
29136         [__ASSUME_32BITUIDS]: Make code unconditional.
29137         [!__ASSUME_32BITUIDS]: Remove conditional code.
29138         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29139         <kernel-features.h>.
29140         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29141         unconditional.
29142         (__setresgid): Do not declare.
29143         [__ASSUME_32BITUIDS]: Make code unconditional.
29144         [!__ASSUME_32BITUIDS]: Remove conditional code.
29145         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29146         <kernel-features.h>.
29147         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29148         unconditional.
29149         (__setresuid): Do not declare.
29150         [__ASSUME_32BITUIDS]: Make code unconditional.
29151         [!__ASSUME_32BITUIDS]: Remove conditional code.
29152         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29153         <kernel-features.h>.
29154         [__ASSUME_32BITUIDS]: Make code unconditional.
29155         [!__ASSUME_32BITUIDS]: Remove conditional code.
29156         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29157         <kernel-features.h>.
29158         [__ASSUME_32BITUIDS]: Make code unconditional.
29159         [!__ASSUME_32BITUIDS]: Remove conditional code.
29161 2012-05-25  Richard Henderson  <rth@twiddle.net>
29163         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29164         dl_hwcap to ifunc resolver.
29165         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29166         elf_ifunc_invoke.
29167         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29168         dl_hwcap to ifunc resolver.
29169         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29171 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29173         [BZ #14153]
29174         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29175         for |x| <= 2**-26, not 2**-57.
29176         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29177         exception.
29179 2012-05-24  Jeff Law  <law@redhat.com>
29181         * stdio-common/Makefile (tests): Add bug25.
29182         * stdio-common/bug25.c: New test.
29184 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29186         [BZ #13576]
29187         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29188         multiple of MALLOC_ALIGNMENT in size.
29189         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29191 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29193         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29194         Require >= 256.
29195         (FILENAME_MAX): Use macro-int-constant.
29196         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29197         (_IOFBF): Use macro-int-constant.
29198         (_IOLBF): Likewise.
29199         (_IONBF): Likewise.
29200         (SEEK_CUR): Likewise.
29201         (SEEK_END): Likewise.
29202         (SEEK_SET): Likewise.
29203         (TMP_MAX): Likewise.
29204         (EOF): Use macro-int-constant.  Require < 0.
29205         (NULL): Use macro-constant.  Require == 0.
29206         (stdin): Require type to be FILE *.
29207         (stdout): Likewise.
29208         (stderr): Likewise.
29209         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29210         macro-int-constant.
29211         (EXIT_SUCCESS): Likewise.
29212         (NULL): Use macro-constant.  Require == 0.
29213         (RAND_MAX): Use macro-int-constant.
29214         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29215         [C99-based standards] (strtof): Require function.
29216         [C99-based standards] (strtold): Likewise.
29217         [C99-based standards] (strtoll): Likewise.
29218         [C99-based standards] (strtoull): Likewise.
29219         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29220         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29221         [ISO || ISO99 || ISO11] (math.h): Likewise.
29222         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29223         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29224         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29226 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29228         [BZ #14132]
29229         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29230         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29231         * intl/dgettext.c (DCGETTEXT): Likewise.
29232         * intl/gettext.c (DCGETTEXT): Likewise.
29233         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29234         * posix/regex_internal.h (gettext): Likewise.
29235         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29236         Remove declaration.
29237         * include/argz.h (__argz_count_internal)
29238         (__argz_stringify_internal): Remove declaration.
29239         (__argz_count, __argz_stringify): Declare hidden proto.
29240         * intl/dcgettext.c: Remove use of INTDEF.
29241         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29242         * string/argz-stringify.c: Likewise.
29243         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29244         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29245         Declare hidden proto.
29246         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29247         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29248         Declare hidden proto.
29249         * include/stdio.h (__asprintf_internal): Don't declare.
29250         (__asprintf): Don't define as macro.  Declare hidden proto.
29251         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29252         (__fsetlocking): Declare hidden proto.
29253         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29254         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29255         hidden proto.
29256         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29257         (_IO_setlinebuf): Remove use of INTUSE.
29258         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29259         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29260         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29261         Remove declaration.
29262         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29263         (_IO_do_flush): Remove use of INTUSE.
29264         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29265         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29266         (_IO_adjust_column, _IO_least_wmarker)
29267         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29268         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29269         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29270         (_IO_default_doallocate, _IO_wdefault_doallocate)
29271         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29272         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29273         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29274         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29275         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29276         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29277         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29278         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29279         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29280         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29281         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29282         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29283         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29284         proto.
29285         (_IO_flush_all_internal, _IO_adjust_column_internal)
29286         (_IO_default_uflow_internal, _IO_default_finish_internal)
29287         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29288         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29289         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29290         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29291         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29292         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29293         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29294         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29295         (_IO_file_close_internal, _IO_file_close_it_internal)
29296         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29297         (_IO_file_init_internal, _IO_file_attach_internal)
29298         (_IO_file_fopen_internal, _IO_file_read_internal)
29299         (_IO_file_sync_internal, _IO_file_seek_internal)
29300         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29301         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29302         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29303         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29304         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29305         (_IO_list_all_internal, _IO_link_in_internal)
29306         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29307         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29308         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29309         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29310         (_IO_do_write_internal, _IO_padn_internal)
29311         (_IO_getline_info_internal, _IO_getline_internal)
29312         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29313         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29314         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29315         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29316         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29317         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29318         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29319         with libc_hidden_ver, remove use of INTUSE.
29320         * libio/genops.c: Likewise.
29321         * libio/freopen.c: Likewise.
29322         * libio/freopen64.c: Likewise.
29323         * libio/iofclose.c: Likewise.
29324         * libio/iofdopen.c: Likewise.
29325         * libio/iofflush.c: Likewise.
29326         * libio/iofflush_u.c: Likewise.
29327         * libio/iofgets.c: Likewise.
29328         * libio/iofgets_u.c: Likewise.
29329         * libio/iofopen.c: Likewise.
29330         * libio/iofopncook.c: Likewise.
29331         * libio/iofread.c: Likewise.
29332         * libio/iofread_u.c: Likewise.
29333         * libio/ioftell.c: Likewise.
29334         * libio/iofwrite.c: Likewise.
29335         * libio/iogetline.c: Likewise.
29336         * libio/iogets.c: Likewise.
29337         * libio/iogetwline.c: Likewise.
29338         * libio/iopadn.c: Likewise.
29339         * libio/iopopen.c: Likewise.
29340         * libio/ioseekoff.c: Likewise.
29341         * libio/ioseekpos.c: Likewise.
29342         * libio/iosetbuffer.c: Likewise.
29343         * libio/iosetvbuf.c: Likewise.
29344         * libio/ioungetc.c: Likewise.
29345         * libio/ioungetwc.c: Likewise.
29346         * libio/iovdprintf.c: Likewise.
29347         * libio/iovsprintf.c: Likewise.
29348         * libio/iovsscanf.c: Likewise.
29349         * libio/memstream.c: Likewise.
29350         * libio/obprintf.c: Likewise.
29351         * libio/oldfileops.c: Likewise.
29352         * libio/oldiofclose.c: Likewise.
29353         * libio/oldiofdopen.c: Likewise.
29354         * libio/oldiofopen.c: Likewise.
29355         * libio/oldiopopen.c: Likewise.
29356         * libio/oldstdfiles.c: Likewise.
29357         * libio/putc.c: Likewise.
29358         * libio/setbuf.c: Likewise.
29359         * libio/setlinebuf.c: Likewise.
29360         * libio/stdfiles.c: Likewise.
29361         * libio/strops.c: Likewise.
29362         * libio/vasprintf.c: Likewise.
29363         * libio/vscanf.c: Likewise.
29364         * libio/vsnprintf.c: Likewise.
29365         * libio/vswprintf.c: Likewise.
29366         * libio/wfiledoalloc.c: Likewise.
29367         * libio/wfileops.c: Likewise.
29368         * libio/wgenops.c: Likewise.
29369         * libio/wmemstream.c: Likewise.
29370         * libio/wstrops.c: Likewise.
29371         * libio/__fpurge.c: Likewise.
29372         * libio/__fsetlocking.c: Likewise.
29373         * assert/assert.c: Likewise.
29374         * debug/fgets_chk.c: Likewise.
29375         * debug/fgets_u_chk.c: Likewise.
29376         * debug/fread_chk.c: Likewise.
29377         * debug/fread_u_chk.c: Likewise.
29378         * debug/gets_chk.c: Likewise.
29379         * debug/obprintf_chk.c: Likewise.
29380         * debug/vasprintf_chk.c: Likewise.
29381         * debug/vdprintf_chk.c: Likewise.
29382         * debug/vsnprintf_chk.c: Likewise.
29383         * debug/vsprintf_chk.c: Likewise.
29384         * malloc/mtrace.c: Likewise.
29385         * misc/error.c: Likewise.
29386         * misc/syslog.c: Likewise.
29387         * stdio-common/asprintf.c: Likewise.
29388         * stdio-common/fxprintf.c: Likewise.
29389         * stdio-common/getw.c: Likewise.
29390         * stdio-common/isoc99_fscanf.c: Likewise.
29391         * stdio-common/isoc99_scanf.c: Likewise.
29392         * stdio-common/isoc99_vfscanf.c: Likewise.
29393         * stdio-common/isoc99_vscanf.c: Likewise.
29394         * stdio-common/isoc99_vsscanf.c: Likewise.
29395         * stdio-common/printf-prs.c: Likewise.
29396         * stdio-common/printf_fp.c: Likewise.
29397         * stdio-common/printf_fphex.c: Likewise.
29398         * stdio-common/printf_size.c: Likewise.
29399         * stdio-common/putw.c: Likewise.
29400         * stdio-common/scanf.c: Likewise.
29401         * stdio-common/sprintf.c: Likewise.
29402         * stdio-common/tmpfile.c: Likewise.
29403         * stdio-common/vfprintf.c: Likewise.
29404         * stdio-common/vfscanf.c: Likewise.
29405         * stdlib/strfmon_l.c: Likewise.
29406         * sunrpc/openchild.c: Likewise.
29407         * sunrpc/xdr_stdio.c: Likewise.
29408         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29409         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29411 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29413         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29415         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29416         in the third column, to generate for the shared library an IFUNC
29417         that uses _dl_vdso_vsym.
29418         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29419         * Makeconfig (object-suffixes-noshared): New variable.
29421         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29422         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29423         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29424         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29426         [BZ #14132]
29427         * include/sys/time.h (__gettimeofday): Remove macro.
29428         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29429         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29430         Remove INTDEF.
29431         (__gettimeofday): Add libc_hidden_def.
29432         (gettimeofday): Add libc_hidden_weak.
29433         * sysdeps/mach/gettimeofday.c: Likewise.
29434         * sysdeps/posix/gettimeofday.c: Likewise.
29435         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29436         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29437         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29438         (__gettimeofday_internal): Remove strong_alias.
29439         (__gettimeofday): Add libc_hidden_def.
29440         (gettimeofday): Add libc_hidden_weak.
29441         * sysdeps/unix/syscalls.list (gettimeofday):
29442         Remove __gettimeofday_internal alias.
29444 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29445             H.J. Lu  <hongjiu.lu@intel.com>
29447         [BZ #12495]
29448         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29449         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29450         (largebin_index_32_big): New.
29451         (largebin_index): Use it for 16-byte alignment.
29452         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29453         correction with front_misalign.
29455 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29457         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29458         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29459         Likewise.
29460         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29461         Likewise.
29462         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29463         Likewise.
29464         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29465         Likewise.
29466         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29467         Likewise.
29468         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29469         Likewise.
29470         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29471         Likewise.
29472         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29473         Likewise.
29474         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29475         Likewise.
29476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29477         Likewise.
29478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29479         Likewise.
29480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29481         Likewise.
29483         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29484         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29486 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29488         [BZ #10846]
29489         [BZ #14036]
29490         * math/libm-test.inc (exp_test): Add test from bug 14036.
29491         (pow_test): Add test from bug 10846.
29493         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29494         and other flags.
29495         (special_function): Do not include flags in test name.
29496         (parse_args): Likewise.
29497         * sysdeps/i386/fpu/libm-test-ulps: Update.
29498         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29499         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29500         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29501         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29503         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29504         exceptions.
29505         * math/libm-test.inc ("Philosophy"): Update comment about
29506         exception testing.
29507         (UNDERFLOW_EXCEPTION): New macro.
29508         (UNDERFLOW_EXCEPTION_OK): Likewise.
29509         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29510         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29511         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29512         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29513         (INVALID_EXCEPTION_OK): Update value.
29514         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29515         (OVERFLOW_EXCEPTION_OK): Likewise.
29516         (IGNORE_ZERO_INF_SIGN): Likewise.
29517         (test_exceptions): Handle underflow exceptions.
29518         (acos_test): Update for underflow exception expectations.
29519         (cexp_test): Likewise.
29520         (clog_test): Likewise.
29521         (clog10_test): Likewise.
29522         (csqrt_test): Likewise.
29523         (ctan_test): Likewise.
29524         (ctanh_test): Likewise.
29525         (exp_test): Likewise.
29526         (exp10_test): Likewise.
29527         (exp2_test): Likewise.
29528         (expm1_test): Likewise.
29529         (fma_test): Likewise.
29530         (j0_test): Likewise.
29531         (jn_test): Likewise.
29532         (nexttoward_test): Likewise.
29533         (pow_test): Likewise.
29534         (scalbn_test): Likewise.
29535         (scalbln_test): Likewise.
29536         (tan_test): Likewise.
29537         (y1_test): Likewise.
29538         * sysdeps/i386/fpu/libm-test-ulps: Update.
29539         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29541 2012-05-23  David S. Miller  <davem@davemloft.net>
29543         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29544         (__libc_sigaction): Remove unused local variables.
29546 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29548         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29550 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29552         mktime: avoid signed integer overflow
29553         * time/mktime.c (__mktime_internal): Do not mishandle the case
29554         where diff == INT_MIN.
29556         mktime: simplify computation of average
29557         * time/mktime.c (ranged_convert): Use new time_t_avg function
29558         instead of rolling our own (probably-slower) code.
29560         mktime: do not assume signed right shift propagates sign bit
29561         * time/mktime.c (isdst_differ): New static function.
29562         (__mktime_internal): No need to normalize tm_isdst now.
29563         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29564         tm_isdst values.
29566         mktime: merge another wrapv change from gnulib
29567         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29568         from some compilers.
29570         mktime: remove incorrect attempt at unusual arithmetics
29571         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29572         The code didn't really work on such machines anyway.
29573         (TYPE_MINIMUM): Assume two's complement.
29574         (twos_complement_arithmetic): Verify that long_int and time_t
29575         are two's complement (or unsigned, in the latter case).
29577         mktime: check signed shifts on long_int and time_t, too
29578         * time/mktime.c (SHR): Check that shifts work as desired
29579         on the types long_int and time_t too, as SHR is used on
29580         such types.
29582         mktime: do not assume 'long' is wide enough
29583         * time/mktime.c (verify): Move decl up.
29584         (long_int): New type.
29585         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29586         to remove assumption in the code that 'long' is wide enough to
29587         store year values.  This assumption is not true on x32 and on
29588         some non-glibc platforms.
29590         mktime: merge wrapv change from gnulib
29591         * time/mktime.c (WRAPV): New macro.
29592         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29593         (guess_time_tm, __mktime_internal): Do not assume that signed
29594         integer overflow wraps around; modern compilers generate code
29595         where this assumption is no longer valid.
29597 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29599         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29600         Replace "jmp L(pseudo_end)" with "ret".
29601         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29602         Likewise.
29604 2012-05-23  Andreas Jaeger  <aj@suse.de>
29606         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29607         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29609 2012-05-23  Andreas Jaeger  <aj@suse.de>
29610             Maximilian Attems  <max@stro.at>
29612         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29613         New macros.
29615 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29617         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29618         code so that pseudo_end is just ret and the stack pointer is
29619         correct also for static library in error case.
29621 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29623         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29624         move to syscalls.list.
29625         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29626         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29630         * manual/install.texi (Running make install): Do not mention Linux
29631         kernel version for which pt_chown is not needed.
29632         (Linux): Do not mention problems with nscd with 2.0 kernels.
29633         * INSTALL: Regenerated.
29635 2012-05-23  Andreas Jaeger  <aj@suse.de>
29637         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29638         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29639         macro.
29640         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29641         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29642         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29643         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29644         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29645         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29646         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29647         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29648         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29649         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29650         * sysdeps/unix/sysv/linux/bits/in.h
29651         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29653 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29655         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29656         (PREPARE_VERSION): Just use assert instead, it will be elided
29657         under [NDEBUG] anyway.
29659 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29661         * sysdeps/unix/sysv/linux/Makefile: Include
29662         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29663         (sysdep_routines): Remove sysctl.
29664         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29665         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29666         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29667         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29668         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29670 2012-05-22  Andreas Jaeger  <aj@suse.de>
29672         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29673         that pseudo_end is just ret and the stack pointer is correct also
29674         for static library in error case.
29676 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29678         [BZ #14122]
29679         * nss/nsswitch.c (defconfig_entries): New variable.
29680         (__nss_database_lookup): Don't leak defconfig entries.
29681         (nss_parse_service_list): Don't leak on error paths.
29682         (free_database_entries): New function.
29683         (free_defconfig): New function.
29684         (free_mem): Move common code to free_database_entries.
29686 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29688         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29689         Add arch_prctl.
29690         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29692         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29693         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29694         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29695         New macro.
29696         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29697         (INTERNAL_SYSCALL_TYPES): Likewise.
29698         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29699         (LOAD_REGS_TYPES_[1-6]): Likewise.
29700         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29701         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29703 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29705         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29706         copysignl for GLIBC_2_0.
29707         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29708         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29709         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29710         logbl for GLIBC_2_0.
29711         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29712         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29714 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29716         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29717         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29719         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29720         Use "neg %eax".
29722         * time/mktime.c: Update copyright years.
29724 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29726         mktime: merge comment-quoting-style change from gnulib
29727         * time/mktime.c: Quote 'like this' in comments.
29728         The GNU coding standards suggest that we no longer quote `like this',
29729         as "`" and "'" are typically rendered asymmetrically nowadays.
29730         The typical gnulib style is to quote 'like this' when quoting
29731         code, and "like this" when quoting English.
29733         * time/mktime.c (compile-command): Add "-I.".
29735         mktime: merge mktime-internal.h change from gnulib
29736         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29738         mktime: merge time_r change from gnulib
29739         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29741         mktime: merge DEBUG change from gnulib
29742         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29743         case system <time.h> has a #define.
29745         mktime: merge <sys/types.h> change from gnulib
29746         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29747         since <time.t> is now guaranteed to define time_t.
29749         mktime: merge HAVE_CONFIG_H change from gnulib
29750         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29752 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29754         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29755         Use "neg %eax".
29757         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29758         __rlim_t cast.
29759         (struct rusage): Use anonymous union to pad each field to
29760         __syscall_slong_t.
29762 2012-05-21  David S. Miller  <davem@davemloft.net>
29764         * Makefules (o-iterator): Remove .s cases.
29765         (compile-command.s): Delete.
29766         (COMPILE.s): Delete.
29767         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29769 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29771         * configure.in (libc_cv_predef_stack_protector): Only consider
29772         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29773         * configure: Regenerated.
29775 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29777         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29778         New macro.  Use R*LP on int and pointer.
29779         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29780         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29781         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29782         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29784         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29785         [__WORDSIZE_TIME64_COMPAT32] instead of
29786         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29787         (struct utmp): Likewise.
29788         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29789         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29790         Renamed to ...
29791         (__WORDSIZE_TIME64_COMPAT32): This.
29792         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29793         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29794         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29795         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29796         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29797         (__WORDSIZE_TIME64_COMPAT32): New macro.
29799 2012-05-21  Andreas Jaeger  <aj@suse.de>
29801         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29802         only if [SHARED]. Add prototype for __wcschr_ia32.
29804 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29806         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29807         of %rbp unmolested in the jmp_buf while mangling the low bits.
29808         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29809         unmolested high bits of %rbp while demangling the low bits.
29810         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29812 2012-05-21  Andreas Jaeger  <aj@suse.de>
29814         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29815         * sunrpc/svc_simple.c: Use it for registerrpc.
29816         * sunrpc/xcrypt.c: Use it for passwd2des.
29818         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29820 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29822         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29823         Don't define if [__SYSCALL_WORDSIZE != 32].
29824         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29825         New macro.
29827 2012-05-21  Bruno Haible  <bruno@clisp.org>
29828             Andreas Jaeger  <aj@suse.de>
29830         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29831         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29832         inptr and inend for must_buffer_ch.
29833         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29834         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29835         * stdio-common/Makefile (tests): Remove bug15.
29836         (bug15-ENV): Remove macro.
29837         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29838         anymore.
29840 2012-05-19  Andreas Jaeger  <aj@suse.de>
29841             Roland McGrath  <roland@hack.frob.com>
29843         * manual/contrib.texi: Completely rewritten. It contains now an
29844         alphabetical list of contributors and their contributions.
29846 2012-05-21  Richard Henderson  <rth@twiddle.net>
29848         * misc/getauxval.c (__getauxval): Use unsigned long int.
29849         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29850         (getauxval): Use unsigned long int.
29852 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29854         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29856 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29858         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29859         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29860         __alignof__ (long double).
29862 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29864         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29866 2012-05-20  Richard Henderson  <rth@twiddle.net>
29868         * misc/getauxval.c: New file.
29869         * misc/sys/auxv.h: New file.
29870         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
29871         (routines): Add getauxval.
29872         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
29873         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
29874         * elf/dl-sysdep.c (_dl_auxv): Remove.
29875         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
29876         * elf/dl-support.c (_dl_auxv): New variable.
29877         (_dl_aux_init): Initialize it.
29878         * manual/startup.texi (Auxiliary Vector): New node.
29879         * sysdeps/generic/bits/hwcap.h: New file.
29880         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
29881         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
29882         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
29883         * sysdeps/sparc/sysdep.h: ... here.  Include it.
29884         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
29885         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
29886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29887         Update.
29888         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
29889         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
29890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
29891         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
29892         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
29894         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
29895         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
29897 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29899         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29901 2012-05-19  David S. Miller  <davem@davemloft.net>
29903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29905 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29907         [BZ #14123]
29908         * math/s_ccosh.c: Include <float.h>
29909         (__ccosh): Avoid internal overflow calculating sinh and cosh
29910         values before multiplying by sin and cos values.
29911         * math/s_ccoshf.c: Likewise.
29912         * math/s_ccoshl.c: Likewise.
29913         * math/s_csin.c: Likewise.
29914         * math/s_csinf.c: Likewise.
29915         * math/s_csinl.c: Likewise.
29916         * math/s_csinh.c: Likewise.
29917         * math/s_csinhf.c: Likewise.
29918         * math/s_csinhl.c: Likewise.
29919         * math/libm-test.inc (ccos_test): Add more tests.
29920         (ccosh_test): Likewise.
29921         (csin_test): Likewise.
29922         (csinh_test): Likewise.
29923         * sysdeps/i386/fpu/libm-test-ulps: Update.
29924         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29926 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
29928         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
29929         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
29931         * sysdeps/x86_64/x32/_itoa.h: Add comment.
29933 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
29935         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
29936         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
29937         * sysdeps/powerpc/soft-fp/Versions: Likewise.
29938         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
29939         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
29940         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
29941         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
29942         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
29943         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
29944         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
29945         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
29946         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
29947         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
29948         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
29949         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
29950         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
29951         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
29952         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
29953         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
29954         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
29955         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
29956         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
29957         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
29958         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
29959         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
29960         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
29961         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
29962         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
29963         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
29964         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
29965         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
29967 2012-05-18  Andreas Jaeger  <aj@suse.de>
29969         * csu/.gitignore: Delete.
29971 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29973         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
29974         (timex): Use __syscall_slong_t.
29976 2012-05-18  Andreas Jaeger  <aj@suse.de>
29977             Carlos O'Donell  <carlos_odonell@mentor.com>
29979         * manual/install.texi (Configuring and compiling): Update
29980         description about files modified in the source directory.
29981         * INSTALL: Regenerated.
29983 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
29985         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
29986         value.  Use "or" to set return value to -1.
29987         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
29988         negate return value.
29990 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
29992         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
29993         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
29994         failure if the compiler has Graphite support disabled.
29995         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
29996         Likewise.
29997         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
29998         (CFLAGS-memmove.c): Likewise.
29999         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30000         Likewise.
30002 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30004         * sysdeps/x86_64/x32/_itoa.h: New file.
30006         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30007         getdents system call only if kernel and user dirents have the
30008         same d_ino and d_off.
30010         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30011         LLONG_MAX != LONG_MAX.
30012         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30013         (_fitoa_word): Likewise.
30015         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30016         years.
30017         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30018         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30019         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30021         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30022         include <bits/wordsize.h>.  Check __x86_64__ instead of
30023         __WORDSIZE.
30024         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30025         if __x86_64__ is defined.  Use anonymous union on fpstate.
30027         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30028         anonymous union.
30030 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30032         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30033         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30034         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30035         Refer to _rtld_local_ro instead of _rtld_global_ro.
30036         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30037         Likewise.
30038         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30039         Likewise.
30040         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30041         Likewise.
30042         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30043         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30044         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30046         * sysdeps/powerpc/powerpc32/dl-machine.c
30047         (__elf_machine_runtime_setup) [PROF]: Don't reference
30048         _dl_prof_resolve.
30050 2012-05-18  Andreas Jaeger  <aj@suse.de>
30052         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30053         function only available for GCCs before 3.4 since GCC 3.4
30054         introduced a builtin.
30055         (lrint): Likewise.
30056         (llrintf): Likewise.
30057         (llrint): Likewise.
30058         (fmaxf): Likewise.
30059         (fmax): Likewise.
30060         (fminf): Likewise.
30061         (fmin): Likewise.
30062         (rint): Likewise.
30063         (rintf): Likewise.
30064         (nearbyint): Likewise.
30065         (nearbyintf): Likewise.
30066         (ceil): Likewise.
30067         (ceilf): Likewise.
30068         (floor): Likewise.
30069         (floorf): Likewise.
30071 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30073         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30074         on both fields and cast pointer to __syscall_ulong_t.
30076         * bits/types.h (__fsword_t): New type.
30077         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30078         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30079         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30080         (__FSWORD_T_TYPE): Likewise.
30081         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30082         (__FSWORD_T_TYPE): Likewise.
30083         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30084         (__FSWORD_T_TYPE): Likewise.
30085         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30086         (__FSWORD_T_TYPE): Likewise.
30087         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30088         __SWORD_TYPE with __fsword_t.
30089         (statfs64): Likewise.
30091 2012-05-17  David S. Miller  <davem@davemloft.net>
30093         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30095 2012-05-17  Andreas Jaeger  <aj@suse.de>
30097         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30098         warning.
30100 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30102         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30104 2012-05-17  Andreas Jaeger  <aj@suse.de>
30106         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30107         when it is used.
30109 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30111         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30113 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30115         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30116         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30118 2012-05-17  Andreas Jaeger  <aj@suse.de>
30119             Carlos O'Donell  <carlos_odonell@mentor.com>
30121         [BZ #14059]
30122         * sysdeps/x86_64/multiarch/init-arch.h
30123         (bit_YMM_Usable): Rename to...
30124         (bit_AVX_Usable): ... this.
30125         (bit_FMA4_Usable): New macro.
30126         (bit_XMM_state): New macro.
30127         (bit_YMM_state): New macro.
30128         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30129         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30130         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30131         (CPUID_OSXSAVE): New macro.
30132         (CPUID_AVX): New macro.
30133         (CPUID_FMA4): New macro.
30134         (index_YMM_Usable): Rename to...
30135         (index_AVX_Usable): ... this.
30136         (HAS_AVX): Use HAS_ARCH_FEATURE.
30137         (HAS_FMA4): Likewise.
30138         (HAS_YMM_USABLE): Remove.
30139         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30140         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30141         are present.
30142         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30143         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30144         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30145         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30146         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30148 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30150         * math/libm-test.c: Support platforms without multiple rounding modes.
30151         * math/bug-nextafter.c: Support platforms without FP exceptions.
30152         * math/bug-nexttoward.c: Likewise.
30153         * math/test-fenv.c: Likewise.
30154         * math/test-misc.c: Likewise.
30155         * stdlib/bug-getcontext.c: Likewise.
30157 2012-05-17  Andreas Jaeger  <aj@suse.de>
30159         * manual/examples/search.c (critter_cmp): Change signature to
30160         avoid warnings.
30161         * manual/string.texi (Collation Functions): Likewise.
30163 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30165         * bits/types.h: Fold copyright years.
30166         * bits/typesizes.h: Likewise.
30167         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30168         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30169         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30170         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30171         * time/time.h: Likewise.
30173 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30175         [BZ #208]
30176         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30177         in instead of returning them.  Return void.
30178         (__libc_mallinfo): Accumulate over all arenas.
30179         (__malloc_stats): Adjust for change in int_mallinfo interface.
30181 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30183         [BZ #10375]
30184         * configure.in (NM): Add AC_CHECK_TOOL for it.
30185         (libc_extra_cflags): New substituted variable.
30186         Check for -fstack-protector being used implicitly.
30187         * configure: Regenerated.
30188         * config.make.in (config-extra-cflags): New variable,
30189         gets @libc_extra_cflags@.
30190         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30192         [BZ #10375]
30193         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30194         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30195         * configure: Regenerated.
30196         * config.make.in (CPPUNDEFS): New substituted variable.
30197         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30198         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30199         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30201 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30203         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30204         (mq_attr): Use __syscall_slong_t.
30206 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30208         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30209         Check __x86_64__ instead of __WORDSIZE.
30210         (_STAT_VER_LINUX): Likewise.
30211         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30212         __syscall_ulong_t and __syscall_slong_t.
30213         (stat64): Likewise.
30215 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30217         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30219 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30221         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30223 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30225         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30226         __syscall_ulong_t.
30228         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30229         include <bits/wordsize.h>.  Check __x86_64__ instead of
30230         __WORDSIZE.
30231         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30232         defined.
30233         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30235         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30236         include <bits/wordsize.h>.  Check __x86_64__ instead of
30237         __WORDSIZE.
30238         (user_regs_struct): Use "__extension__ unsigned long long"
30239         instead of "unsigned long" if __x86_64__ is defined.
30240         (user): Likewise.  Pad after pointer field if __ILP32__ is
30241         defined.
30243 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30245         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30246         versions 5 to 9.
30247         * configure: Regenerated.
30248         * manual/install.texi (texinfo): Increase version requirement to
30249         4.5 or later.
30250         * INSTALL: Regenerated.
30252         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30254 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30256         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30258         * sysdeps/x86_64/x32/ffs.c: New file.
30260         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30261         __syscall_ulong_t.
30262         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30263         defined.  Use __syscall_ulong_t.
30264         (shminfo): Use __syscall_ulong_t.
30265         (shm_info): Likewise.
30267         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30268         __syscall_ulong_t.
30270         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30271         <bits/wordsize.h>.
30272         (msgqnum_t): Use __syscall_ulong_t.
30273         (msglen_t): Likewise.
30274         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30275         __syscall_ulong_t.
30277         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30278         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30280         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30282         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30283         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30285         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30286         __syscall_slong_t.
30288         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30289         include <bits/wordsize.h>.  Check __x86_64__ instead of
30290         __WORDSIZE.
30292         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30293         "unsigned long long int" if __x86_64__ is defined.
30294         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30296         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30298         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30300         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30301         <stdint.h>.
30302         (GET_PC): Cast to uintptr_t first.
30303         (GET_FRAME): Likewise.
30304         (GET_STACK): Likewise.
30306         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30307         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30308         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30309         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30310         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30311         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30312         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30313         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30314         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30315         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30316         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30317         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30318         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30319         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30320         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30321         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30322         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30323         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30324         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30325         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30326         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30327         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30328         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30329         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30330         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30331         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30332         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30333         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30334         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30336 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30338         * Makerules (+depfiles): Also collect depfiles from .oS in
30339         $(extra-objs).
30340         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30341         .oS, $(libnldbl-routines)).
30343         * Makerules (native-compile-mkdep-flags): Define.
30344         * sunrpc/Makefile (extra-objs): Add $(addprefix
30345         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30346         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30347         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30348         calling $(make-target-directory).
30350 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30352         * bits/types.h (__snseconds_t): Removed.
30353         * time/time.h (struct timespec): Replace __snseconds_t with
30354         __syscall_slong_t.
30355         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30356         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30357         Likewise.
30358         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30359         (__SNSECONDS_T_TYPE): Likewise.
30360         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30361         (__SNSECONDS_T_TYPE): Likewise.
30362         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30363         (__SNSECONDS_T_TYPE): Likewise.
30365 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30367         * sysdeps/mach/hurd/bits/typesizes.h
30368         (__SYSCALL_SLONG_TYPE): New macro.
30369         (__SYSCALL_ULONG_TYPE): Likewise.
30371 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30373         * bits/types.h (__syscall_slong_t): New type.
30374         (__syscall_ulong_t): Likewise.
30376         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30377         (__SYSCALL_ULONG_TYPE): Likewise.
30378         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30379         (__SYSCALL_SLONG_TYPE): Likewise.
30380         (__SYSCALL_ULONG_TYPE): Likewise.
30381         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30382         (__SYSCALL_SLONG_TYPE): Likewise.
30383         (__SYSCALL_ULONG_TYPE): Likewise.
30384         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30385         (__SYSCALL_SLONG_TYPE): Likewise.
30386         (__SYSCALL_ULONG_TYPE): Likewise.
30388 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30390         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30391         Add sigaltstack-offsets.sym.
30392         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30393         <sigaltstack-offsets.h>.
30394         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30395         longjmp_msg pointer.
30396         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30397         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30398         signal stack.
30399         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30401 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30403         * elf/stackguard-macros.h: Remove file.
30404         * sysdeps/generic/stackguard-macros.h: New file.
30405         * sysdeps/i386/stackguard-macros.h: Likewise.
30406         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30407         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30408         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30409         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30410         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30411         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30412         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30413         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30414         <elf/stackguard-macros.h>.
30416         [BZ #14109]
30417         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30418         __aligned__ in attribute.
30419         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30420         (gregset_t): Likewise.
30422 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30424         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30425         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30426         * sysdeps/x86_64/x32/Implies-after: New file.
30428 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30430         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30431         and access return value for _dl_profile_fixup.  Use R10_LP to
30432         load frame size.
30434 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30436         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30438 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30440         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30441         * sysdeps/x86_64/x32/sysdep.h: New file.
30443 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30445         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30446         * sysdeps/x86_64/setjmp.S: Likewise.
30448 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30450         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30451         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30452         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30453         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30454         remove unused global constant.
30456 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30458         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30459         include of <not-cancel.h>.
30461 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30463         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30465 2012-05-15  Jeff Law  <law@redhat.com>
30466             Andreas Jaeger  <aj@suse.de>
30468         [BZ #13594]
30469         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30470         out from...
30471         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30472         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30473         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30474         code changing __hst_map_handle.map.
30476 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30478         * configure.in (sysnames): Look for Implies-before and Implies-after
30479         files.
30480         * configure: Regenerated.
30482 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30484         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30485         8-byte data alignment with LP_SIZE alignment.
30487 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30489         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30490         into R10_LP.
30492 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30494         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30496 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30498         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30499         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30500         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30501         Likewise.
30502         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30504 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30506         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30507         (stackinfo_sub_sp): Likewise.
30509 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30511         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30512         RAX_LP.
30514 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30516         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30517         into R*_LP.
30519 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30521         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30522         sizes into R*_LP.
30524 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30526         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30530         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30531         into R11_LP and load __x86_64_shared_cache_size_half into
30532         R8_LP.
30534 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30536         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30537         R8_LP.
30539 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30541         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30542         logb for POWER7.
30543         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30544         logbf for POWER7.
30545         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30546         logbl for POWER7.
30547         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30548         powerpc32/power7/fpu/s_logb.c via #include.
30549         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30550         powerpc32/power7/fpu/s_logbf.c via #include.
30551         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30552         powerpc32/power7/fpu/s_logbl.c via #include.
30554 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30556         * README.libm: Remove file.
30558 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30560         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30561         count for x32.  Use R*_LP and omit operand-size suffix.
30563 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30565         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30566         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30567         * sysdeps/x86_64/x32/shlib-versions: New file.
30569 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30571         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30572         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30573         Use _dl_fatal_printf instead.
30575 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30577         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30578         set if not set by the user.  Do not allow for being unset.
30579         * sysdeps/unix/sysv/linux/configure: Regenerated.
30581 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30583         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30584         the `q' suffix from lea and replace .quad with ASM_ADDR.
30586 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30588         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30589         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30590         instead of $17.
30591         (PTR_DEMANGLE): Likewise.
30593 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30595         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30596         (LP_OP): Likewise.
30597         (ASM_ADDR): Likewise.
30598         (RAX_LP): Likewise.
30599         (RBP_LP): Likewise.
30600         (RBX_LP): Likewise.
30601         (RCX_LP): Likewise.
30602         (RDI_LP): Likewise.
30603         (RSI_LP): Likewise.
30604         (RSP_LP): Likewise.
30605         (R8_LP): Likewise.
30606         (R9_LP): Likewise.
30607         (R10_LP): Likewise.
30608         (R10_LP): Likewise.
30609         (R11_LP): Likewise.
30610         (R12_LP): Likewise.
30611         (R13_LP): Likewise.
30612         (R14_LP): Likewise.
30613         (R15_LP): Likewise.
30615 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30617         * sysdeps/x86_64/x32/dl-machine.h: New file.
30619 2012-05-14  Andreas Jaeger  <aj@suse.de>
30621         * manual/Makefile (subdir): Remove export of subdir.
30622         (all): Remove target.
30623         (.PHONY): Remove all from list.
30624         (mkinstalldirs): Remove.
30625         (.PHONY): Remove installdirs from list.
30626         ($(inst_infodir)/libc.info): Use make-target-directory.
30627         (installdirs): Remove.
30628         (subdir_%): Remove.
30629         (glibc-targets): Remove.
30630         (lib): Remove.
30631         (stubs): Remove.
30632         ($(objpfx)stubs ../po/manual.pot): Remove.
30633         ($(objpfx)stamp%): Remove.
30634         (make-target-directory): Remove.
30635         (subdir_install): Remove.
30636         (routines): Remove.
30637         (aux): Remove.
30638         (sources): Remove.
30639         (objects): Remove.
30640         (headers): Remove.
30642         [BZ #13750]
30643         * manual/.gitignore: Remove, it's not needed anymore.
30644         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30645         all files in it.
30646         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30647         directory.
30648         (texis): Renamed to $(objpfx)texis.
30649         (texis-path): New, contains path to generated files.
30650         (chapters.%): Use texis-path for complete path, add extra argument
30651         libc-texinfo.sh.
30652         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30653         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30654         (summary,texi, stamp-summary): Use complete path of
30655         files. Generate files in build dir.
30656         (dir-add.texi): Build in build dir.
30657         (libm-err.texi,stamp-libm-err): Likewise.
30658         (version.texi, stamp-version): Likewise.
30659         (.%c.texi): Likewise.
30660         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30661         (mostlyclean): Remove target.
30662         (realclean): Remove target.
30663         (generated): Add new variable with contents from mostlyclean and
30664         realclean, remove entries duplicated in common-mostlyclean, add
30665         stamp-libm-err and stamp-version.
30666         (generated-dirs): Add libc directory.
30667         ($(inst_infodir)/libc.info): Install files from build dir.
30669         * manual/install.texi (Configuring and compiling): Adjust since
30670         the info files are not part of the tar ball anymore.
30672 2012-05-14  Andreas Jaeger  <aj@suse.de>
30674         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30675         variable.
30677 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30679         [BZ #13717]
30680         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30681         to 2.2.0 where earlier.
30682         * sysdeps/unix/sysv/linux/configure: Regenerated.
30683         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30684         Remove conditional code.
30685         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30686         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30687         Remove conditional code.
30688         [!__NR_lchown]: Likewise.
30689         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30690         [__NR_lchown]: Likewise.
30691         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30692         comment referencing __ASSUME_LCHOWN_SYSCALL.
30693         * sysdeps/unix/sysv/linux/i386/sigaction.c
30694         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30695         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30696         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30697         Remove conditional code.
30698         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30699         (__protocol_available): Remove #if 0 code.
30700         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30701         conditional code.
30702         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30703         * sysdeps/unix/sysv/linux/kernel-features.h
30704         (__ASSUME_GETCWD_SYSCALL): Don't define.
30705         (__ASSUME_REALTIME_SIGNALS): Likewise.
30706         (__ASSUME_PREAD_SYSCALL): Likewise.
30707         (__ASSUME_PWRITE_SYSCALL): Likewise.
30708         (__ASSUME_POLL_SYSCALL): Likewise.
30709         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30710         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30711         non-SPARC.
30712         (__ASSUME_SIOCGIFNAME): Don't define.
30713         (__ASSUME_MSG_NOSIGNAL): Likewise.
30714         (__ASSUME_SENDFILE): Define unconditionally.
30715         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30716         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30717         conditional code.
30718         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30719         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30720         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30721         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30722         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30723         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30724         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30725         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30726         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30727         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30729         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30730         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30732         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30733         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30734         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30735         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30736         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30738         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30739         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30741         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30742         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30743         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30744         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30745         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30747         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30748         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30749         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30750         Remove conditional code.
30751         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30752         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30753         Remove conditional code.
30754         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30755         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30756         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30757         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30758         Remove conditional code.
30759         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30760         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30761         Remove conditional code.
30762         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30763         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30764         Remove conditional code.
30765         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30766         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30767         Remove conditional code.
30768         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30769         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30770         Remove conditional code.
30771         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30772         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30773         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30774         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30775         * sysdeps/unix/sysv/linux/sigaction.c
30776         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30777         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30778         * sysdeps/unix/sysv/linux/sigpending.c
30779         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30780         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30781         * sysdeps/unix/sysv/linux/sigprocmask.c
30782         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30783         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30784         * sysdeps/unix/sysv/linux/sigsuspend.c
30785         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30786         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30787         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30788         (__libc_missing_rt_sigs): Remove.
30789         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30790         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30791         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30792         Remove conditional code.
30793         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30794         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30795         return 1.
30796         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30797         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30798         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30799         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30801 2012-05-14  Andreas Jaeger  <aj@suse.de>
30803         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30804         it's not used in glibc.
30805         (__coshm1): Likewise.
30806         (__acosh1p): Likewise.
30807         (__sgn): Likewise.
30809         * manual/string.texi (Copying and Concatenation): Add missing
30810         variable in concat example.
30811         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30813 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30815         [BZ #14103]
30816         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30817         __builtin_clzl with __builtin_clzll.
30819 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30821         [BZ #14104]
30822         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30823         libc_freeres_ptr.
30825 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30827         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30828         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30829         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30830         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30832 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30834         * NEWS: Update ia64 info.
30836 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30838         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30839         used as bcopy.
30841 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30843         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30844         * sysdeps/unix/syscalls.list (dup3): Likewise.
30845         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30846         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30848 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30850         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30851         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30853 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30855         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30856         thread pointer.
30857         (TLS_IE): Use mov/add instead of movq/addq to load thread
30858         pointer.
30859         (TLS_GD_PREFIX): New.
30860         (TLS_GD): Use it.
30862 2012-05-11  David S. Miller  <davem@davemloft.net>
30864         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30865         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30866         (_FPU_SETCW): Likewise.
30868 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30870         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
30871         is 32-byte aligned.
30873 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
30875         [BZ #11837]
30876         * iconvdata/gb18030.c: Update tables.
30877         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
30878         characters specially.
30879         (BODY for TO_LOOP): Add encoding of missing ranges.
30881 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
30883         [BZ #13673]
30884         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
30885         * sysdeps/mach/hurd/dup3.c: Likewise.
30886         * sysdeps/mach/hurd/readlinkat.c: Likewise.
30887         * sysdeps/powerpc/memmove.c:: Likewise.
30889 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30891         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
30892         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
30894 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30896         * elf/elf.h (R_X86_64_RELATIVE64): New.
30897         (R_X86_64_NUM): Updated.
30898         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30899         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
30900         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
30901         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
30902         tst-quad1pie tst-quad2pie
30903         (modules-names): Add tst-quadmod1 tst-quadmod2.
30904         ($(objpfx)tst-quad1): New dependency.
30905         ($(objpfx)tst-quad2): Likewise.
30906         ($(objpfx)tst-quad1pie): Likewise.
30907         ($(objpfx)tst-quad2pie): Likewise.
30908         * sysdeps/x86_64/tst-quad1.c: New file.
30909         * sysdeps/x86_64/tst-quad1pie.c: New file.
30910         * sysdeps/x86_64/tst-quad2.c: Likewise.
30911         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
30912         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
30913         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
30914         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
30915         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
30917 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30919         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
30920         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
30921         * streams/stropts.h (t_scalar_t): Define type.
30923         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
30924         (_PATH_PRESERVE): Set to "/var/lib".
30925         (_PATH_RWHODIR): Set to "/var/spool/rwho".
30927         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
30928         instead of int.
30930         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
30931         if __dir_mkfile succeeded.
30933         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
30934         checking for _hurd_dtablesize.  Unlock it right after having
30935         finished _hurd_dtable allocation.
30937 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
30939         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
30940         * sysdeps/mach/hurd/configure: Regenerated.
30941         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
30942         special-casing to...
30943         * sysdeps/gnu/configure.in: ... this new file.
30944         * sysdeps/unix/sysv/linux/configure: Regenerated.
30945         * sysdeps/gnu/configure: New generated file.
30947         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
30948         for Linux: use nsec instead of usec, as well as:
30949         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
30950         members of type struct timespec.
30951         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
30952         New macros.
30953         (struct stat64): Likewise.
30954         (_STATBUF_ST_NSEC): New macro.
30955         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
30957         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
30958         __strtoul_internal rather than strtoul.
30960 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30962         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
30963         and reject them.
30965 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30967         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
30968         which preserves existing values.
30969         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
30971 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30973         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
30974         TIMEOUT values.  Return EINVAL for NFDS values either negative or
30975         greater than FD_SETSIZE.
30977 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30979         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
30980         allocated, call __vm_protect to finish enabling the existing space, and
30981         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
30982         allocate the remainder.
30984 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
30986         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
30987         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
30989 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30991         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
30992         sysdeps/mach/hurd/readlink.c.
30994         * posix/tst-sysconf.c (posix_options): Only use
30995         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
30996         _POSIX_SYNCHRONIZED_IO when they are defined
30997         * sysdeps/mach/hurd/bits/posix_opt.h:
30998         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
30999         (_XOPEN_REALTIME): Undefine macro.
31000         (_XOPEN_REALTIME_THREADS): Undefine macro.
31001         (_XOPEN_SHM): Undefine macro.
31002         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31003         macro to -1.
31004         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31005         macro to -1.
31006         (_POSIX_ASYNC_IO): Undefine macro.
31007         (_POSIX_PRIORITIZED_IO): Undefine macro.
31008         (_POSIX_SPIN_LOCKS): Define macro to -1.
31010         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31011         SA_NODEFER, SA_RESETHAND.
31012         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31013         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31014         F_DUPFD_CLOEXEC.
31016 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31018         * elf/Makefile (pldd-modules): Define unconditionally.
31020 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31022         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31024 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31026         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31027         Return ENOENT when name is empty.
31028         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31030 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31032         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31034         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31036 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31038         Fix mlock in all cases except non-readable pages.
31039         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31040         instead of VM_PROT_ALL as parameter to __vm_wire function.
31042         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31043         (__mkdir): When path is `/', just fail with EEXIST.
31044         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31046 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31048         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31049         <sys/uio.h> (for writev).
31050         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31051         and <sys/param.h> (for MIN).
31053 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31055         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31056         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31057         if interrupted.
31059 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31061         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31062         Depend on against $(link-rpcuserlibs).
31064 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31066         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31067         (__libc_stack_end): Do not use attribute_relro.
31068         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31069         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31070         to libthread-provided value.
31071         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31072         attribute_relro.
31074 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31076         [BZ #3748]
31077         * bits/libc-lock.h (__libc_once_get): New macro.
31078         * sysdeps/mach/bits/libc-lock.h: Likewise.
31079         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31080         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31081         instead of using implementation details.
31083         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31084         * libio/freopen.c: Likewise.
31085         * libio/freopen64.c: Likewise.
31086         * misc/syslog.c: Likewise.
31087         * nscd/connections.c: Likewise.
31088         * nscd/netgroupcache.c: Likewise.
31089         * sysdeps/posix/getcwd.c: Likewise.
31091 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31093         * math/w_ilogbf.c: Add #include <limits.h>.
31095 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31097         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31098         path instead of returning without unlocking.
31100         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31101         immediate-write ioctls.
31102         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31104 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31106         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31107         __builtin_frame_address instead of making assumptions about the
31108         location of the return address relative to DATA.  Force early load of
31109         the return address.
31110         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31111         __builtin_frame_address.
31113         dup3 for GNU Hurd.
31114         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31115         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31116         implement dup3 and do some further code clean-ups.
31117         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31118         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31120 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31122         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31124         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31125         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31126         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31127         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31128         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31129         d->port.lock.
31131         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31132         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31133         when handler == SIG_ERR, not when handler != SIG_ERR.
31135 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31137         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31138         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31139         definitions.
31141         accept4 for GNU Hurd.
31142         * include/sys/socket.h (__libc_accept4): New prototype.
31143         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31144         to implement __libc_accept4.
31145         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31146         __libc_accept4.
31147         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31149         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31150         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31151         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31152         signal-defines.sym.
31154 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31156         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31158 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31160         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31161         assertion on O_CLOEXEC flag.
31162         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31163         * hurd/intern-fd.c: Likewise.
31164         * hurd/port2fd.c: Likewise.
31166 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31168         [BZ #3906]
31169         * bits/in.h (IPV6_PKTINFO): Define new macro.
31170         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31172 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31174         [BZ #13954]
31175         [BZ #13955]
31176         [BZ #13956]
31177         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31178         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31179         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31180         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31181         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31182         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31183         * math/libm-test.inc (logb_test) : Additional logb tests.
31185 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31186             Andreas Jaeger  <aj@suse.de>
31188         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31189         * configure: Regenerated.
31190         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31191         * config.make.in (link-obsolete-rpc): New substituted variable.
31192         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31193         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31194         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31195         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31196         so that libc.a contains the symbols.
31197         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31198         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31199         * sunrpc/auth_none.c: Likewise.
31200         * sunrpc/auth_unix.c: Likewise.
31201         * sunrpc/authdes_prot.c: Likewise.
31202         * sunrpc/authuxprot.c: Likewise.
31203         * sunrpc/clnt_gen.c: Likewise.
31204         * sunrpc/clnt_perr.c: Likewise.
31205         * sunrpc/clnt_raw.c: Likewise.
31206         * sunrpc/clnt_simp.c: Likewise.
31207         * sunrpc/clnt_tcp.c: Likewise.
31208         * sunrpc/clnt_udp.c: Likewise.
31209         * sunrpc/clnt_unix.c: Likewise.
31210         * sunrpc/des_crypt.c: Likewise.
31211         * sunrpc/des_soft.c: Likewise.
31212         * sunrpc/get_myaddr.c: Likewise.
31213         * sunrpc/key_call.c: Likewise.
31214         * sunrpc/key_prot.c: Likewise.
31215         * sunrpc/netname.c: Likewise.
31216         * sunrpc/pm_getmaps.c: Likewise.
31217         * sunrpc/pm_getport.c: Likewise.
31218         * sunrpc/pmap_clnt.c: Likewise.
31219         * sunrpc/pmap_prot.c: Likewise.
31220         * sunrpc/pmap_prot2.c: Likewise.
31221         * sunrpc/pmap_rmt.c: Likewise.
31222         * sunrpc/publickey.c: Likewise.
31223         * sunrpc/rpc_cmsg.c: Likewise.
31224         * sunrpc/rpc_common.c: Likewise.
31225         * sunrpc/rpc_dtable.c: Likewise.
31226         * sunrpc/rpc_prot.c: Likewise.
31227         * sunrpc/rpc_thread.c: Likewise.
31228         * sunrpc/rtime.c: Likewise.
31229         * sunrpc/svc.c: Likewise.
31230         * sunrpc/svc_auth.c: Likewise.
31231         * sunrpc/svc_raw.c: Likewise.
31232         * sunrpc/svc_run.c: Likewise.
31233         * sunrpc/svc_tcp.c: Likewise.
31234         * sunrpc/svc_udp.c: Likewise.
31235         * sunrpc/svc_unix.c: Likewise.
31236         * sunrpc/svcauth_des.c: Likewise.
31237         * sunrpc/xcrypt.c: Likewise.
31238         * sunrpc/xdr.c: Likewise.
31239         * sunrpc/xdr_array.c: Likewise.
31240         * sunrpc/xdr_float.c: Likewise.
31241         * sunrpc/xdr_intXX_t.c: Likewise.
31242         * sunrpc/xdr_mem.c: Likewise.
31243         * sunrpc/xdr_rec.c: Likewise.
31244         * sunrpc/xdr_ref.c: Likewise.
31245         * sunrpc/xdr_sizeof.c: Likewise.
31246         * sunrpc/xdr_stdio.c: Likewise.
31248 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31250         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31251         change.  Update copyright years.
31253 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31255         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31257 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31258             Joseph Myers  <joseph@codesourcery.com>
31259             Paul Pluzhnikov  <ppluzhnikov@google.com>
31261         [BZ #14012]
31262         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31263         requiring rpcgen.
31264         [cross-compiling] (extra-libs): Likewise.
31265         [cross-compiling] (extra-libs-others): Likewise.
31266         [cross-compiling] (librpcsvc-routines): Likewise.
31267         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31268         [cross-compiling] (omit-deps): Likewise.
31269         (sunrpc-CPPFLAGS): New variable.
31270         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31271         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31272         (cross-rpcgen-objs): New variable.
31273         (extra-objs): Append $(cross-rpcgen-objs).
31274         ($(cross-rpcgen-objs)): New rule.
31275         ($(objpfx)cross-rpcgen): Likewise.
31276         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31277         comment.
31278         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31279         ($(objpfx)x%.stmp): Likewise.
31280         * sunrpc/proto.h [IS_IN_build] (_): Define.
31281         [IS_IN_build] (_libc_intl_domainname): Likewise.
31283 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31285         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31286         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31287         and R_X86_64_TPOFF64.
31289 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31291         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31292         sysdeps/unix/sysv/syscalls.list.
31293         (stime): Likewise.
31294         (utime): Likewise.
31295         * sysdeps/unix/sysv/syscalls.list: Remove file.
31297 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31299         [BZ #3440]
31300         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31301         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31302         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31303         (__LC_IDENTIFICATION): Make these macros useful in #if
31304         expressions, as required by C99.
31306 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31308         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31309         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31310         after this.
31312 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31314         * stdlib/longlong.h: Updated from GCC.
31316 2012-05-09  Andreas Jaeger  <aj@suse.de>
31318         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31319         default is first entry.
31320         (run_mode): Set type.
31321         (main): Remove informal message about syslog.
31322         (options): Fix typo.
31324         [BZ #14053]
31325         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31326         to asm.
31327         (lrint): Likewise.
31328         (llrintf): Likewise.
31329         (llrint): Likewise.
31330         (rint): Likewise.
31331         (rintf): Likewise.
31332         (nearbyint): Likewise.
31333         (nearbyintf): Likewise.
31335 2012-05-09  Andreas Jaeger  <aj@suse.de>
31336             Pedro Alves  <palves@redhat.com>
31338         * nscd/nscd.c (run_mode): Use enum.
31339         (main): Cleanup coding style issue.
31341 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31342             Andreas Jaeger  <aj@suse.de>
31344         * nscd/nscd.c (go_background): Replaced with...
31345         (run_mode): ... this.
31346         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31347         (options): Add -F --foreground.
31348         (main): Implement it.
31349         (parse_opt): Parse it.
31351 2012-05-09  Andreas Jaeger  <aj@suse.de>
31353         [BZ #14083]
31354         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31355         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31356         -Wconversion warning.
31357         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31358         Likewise.
31360 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31362         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31363         == 0.
31364         (LC_ALL): Use macro-int-constant.
31365         (LC_COLLATE): Likewise.
31366         (LC_CTYPE): Likewise.
31367         (LC_MESSAGES): Likewise.
31368         (LC_MONETARY): Likewise.
31369         (LC_NUMERIC): Likewise.
31370         (LC_TIME): Likewise.
31371         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31372         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31373         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31374         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31375         Specify type.
31376         [C99-based standards] (float_t): Expect type.
31377         [C99-based standards] (double_t): Expect type.
31378         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31379         type.
31380         [C99-based standards] (HUGE_VALL): Likewise.
31381         [C99-based standards] (INFINITY): Likewise.
31382         [C99-based standards] (NAN): Likewise.
31383         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31384         [C99-based standards] (FP_NAN): Likewise.
31385         [C99-based standards] (FP_NORMAL): Likewise.
31386         [C99-based standards] (FP_SUBNORMAL): Likewise.
31387         [C99-based standards] (FP_ZERO): Likewise.
31388         [C99-based standards] (FP_FAST_FMA): Use
31389         optional-macro-int-constant.  Specify type.  Require == 1.
31390         [C99-based standards] (FP_FAST_FMAF): Likewise.
31391         [C99-based standards] (FP_FAST_FMAL): Likewise.
31392         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31393         [C99-based standards] (FP_ILOGBNAN): Likewise.
31394         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31395         Specify type.
31396         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31397         [C99-based standards] (math_errhandling): Specify type.
31398         [ISO99 || ISO11] (signgam): Do not allow.
31399         [non-C99-based standards] (copysignf): Do not allow.
31400         [non-C99-based standards] (exp2f): Likewise.
31401         [non-C99-based standards] (log2f): Likewise.
31402         [non-C99-based standards] (modff): Allow.
31403         [non-C99-based standards] (erff): Do not allow.
31404         [non-C99-based standards] (erfcf): Likewise.
31405         [non-C99-based standards] (gammaf): Likewise.
31406         [non-C99-based standards] (hypotf): Likewise.
31407         [non-C99-based standards] (j0f): Likewise.
31408         [non-C99-based standards] (j1f): Likewise.
31409         [non-C99-based standards] (jnf): Likewise.
31410         [non-C99-based standards] (lgammaf): Likewise.
31411         [non-C99-based standards] (tgammaf): Likewise.
31412         [non-C99-based standards] (y0f): Likewise.
31413         [non-C99-based standards] (y1f): Likewise.
31414         [non-C99-based standards] (ynf): Likewise.
31415         [non-C99-based standards] (isnanf): Likewise.
31416         [non-C99-based standards] (acoshf): Likewise.
31417         [non-C99-based standards] (asinhf): Likewise.
31418         [non-C99-based standards] (atanhf): Likewise.
31419         [non-C99-based standards] (cbrtf): Likewise.
31420         [non-C99-based standards] (expm1f): Likewise.
31421         [non-C99-based standards] (ilogbf): Likewise.
31422         [non-C99-based standards] (log1pf): Likewise.
31423         [non-C99-based standards] (logbf): Likewise.
31424         [non-C99-based standards] (nextafterf): Likewise.
31425         [non-C99-based standards] (remainderf): Likewise.
31426         [non-C99-based standards] (rintf): Likewise.
31427         [non-C99-based standards] (scalbf): Likewise.
31428         [non-C99-based standards] (copysignl): Likewise.
31429         [non-C99-based standards] (exp2l): Likewise.
31430         [non-C99-based standards] (log2l): Likewise.
31431         [non-C99-based standards] (modfl): Allow.
31432         [non-C99-based standards] (erfl): Do not allow.
31433         [non-C99-based standards] (erfcl): Likewise.
31434         [non-C99-based standards] (gammal): Likewise.
31435         [non-C99-based standards] (hypotl): Likewise.
31436         [non-C99-based standards] (j0l): Likewise.
31437         [non-C99-based standards] (j1l): Likewise.
31438         [non-C99-based standards] (jnl): Likewise.
31439         [non-C99-based standards] (lgammal): Likewise.
31440         [non-C99-based standards] (tgammal): Likewise.
31441         [non-C99-based standards] (y0l): Likewise.
31442         [non-C99-based standards] (y1l): Likewise.
31443         [non-C99-based standards] (ynl): Likewise.
31444         [non-C99-based standards] (isnanl): Likewise.
31445         [non-C99-based standards] (acoshl): Likewise.
31446         [non-C99-based standards] (asinhl): Likewise.
31447         [non-C99-based standards] (atanhl): Likewise.
31448         [non-C99-based standards] (cbrtl): Likewise.
31449         [non-C99-based standards] (expm1l): Likewise.
31450         [non-C99-based standards] (ilogbl): Likewise.
31451         [non-C99-based standards] (log1pl): Likewise.
31452         [non-C99-based standards] (logbl): Likewise.
31453         [non-C99-based standards] (nextafterl): Likewise.
31454         [non-C99-based standards] (remainderl): Likewise.
31455         [non-C99-based standards] (rintl): Likewise.
31456         [non-C99-based standards] (scalbl): Likewise.
31457         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31458         [non-C99-based standards] (FP_*): Do not allow.
31459         [C99-based standards] (FP_*): Change to
31460         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31461         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31462         allow.
31463         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31464         (SIG_ERR): Likewise.
31465         [X/Open-based standards] (SIG_HOLD): Likewise.
31466         (SIG_IGN): Likewise.
31467         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31468         positive value.
31469         (SIGFPE): Likewise.
31470         (SIGILL): Likewise.
31471         (SIGINT): Likewise.
31472         (SIGSEGV): Likewise.
31473         (SIGTER): Likewise.
31474         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31475         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31476         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31477         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31478         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31479         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31480         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31481         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31482         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31483         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31484         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31485         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31486         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31487         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31488         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31489         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31490         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31491         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31492         [X/Open-based standards] (SIGTRAP): Likewise.
31493         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31494         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31495         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31496         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31497         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31498         allow.
31500 2012-05-08  Ian Wienand  <ianw@vmware.com>
31502         [BZ #14080]
31503         * time/tzset.c (__tzset_parse_tz): Update default rules for
31504         daylight time changes in the Energy Policy Act of 2005.
31506 2012-05-09  Andreas Jaeger  <aj@suse.de>
31508         [BZ #13983]
31509         * elf/ldconfig.c (parse_conf): Change string to make clear that
31510         ldconfig only issued a warning if ld.so.conf does not exist.
31512 2012-05-08  David S. Miller  <davem@davemloft.net>
31514         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31515         movxtod instead of popping the value on the stack.
31517         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31519 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31521         * config.h.in: Add HAVE_ARM_PCS_VFP.
31523 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31525         [BZ #13979]
31526         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31527         checking but the checks are disabled for any reason.
31529 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31531         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31532         and ELF64_R_TYPE with ELFW(R_TYPE).
31534 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31536         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31537         (ulimit): Likewise.
31539         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31540         (settimeofday): Likewise.
31542 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31544         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31545         a struct th_u2 inside the union, and move tu_block/tu_code into
31546         a new th_u3 union of tu_block/tu_code inside of that.  Move
31547         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31548         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31549         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31550         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31551         (th_stuff): Change to th_u1.tu_stuff.
31552         (th_data): Define.
31553         (th_msg): Change to th_u1.th_u2.tu_data.
31555 2012-05-07  David S. Miller  <davem@davemloft.net>
31557         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31559         [BZ #14074]
31560         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31561         (SETUP_PIC_REG): Use it.
31562         (SETUP_PIC_REG_LEAF): Use it.
31564 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31566         [BZ #13885]
31567         [BZ #13923]
31568         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31569         USE_AS_EXPM1L.
31570         (EXPL_FINITE): Likewise.
31571         (FLDLOG): Likewise.
31572         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31573         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31574         e_expl.S.
31575         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31576         USE_AS_EXPM1L.
31577         (EXPL_FINITE): Likewise.
31578         (FLDLOG): Likewise.
31579         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31580         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31581         e_expl.S.
31582         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31583         test of -max_value argument for long double.
31584         * sysdeps/i386/fpu/libm-test-ulps: Update.
31585         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31587 2012-05-06  David S. Miller  <davem@davemloft.net>
31589         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31590         quad soft-float symbols whose references which are compiler
31591         generated.
31592         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31594 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31596         [BZ #13884]
31597         [BZ #13914]
31598         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31599         USE_AS_EXP10L.
31600         (EXPL_FINITE): Likewise.
31601         (FLDLOG): Likewise.
31602         (c0): Likewise.
31603         (c1): Likewise.
31604         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31605         Adjust comments for base varying.
31606         (__expl_finite): Change alias to EXPL_FINITE.
31607         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31608         e_expl.S.
31609         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31610         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31611         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31612         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31613         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31614         USE_AS_EXP10L.
31615         (EXPL_FINITE): Likewise.
31616         (FLDLOG): Likewise.
31617         (c0): Likewise.
31618         (c1): Likewise.
31619         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31620         Adjust comments for base varying.
31621         (__expl_finite): Change alias to EXPL_FINITE.
31622         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31623         tests for bugs.
31624         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31626         [BZ #14064]
31627         * math/libm-test.inc (check_float_internal): Correct ulp
31628         calculation for subnormal expected results.
31630 2012-05-06  Andreas Jaeger  <aj@suse.de>
31632         * Makeconfig (+math-flags): New, set to -frounding-math.
31633         (+cflags): Add +math-flags so that all of glibc gets compiled with
31634         it.
31636         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31638 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31640         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31641         Disable one test.
31643         [BZ #13787]
31644         [BZ #13922]
31645         [BZ #14036]
31646         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31647         (__ieee754_expl): Allow for and saturate large arguments.
31648         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31649         (u_threshold): Likewise.
31650         (__exp): Call __ieee754_exp before checking for overflow and
31651         underflow.
31652         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31653         (u_threshold): Likewise.
31654         (__expf): Call __ieee754_expf before checking for overflow and
31655         underflow.
31656         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31657         (u_threshold): Likewise.
31658         (__expl): Call __ieee754_expl before checking for overflow and
31659         underflow.
31660         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31661         (__ieee754_expl): Allow for and saturate large arguments.
31662         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31663         missing overflow exception on overflow.
31664         (expm1_test): Do not allow missing overflow exception on overflow.
31666         * sysdeps/i386/fpu/e_expl.c: Move to ...
31667         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31668         rather than using inline asm.
31669         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31670         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31671         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31673         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31674         (nice): Likewise.
31675         (poll): Likewise.
31676         (signal): Likewise.
31677         (time): Likewise.
31678         (times): Likewise.
31680 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31682         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31683         sysdeps/unix/common/syscalls.list.
31684         (fchmod): Likewise.
31685         (fchown): Likewise.
31686         (ftruncate): Likewise.
31687         (getrusage): Likewise.
31688         (gettimeofday): Likewise.
31689         (setpgid): Likewise.
31690         (setregid): Likewise.
31691         (setreuid): Likewise.
31692         (sigaction): Likewise.
31693         (truncate): Likewise.
31694         (vhangup): Likewise.
31695         * sysdeps/unix/common/syscalls.list: Remove file.
31696         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31697         * sysdeps/unix/sysv/linux/Implies: Likewise.
31699 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31701         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31702         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31703         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31704         Moved to ...
31705         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31706         Here.
31707         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31708         to ...
31709         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31710         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31711         to ...
31712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31713         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31714         to ...
31715         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31716         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31717         to ...
31718         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31719         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31720         to ...
31721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31722         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31723         to ...
31724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31725         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31726         to ...
31727         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31728         Here.
31729         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31730         to ...
31731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31732         Here.
31733         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31734         to ...
31735         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31736         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31737         Moved to ...
31738         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31739         Here.
31740         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31741         to ...
31742         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31744 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31746         * sysdeps/unix/common/bits/dirent.h: Remove file.
31747         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31749         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31750         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31751         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31752         * sysdeps/unix/bsd/isatty.c: Likewise.
31753         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31754         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31755         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31757 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31759         [BZ #13563]
31760         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31761         long double comparison inaccuracies.
31762         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31763         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31765 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31767         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31768         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31770 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31772         [BZ #14049]
31773         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31774         nonzero digits before rounding a hex value.
31775         * stdlib/tst-strtod.c (tests): Add another test.
31777 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31779         * sysdeps/s390/fpu/libm-test-ulps: Update.
31781 2012-05-03  Andreas Jaeger  <aj@suse.de>
31783         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31784         does not get optimized out.
31785         (malloc_opt_barrier): New.
31787 2012-05-03  Andreas Jaeger  <aj@suse.de>
31788             Roland McGrath  <roland@hack.frob.com>
31790         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31791         intermediate file deletion.
31792         (generated): Add .symlist files.
31794 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31796         [BZ #13775]
31797         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31798         Redirect under this condition.
31799         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31800         [__USE_GNU] (__dprintf_chk): Not under this condition.
31801         [__USE_GNU] (__vdprintf_chk): Likewise.
31802         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31803         under this condition.
31804         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31805         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31806         [__USE_XOPEN2K8] (vdprintf): Likewise.
31807         [__USE_GNU] (__dprintf_chk): Not under this condition.
31808         [__USE_GNU] (__vdprintf_chk): Likewise.
31809         [__USE_GNU] (dprintf): Likewise.
31810         [__USE_GNU] (vdprintf): Likewise.
31812 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31814         * elf/Makefile (common-generated): Set this instead of generated for
31815         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31816         $(all-built-dso)-derived lists.
31818 2012-05-03  Andreas Jaeger  <aj@suse.de>
31820         * sysdeps/i386/fpu/libm-test-ulps: Update.
31822         * FAQ: Removed.
31823         * FAQ.in: Likewise.
31824         * scripts/gen-FAQ.pl: Likewise.
31825         * manual/install.texi (Installation): Point to online location of
31826         FAQ.
31827         * Makefile (files-for-dist): Remove FAQ.
31828         (FAQ): Remove.
31830 2012-05-02  Allan McRae  <allan@archlinux.org>
31832         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31833         (LDFLAGS-reldepmod5.so): Likewise.
31834         (LDFLAGS-reldep6mod1.so): Likewise.
31835         (LDFLAGS-reldep6mod4.so): Likewise.
31836         (LDFLAGS-reldep8mod3.so): Likewise.
31837         (LDFLAGS-unload4mod1.so): Likewise.
31838         (LDFLAGS-unload4mod2.so): Likewise.
31839         (LDFLAGS-tst-initorder): Likewise.
31840         (LDFLAGS-tst-initordera2.so): Likewise.
31841         (LDFLAGS-tst-initordera3.so): Likewise.
31842         (LDFLAGS-tst-initordera4.so): Likewise.
31843         (LDFLAGS-tst-initorderb2.so): Likewise.
31844         (LDFLAGS-noload): Likewise.
31845         (LDFLAGS-next): Likewise.
31846         (LDFLAGS-order2mod1.so): Likewise.
31847         (LDFLAGS-order2mod2.so): Likewise.
31848         (LDFLAGS-tst-initorder2): Likewise.
31849         (LDFLAGS-tst-initorder2a.so): Likewise.
31850         (LDFLAGS-tst-initorder2b.so): Likewise.
31851         (LDFLAGS-tst-initorder2c.so): Likewise.
31852         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31854 2012-05-02  David S. Miller  <davem@davemloft.net>
31856         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31858 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31860         [BZ #14055]
31861         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31863 2012-05-02  Andreas Jaeger  <aj@suse.de>
31865         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31866         since we manipulate rounding mode.
31867         (CPPFLAGS-test-idouble.c): Likewise.
31868         (CPPFLAGS-test-ifloat.c): Likewise.
31869         (CFLAGS-test-ldouble.c): Likewise.
31870         (CFLAGS-test-double.c): Likewise.
31871         (CFLAGS-test-float.c): Likewise.
31872         (CFLAGS-test-misc.c): Likewise.
31873         (CFLAGS-test-test-fenv.c): Likewise.
31875 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31877         [BZ #2550]
31878         [BZ #2570]
31879         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
31880         comparisons to determine direction to adjust input.
31882 2012-05-01  Roland McGrath  <roland@hack.frob.com>
31884         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
31885         output to the target.
31887         * scripts/localplt.awk: New file.
31888         * elf/Makefile ($(objpfx)check-localplt): Target removed.
31889         (check-localplt-CFLAGS): Variable removed.
31890         ($(all-built-dso:=.jmprel)): New static pattern rule.
31891         (generated): Add those targets.
31892         (localplt-built-dso): New variable.
31893         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
31895         * elf/check-localplt.c: File removed.
31897         * scripts/check-execstack.awk: New file.
31898         * elf/Makefile ($(objpfx)check-execstack): Target removed.
31899         (check-execstack-CFLAGS): Variable removed.
31900         ($(objpfx)check-execstack.h): Target removed.
31901         ($(objpfx)execstack-default): New target.
31902         (generated): Add that instead of check-execstack.h.
31903         ($(all-built-dso:=.phdr)): New static pattern rule.
31904         (generated): Add those targets.
31905         * elf/check-execstack.c: File removed.
31907         * scripts/check-textrel.awk: New file.
31908         * elf/Makefile ($(objpfx)check-textrel): Target removed.
31909         (check-textrel-CFLAGS): Variable removed.
31910         (all-built-dso): Use := to define.o
31911         ($(all-built-dso:=.dyn)): New static pattern rule.
31912         (generated): Add those targets.
31913         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
31914         * config.make.in (READELF): New substituted variable.
31915         * elf/check-textrel.c: File removed.
31917 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
31919         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31920         allow.
31921         * conform/data/ctype.h-data [C99-based standards] (isblank):
31922         Expect function.
31923         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
31924         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
31925         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31926         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
31927         Specify type.  Require positive value.
31928         (EILSEQ): Likewise.
31929         (ERANGE): Likewise.
31930         [ISO || POSIX] (EILSEQ): Do not expect.
31931         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
31932         Specify type.  Require positive value.
31933         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
31934         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
31935         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
31936         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
31937         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
31938         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
31939         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
31940         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
31941         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
31942         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
31943         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
31944         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
31945         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
31946         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
31947         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
31948         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
31949         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
31950         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
31951         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
31952         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
31953         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
31954         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
31955         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
31956         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
31957         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
31958         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
31959         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
31960         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
31961         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
31962         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
31963         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
31964         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
31965         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
31966         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
31967         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
31968         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
31969         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
31970         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
31971         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
31972         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
31973         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
31974         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
31975         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
31976         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
31977         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
31978         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
31979         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
31980         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
31981         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
31982         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
31983         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
31984         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
31985         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
31986         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
31987         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
31988         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
31989         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
31990         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
31991         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
31992         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
31993         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
31994         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
31995         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
31996         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
31997         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
31998         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
31999         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32000         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32001         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32002         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32003         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32004         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32005         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32006         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32007         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32008         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32009         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32010         Require >= 2.
32011         (FLT_ROUNDS): Expect as macro, not constant.
32012         (FLT_MANT_DIG): Use macro-int-constant.
32013         (DBL_MANT_DIG): Likewise.
32014         (LDBL_MANT_DIG): Likewise.
32015         (FLT_DIG): Likewise.
32016         (DBL_DIG): Likewise.
32017         (LDBL_DIG): Likewise.
32018         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32019         (DBL_MIN_EXP): Likewise.
32020         (LDBL_MIN_EXP): Likewise.
32021         (FLT_MAX_EXP): Use macro-int-constant.
32022         (DBL_MAX_EXP): Likewise.
32023         (LDBL_MAX_EXP): Likewise.
32024         (FLT_MAX_10_EXP): Likewise.
32025         (DBL_MAX_10_EXP): Likewise.
32026         (LDBL_MAX_10_EXP): Likewise.
32027         (FLT_MAX): Use macro-constant.
32028         (DBL_MAX): Likewise.
32029         (LDBL_MAX): Likewise.
32030         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32031         (DBL_EPSILON): Likewise.
32032         (LDBL_EPSILON): Likewise.
32033         (FLT_MIN): Likewise.
32034         (DBL_MIN): Likewise.
32035         (LDBL_MIN): Likewise.
32036         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32037         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32038         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32039         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32040         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32041         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32042         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32043         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32044         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32045         [ISO11] (FLT_TRUE_MIN): Likewise.
32046         [ISO11] (LDBL_TRUE_MIN): Likewise.
32047         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32048         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32049         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32050         (SCHAR_MAX): Likewise.
32051         (UCHAR_MAX): Likewise.
32052         (CHAR_MIN): Likewise.
32053         (CHAR_MAX): Likewise.
32054         (MB_LEN_MAX): Use macro-int-constant.
32055         (SHRT_MIN): Use macro-int-constant.  Specify type.
32056         (SHRT_MAX): Likewise.
32057         (USHRT_MAX): Likewise.
32058         (INT_MAX): Likewise.
32059         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32060         bound negative.
32061         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32062         bound with "U".
32063         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32064         bound with "L".
32065         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32066         bound negative.  Suffix upper bound with "L".
32067         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32068         bound with "UL".
32069         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32070         Specify type.
32071         [C99-based standards] (LLONG_MAX): Likewise.
32072         [C99-based standards] (ULLONG_MAX): Likewise.
32073         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32074         == 0.
32075         [ISO11] (max_align_t): Require type.
32076         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32078         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32079         from $CFLAGS, without defining away __attribute__ calls.
32080         (checknamespace): Use $CFLAGS_namespace.
32082         * conform/conformtest.pl (@keywords): Only include C99 keywords
32083         for standards based on C99 or C11.
32085         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32086         Disable tests.
32087         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32088         UNIX98]: Likewise.
32090         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32091         usability of symbols in #if.
32093         * conform/conformtest.pl: If macro or constant types start
32094         "promoted:", expect the symbol to be of the following type
32095         promoted by the integer promotions.
32097         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32098         in one place.  Also handle "macro-constant".
32100         * conform/conformtest.pl: Only accept expected macro values with
32101         "==".  Parse all "macro" lines in one place.
32102         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32104         * conform/conformtest.pl: Handle braced types on "constant" lines
32105         instead of handling "typed-constant".
32106         * conform/data/signal.h-data: Use "constant" instead of
32107         "typed-constant".
32109         * conform/conformtest.pl: Handle "optional-" at start of lines in
32110         one place rather than duplicating several cases.  Handle each
32111         format of "macro" line with initial "optional-".
32113         * conform/conformtest.pl: Only accept expected constant or
32114         optional-constant values with "==".  Parse all "constant" lines in
32115         one place.  Parse all "optional-constant" lines in one place.
32116         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32117         * conform/data/fmtmsg.h-data: Likewise.
32118         * conform/data/netinet/in.h-data: Likewise.
32119         * conform/data/tar.h-data: Likewise.
32120         * conform/data/limits.h-data: Use "==" form on "constant" and
32121         "optional-constant" lines.
32123         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32124         Use -std=c99 for XOPEN2K.
32125         (@knownproblems): Remove.
32126         (newtoken): Don't check %isknown.
32128         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32129         Do not expect macro.
32130         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32131         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32132         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32133         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32134         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32135         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32136         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32137         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32138         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32139         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32140         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32141         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32142         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32143         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32144         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32145         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32146         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32147         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32148         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32149         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32150         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32151         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32152         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32153         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32154         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32155         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32156         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32157         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32158         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32159         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32160         [XPG3] (acosh): Likewise.
32161         [XPG3] (asinh): Likewise.
32162         [XPG3] (atanh): Likewise.
32163         [XPG3] (cbrt): Likewise.
32164         [XPG3] (expm1): Likewise.
32165         [XPG3] (ilogb): Likewise.
32166         [XPG3] (log1p): Likewise.
32167         [XPG3] (logb): Likewise.
32168         [XPG3] (nextafter): Likewise.
32169         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32170         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32171         [XPG3] (remainder): Likewise.
32172         [XPG3] (rint): Likewise.
32173         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32174         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32175         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32176         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32177         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32178         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32179         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32180         [UNIX98 || XOPEN2K] (scalb): Expect.
32181         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32182         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32183         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32184         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32185         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32186         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32187         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32188         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32189         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32190         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32191         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32192         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32193         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32194         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32195         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32196         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32197         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32198         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32199         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32200         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32201         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32202         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32203         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32204         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32205         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32206         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32207         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32208         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32209         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32210         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32211         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32212         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32213         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32214         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32215         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32216         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32217         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32218         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32219         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32220         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32221         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32222         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32223         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32224         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32225         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32226         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32227         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32228         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32229         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32230         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32231         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32232         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32233         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32234         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32235         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32236         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32237         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32238         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32239         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32240         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32241         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32242         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32243         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32244         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32245         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32246         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32247         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32248         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32249         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32250         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32251         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32252         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32253         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32254         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32255         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32256         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32257         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32258         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32259         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32260         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32261         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32262         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32263         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32264         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32265         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32266         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32267         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32268         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32269         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32270         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32271         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32272         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32273         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32274         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32275         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32276         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32277         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32278         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32279         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32280         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32281         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32282         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32283         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32284         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32285         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32286         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32287         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32288         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32289         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32290         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32291         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32292         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32293         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32294         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32295         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32296         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32297         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32298         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32299         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32300         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32301         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32302         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32303         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32304         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32305         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32306         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32307         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32308         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32309         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32310         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32311         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32312         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32313         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32314         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32315         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32316         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32317         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32319         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32320         _XOPEN_SOURCE_EXTENDED for XPG4.
32322         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32324         * Makeconfig (localtime): Remove variable.
32325         (inst_localtime-file): Likewise.
32327 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32329         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32330         Update.
32331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32332         Update.
32333         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32334         Update.
32335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32336         Update.
32337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32338         Update.
32339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32340         Update.
32341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32342         Update.
32343         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32344         Update.
32345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32346         Update.
32348 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32350         [BZ #2550]
32351         [BZ #2570]
32352         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32353         comparisons to determine direction to adjust input.
32354         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32355         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32356         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32357         Likewise.
32358         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32359         Likewise.
32360         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32361         Likewise.
32362         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32363         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32364         Likewise.
32365         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32366         Likewise.
32367         * math/libm-test.inc (nexttoward_test): Add more tests.
32369 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32371         [BZ #14040]
32372         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32373         in version GLIBC_2.1, not GLIBC_2.0.
32374         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32375         Likewise.
32377 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32379         [BZ #13942]
32380         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32381         (1 - x) * (1 + x).
32382         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32383         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32384         * math/libm-test.inc (acos_test): Add more tests.
32385         (asin_test): Likewise.
32386         * sysdeps/i386/fpu/libm-test-ulps: Update.
32387         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32389         [BZ #14034]
32390         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32391         of square root.
32392         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32393         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32394         * math/libm-test.inc (acos_test_tonearest): New function.
32395         (acos_test_towardzero): Likewise.
32396         (acos_test_downward): Likewise.
32397         (acos_test_upward): Likewise.
32398         (asin_test_tonearest): Likewise.
32399         (asin_test_towardzero): Likewise.
32400         (asin_test_downward): Likewise.
32401         (asin_test_upward): Likewise.
32402         (main): Call the new functions.
32403         * sysdeps/i386/fpu/libm-test-ulps: Update.
32404         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32406         [BZ #13884]
32407         [BZ #13924]
32408         * math/e_exp10.c: Include <float.h>.
32409         (__ieee754_exp10): Handle underflow here rather than multiplying
32410         large negative argument by M_LN10.
32411         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32412         of __ieee754_expf.
32413         * math/e_exp10l.c: Include <float.h>.
32414         (__ieee754_exp10l): Handle underflow here rather than multiplying
32415         large negative argument by M_LN10l.
32416         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32417         spurious overflow exception on underflow.
32419 2012-04-29  Marek Polacek  <polacek@redhat.com>
32421         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32422         (__fortify_function): New macro.
32423         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32424         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32425         __extern_always_inline.
32426         * libio/bits/stdio2.h: Likewise.
32427         * libio/bits/stdio.h: Likewise.
32428         * string/string.h: Likewise.
32429         * string/bits/string3.h: Likewise.
32430         * include/stdio.h: Likewise.
32431         * stdlib/bits/stdlib.h: Likewise.
32432         * stdlib/stdlib.h: Likewise.
32433         * rt/bits/mqueue2.h: Likewise.
32434         * rt/mqueue.h: Likewise.
32435         * posix/bits/unistd.h: Likewise.
32436         * posix/unistd.h: Likewise.
32437         * io/bits/poll2.h: Likewise.
32438         * io/bits/fcntl2.h: Likewise.
32439         * io/fcntl.h: Likewise.
32440         * io/sys/poll.h: Likewise.
32441         * misc/bits/syslog.h: Likewise.
32442         * misc/bits/syslog-ldbl.h: Likewise.
32443         * misc/sys/syslog.h: Likewise.
32444         * socket/bits/socket2.h: Likewise.
32445         * socket/sys/socket.h: Likewise.
32446         * debug/tst-chk1.c: Likewise.
32447         * wcsmbs/bits/wchar2.h: Likewise.
32448         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32449         * wcsmbs/wchar.h: Likewise.
32451 2012-04-29  Andreas Jaeger  <aj@suse.de>
32453         * Makerules (tests): Remove enable-check-abi protection.
32454         (check-abi-warn): Remove.
32455         (check-abi-%): Remove check-abi-warn usage.
32457         * configure.in: Remove check-abi configure option.
32458         * configure: Regenerated.
32459         * config.make.in (enable-check-abi): Remove.
32461 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32463         [BZ #14033]
32464         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32465         double functions to double *_finite functions.
32467         [BZ #13941]
32468         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32469         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32470         LDBL_MIN_EXP.
32471         * stdio-common/Makefile (tests): Add tst-sprintf3.
32472         * stdio-common/tst-sprintf3.c: New file.
32474         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32475         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32477 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32479         * conform/conformtest.pl: Remove duplicate typed-constant
32480         handling.
32482 2012-04-28  David S. Miller  <davem@davemloft.net>
32484         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32485         (check-abi-%): Remove AWK script prerequisite and explicit
32486         abilist directory.
32487         (check-abi): Rewrite to just diff the symlist with the abilist.
32488         (config-tls, config-abi-config): Delete, no longer used.
32489         (update-abi-%): Remove AWK script and explicit abilist directory.
32490         (update-abi): Rewrite to simply compare and conditionally copy the
32491         symlist and the sysdep abilist file.  Remove update-abi-config
32492         checks.
32493         * abilist/ld.abilist: Remove.
32494         * abilist/libBrokenLocale.abilist: Remove.
32495         * abilist/libanl.abilist: Remove.
32496         * abilist/libcrypt.abilist: Remove.
32497         * abilist/libdl.abilist: Remove.
32498         * abilist/librt.abilist: Remove.
32499         * abilist/libthread_db.abilist: Remove.
32500         * abilist/libutil.abilist: Remove.
32501         * scripts/extract-abilist.awk: Remove.
32502         * scripts/merge-abilist.awk: Remove.
32503         * sysdeps/generic/libcidn.abilist: New file.
32504         * sysdeps/generic/libnss_compat.abilist: New file.
32505         * sysdeps/generic/libnss_db.abilist: New file.
32506         * sysdeps/generic/libnss_dns.abilist: New file.
32507         * sysdeps/generic/libnss_files.abilist: New file.
32508         * sysdeps/generic/libnss_hesiod.abilist: New file.
32509         * sysdeps/generic/libnss_nis.abilist: New file.
32510         * sysdeps/generic/libnss_nisplus.abilist: New file.
32511         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32512         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32513         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32514         file.
32515         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32516         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32517         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32518         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32519         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32520         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32521         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32522         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32523         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32524         file.
32525         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32526         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32527         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32528         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32529         file.
32530         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32531         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32532         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32533         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32534         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32535         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32536         file.
32537         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32538         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32539         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32540         file.
32541         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32542         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32543         New file.
32544         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32545         New file.
32546         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32547         New file.
32548         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32549         New file.
32550         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32551         New file.
32552         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32553         New file.
32554         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32555         New file.
32556         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32557         New file.
32558         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32559         New file.
32560         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32561         New file.
32562         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32563         New file.
32564         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32565         New file.
32566         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32567         New file.
32568         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32569         file.
32570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32571         New file.
32572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32573         New file.
32574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32575         file.
32576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32577         New file.
32578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32579         New file.
32580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32581         file.
32582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32583         New file.
32584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32585         New file.
32586         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32587         New file.
32588         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32589         New file.
32590         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32591         New file.
32592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32593         New file.
32594         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32595         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32596         file.
32597         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32598         New file.
32599         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32600         file.
32601         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32602         file.
32603         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32604         file.
32605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32606         file.
32607         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32608         file.
32609         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32610         New file.
32611         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32612         file.
32613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32614         file.
32615         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32616         New file.
32617         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32618         file.
32619         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32620         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32621         file.
32622         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32623         New file.
32624         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32625         file.
32626         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32627         file.
32628         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32629         file.
32630         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32631         file.
32632         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32633         file.
32634         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32635         New file.
32636         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32637         file.
32638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32639         file.
32640         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32641         New file.
32642         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32643         file.
32644         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32645         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32646         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32647         file.
32648         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32649         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32650         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32651         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32652         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32653         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32654         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32655         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32656         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32657         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32658         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32659         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32660         file.
32661         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32662         New file.
32663         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32664         file.
32665         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32666         file.
32667         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32668         file.
32669         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32670         file.
32671         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32672         file.
32673         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32674         New file.
32675         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32676         New file.
32677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32678         file.
32679         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32680         New file.
32681         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32682         file.
32683         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32684         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32685         file.
32686         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32687         New file.
32688         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32689         file.
32690         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32691         file.
32692         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32693         file.
32694         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32695         file.
32696         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32697         file.
32698         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32699         New file.
32700         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32701         New file.
32702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32703         file.
32704         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32705         New file.
32706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32707         file.
32709 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32711         * conform/conformtest.pl: Fix typo in handling typed-constant from
32712         allow-header.
32714 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32716         * README: Cut down references to pre-2.6 Linux kernels and
32717         Linuxthreads.  Update lists of configurations in libc and ports
32718         and sort alphabetically.  Say "or newer" with Linux kernel version
32719         requirements.
32721         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32723 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32725         [BZ #887]
32726         * math/libm-test.inc (logb_test_downward): New test to expose
32727         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32728         rounding mode.
32730 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32732         [BZ #14027]
32733         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32734         to be done.
32735         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32736         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32738 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32740         * sysdeps/unix/i386/brk.S: Remove file.
32741         * sysdeps/unix/i386/dl-brk.S: Likewise.
32742         * sysdeps/unix/i386/pipe.S: Likewise.
32743         * sysdeps/unix/i386/sigreturn.S: Likewise.
32744         * sysdeps/unix/i386/syscall.S: Likewise.
32745         * sysdeps/unix/i386/vfork.S: Likewise.
32746         * sysdeps/unix/i386/wait.S: Likewise.
32748         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32749         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32751         * configure.in (arm*-none*): Do not allow without
32752         --enable-hacker-mode.
32753         (netbsd*): Remove case setting base_os.
32754         (386bsd*): Likewise.
32755         (freebsd*): Likewise.
32756         (bsdi*): Likewise.
32757         (osf*): Likewise.
32758         (sunos*): Likewise.
32759         (ultrix*): Likewise.
32760         (newsos*): Likewise.
32761         (dynix*): Likewise.
32762         (*bsd*): Likewise.
32763         (sysv*): Likewise.
32764         (isc*): Likewise.
32765         (esix*): Likewise.
32766         (sco*): Likewise.
32767         (minix*): Likewise.
32768         (irix4*): Likewise.
32769         (irix6*): Likewise.
32770         (solaris[2-9]*): Likewise.
32771         (none): Likewise.
32772         * configure: Regenerated.
32774 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32776         [BZ #11521]
32777         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32778         overflow or cancellation in calculating denominator.
32779         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32780         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32781         down expression to avoid unexpected rounding in newer GCCs.
32782         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32784 2012-04-26  David S. Miller  <davem@davemloft.net>
32786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32787         long-double compat symbols.
32788         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32791         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32793         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32794         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32795         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32796         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32797         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32798         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32799         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32800         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32802 2012-04-25  David S. Miller  <davem@davemloft.net>
32804         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32805         HWCAP_* values only after the memory barriers have been defined.
32806         (atomic_full_barrier): Define.
32807         (atomic_read_barrier): Define.
32808         (atomic_write_barrier): Define.
32810 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32812         * shlib-versions: Add libgcc_s version information.
32813         * sysdeps/generic/libgcc_s.h: Remove.
32814         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32815         libgcc_s.h.
32816         * sysdeps/gnu/unwind-resume.c: Likewise.
32817         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32819 2012-04-25  David S. Miller  <davem@davemloft.net>
32821         * sysdeps/unix/sparc/brk.S: Delete.
32822         * sysdeps/unix/sparc/dl-brk.S: Delete.
32823         * sysdeps/unix/sparc/pipe.S: Delete.
32824         * sysdeps/unix/sparc/sysdep.S: Delete.
32825         * sysdeps/unix/sparc/sysdep.h: Delete.
32826         * sysdeps/unix/sparc/vfork.S: Delete.
32827         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32828         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32829         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32830         (ret_ERRVAL, r0, r1, MOVE): Define.
32831         (JUMPTARGET): Remove.
32832         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32833         sysdeps/unix/sparc/sysdep.h
32834         (ENTRY, END): Remove.
32835         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32837 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32839         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32840         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32841         -DIS_IN_build.
32843         * timezone/README: Update upstream location and email address for
32844         tzcode and tzdata.
32845         * timezone/zdump.c: Update from tzcode 2012b.
32846         * timezone/zic.c: Likewise.
32848         * configure.in (libc_cv_as_needed): Remove test.
32849         * configure: Regenerated.
32850         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32851         conditional definition.
32852         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32853         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32854         * config.make.in (have-as-needed): Remove variable.
32856 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32857             Paul Pluzhnikov  <ppluzhnikov@google.com>
32859         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32860         strings correctly.
32862 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32864         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32865         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32866         * sysdeps/sh/strlen.S: Likewise.
32868 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32870         * sysdeps/unix/fork.S: Remove file.
32871         * sysdeps/unix/i386/fork.S: Likewise.
32872         * sysdeps/unix/sparc/fork.S: Likewise.
32874         * sysdeps/unix/system.c: Remove file.
32875         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
32877         * sysdeps/unix/getegid.S: Remove file.
32878         * sysdeps/unix/geteuid.S: Likewise.
32880 2012-04-24  Roland McGrath  <roland@hack.frob.com>
32882         * scripts/check-localplt.awk: New file.
32883         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
32884         of diff.
32885         * scripts/data/localplt-generic.data: Add a comment.
32887         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
32888         NODE when __dir_mkfile failed.
32889         * sysdeps/mach/hurd/symlinkat.c: Likewise.
32890         Reported by Ludovic Courtès <ludo@gnu.org>.
32892 2012-04-24  Andreas Jaeger  <aj@suse.de>
32894         * Makerules (common-clean): Also remove gen-as-const-headers
32895         files.
32897 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32899         * Makerules (native-compile): Do not change working directory for
32900         build.  Use $(OUTPUT_OPTION) in command.
32901         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
32903 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32905         [BZ #13886]
32906         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
32907         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
32908         * math/libm-test.inc (floor_test): Add more tests.
32909         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
32911 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32913         * sysdeps/unix/getdents.c: Remove file.
32914         * sysdeps/unix/sysv/getdents.c: Likewise.
32915         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
32917         * sysdeps/unix/syscalls.list (madvise): Add syscall from
32918         sysdeps/unix/mman/syscalls.list.
32919         (mmap): Likewise.
32920         (mprotect): Likewise.
32921         (msync): Likewise.
32922         (munmap): Likewise.
32923         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
32924         * sysdeps/unix/mman/syscalls.list: Remove.
32925         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
32927         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
32928         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
32929         * configure: Regenerated.
32930         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
32931         $(libgcc_s_suffix).
32932         * config.make.in (libgcc_s_suffix): Remove variable.
32934 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
32936         * sysdeps/unix/sysv/gethostname.c: Move to ...
32937         * sysdeps/posix/gethostname.c: ... here.
32939         * sysdeps/unix/execve.S: Remove file.
32941         * sysdeps/unix/_exit.S: Remove file.
32943 2012-04-23  Andreas Jaeger  <aj@suse.de>
32945         [BZ #13739]
32946         * manual/Makefile: Remove make dist support, there's no
32947         need for a stand-alone documentation tar ball.
32948         (TEXI2DVI): Define always, it's not in Makeconfig.
32949         (dist): Removed.
32950         (tar-it): Removed.
32951         (edition): Removed.
32952         (glibc-doc-$(edition).tar): Removed
32953         (%.Z): Removed.
32954         (%.gz): Removed.
32955         (%.uu): Removed.
32956         (ETAGS): Remove, it's in Makeconfig.
32957         (move-if-change): Remove, it's in Makeconfig.
32959 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
32961         [BZ #13970]
32962         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
32963         (strtod, strtof, strtold, strtol, strtoul, strtoq)
32964         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
32965         (strtod_l, strtof_l, strtold_l): Remove __wur.
32966         It is not necessarily an error to ignore strtol's return value.
32967         One can reliably look at the stored endptr to decide whether
32968         the number had valid syntax.
32970 2012-04-21  Andreas Jaeger  <aj@suse.de>
32972         [BZ #13739]
32973         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
32975 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
32977         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
32978         * sysdeps/unix/sysv/Versions: Remove file.
32980 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
32982         [BZ #13927]
32983         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32985 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
32987         [BZ #7064]
32988         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
32989         version from __vm86.
32991 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
32993         * sysdeps/unix/common/lxstat.c: Remove file.
32994         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
32996         * sysdeps/unix/sysv/Makefile: Remove file.
32998         * sysdeps/unix/sysv/direct.h: Remove file.
33000         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33001         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33002         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33003         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33004         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33005         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33006         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33008         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33010         * sysdeps/unix/xmknod.c: Remove file.
33011         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33013         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33015         * sysdeps/unix/sysv/i386/time.S: Remove file.
33017         * sysdeps/unix/fxstat.c: Remove file.
33018         * sysdeps/unix/xstat.c: Likewise.
33019         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33021         * sysdeps/unix/sysv/sigaction.c: Remove file.
33023         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33024         (sysdep_headers): Remove variable.
33025         [termio.h not in sysdep_headers] (generated): Likewise.
33026         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33027         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33028         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33029         * sysdeps/unix/sysv/tcflow.c: Likewise.
33030         * sysdeps/unix/sysv/tcflush.c: Likewise.
33031         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33032         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33033         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33034         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33035         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33037         * sysdeps/unix/siglist.c: Remove file.
33039         * sysdeps/unix/getppid.S: Remove file.
33041         * sysdeps/unix/mkdir.c: Remove file.
33042         * sysdeps/unix/rmdir.c: Likewise.
33044 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33046         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33047         ERR_MAX value.
33048         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33049         errlist-compat value.
33051 2012-04-18  David S. Miller  <davem@davemloft.net>
33053         * sysdeps/generic/memcopy.h (reg_char): Delete.
33054         * debug/strcat_chk.c: Use char, not reg_char.
33055         * debug/strcpy_chk.c: Likewise.
33056         * debug/strncat_chk.c: Likewise.
33057         * debug/strncpy_chk.c: Likewise.
33058         * string/memchr.c: Likewise.
33059         * string/memrchr.c: Likewise.
33060         * string/rawmemchr.c: Likewise.
33061         * string/strcat.c: Likewise.
33062         * string/strchr.c: Likewise.
33063         * string/strchrnul.c: Likewise.
33064         * string/strcmp.c: Likewise.
33065         * string/strcpy.c: Likewise.
33066         * string/strncat.c: Likewise.
33067         * string/strncmp.c: Likewise.
33068         * string/strncpy.c: Likewise.
33070 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33072         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33073         __builtin_memcopy is called when src and dest ranges are known to not
33074         overlap.
33076 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33078         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33079         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33080         fwd_align_merge macro call.
33081         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33082         bwd_align_merge macro call.
33083         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33085 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33087         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33088         bwd_align_merge macros.
33089         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33090         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33091         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33093 2012-04-18  David S. Miller  <davem@davemloft.net>
33095         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33097 2012-04-18  Andreas Jaeger  <aj@suse.de>
33099         [BZ# 6794]
33100         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33101         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33102         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33104         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33105         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33106         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33108         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33109         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33110         Adjust for changed ldbl-128 files.
33112         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33113         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33114         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33116 2012-04-17  David S. Miller  <davem@davemloft.net>
33118         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33120 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33122         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33123         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33124         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33125         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33126         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33127         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33129 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33131         [BZ #6794]
33132         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33133         * math/libm-test.inc: Add ilogb errno and exception tests.
33134         * math/w_ilogb.c: New file: ilogb wrapper.
33135         * math/w_ilogbf.c: New file: ilogbf wrapper.
33136         * math/w_ilogbl.c: New file: ilogbl wrapper.
33137         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33138         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33139         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33140         exception being thrown with 0.0 as argument.
33141         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33142         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33143         exception being thrown with 0.0 as argument.
33144         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33145         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33146         exception being thrown with 0.0 as argument.
33147         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33148         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33149         exception being thrown with 0.0 as argument.
33150         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33151         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33152         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33153         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33154         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33155         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33156         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33157         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33158         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33160 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33162         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33163         with altivec.
33165 2012-04-16  Marek Polacek  <polacek@redhat.com>
33167         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33169 2012-04-16  Marek Polacek  <polacek@redhat.com>
33171         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33172         operands of fdivp instruction.
33174 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33176         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33177         * elf/tst-auditmod3b.c: Likewise.
33178         * elf/tst-auditmod4b.c: Likewise.
33179         * elf/tst-auditmod5b.c: Likewise.
33180         * elf/tst-auditmod6b.c: Likewise.
33181         * elf/tst-auditmod6c.c: Likewise.
33182         * elf/tst-auditmod7b.c: Likewise.
33183         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33184         * sysdeps/x86_64/preconfigure.in: Likewise.
33185         * sysdeps/x86_64/preconfigure: Regenerated.
33187 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33189         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33190         __ILP32__.
33192 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33194         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33195         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33197 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33199         [BZ #13973]
33200         * locale/iso-639.def: Fix gl language name. Spotted by
33201         Yaron Shahrabani.
33203 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33205         [BZ #2074]
33206         * libio/libio.h (__io_write_fn): Update comment.
33208 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33210         [BZ #2074]
33211         * stdio.texi (Hook Functions): The user provided writer function
33212         is not allowed to return -1.
33214 2012-04-11  David S. Miller  <davem@davemloft.net>
33216         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33218 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33220         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33221         Add a leading slash to rtkaio.
33223 2012-04-11  Jim Meyering  <meyering@redhat.com>
33225         [BZ #11959]
33226         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33227         It is not necessarily an error to ignore fwrite's return
33228         value.  One can reliably use ferror to test for errors after
33229         the fact.
33231 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33233         * bits/types.h (__snseconds_t): New type.
33234         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33236         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33237         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33238         (__SNSECONDS_T_TYPE): Likewise.
33239         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33240         (__SNSECONDS_T_TYPE): Likewise.
33241         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33242         (__SNSECONDS_T_TYPE): Likewise.
33244 2012-04-10  Andreas Jaeger  <aj@suse.de>
33246         [BZ #2636]
33247         * manual/time.texi (Processor Time): Return type of times is
33248         elapsed real time since an arbitrary point in the past.
33249         (CPU Time): Move CLK_TCK from here...
33250         (Processor Time): ...to here.  Correct description.
33251         * manual/conf.texi (Constants for Sysconf): Correct description of
33252         _SC_CLK_TCK.
33254 2012-04-10  David S. Miller  <davem@davemloft.net>
33256         [BZ #13967]
33257         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33258         where the is a gap between DT_REL(A) and DT_JMPREL.
33260 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33262         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33263         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33264         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33266 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33268         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33269         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33270         (dl_main): Handle --inhibit-cache.
33271         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33272         _dl_inhibit_cache.
33273         * elf/dl-load.c (_dl_map_object): Use it.
33274         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33276 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33278         [BZ #13872]
33279         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33280         (__ieee754_powl): Saturate large exponents rather than testing for
33281         overflow of y*log2(x).
33282         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33283         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33284         exceptions.
33286         [BZ #11521]
33287         * math/s_ctan.c: Include <float.h>.
33288         (__ctan): Avoid internal overflow or cancellation in calculating
33289         denominator.
33290         * math/s_ctanf.c: Likewise.
33291         * math/s_ctanl.c: Likewise.
33292         * math/s_ctanh.c: Likewise.
33293         * math/s_ctanhf.c: Likewise.
33294         * math/s_ctanhl.c: Likewise.
33295         * math/libm-test.inc (ctan_test): Add more tests.
33296         (ctanh_test): Likewise.
33297         * sysdeps/i386/fpu/libm-test-ulps: Update.
33298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33300 2012-04-09  Andreas Jaeger  <aj@suse.de>
33302         [BZ #6894]
33303         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33304         is an optional BSD extension.
33306         [BZ #10254]
33307         * manual/stdio.texi (Opening Streams): Document additional fopen
33308         parameters.
33310 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33312         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33313         %eax without telling the compiler.
33315 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33317         [BZ # 13963]
33318         * manual/install.texi: Use sourceware.org.
33320 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33322         [BZ #13873]
33323         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33324         (__ieee754_pow): Generate overflow and underflow using huge*huge
33325         and tiny*tiny rather than just returning constant infinity or zero
33326         for large exponents.
33327         * math/libm-test.inc (pow_test): Require overflow exceptions for
33328         applicable cases of large exponents.
33330         [BZ #706]
33331         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33332         (__ieee754_pow): Use iterative multiplication algorithm only for
33333         integer exponents with absolute value below 1024.  Check for odd
33334         integer exponents when using algorithm for real exponents.
33335         * math/libm-test.inc (pow_test): Add more tests.
33336         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33338 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33340         [BZ #13705]
33341         * math/libm-test.inc (exp_test): Do not allow overflow exception
33342         on underflow test.
33344 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33346         [BZ #13705]
33347         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33348         instead of __kernel_standard_f.
33350 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33352         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33353         * sysdeps/x86_64/memset_chk.S: Likewise.
33355 2012-04-08  Andreas Jaeger  <aj@suse.de>
33357         [BZ #10153]
33358         * manual/startup.texi (Environment Access): Describe return value
33359         for putenv and setenv.
33361         [BZ #6895]
33362         * manual/filesys.texi (Directory Entries): Add description for
33363         DT_LNK.
33365         [BZ #6890]
33366         * manual/filesys.texi (Directory Entries): Clarify that it's file
33367         system not operating system in the description of DT_UNKNOWN.
33369         [BZ #6578]
33370         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33372 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33374         [BZ #6649]
33375         * manual/llio.texi (Opening and Closing Files): Add cross
33376         reference to explain mode argument.
33378 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33380         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33381         * sysdeps/x86_64/memset_chk.S: Likewise.
33383 2012-04-07  David S. Miller  <davem@davemloft.net>
33385         * elf/elf.h (R_SPARC_WDISP10): Define.
33386         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33387         R_SPARC_SIZE32.
33388         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33389         R_SPARC_SIZE64 and R_SPARC_H34.
33391 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33393         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33394         conditions and remove no longer applicable assertion.
33396 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33398         * bits/byteswap.h: Include <features.h>.
33399         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33400         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33402 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33404         * bits/byteswap.h (__bswap_16): Removed.
33405         Include <bits/byteswap-16.h> to get __bswap_16.
33406         * sysdeps/i386/bits/byteswap.h: Likewise.
33407         * sysdeps/s390/bits/byteswap.h: Likewise.
33408         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33409         * bits/byteswap-16.h: New file.
33410         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33411         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33412         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33413         * string/Makefile (headers): Add bits/byteswap-16.h.
33415 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33417         [BZ #13895]
33418         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33419         extra indirection.
33420         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33421         * nss/tst-nss-static.c: New.
33423 2012-04-06  Robert Millan  <rmh@gnu.org>
33425         [BZ #6486]
33426         * manual/llio.texi (File Position Primitive): lseek
33427         refers to WHENCE when it really means OFFSET.
33429 2012-04-06  Andreas Jaeger  <aj@suse.de>
33431         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33432         strncmp declarations.
33434         * abilist/libc.abilist: Add __poll and __ppoll.
33436 2012-04-05  David S. Miller  <davem@davemloft.net>
33438         * scripts/check-local-headers.sh: Accept a host triplet in the
33439         path matched by the exclude regexp.
33441         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33442         definition.
33443         * sysdeps/powerpc/powerpc32/dl-machine.h
33444         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33445         * sysdeps/s390/s390-32/dl-machine.h
33446         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33447         * sysdeps/sparc/sparc32/dl-machine.h
33448         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33449         * sysdeps/sparc/sparc64/dl-machine.h
33450         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33452         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33453         lazy binding.
33454         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33455         undefined symbol errors.
33457         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33458         DT_NEEDED entries.
33460 2012-04-05  Michael Matz  <matz@suse.de>
33462         [BZ #13592]
33463         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33465 2012-04-05  Andreas Jaeger  <aj@suse.de>
33467         [BZ #13908]
33468         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33469         comment.
33471 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33473         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33474         which ROUND is no valid rounding mode.
33476 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33478         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33479         read again.
33480         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33482 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33484         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33485         an exception using FPU order intentionally.
33487 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33489         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33490         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33491         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33492         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33494 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33496         [BZ #12340]
33497         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33498         EINVAL when BUFLEN is too smal.
33500 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33502         [BZ #13553]
33503         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33504         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33506 2012-04-03  Andreas Jaeger  <aj@suse.de>
33508         [BZ #13938]
33509         * manual/setjmp.texi (System V contexts): Fix sentence.
33511         [BZ #13926]
33512         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33513         New macro for this case.
33514         [!__GNUC__] (__bswap_64): New inline function for this case.
33515         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33516         * bits/byteswap.h: Likewise.
33517         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33518         ull, guard with __GLIBC_HAVE_LONG_LONG.
33520         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33521         __GLIBC_HAVE_LONG_LONG.
33523         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33524         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33526 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33528         [BZ #13691]
33529         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33530         inptr and inend, rather than using last_ch.
33532 2012-04-02  David S. Miller  <davem@davemloft.net>
33534         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33535         * stdio-common/printf-parse.h (read_int): Change return type to
33536         'int', return -1 on INT_MAX overflow.
33537         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33538         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33539         overflows INT_MAX.  Check for overflow of in-format-string precision
33540         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33541         SIZE_MAX not INT_MAX for integer overflow test.
33542         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33543         skip the construct in the format string but do not record anything.
33544         * stdio-common/bug22.c: Adjust to test both width/prevision
33545         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33546         explicitly for proper errno values.
33548 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33550         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33551         CHAR_MAX.
33552         * string/test-strcmp.c [! WIDE]: Likewise.
33553         * time/tst-mktime2.c: Likewise for INT_MAX.
33554         * string/test-string.h: #include <sys/param.h> for MIN.
33556         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33557         * sysdeps/i386/init-first.c (init): Likewise.
33558         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33559         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33560         * sysdeps/sh/init-first.c (init): Likewise.
33562 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33564         * po/ru.po: Update from translation team.
33565         * po/vi.po: Likewise.
33567 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33569         * resolv/nss_dns/dns-host.c: Merge copyright years.
33571 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33573         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33574         Optimize memcpy with prefetch if
33575         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33576         src, dst pointers have unequal 16 byte alignments.
33578 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33580         [BZ #13928]
33581         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33582         from a CNAME entry and return the minimum ttl for the query.
33583         (gaih_getanswer_slice): Likewise.
33585 2012-03-30  Jeff Law  <law@redhat.com>
33587         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33588         due to long keys.
33589         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33590         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33592         * resolv/nss_dns/dns-host.c: Update copyright year.
33594 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33596         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33597         requests to save a system call.  Fix check that all bytes are sent.
33599         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33600         comments for sendmmsg.
33602 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33604         [BZ #13691]
33605         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33606         with only 1 character between 0x0041 and 0x01b0.
33607         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33608         * wcsmbs/tst-mbsnrtowcs.c: New file.
33610 2012-03-29  David S. Miller  <davem@davemloft.net>
33612         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33613         small copies by hand.
33615 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33617         [BZ #13761]
33618         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33619         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33620         group memberships.
33622 2012-03-28  David S. Miller  <davem@davemloft.net>
33624         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33625         that branches into memcpy.
33626         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33627         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33628         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33629         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33630         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33631         bits.
33632         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33633         implementation too.
33634         * sysdeps/sparc/mempcpy.S: New file.
33636         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33637         the IFUNC routine in the libc case.
33638         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33640         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33641         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33642         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33643         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33644         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33645         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33646         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33647         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33649         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33650         loop to 256 bytes instead of 64 bytes and fix test signedness.
33652         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33653         * sysdeps/sparc/sparc32/Makefile: rather than here...
33654         * sysdeps/sparc/sparc64/Makefile: and here.
33656 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33658         * malloc/mallocbug.c: Avoid warnings about unused variables.
33660 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33662         [BZ #13760]
33663         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33664         in the right place. Discard and retry query if response is
33665         larger than input buffer size.
33667 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33669         [BZ #369]
33670         [BZ #2678]
33671         [BZ #3866]
33672         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33673         x for large integer exponent.
33674         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33675         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33676         sign of result as needed afterwards.
33677         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33678         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33679         result for underflowing pow the same as for overflow.
33680         (__kernel_standard_l): Handle powl overflow and underflow here
33681         rather than calling __kernel_standard.
33682         * math/libm-test.inc (pow_test): Add more tests.
33684         [BZ #3868]
33685         [BZ #13879]
33686         [BZ #13910]
33687         [BZ #13911]
33688         [BZ #13912]
33689         [BZ #13913]
33690         [BZ #13915]
33691         [BZ #13916]
33692         [BZ #13917]
33693         [BZ #13918]
33694         [BZ #13919]
33695         [BZ #13920]
33696         [BZ #13921]
33697         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33698         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33699         (__kernel_standard_l): New function.
33700         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33701         __kernel_standard.
33702         * math/w_acosl.c (__acosl): Likewise.
33703         * math/w_asinl.c (__asinl): Likewise.
33704         * math/w_atan2l.c (__atan2l): Likewise.
33705         * math/w_atanhl.c (__atanhl): Likewise.
33706         * math/w_coshl.c (__coshl): Likewise.
33707         * math/w_exp10l.c (__exp10l): Likewise.
33708         * math/w_exp2l.c (__exp2l): Likewise.
33709         * math/w_fmodl.c (__fmodl): Likewise.
33710         * math/w_hypotl.c (__hypotl): Likewise.
33711         * math/w_j0l.c (__j0l, __y0l): Likewise.
33712         * math/w_j1l.c (__j1l, __y1l): Likewise.
33713         * math/w_jnl.c (__jnl, __ynl): Likewise.
33714         * math/w_lgammal.c (__lgammal): Likewise.
33715         * math/w_log10l.c (__log10l): Likewise.
33716         * math/w_log2l.c (__log2l): Likewise.
33717         * math/w_logl.c (__logl): Likewise.
33718         * math/w_powl.c (__powl): Likewise.
33719         * math/w_remainderl.c (__remainderl): Likewise.
33720         * math/w_scalbl.c (sysv_scalbl): Likewise.
33721         * math/w_sinhl.c (__sinhl): Likewise.
33722         * math/w_sqrtl.c (__sqrtl): Likewise.
33723         * math/w_tgammal.c (__tgammal): Likewise.
33724         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33725         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33726         * math/libm-test.inc (acos_test): Add more tests.
33727         (acosh_test): Likewise.
33728         (asin_test): Likewise.
33729         (atanh_test): Likewise.
33730         (exp_test): Likewise.
33731         (exp10_test): Likewise.
33732         (exp2_test): Likewise.
33733         (expm1_test): Likewise.
33734         (lgamma_test): Likewise.
33735         (log_test): Likewise.
33736         (log10_test): Likewise.
33737         (log1p_test): Likewise.
33738         (log2_test): Likewise.
33739         (pow_test): Do not allow some spurious overflow exceptions.
33740         (sqrt_test): Add more tests.
33741         (tgamma_test): Likewise.
33742         (y0_test): Likewise.
33743         (y1_test): Likewise.
33744         (yn_test): Likewise.
33746 2012-03-27  Anton Blanchard  <anton@samba.org>
33748         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33749         MAP_HUGETLB.
33750         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33751         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33752         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33754 2012-03-27  David S. Miller  <davem@davemloft.net>
33756         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33758         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33759         have-as-vis3 check.
33761 2012-03-27  Andreas Jaeger  <aj@suse.de>
33763         * sysdeps/x86_64/elf/configure.in: Moved to ...
33764         * sysdeps/x86_64/configure.in: ... here.
33765         * sysdeps/x86_64/elf/start.S: Moved to ...
33766         * sysdeps/x86_64/start.S: ... here.
33767         * sysdeps/x86_64/elf/configure: Delete.
33769         * sysdeps/x86_64/configure.in: Merge contents from
33770         sysdeps/i386/configure.in (without i686 check).
33772         * sysdeps/i386/elf/Versions: Merge into ...
33773         * sysdeps/i386/Versions: ... this.
33774         * sysdeps/i386/elf/Versions: Delete file.
33775         * sysdeps/i386/elf/start.S: Moved to ...
33776         * sysdeps/i386/start.S: ...here.
33777         * sysdeps/i386/elf/configure.in: Merge into...
33778         * sysdeps/i386/configure.in: ...here.
33779         * sysdeps/i386/elf/configure.in: Delete file.
33780         * sysdeps/i386/elf/configure: Delete file.
33782         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33783         * debug/backtracesyms.c: ... here.
33784         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33785         * debug/backtracesymsfd.c: ... here.
33786         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33787         * sysdeps/generic/ifunc-sel.h: ... here.
33789         * sysdeps/unix/i386/start.c: Delete file.
33790         * sysdeps/unix/sparc/start.c: Delete file.
33791         * sysdeps/unix/start.c: Delete file.
33793         * sysdeps/sh/elf/configure.in: Moved to ...
33794         * sysdeps/sh/configure.in: ... here.
33795         * sysdeps/sh/elf/start.S: Moved to ...
33796         * sysdeps/sh/start.S: ... here.
33797         * sysdeps/sh/elf/configure: Delete file.
33799         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33800         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33801         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33802         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33803         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33804         * sysdeps/powerpc/powerpc64/start.S: here.
33805         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33806         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33807         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33808         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33809         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33811         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33812         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33813         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33814         * sysdeps/powerpc/powerpc32/start.S: ... here.
33815         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33816         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33817         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33819         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33820         * sysdeps/powerpc/ifunc-sel.h: ... here.
33821         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33822         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33824         * sysdeps/sparc/elf/configure.in: Moved to ...
33825         * sysdeps/sparc/configure.in: ... here.
33826         * sysdeps/sparc/elf/configure: Delete file.
33827         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33828         * sysdeps/sparc/sparc32/start.S: ... here.
33829         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33830         * sysdeps/sparc/sparc64/start.S: ... here.
33831         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33832         * sysdeps/sparc/sparc32/Makefile: ... this.
33833         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33834         * sysdeps/sparc/sparc64/Makefile: ... this.
33836         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33837         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33838         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33839         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33840         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33841         * sysdeps/s390/s390-32/setjmp.S: ... here.
33842         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33843         * sysdeps/s390/s390-32/configure.in: ... here.
33844         * sysdeps/s390/s390-32/elf/configure: Delete file.
33845         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33846         * sysdeps/s390/s390-32/start.S: ... here.
33848         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33849         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33850         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33851         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33852         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33853         * sysdeps/s390/s390-64/setjmp.S: ... here.
33854         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33855         * sysdeps/s390/s390-64/configure.in: ... here
33856         * sysdeps/s390/s390-64/elf/configure: Delete file.
33857         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33858         * sysdeps/s390/s390-64/start.S: ... here.
33859         * sysdeps/s390/s390-64/elf/configure: Delete.
33861         * configure.in: Remove support for elf directories in sysdeps.
33863         * configure: Regenerated.
33864         * sysdeps/i386/configure: Regenerated.
33865         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33866         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33867         * sysdeps/s390/s390-32/configure: Regenerated.
33868         * sysdeps/s390/s390-64/configure: Regenerated.
33869         * sysdeps/sh/configure: Regenerated.
33870         * sysdeps/sparc/configure: Regenerated.
33871         * sysdeps/x86_64/configure: Regenerated.
33873 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
33875         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33877         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
33878         denormal result into account.
33880 2012-03-25  Roland McGrath  <roland@hack.frob.com>
33882         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
33883         Reported by Allan McRae <allan@archlinux.org>.
33885 2012-03-23  Jeff Law  <law@redhat.com>
33887         * nss/getnssent.c (__nss_getent): Fix typo.
33889 2012-03-23  David S. Miller  <davem@davemloft.net>
33891         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33893 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
33895         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
33896         to pad to uint64_t for each field.
33897         (dl_tls_index): Replace unsigned long with uint64_t.
33899 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
33900         Paul Pluzhnikov  <ppluzhnikov@google.com>
33902         [BZ #6528]
33903         * grp/Makefile (otherlibs): Don't set it.
33904         * inet/Makefile (otherlibs): Likewise.
33905         * login/Makefile (otherlibs): Likewise.
33906         * nscd/Makefile (otherlibs): Likewise.
33907         * posix/Makefile (otherlibs): Likewise.
33908         * pwd/Makefile (otherlibs): Likewise.
33909         * rt/Makefile (otherlibs): Likewise.
33910         * sunrpc/Makefile (otherlibs): Likewise.
33911         * nss/Makefile (otherlibs): Likewise.
33912         Add libnss_files to routines and static-only-routines.
33913         ($(objpfx)getent): Remove rule.
33914         * resolv/Makefile: Add libnss_dns and libresolv to routines and
33915         static-only-routines.
33917 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33919         [BZ #13892]
33920         * math/s_cexp.c: Include <float.h>.
33921         (__cexp): Handle exp result overflowing not necessarily
33922         overflowing both real and imaginary parts of result.
33923         * math/s_cexpf.c: Likewise.
33924         * math/s_cexpl.c: Likewise.
33925         * math/libm-test.inc (cexp_test): Add more tests.
33926         * sysdeps/i386/fpu/libm-test-ulps: Update.
33927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33929 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33931         * include/link.h (ELFW): New macro.
33932         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
33933         Replace ELF64_R_TYPE with ELFW(R_TYPE).
33935 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33937         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
33938         with uint64_t.
33940 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33942         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
33943         declaration.
33944         (struct La_x32_retval): Likewise.
33946 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
33948         * sysdeps/x86_64/preconfigure.in: New file.
33949         * sysdeps/x86_64/preconfigure: New generated file.
33951 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
33953         [BZ #13824]
33954         * math/e_exp2l.c: Include <float.h>.
33955         (__ieee754_exp2l): Handle overflow and underflow cases
33956         separately.  Only pass fractional part of argument to
33957         __ieee754_expl.
33958         * math/libm-test.inc (exp2_test): Add more tests.
33960         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
33961         negating x to take absolute value.
33962         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
33963         Likewise.
33964         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
33965         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
33966         Likewise.
33967         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
33968         computing low part if x was negated.
33969         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
33971 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
33973         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
33974         la_x32_gnu_pltexit.
33975         (pltexit): Cast int_retval to ptrdiff_t.
33976         * elf/tst-auditmod3b.c: Likewise.
33977         * elf/tst-auditmod4b.c: Likewise.
33978         * elf/tst-auditmod5b.c: Likewise.
33979         * elf/tst-auditmod6b.c: Likewise.
33980         * elf/tst-auditmod6c.c: Likewise.
33981         * elf/tst-auditmod7b.c: Likewise.
33983         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
33984         and x32_gnu_pltexit.
33986         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
33987         __ELF_NATIVE_CLASS.
33988         (La_x32_regs): New macro.
33989         (La_x32_retval): Likewise.
33990         (la_x32_gnu_pltenter): New function prototype.
33991         (la_x32_gnu_pltexit): Likewise.
33993 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
33995         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
33996         exponent.
33998         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34000         * configure.in (libc_cv_cc_nofma): Check for option to disable
34001         generation of FMA instructions.
34002         * configure: Regenerate.
34003         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34004         * sysdeps/ieee754/dbl-64/Makefile: New file.
34005         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34006         Remove brandred-fma4.
34007         (CFLAGS-brandred-fma4.c): Remove.
34008         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34009         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34010         define.
34011         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34012         define.
34014 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34016         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34017         LLONG_MAX != LONG_MAX.
34018         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34019         (_fitoa_word): Likewise.
34020         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34021         LLONG_MAX != LONG_MAX.
34022         * stdio-common/_itowa.h: Include <_itoa.h>.
34023         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34024         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34025         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34026         only if not defined.
34027         (_ITOA_WORD_TYPE): Likewise.
34028         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34029         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34031 2012-03-21  David S. Miller  <davem@davemloft.net>
34033         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34035 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34037         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34038         of x86_64 when setting libc_cv_slibdir, libdir and
34039         libc_cv_localedir.
34040         * sysdeps/unix/sysv/linux/configure: Regenerated.
34042 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34044         * manual/lang.texi (Old Varargs): Remove section.
34045         (How Variadic): Update menu.
34046         (va_start): Do not mention varargs.h.
34048 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34049             Joseph Myers  <joseph@codesourcery.com>
34051         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34052         link test.
34053         * configure: Regenerated.
34055 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34057         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34058         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34059         conformtest.pl
34061 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34063         * NOTES: Remove.
34064         * Makefile (files-for-dist): Remove NOTES.
34065         (NOTES): Remove rule.
34066         * README: Don't refer to NOTES.
34067         * manual/creature.texi: Don't include macros.texi.
34068         * manual/intro.texi (creature.texi): Remove comment referring to
34069         NOTES.
34071         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34072         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34073         * configure: Regenerated.
34074         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34075         LIBC_TRY_CC_OPTION.
34076         (libc_cv_as_i686): Likewise.
34077         (libc_cv_cc_avx): Likewise.
34078         (libc_cv_cc_sse2avx): Likewise.
34079         (libc_cv_cc_fma4): Likewise.
34080         (libc_cv_cc_novzeroupper): Likewise.
34081         * sysdeps/i386/configure: Regenerated.
34083         [BZ #13883]
34084         * sysdeps/i386/fpu/s_cexp.S: Remove.
34085         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34086         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34087         * math/libm-test.inc (cexp_test): Add more tests.
34088         * sysdeps/i386/fpu/libm-test-ulps: Update.
34089         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34091 2012-03-21  Allan McRae  <allan@archlinux.org>
34093         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34095 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34097         [BZ #13871]
34098         * math/w_exp2.c: Do not include <float.h>.
34099         (o_threshold, u_threshold): Remove.
34100         (__exp2): Calculate result before checking finiteness and calling
34101         __kernel_standard.
34102         * math/w_exp2f.c: Likewise.
34103         * math/w_exp2l.c: Likewise.
34104         * math/libm-test.inc (exp2_test): Require overflow exception for
34105         1e6 input.
34107         [BZ #3866]
34108         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34109         range of signed 64-bit integers before using fistpll.  Remove
34110         checks for whether integers fit in mantissa bits.
34111         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34112         the range of signed 32-bit integers before using fistpl.  Remove
34113         checks for whether integers fit in mantissa bits.
34114         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34115         (__ieee754_powl): Test for y outside the range of signed 64-bit
34116         integers before using fistpll.  Reduce 64-bit values to 63-bit
34117         ones as needed.
34118         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34119         divide-by-zero is raised for zero to large negative powers.
34120         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34121         (__ieee754_powl): Test for y outside the range of signed 64-bit
34122         integers before using fistpll.  Reduce 64-bit values to 63-bit
34123         ones as needed.
34124         * math/libm-test.inc (pow_test): Add more tests.
34126 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34128         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34129         <stdio-common/_itoa.h>.
34130         * debug/segfault.c: Likewise.
34131         * elf/dl-cache.c: Likewise.
34132         * elf/dl-minimal.c: Likewise.
34133         * elf/dl-misc.c: Likewise.
34134         * elf/dl-sysdep.c: Likewise.
34135         * elf/dl-version.c: Likewise.
34136         * elf/rtld.c: Likewise.
34137         * hurd/hurdsock.c: Likewise.
34138         * hurd/lookup-retry.c: Likewise.
34139         * malloc/malloc.c: Likewise.
34140         * malloc/mtrace.c: Likewise.
34141         * nscd/nscd_getgr_r.c: Likewise.
34142         * nscd/nscd_getpw_r.c: Likewise.
34143         * nscd/nscd_getserv_r.c: Likewise.
34144         * posix/getopt_init.c: Likewise.
34145         * posix/wordexp.c: Likewise.
34146         * stdio-common/_itoa.c: Likewise.
34147         * stdio-common/printf_fphex.c: Likewise.
34148         * stdio-common/vfprintf.c: Likewise.
34149         * string/_strerror.c: Likewise.
34150         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34151         * sysdeps/i386/i686/hp-timing.h: Likewise.
34152         * sysdeps/mach/_strerror.c: Likewise.
34153         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34154         * sysdeps/mach/hurd/sethostid.c: Likewise.
34155         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34156         * sysdeps/mach/xpg-strerror.c: Likewise.
34157         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34158         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34159         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34160         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34161         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34162         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34163         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34164         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34165         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34166         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34167         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34168         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34169         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34170         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34171         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34172         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34173         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34174         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34175         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34176         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34177         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34179         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34181         * stdio-common/_itoa.h: Moved to ...
34182         * sysdeps/generic/_itoa.h: Here.
34184         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34186         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34187         instead of "_itoa.h" and "_itowa.h".
34188         * stdio-common/vfprintf.: Likewise.
34190 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34192         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34193         <bits/wordsize.h>.
34194         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34195         (__signbit): Likwise.
34196         (llrintf): Likwise.
34197         (llrint): Likwise.
34199 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34201         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34202         __WORDSIZE != 64.
34204 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34206         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34207         OVERFLOW_EXCEPTION_OK.
34208         * math/libm-test.inc ("Philosophy"): Update comment about
34209         exception testing.
34210         (OVERFLOW_EXCEPTION): Define.
34211         (OVERFLOW_EXCEPTION_OK): Likewise.
34212         (INVALID_EXCEPTION_OK): Renumber.
34213         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34214         (IGNORE_ZERO_INF_SIGN): Likewise.
34215         (test_exceptions): Handle FE_OVERFLOW.
34216         (exp10_test): Expect overflow exceptions.
34217         (exp2_test): Likewise.
34218         (expm1_test): Likewise.
34219         (nextafter_test): Likewise.
34220         (pow_test): Likewise.
34221         (scalbn_test): Likewise.
34222         (scalbln_test): Likewise.
34224 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34226         * sysdeps/x86_64/bits/atomic.h
34227         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34228         64bit integer.
34229         (atomic_exchange_acq): Likewise.
34230         (__arch_exchange_and_add_body): Likewise.
34231         (__arch_add_body): Likewise.
34232         (atomic_add_negative): Likewise.
34233         (atomic_add_zero): Likewise.
34235 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34237         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34238         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34240 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34242         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34243         Check __x86_64__ instead of __WORDSIZE.
34245 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34247         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34249 2012-03-19  David S. Miller  <davem@davemloft.net>
34251         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34253         * sysdeps/sparc/fpu/fenv_private.h: New file.
34254         * sysdeps/sparc/fpu/math_private.h: Use it.
34255         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34256         Remove.
34257         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34258         (libc_feholdexcept_setroundl): Remove.
34259         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34260         Remove.
34261         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34262         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34264 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34266         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34267         int64_t instead of long int.
34268         (INSERT_WORDS64): Likwise.
34270 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34272         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34273         _Unwind_GetCFA return to _Unwind_Ptr first.
34275 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34277         [BZ #13629]
34278         * math/s_clog.c: Include <float.h>.
34279         (__clog): Scale large or subnormal inputs.
34280         * math/s_clogf.c: Likewise.
34281         * math/s_clogl.c: Likewise.
34282         * math/s_clog10.c: Include <float.h>.
34283         (M_LOG10_2): Define.
34284         (__clog10): Scale large or subnormal inputs.
34285         * math/s_clog10f.c: Likewise.
34286         * math/s_clog10l.c: Likewise.
34287         * math/libm-test.inc (clog_test): Add more tests.
34288         (clog10_test): Likewise.
34289         * sysdeps/i386/fpu/libm-test-ulps: Update.
34290         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34292         [BZ #11451]
34293         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34294         x and y.
34295         * math/libm-test.inc (atan2_test): Add another test.
34297         * Makerules (common-objdir-compile): Remove.
34298         * sysdeps/unix/Makefile (config-generated): Do not add
34299         $(unix-generated) to variable.
34300         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34301         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34302         Remove rule.
34303         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34304         Likewise.
34305         [generic bits/local_lim.h] (before-compile): Do not append to
34306         variable.
34307         [generic bits/local_lim.h] (common-generated): Likewise.
34308         [generic sys/param.h] (before-compile): Do not append to variable.
34309         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34310         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34311         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34312         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34313         include.
34314         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34315         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34316         [generic sys/param.h] ($(addprefix
34317         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34318         [generic sys/param.h] (common-generated): Do not append to
34319         variable.
34320         [generic sys/param.h] (sysdep_headers): Likewise.
34321         [generic bits/errno.h] (before-compile): Do not append to
34322         variable.
34323         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34324         rule.
34325         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34326         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34327         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34328         [generic bits/errno.h] (common-generated): Do not append to
34329         variable.
34330         [generic bits/ioctls.h] (before-compile): Do not append to
34331         variable.
34332         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34333         rule.
34334         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34335         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34336         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34337         rule.
34338         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34339         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34340         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34341         [generic bits/ioctls.h] (common-generated): Do not append to
34342         variable.
34343         [generic sys/syscall.h] (syscall.h): Remove variable.
34344         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34345         rule.
34346         [generic sys/syscall.h] (before-compile): Do not append to
34347         variable.
34348         [generic sys/syscall.h] (common-generated): Likewise.
34349         * sysdeps/unix/errnos-tmpl.c: Remove file.
34350         * sysdeps/unix/errnos.awk: Likewise.
34351         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34352         * sysdeps/unix/ioctls.awk: Likewise.
34353         * sysdeps/unix/mk-local_lim.c: Likewise.
34354         * sysdeps/unix/snarf-ioctls: Likewise.
34356 2012-03-19  Richard Henderson  <rth@twiddle.net>
34358         * sysdeps/i386/fpu/fenv_private.h: New file.
34359         * sysdeps/i386/fpu/math_private.h: Use it.
34360         (math_opt_barrier, math_force_eval): Remove.
34361         (libc_feholdexcept_setround_53bit): Remove.
34362         (libc_feupdateenv_53bit): Remove.
34363         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34364         (math_opt_barrier, math_force_eval): Remove.
34365         (libc_feholdexcept): Remove.
34366         (libc_feholdexcept_setround): Remove.
34367         (libc_fetestexcept, libc_fesetenv): Remove.
34368         (libc_feupdateenv_test): Remove.
34369         (libc_feupdateenv, libc_feholdsetround): Remove.
34370         (libc_feresetround): Remove.
34372         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34373         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34375         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34376         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34377         (libc_feupdateenv_testl): New.
34378         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34379         (libc_feupdateenv_testf): New.
34380         (libc_feupdateenv): Use libc_feupdateenv_test.
34381         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34382         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34384         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34385         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34386         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34387         (libc_feresetround_noex): New.
34388         (libc_feresetround_noexf): New.
34389         (libc_feresetround_noexl): New.
34390         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34391         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34392         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34393         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34394         SET_RESTORE_ROUND.
34395         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34396         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34397         (__cos): Likewise.
34398         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34399         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34400         SET_RESTORE_ROUND_NOEX.
34401         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34402         SET_RESTORE_ROUND_NOEXF.
34403         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34404         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34405         (libc_feholdsetroundf): New.
34406         (libc_feresetround, libc_feresetroundf): New.
34408         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34409         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34410         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34412         * sysdeps/generic/math_private.h: Include <fenv.h>.
34413         (default_libc_feholdexcept): New.
34414         (default_libc_feholdexcept_setround): New.
34415         (default_libc_fesetenv, default_libc_feupdateenv): New.
34416         (libc_feholdexcept): Only define if undefined.
34417         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34418         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34419         (libc_feholdexcept_setroundl): Likewise.
34420         (libc_feholdexcept_setround_53bit): Likewise.
34421         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34422         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34423         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34424         (libc_feupdateenv_53bit): Likewise.
34425         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34426         (libc_feholdexcept): Convert from macro to inline function.
34427         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34428         (libc_fesetenv, libc_feupdateenv): Likewise.
34430         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34431         not previously defined.
34432         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34433         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34434         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34435         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34436         * sysdeps/ieee754/flt-32/math_private.h: New file.
34437         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34438         math_private.h below SET_FLOAT_WORD.
34439         (__isnan, __isinf_ns, __finite): Remove.
34440         (__isnanf, __isinf_nsf, __finitef): Remove.
34442 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34444         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34446 2012-03-17  David S. Miller  <davem@davemloft.net>
34448         [BZ #6471]
34449         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34450         for 2.16.
34452 2012-03-16  David S. Miller  <davem@davemloft.net>
34454         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34455         warnings.
34457         [BZ #6471]
34458         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34459         properly.
34460         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34461         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34462         sysdep_routines when subdir is sysvipc.
34463         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34464         __getshmlba helper.
34466         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34468 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34470         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34471         [__LP64__].
34473 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34475         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34476         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34477         (__lround): Renamed to ...
34478         (__llround): This.  Replace long int with long long int.
34479         Define lround functions as aliases of llround functions.
34480         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34482 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34484         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34485         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34486         adresses to uintptr_t.  Replace "long int" and "unsigned long
34487         int" with "greg_t" on va_arg.
34489 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34491         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34492         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34494         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34495         Move e_machine check before EI_CLASS check.  Handle x32
34496         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34497         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34498         SKIP_EM_IA_64 and include
34499         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34501         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34502         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34503         (add_system_dir): New macro.
34505         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34506         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34508 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34510         [BZ #2551]
34511         [BZ #2552]
34512         [BZ #2553]
34513         [BZ #2554]
34514         [BZ #2562]
34515         [BZ #2563]
34516         [BZ #2565]
34517         [BZ #2566]
34518         [BZ #2576]
34519         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34520         (y0): Likewise.
34521         * math/w_j0f.c (j0f): Likewise.
34522         (y0f): Likewise.
34523         * math/w_j0l.c (__j0l): Likewise.
34524         (__y0l): Likewise.
34525         * math/w_j1.c (j1): Likewise.
34526         (y1): Likewise.
34527         * math/w_j1f.c (j1f): Likewise.
34528         (y1f): Likewise.
34529         * math/w_j1l.c (__j1l): Likewise.
34530         (__y1l): Likewise.
34531         * math/w_jn.c (jn): Likewise.
34532         (yn): Likewise.
34533         * math/w_jnf.c (jnf): Likewise.
34534         (ynf): Likewise.
34535         * math/w_jnl.c (__jnl): Likewise.
34536         (__ynl): Likewise.
34537         * math/libm-test.inc (j0_test): Add more tests.
34538         (j1_test): Likewise.
34539         (jn_test): Likewise.  Add trailing semicolon to existing test.
34540         (y0_test): Likewise.
34541         (y1_test): Likewise.
34542         * sysdeps/i386/fpu/libm-test-ulps: Update.
34543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34545         [BZ #13851]
34546         [BZ #13854]
34547         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34548         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34549         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34550         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34551         (__tanl): Set errno for infinite argument.
34552         * sysdeps/i386/fpu/mptan.c: Remove.
34553         * sysdeps/i386/fpu/s_tan.S: Likewise.
34554         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34555         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34556         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34557         * math/libm-test.inc (tan_test): Add more tests and enable more
34558         tests for double and long double.
34559         * sysdeps/i386/fpu/libm-test-ulps: Update.
34560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34562 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34564         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34565         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34567 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34569         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34570         * configure.in: Use it for both main tree and add-ons.
34571         * configure: Regenerated.
34573 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34575         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34577 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34579         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34580         in comment.
34582         [BZ #13851]
34583         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34584         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34585         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34586         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34587         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34588         infinite argument.
34589         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34590         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34591         != 0 for prec == 2.
34592         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34593         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34594         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34595         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34596         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34597         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34598         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34599         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34600         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34601         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34602         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34603         * math/libm-test.inc (cos_test): Add more tests and enable more
34604         tests for long double.
34605         (sin_test): Likewise.
34606         (sincos_test): Likewise.
34607         * sysdeps/i386/fpu/libm-test-ulps: Update.
34608         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34610 2012-03-16  David S. Miller  <davem@davemloft.net>
34612         * sysdeps/sparc/fpu/math_private.h: New file.
34614 2012-03-15  David S. Miller  <davem@davemloft.net>
34616         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34617         file.
34618         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34619         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34620         file.
34621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34622         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34623         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34624         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34625         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34626         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34627         sysdep routines.
34628         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34630         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34631         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34633         * sysdeps/sparc/sparc-ifunc.h: New file.
34634         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34635         sparc-ifunc.h
34636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34638         Likewise.
34639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34640         Likewise.
34641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34645         Likewise.
34646         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34648         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34650         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34651         Likewise.
34652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34653         Likewise.
34654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34657         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34658         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34659         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34660         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34661         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34662         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34663         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34664         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34665         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34666         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34667         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34668         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34669         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34670         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34671         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34672         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34673         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34674         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34675         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34676         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34677         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34679 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34681         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34682         scaling.
34683         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34685 2012-03-15  Andreas Jaeger  <aj@suse.de>
34687         [BZ #13852]
34688         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34689         ieee754/flt-32 implementation for sin, cos and sincos.
34690         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34691         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34692         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34693         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34694         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34695         ieee754/flt-32 implementation for tan.
34697         * math/libm-test.inc (cos_test): Enable some large input tests for
34698         float as well
34699         (sin_test): Likewise.
34700         (sincos_test): Likewise.
34701         (tan_test): Add tests for large input.
34703         * sysdeps/i386/fpu/libm-test-ulps: Update.
34705 2012-03-15  Andreas Jaeger  <aj@suse.de>
34707         [BZ #13658]
34708         * math/libm-test.inc (cos_test): Add more test cases.
34709         (sin_test): Likewise.
34710         (sincos_test): Likewise.
34712 2012-03-15  Andreas Jaeger  <aj@suse.de>
34714         [BZ #13837]
34715         * math/libm-test.inc (cos_test): Add a test case for large input
34716         value.
34717         (sin_test): Likewise.
34718         (sincos_test): Likewise.
34720 2012-03-15  Andreas Jaeger  <aj@suse.de>
34721             Joseph Myers  <joseph@codesourcery.com>
34723         [BZ #13658]
34724         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34725         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34726         * sysdeps/i386/fpu/branred.c: Likewise.
34727         * sysdeps/i386/fpu/dosincos.c: Likewise.
34728         * sysdeps/i386/fpu/mpa.c: Likewise.
34729         * sysdeps/i386/fpu/s_cos.S: Likewise.
34730         * sysdeps/i386/fpu/s_sin.S: Likewise.
34731         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34732         * sysdeps/i386/fpu/sincos32.c: Likewise.
34734         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34735         Define.
34736         (libc_feupdateenv_53bit): Define.
34737         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34738         Define.
34739         (libc_feupdateenv_53bit): Define.
34741         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34742         53 bit (without extend i386 double precision).
34744         * math/libm-test.inc (sincos_test): Add tests for large input.
34745         (sin): Likewise.
34746         (cos): Likewise.
34748         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34750 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34754 2012-03-15  David S. Miller  <davem@davemloft.net>
34756         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34757         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34758         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34759         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34760         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34761         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34762         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34763         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34764         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34765         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34766         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34767         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34768         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34769         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34770         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34772         file.
34773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34774         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34775         file.
34776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34778         file.
34779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34780         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34781         file.
34782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34783         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34784         fmin/fmax sysdep routines.
34785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34787 2012-03-14  David S. Miller  <davem@davemloft.net>
34789         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34790         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34791         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34792         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34793         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34794         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34795         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34796         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34797         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34798         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34799         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34800         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34801         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34802         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34803         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34804         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34805         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34806         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34807         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34808         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34809         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34810         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34811         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34812         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34813         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34814         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34815         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34816         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34817         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34818         routines.
34819         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34820         file.
34821         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34822         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34823         file.
34824         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34826         file.
34827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34829         file.
34830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34831         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34832         file.
34833         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34834         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34835         file.
34836         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34837         file.
34838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34839         file.
34840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34841         file.
34842         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34843         New file.
34844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34845         file.
34846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34847         file.
34848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34850         file.
34851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34853         file.
34854         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34856         file.
34857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34859         VIS3 routines.
34861         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34862         New file.
34864         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34866         * sysdeps/sparc/configure.in: New file.
34867         * sysdeps/sparc/configure: Generate.
34868         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34869         * configure: Regenerate.
34870         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
34871         * config.make.in (have-as-vis3): New.
34872         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
34873         available use -Av9d instead of -Av9a.
34874         * sysdeps/sparc/sparc64/Makefile: Likewise.
34875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
34876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
34877         New file.
34878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
34879         file.
34880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
34881         New file.
34882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
34883         file.
34884         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
34885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
34886         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
34887         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
34888         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
34890         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
34891         fzeros/fnegs to load 0x80000000 into a float register instead of
34892         using the stack.
34893         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
34895 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34897         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34898         bits/syscall.h.
34899         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
34900         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
34901         ($(inst_includedir)/bits/syscall.h): Remove rule.
34902         ($(objpfx)bits/syscall.d): Include instead of
34903         $(objpfx)syscall-list.d.
34904         (generated): Change syscall-list.h and syscall-list.d to
34905         bits/syscall.h and bits/syscall.d.
34907 2012-03-14  Roland McGrath  <roland@hack.frob.com>
34909         [BZ #13846]
34910         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
34912 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
34914         [BZ #13841]
34915         * math/s_csqrt.c: Include <float.h>.
34916         (__csqrt): Scale large or subnormal inputs.
34917         * math/s_csqrtf.c: Likewise.
34918         * math/s_csqrtl.c: Likewise.
34919         * math/libm-test.inc (csqrt_test): Add more tests.
34920         * sysdeps/i386/fpu/libm-test-ulps: Update.
34921         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34923         [BZ #13840]
34924         * math/libm-test.inc (hypot_test): Add more tests.
34926 2012-03-13  David S. Miller  <davem@davemloft.net>
34928         [BZ #13840]
34929         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
34930         double-precision for the calculation instead of scaling.
34932 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
34934         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
34935         manipulate bits before adding and subtracting TWO52[sx].
34936         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
34937         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
34938         Likewise.
34939         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
34941 2012-03-13  David S. Miller  <davem@davemloft.net>
34943         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
34944         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
34945         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
34946         rtld-global-offsets.h
34947         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
34949         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
34950         large parameters.
34952         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
34954         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
34955         'err' in the ifdef scope in which it is actually used.
34957         * nss/nss_db/db-init.c: Include string.h
34959 2012-03-12  David S. Miller  <davem@davemloft.net>
34961         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34962         masking out of the most significant byte of random value used.
34963         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34964         Fix coding style in previous change.
34966         * sysdeps/unix/sysv/linux/kernel-features.h
34967         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
34968         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
34969         expression.
34970         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
34971         later.
34973 2012-03-11  David S. Miller  <davem@davemloft.net>
34975         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
34976         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
34977         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
34978         for 'resultvar' otherwise things get truncated on 64-bit.
34980         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34981         Fix masking out of the most significant byte of random value used.
34983         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34985 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
34987         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34989 2012-03-09  David S. Miller  <davem@davemloft.net>
34991         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
34992         variables with appropriate CPP guards.
34993         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
34994         from the frame pointer, not the stack pointer.  Correct layout
34995         comments.  Fix test on resulting framesize and the management of
34996         the outregs buffer for pltexit.  Preserve floating point return
34997         values across _dl_call_pltexit call.
34998         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
34999         framesize and the management of the outregs buffer for pltexit.
35000         Preserve floating point return values across _dl_call_pltexit
35001         call.
35002         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35003         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35004         (la_sparc64_gnu_pltexit): New functions.
35005         (print_exit): Fix format string for return register value.
35007 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35009         * sunrpc/Makefile (others): Add rpcgen.
35010         ($(objpfx)rpcgen): Remove special build rule and dependency on
35011         libc.
35012         * sunrpc/rpcgen.c: New file.
35014 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35016         [BZ #13673]
35017         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35018         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35019         * sysdeps/i386/crti.S: Likewise.
35020         * sysdeps/i386/crtn.S: Likewise.
35021         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35022         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35023         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35024         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35025         * sysdeps/sh/crti.S: Likewise.
35026         * sysdeps/sh/crtn.S: Likewise.
35027         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35029         [BZ #13673]
35030         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35031         with URL.
35032         * locale/programs/locfile-kw.gperf: Likewise.
35033         * locale/programs/charmap-kw.h: Regenerated.
35034         * locale/programs/locfile-kw.h: Likewise.
35036         [BZ #13673]
35037         * intl/plural.y: Replace FSF snail mail address with URL.
35038         * intl/plural.c: Regenerated.
35040 2012-03-09  Richard Henderson  <rth@twiddle.net>
35042         * include/math_private.h: Remove file.
35043         * math/math_private.h: Move file ...
35044         * sysdeps/generic/math_private.h: ... here.
35046         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35047         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35048         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35050         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35051         and <math_private.h>.
35052         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35053         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35054         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35055         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35056         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35057         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35058         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35059         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35060         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35061         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35062         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35063         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35064         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35065         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35066         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35067         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35068         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35069         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35070         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35071         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35072         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35073         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35074         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35075         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35076         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35077         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35078         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35079         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35080         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35081         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35082         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35083         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35084         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35085         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35086         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35087         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35088         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35089         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35090         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35091         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35092         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35093         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35094         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35095         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35096         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35097         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35098         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35099         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35100         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35101         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35102         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35103         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35104         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35105         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35106         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35107         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35108         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35109         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35110         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35111         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35112         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35113         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35114         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35115         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35116         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35117         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35118         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35119         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35120         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35121         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35122         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35123         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35124         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35125         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35126         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35127         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35128         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35129         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35130         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35131         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35132         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35133         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35134         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35135         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35136         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35137         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35138         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35139         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35140         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35141         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35142         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35143         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35144         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35145         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35146         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35147         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35148         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35149         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35150         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35151         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35152         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35153         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35154         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35155         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35156         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35157         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35158         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35159         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35160         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35161         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35162         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35163         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35164         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35165         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35166         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35167         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35168         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35169         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35170         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35171         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35172         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35173         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35174         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35175         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35176         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35177         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35178         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35179         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35180         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35181         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35182         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35183         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35184         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35185         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35186         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35187         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35188         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35189         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35190         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35191         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35192         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35193         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35194         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35195         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35196         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35197         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35198         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35199         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35200         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35201         * sysdeps/ieee754/k_standard.c: Likewise.
35202         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35203         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35204         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35205         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35206         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35207         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35208         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35209         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35210         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35211         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35212         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35213         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35214         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35215         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35216         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35217         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35218         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35219         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35220         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35221         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35222         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35223         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35224         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35225         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35226         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35227         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35228         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35229         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35230         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35231         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35232         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35233         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35234         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35235         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35236         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35237         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35238         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35239         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35240         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35241         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35242         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35243         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35244         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35245         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35246         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35247         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35248         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35249         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35250         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35251         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35252         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35253         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35254         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35255         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35256         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35257         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35258         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35259         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35260         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35261         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35262         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35263         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35264         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35265         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35266         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35267         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35268         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35269         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35270         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35271         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35272         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35273         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35275         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35276         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35277         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35278         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35279         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35280         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35281         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35282         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35283         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35284         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35285         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35286         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35287         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35288         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35289         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35290         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35291         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35292         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35293         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35294         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35295         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35296         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35297         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35298         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35299         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35300         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35301         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35302         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35303         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35304         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35305         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35306         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35307         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35308         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35309         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35310         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35311         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35312         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35313         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35314         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35315         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35316         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35317         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35318         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35319         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35320         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35321         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35322         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35323         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35324         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35325         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35326         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35327         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35328         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35329         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35330         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35331         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35332         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35333         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35334         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35335         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35336         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35337         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35338         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35339         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35340         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35341         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35342         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35343         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35344         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35345         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35346         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35347         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35348         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35349         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35350         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35351         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35352         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35353         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35354         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35355         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35356         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35357         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35358         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35359         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35360         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35361         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35362         * sysdeps/ieee754/s_lib_version.c: Likewise.
35363         * sysdeps/ieee754/s_matherr.c: Likewise.
35364         * sysdeps/ieee754/s_signgam.c: Likewise.
35365         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35366         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35367         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35368         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35369         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35370         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35371         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35372         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35373         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35374         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35375         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35376         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35377         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35378         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35379         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35380         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35381         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35382         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35383         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35384         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35385         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35387 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35389         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35390         * sunrpc/rpc_main.c: Likewise.
35391         * sunrpc/rpc_svcout.c: Likewise.
35393 2012-03-09  David S. Miller  <davem@davemloft.net>
35395         * include/math_private.h: New file.
35397 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35399         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35400         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35401         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35402         from <bits/socket_type.h>.
35403         (enum __socket_type): Don't define here.
35404         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35406         bits/socket_type.h.
35408         [BZ #13566]
35409         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35410         checking __USE_GNU.
35412         * Makerules ($(inst_includedir)/%.h): New rule.
35413         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35414         (install-others): Remove variable setting.
35415         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35417 2012-03-08  Richard Henderson  <rth@twiddle.net>
35419         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35420         from macro to inline function; merge with the
35421         !__LIBC_INTERNAL_MATH_INLINES version.
35422         (__ieee754_sqrtf): Likewise.
35424         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35425         to inline function.
35426         (__rintf, __floor, __floorf): Likewise.
35428         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35429         macro to inline function.
35430         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35432         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35433         not <math/math_private.h>.
35435 2012-03-08  David S. Miller  <davem@davemloft.net>
35437         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35438         copyright year.
35439         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35441 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35443         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35444         normalization.
35445         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35446         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35448 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35450         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35451         be defined individually, they must be defined as a block.  Define
35452         S for printing a string instead of hidint the different by using a
35453         macro for adding the 'l'.
35454         * stdio-common/tst-fphex-wide.c: Adjust.
35456 2012-03-07  Marek Polacek  <polacek@redhat.com>
35458         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35460 2012-03-08  Marek Polacek  <polacek@redhat.com>
35462         [BZ #13806]
35463         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35464         * stdio-common/tst-fphex.c: Define a few macros to make the
35465         test reusable.  Use them.
35466         * stdio-common/tst-fphex-wide.c: New file.
35468 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35470         [BZ #6911]
35471         * manual/macros.texi (gnusystems): New macro.
35472         (nongnusystems): Likewise.
35473         (gnulinuxhurdsystems): Likewise.
35474         (gnuhurdsystems): Likewise..
35475         (gnulinuxsystems): Likewise.
35476         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35477         variants of the GNU system, not "GNU system".
35478         * manual/conf.texi: Likewise.
35479         * manual/errno.texi: Likewise.  Update example of errno macro
35480         expansion.
35481         * manual/filesys.texi: Likewise.
35482         (getumask): Document as specific to GNU/Hurd.
35483         * manual/install.texi: Likewise.  Reword some references to
35484         GNU/Linux.
35485         * manual/intro.texi: Likewise.
35486         * manual/io.texi: Likewise.
35487         (File Name Portability): Detail which constraints are inapplicable
35488         to all GNU systems and which are only inapplicable to GNU/Hurd.
35489         * manual/job.texi: Likewise.
35490         * manual/llio.texi: Likewise.
35491         (O_NOCTTY): Document as present on GNU/Linux.
35492         * manual/maint.texi: Likewise.
35493         * manual/memory.texi: Likewise.
35494         * manual/pattern.texi: Likewise.
35495         * manual/pipe.texi: Likewise.
35496         * manual/process.texi: Likewise.
35497         * manual/resource.texi: Likewise.
35498         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35499         child on GNU/Hurd.
35500         * manual/setjmp.texi: Likewise.
35501         * manual/signal.texi: Likewise.
35502         * manual/startup.texi: Likewise.
35503         * manual/stdio.texi: Likewise.
35504         * manual/terminal.texi: Likewise.
35505         (ONLCR): Document as POSIX.
35506         (OXTABS): Document availability on GNU/Linux as XTABS.
35507         (ONOEOT): Document availability separately from other bits.
35508         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35509         * manual/time.texi: Likewise.
35510         * manual/users.texi: Likewise.
35511         * INSTALL: Regenerated.
35512         * sysdeps/gnu/errlist.c: Regenerated.
35514         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35515         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35516         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35517         puts.
35518         * configure: Regenerated.
35520 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35522         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35523         default includes instead of AC_HEADER_CHECK.
35524         * sysdeps/i386/configure: Regenerated.
35526         [BZ #10716]
35527         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35528         * math/s_cacoshf.c (__cacoshf): Likewise.
35529         * math/s_cacoshl.c (__cacoshl): Likewise.
35530         * math/s_casinh.c (__casinh): Set signs of result from argument.
35531         * math/s_casinhf.c (__casinhf): Likewise.
35532         * math/s_casinhl.c (__casinhl): Likewise.
35533         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35534         (casinh_test): Add more tests.
35535         * sysdeps/i386/fpu/libm-test-ulps: Update.
35536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35538 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35540         * po/zh_TW.po: Update from translation team.
35542         * login/Makefile (distribute): Remove variable.
35543         * catgets/Makefile: Likewise.
35544         * mach/Makefile: Likewise.
35545         * malloc/Makefile: Likewise.
35546         * misc/Makefile: Likewise.
35547         * iconv/Makefile: Likewise.
35548         * nscd/Makefile: Likewise.
35549         * hurd/Makefile: Likewise.
35550         * manual/Makefile: Likewise.
35551         * locale/Makefile: Likewise.
35552         * intl/Makefile: Likewise.
35553         * conform/Makefile: Likewise.
35554         * nss/Makefile: Likewise.
35555         * time/Makefile: Likewise.
35556         * soft-fp/Makefile: Likewise.
35557         * dirent/Makefile: Likewise.
35558         * gmon/Makefile: Likewise.
35559         * po/Makefile: Likewise.
35560         * rt/Makefile: Likewise.
35561         * socket/Makefile: Likewise.
35562         * math/Makefile: Likewise.
35563         * signal/Makefile: Likewise.
35564         * debug/Makefile: Likewise.
35565         * elf/Makefile: Likewise.
35566         * timezone/Makefile: Likewise.
35567         * stdlib/Makefile: Likewise.
35568         * iconvdata/Makefile: Likewise.
35569         * sunrpc/Makefile: Likewise.
35570         * io/Makefile: Likewise.
35571         * argp/Makefile: Likewise.
35572         * inet/Makefile: Likewise.
35573         * hesiod/Makefile: Likewise.
35574         * grp/Makefile: Likewise.
35575         * csu/Makefile: Likewise.
35576         * wctype/Makefile: Likewise.
35577         * crypt/Makefile: Likewise.
35578         * libio/Makefile: Likewise.
35579         * string/Makefile: Likewise.
35580         * nis/Makefile: Likewise.
35581         * resolv/Makefile: Likewise.
35582         * stdio-common/Makefile: Likewise.
35583         * wcsmbs/Makefile: Likewise.
35584         * dlfcn/Makefile: Likewise.
35585         * posix/Makefile: Likewise.
35587         [BZ #6959]
35588         * timezone/Makefile: Don't install timezone files, just the programs
35589         and scripts.
35591 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35593         * nss/databases.def: Add missing gshadow entry.
35595         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35597 2012-03-06  Marek Polacek  <polacek@redhat.com>
35599         [BZ #13726]
35600         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35601         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35602         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35603         * stdio-common/tst-long-dbl-fphex.c: New file.
35605 2012-03-06  David S. Miller  <davem@davemloft.net>
35607         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35608         (set_obp_int): New function.
35609         (get_obp_int): New function.
35610         (__get_clockfreq_via_dev_openprom): Likewise.
35611         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35612         Avoid unused variable warnings on 'val' and use builtin_expect.
35613         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35614         __builtin_expect.
35615         (INLINE_CLONE_SYSCALL): Likewise.
35617 2012-03-05  David S. Miller  <davem@davemloft.net>
35619         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35621 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35623         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35625         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35626         only for |x| >= 40.
35627         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35629 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35631         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35632         Replace gettimeofday with __vdso_gettimeofday.
35634         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35635         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35636         __vdso_clock_gettime and __vdso_getcpu.
35638         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35639         time with __vdso_time.
35641 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35643         * manual/lang.texi (size_t): Note types to which size_t may be
35644         equivalent with the GNU C Library, but do not describe when
35645         differences between them are significant.
35647 2012-03-05  Andreas Jaeger  <aj@suse.de>
35649         * sysdeps/i386/fpu/libm-test-ulps: Update.
35651 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35653         [BZ #3976]
35654         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35655         (__ieee754_pow): Save and restore rounding mode and use
35656         round-to-nearest for main computations.
35657         * math/libm-test.inc (pow_test_tonearest): New function.
35658         (pow_test_towardzero): Likewise.
35659         (pow_test_downward): Likewise.
35660         (pow_test_upward): Likewise.
35661         (main): Call the new functions.
35662         * sysdeps/i386/fpu/libm-test-ulps: Update.
35663         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35665         [BZ #3976]
35666         * math/libm-test.inc (cosh_test_tonearest): New function.
35667         (cosh_test_towardzero): Likewise.
35668         (cosh_test_downward): Likewise.
35669         (cosh_test_upward): Likewise.
35670         (sinh_test_tonearest): Likewise.
35671         (sinh_test_towardzero): Likewise.
35672         (sinh_test_downward): Likewise.
35673         (sinh_test_upward): Likewise.
35674         (main): Call the new functions.
35675         * sysdeps/i386/fpu/libm-test-ulps: Update.
35676         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35678 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35680         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35681         default stack guard is set in last bytes.
35682         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35684 2012-03-05  Kees Cook  <keescook@chromium.org>
35686         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35688         [BZ #13656]
35689         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35690         possibly allocate from heap instead of stack.
35691         * stdio-common/bug-vfprintf-nargs.c: New file.
35692         * stdio-common/Makefile (tests): Add nargs overflow test.
35694 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35696         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35698 2012-03-03  Marek Polacek  <polacek@redhat.com>
35700         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35701         * math/math_private.h: Likewise.
35702         * stdlib/tst-strtod.c: Likewise.
35703         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35704         * sysdeps/x86_64/bits/atomic.h: Likewise.
35706 2012-03-02  David S. Miller  <davem@davemloft.net>
35708         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35709         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35710         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35711         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35712         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35713         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35714         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35715         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35717 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35719         [BZ #13792]
35720         * manual/examples/README: New file, says the example source files
35721         can be used under GPL>=2.
35722         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35723         line containing just "*/".
35724         * manual/examples/add.c: Add copyright header (GPL>=2).
35725         * manual/examples/argp-ex1.c: Likewise.
35726         * manual/examples/argp-ex2.c: Likewise.
35727         * manual/examples/argp-ex3.c: Likewise.
35728         * manual/examples/argp-ex4.c: Likewise.
35729         * manual/examples/atexit.c: Likewise.
35730         * manual/examples/db.c: Likewise.
35731         * manual/examples/dir.c: Likewise.
35732         * manual/examples/dir2.c: Likewise.
35733         * manual/examples/execinfo.c: Likewise.
35734         * manual/examples/filecli.c: Likewise.
35735         * manual/examples/filesrv.c: Likewise.
35736         * manual/examples/fmtmsgexpl.c: Likewise.
35737         * manual/examples/genpass.c: Likewise.
35738         * manual/examples/inetcli.c: Likewise.
35739         * manual/examples/inetsrv.c: Likewise.
35740         * manual/examples/isockad.c: Likewise.
35741         * manual/examples/longopt.c: Likewise.
35742         * manual/examples/memopen.c: Likewise.
35743         * manual/examples/memstrm.c: Likewise.
35744         * manual/examples/mkfsock.c: Likewise.
35745         * manual/examples/mkisock.c: Likewise.
35746         * manual/examples/mygetpass.c: Likewise.
35747         * manual/examples/pipe.c: Likewise.
35748         * manual/examples/popen.c: Likewise.
35749         * manual/examples/rprintf.c: Likewise.
35750         * manual/examples/search.c: Likewise.
35751         * manual/examples/select.c: Likewise.
35752         * manual/examples/setjmp.c: Likewise.
35753         * manual/examples/sigh1.c: Likewise.
35754         * manual/examples/sigusr.c: Likewise.
35755         * manual/examples/stpcpy.c: Likewise.
35756         * manual/examples/strdupa.c: Likewise.
35757         * manual/examples/strftim.c: Likewise.
35758         * manual/examples/strncat.c: Likewise.
35759         * manual/examples/subopt.c: Likewise.
35760         * manual/examples/swapcontext.c: Likewise.
35761         * manual/examples/termios.c: Likewise.
35762         * manual/examples/testopt.c: Likewise.
35763         * manual/examples/testpass.c: Likewise.
35764         * manual/examples/timeval_subtract.c: Likewise.
35766         [BZ #13792]
35767         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35768         function to ...
35769         * manual/timeval_subtract.c.texi: ... here, new file.
35771 2012-03-02  David S. Miller  <davem@davemloft.net>
35773         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35775 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35777         [BZ #3976]
35778         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35779         (__sin): Save and restore rounding mode and use round-to-nearest
35780         for all computations.
35781         (__cos): Save and restore rounding mode and use round-to-nearest
35782         for all computations.
35783         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35784         <fenv.h>.
35785         (tan): Save and restore rounding mode and use round-to-nearest for
35786         all computations.
35787         * math/libm-test.inc (cos_test_tonearest): New function.
35788         (cos_test_towardzero): Likewise.
35789         (cos_test_downward): Likewise.
35790         (cos_test_upward): Likewise.
35791         (sin_test_tonearest): Likewise.
35792         (sin_test_towardzero): Likewise.
35793         (sin_test_downward): Likewise.
35794         (sin_test_upward): Likewise.
35795         (tan_test_tonearest): Likewise.
35796         (tan_test_towardzero): Likewise.
35797         (tan_test_downward): Likewise.
35798         (tan_test_upward): Likewise.
35799         (main): Call the new functions.
35800         * sysdeps/i386/fpu/libm-test-ulps: Update.
35801         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35803         [BZ #10135]
35804         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35805         small n, then large n, before computing and testing k+n.
35806         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35807         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35808         Likewise.
35809         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35810         Likewise.
35811         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35812         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35813         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35814         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35815         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35816         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35817         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35818         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35819         * math/libm-test.inc (scalbn_test): Add more tests.
35820         (scalbln_test): Likewise.
35822         * manual/filesys.texi (mode_t): Describe constraints on size and
35823         signedness, not exact equivalence to a particular type.
35824         (ino_t): Likewise.
35825         (ino64_t): Likewise.
35826         (dev_t): Likewise.
35827         (nlink_t): Likewise.
35828         (blkcnt_t): Likewise.
35829         (blkcnt64_t): Likewise.
35830         * manual/llio.texi (off_t): Likewise.
35832         [BZ #3976]
35833         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35834         (__ieee754_exp): Save and restore rounding mode and use
35835         round-to-nearest for all computations.
35836         * math/libm-test.inc (exp_test_tonearest): New function.
35837         (exp_test_towardzero): Likewise.
35838         (exp_test_downward): Likewise.
35839         (exp_test_upward): Likewise.
35840         (main): Call the new functions.
35841         * sysdeps/i386/fpu/libm-test-ulps: Update.
35842         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35844 2012-03-01  Chris Demetriou  <cgd@google.com>
35846         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35847         have predictable order.
35849 2012-03-01  David S. Miller  <davem@davemloft.net>
35851         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35853         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35854         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35855         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35856         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35858         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35859         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35860         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35861         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35862         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35863         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35864         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35865         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35866         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35868         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35870         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
35871         * sysdeps/sparc/fpu/libm-test-ulps: to here.
35872         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
35874         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
35875         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
35876         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
35877         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
35878         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
35879         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
35880         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
35881         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
35882         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
35883         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
35884         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
35885         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
35886         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
35887         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
35888         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
35889         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
35890         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
35891         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
35892         * sysdeps/sparc/elf/configure: Regenerated.
35894 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
35896         * configure.in (AS, LD): Require binutils 2.20 or later.
35897         * configure: Regenerated.
35898         * manual/install.texi (Tools for Compilation): Give binutils 2.20
35899         as required minimum version.
35900         * INSTALL: Regenerated.
35902         [BZ #2541]
35903         [BZ #4108]
35904         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
35905         before squaring exponent.
35906         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
35907         bottom long double and 27 bits of top long double before squaring
35908         exponent.
35909         * math/libm-test.inc (erfc_test): Add more tests.
35910         * sysdeps/i386/fpu/libm-test-ulps: Update.
35911         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
35912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35914 2012-03-01  Kai Tietz  <ktietz@redhat.com>
35916         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
35917         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
35918         containing bit-fields.
35919         * soft-fp/extended.h (_FP_UNION_E): Likewise.
35920         * soft-fp/single.h (_FP_UNION_S): Likewise.
35921         * soft-fp/double.h (_FP_UNION_D): Likewise.
35923 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35925         [BZ #13786]
35926         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
35927         not include ../strcmp.S.
35928         [USE_AS_STRNCASECMP_L]: Likewise.
35929         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
35930         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
35931         * sysdeps/i386/i686/multiarch/strncase_l-c.c
35932         (__strncasecmp_l_ia32): Define as alias to
35933         __strncasecmp_l_nonascii.
35935         [BZ #5794]
35936         * math/libm-test.inc (expm1_test): Add test for bug 5794.
35937         * sysdeps/i386/fpu/libm-test-ulps: Update.
35938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35940         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
35941         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35943 2012-02-29  Jeff Law  <law@redhat.com>
35945         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
35946         out of bounds read.
35948 2012-02-29  Marek Polacek  <polacek@redhat.com>
35950         [BZ #13706]
35951         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
35952         * elf/Makefile: Add rules to run tst-unused-dep.out.
35954 2012-02-28  David S. Miller  <davem@davemloft.net>
35956         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
35957         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
35958         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
35959         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
35960         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
35961         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
35963 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
35965         * math/libm-test.inc (llround_test): Move one test from
35966         lround_test.  Use TEST_f_L in moved test.
35967         (lround_test): Move misplaced test to llround_test.  Add testcase
35968         from bug 2561.
35970 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
35972         * sysdeps/x86_64/fpu/e_expf.S: New file.
35973         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
35975 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
35977         [BZ #13637]
35978         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
35979         of remain_len that may cause incomplete multi-byte character and
35980         false match.
35981         * posix/bug-regex33.c: New file.
35982         * posix/Makefile (tests): Add bug-regex33.
35984 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
35986         * manual/macros.texi: New file.
35987         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
35988         * manual/libc.texinfo: Include macros.texi.
35989         * manual/creatute.texi: Likewise.
35990         * manual/install.texi: Likewise.
35991         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
35992         @glibcadj{} in references to the GNU C Library.
35993         * manual/charset.texi: Likewise.
35994         * manual/conf.texi: Likewise.
35995         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
35996         when not using those macros.
35997         * manual/creature.texi: Likewise.
35998         * manual/crypt.texi: Likewise.
35999         * manual/errno.texi: Likewise.
36000         * manual/filesys.texi: Likewise.
36001         * manual/header.texi: Likewise.
36002         * manual/install.texi: Likewise.
36003         * manual/intro.texi: Likewise.
36004         * manual/io.texi: Likewise.
36005         * manual/job.texi: Likewise.
36006         * manual/lang.texi: Likewise.
36007         * manual/libc.texiinfo: Likewise.
36008         * manual/llio.texi: Likewise.
36009         * manual/locale.texi: Likewise.
36010         * manual/maint.texi: Likewise.
36011         * manual/math.texi: Likewise.
36012         * manual/memory.texi: Likewise.
36013         * manual/message.texi: Likewise.
36014         * manual/nss.texi: Likewise.
36015         * manual/pattern.texi: Likewise.
36016         * manual/process.texi: Likewise.
36017         * manual/resource.texi: Likewise.
36018         * manual/search.texi: Likewise.
36019         * manual/setjmp.texi: Likewise.
36020         * manual/signal.texi: Likewise.
36021         * manual/socket.texi: Likewise.
36022         * manual/startup.texi: Likewise.
36023         * manual/stdio.texi: Likewise.
36024         * manual/string.texi: Likewise.
36025         * manual/sysinfo.texi: Likewise.
36026         * manual/syslog.texi: Likewise.
36027         * manual/terminal.texi: Likewise.
36028         * manual/time.texi: Likewise.
36029         * manual/users.texi: Likewise.
36030         * INSTALL: Regenerated.
36031         * NOTES: Regenerated.
36032         * sysdeps/gnu/errlist.c: Regenerated.
36034 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36036         * include/dirent.h: Include <dirstream.h> before
36037         <dirent/dirent.h>.
36039 2012-02-28  David S. Miller  <davem@davemloft.net>
36041         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36042         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36043         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36044         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36046 2012-02-27  David S. Miller  <davem@davemloft.net>
36048         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36049         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36050         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36051         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36053         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36054         frame pointer instead of stack pointer relative arg slot.
36055         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36056         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36057         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36059 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36061         [BZ #3992]
36062         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36064 2012-02-27  David S. Miller  <davem@davemloft.net>
36066         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36069         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36070         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36071         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36072         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36073         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36075 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36077         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36078         later.  Allow versions 5-9.
36079         * configure: Regenerated.
36080         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36081         required minimum version and 4.6 as recommended version.  Do not
36082         mention bugs in GCC 2.7 and 2.8.
36083         * INSTALL: Regenerated.
36085 2012-02-27  David S. Miller  <davem@davemloft.net>
36087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36089         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36090         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36091         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36092         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36093         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36094         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36096         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36097         manipulate bits before adding and subtracting TWO112[sx].
36098         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36100 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36102         [BZ #13775]
36103         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36104         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36105         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36106         being in POSIX, because they are in 1003.1-2008.
36108         * rt/tst-aio.c: Include <fcntl.h>.
36109         * rt/tst-aio7.c: Likewise.
36110         * rt/tst-aio64.c: Likewise.
36112         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36114 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36116         * manual/install.texi (--with-headers): Describe headers as
36117         interface headers, not private headers.
36118         (Specific advice for GNU/Linux systems): Describe use of headers
36119         from "make headers_install", not private headers from older
36120         kernels.
36121         * INSTALL: Regenerated.
36122         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36123         Change to 2.6.19.
36124         * sysdeps/unix/sysv/linux/configure: Regenerated.
36126         * manual/llio.texi (fclean): Remove documentation.
36128         * manual/Makefile (libc-texi-generated): New variable.  Include
36129         version.texi.
36130         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36131         $(libc-texi-generated), not duplicated list of files.
36132         (version.texi, stamp-version): New rules.
36133         (realclean): Remove $(libc-texi-generated), not individual files
36134         from that list.  Do not remove dir-add.texinfo.
36135         * manual/libc.texinfo: Comment out uses of edition numbers and
36136         references to printed manual.  Remove last-updated dates.
36137         (EDITION): Comment out.
36138         (ISBN): Likewise.
36139         (VERSION, UPDATED): Remove.
36140         (version.texi): Include.
36142 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36144         * sysdeps/posix/spawni.c: Include <signal.h>.
36145         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36146         * sysdeps/pthread/aio_fsync.c: Likewise.
36148 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36150         * conform/Makefile (tests): Run only when not cross-compiling and
36151         when fast-check is not defined.
36153         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36154         * conform/data/limits.h-data: Fixes for POSIX2008.
36155         * conform/run-conformtest.sh: Run all tests.
36156         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36157         headers.
36158         * include/bits/dlfcn.h: Likewise.
36159         * include/langinfo.h: Likewise.
36160         * include/monetary.h: Likewise.
36161         * include/sys/poll.h: Likewise.
36163         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36164         for __USE_GNU.
36165         * posix/spawn.h: Define __need_sigset_t.
36166         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36167         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36168         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36169         to get sigevent_t only.
36170         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36171         only for __USE_GNU.
36172         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36173         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36174         process_vm_writev only for __USE_GNU.
36175         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36177         * conform/Makefile: For now ignore errors from run-conformtest.
36178         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36179         POSIX to avoid namespace pollution.  Don't prepend headers.
36180         * conform/data/aio.h-data: Fixes for POSIX testing.
36181         * conform/data/fcntl.h-data: Likewise.
36182         * conform/data/glob.h-data: Likewise.
36183         * conform/data/grp.h-data: Likewise.
36184         * conform/data/pthread.h-data: Likewise.
36185         * conform/data/pwd.h-data: Likewise.
36186         * conform/data/signal.h-data: Likewise.
36187         * conform/data/spawn.h-data: Likewise.
36188         * conform/data/stdio.h-data: Likewise.
36189         * conform/data/stdlib.h-data: Likewise.
36190         * conform/data/stropts.h-data: Likewise.
36191         * conform/data/sys/mman.h-data: Likewise.
36192         * conform/data/sys/stat.h-data: Likewise.
36193         * conform/data/sys/types.h-data: Likewise.
36194         * conform/data/sys/wait.h-data: Likewise.
36195         * conform/data/time.h-data: Likewise.
36196         * conform/data/unistd.h-data: Likewise.
36197         * conform/data/utime.h-data: Likewise.
36199         * io/sys/stat.h: fchmod was always in POSIX.
36200         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36201         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36202         * rt/aio.h: Define __need_timespec before including <time.h>.
36203         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36204         struct.  Add forward declaration of pthread_attr_t and use it in
36205         sigevent.
36206         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36207         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36208         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36209         always remove CLK_TCK definition.
36211 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36213         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36215 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36217         * conform/run-conformtest.sh: New file.
36218         * conform/Makefile: Run run-conformtest for tests.
36219         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36220         support.
36222         * conform/data/uchar.h-data: New file.
36223         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36224         * conform/data/arpa/inet.h-data: Likewise.
36225         * conform/data/assert.h-data: Likewise.
36226         * conform/data/complex.h-data: Likewise.
36227         * conform/data/cpio.h-data: Likewise.
36228         * conform/data/ctype.h-data: Likewise.
36229         * conform/data/dirent.h-data: Likewise.
36230         * conform/data/dlfcn.h-data: Likewise.
36231         * conform/data/errno.h-data: Likewise.
36232         * conform/data/fcntl.h-data: Likewise.
36233         * conform/data/float.h-data: Likewise.
36234         * conform/data/fmtmsg.h-data: Likewise.
36235         * conform/data/fnmatch.h-data: Likewise.
36236         * conform/data/ftw.h-data: Likewise.
36237         * conform/data/glob.h-data: Likewise.
36238         * conform/data/grp.h-data: Likewise.
36239         * conform/data/iconv.h-data: Likewise.
36240         * conform/data/inttypes.h-data: Likewise.
36241         * conform/data/langinfo.h-data: Likewise.
36242         * conform/data/libgen.h-data: Likewise.
36243         * conform/data/limits.h-data: Likewise.
36244         * conform/data/locale.h-data: Likewise.
36245         * conform/data/math.h-data: Likewise.
36246         * conform/data/monetary.h-data: Likewise.
36247         * conform/data/mqueue.h-data: Likewise.
36248         * conform/data/ndbm.h-data: Likewise.
36249         * conform/data/net/if.h-data: Likewise.
36250         * conform/data/netdb.h-data: Likewise.
36251         * conform/data/netinet/in.h-data: Likewise.
36252         * conform/data/nl_types.h-data: Likewise.
36253         * conform/data/poll.h-data: Likewise.
36254         * conform/data/pthread.h-data: Likewise.
36255         * conform/data/pwd.h-data: Likewise.
36256         * conform/data/regex.h-data: Likewise.
36257         * conform/data/sched.h-data: Likewise.
36258         * conform/data/search.h-data: Likewise.
36259         * conform/data/semaphore.h-data: Likewise.
36260         * conform/data/setjmp.h-data: Likewise.
36261         * conform/data/signal.h-data: Likewise.
36262         * conform/data/spawn.h-data: Likewise.
36263         * conform/data/stdarg.h-data: Likewise.
36264         * conform/data/stdio.h-data: Likewise.
36265         * conform/data/stdlib.h-data: Likewise.
36266         * conform/data/string.h-data: Likewise.
36267         * conform/data/strings.h-data: Likewise.
36268         * conform/data/stropts.h-data: Likewise.
36269         * conform/data/sys/ipc.h-data: Likewise.
36270         * conform/data/sys/mman.h-data: Likewise.
36271         * conform/data/sys/msg.h-data: Likewise.
36272         * conform/data/sys/resource.h-data: Likewise.
36273         * conform/data/sys/select.h-data: Likewise.
36274         * conform/data/sys/sem.h-data: Likewise.
36275         * conform/data/sys/shm.h-data: Likewise.
36276         * conform/data/sys/socket.h-data: Likewise.
36277         * conform/data/sys/stat.h-data: Likewise.
36278         * conform/data/sys/statvfs.h-data: Likewise.
36279         * conform/data/sys/time.h-data: Likewise.
36280         * conform/data/sys/timeb.h-data: Likewise.
36281         * conform/data/sys/times.h-data: Likewise.
36282         * conform/data/sys/types.h-data: Likewise.
36283         * conform/data/sys/uio.h-data: Likewise.
36284         * conform/data/sys/un.h-data: Likewise.
36285         * conform/data/sys/utsname.h-data: Likewise.
36286         * conform/data/sys/wait.h-data: Likewise.
36287         * conform/data/syslog.h-data: Likewise.
36288         * conform/data/tar.h-data: Likewise.
36289         * conform/data/termios.h-data: Likewise.
36290         * conform/data/utime.h-data: Likewise.
36291         * conform/data/utmpx.h-data: Likewise.
36292         * conform/data/varargs.h-data: Likewise.
36293         * conform/data/wchar.h-data: Likewise.
36294         * conform/data/wctype.h-data: Likewise.
36295         * conform/data/wordexp.h-data: Likewise.
36297         * include/stropts.h: New file.
36298         * include/uchar.h: New file.
36299         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36300         * include/assert.h: Likewise.
36301         * include/ctype.h: Likewise.
36302         * include/dirent.h: Likewise.
36303         * include/dlfcn.h: Likewise.
36304         * include/fcntl.h: Likewise.
36305         * include/fnmatch.h: Likewise.
36306         * include/glob.h: Likewise.
36307         * include/grp.h: Likewise.
36308         * include/libio.h: Likewise.
36309         * include/locale.h: Likewise.
36310         * include/math.h: Likewise.
36311         * include/net/if.h: Likewise.
36312         * include/netdb.h: Likewise.
36313         * include/netinet/in.h: Likewise.
36314         * include/pthread.h: Likewise.
36315         * include/pwd.h: Likewise.
36316         * include/regex.h: Likewise.
36317         * include/sched.h: Likewise.
36318         * include/search.h: Likewise.
36319         * include/setjmp.h: Likewise.
36320         * include/signal.h: Likewise.
36321         * include/stdio.h: Likewise.
36322         * include/stdlib.h: Likewise.
36323         * include/string.h: Likewise.
36324         * include/sys/cdefs.h: Likewise.
36325         * include/sys/mman.h: Likewise.
36326         * include/sys/msg.h: Likewise.
36327         * include/sys/resource.h: Likewise.
36328         * include/sys/select.h: Likewise.
36329         * include/sys/socket.h: Likewise.
36330         * include/sys/stat.h: Likewise.
36331         * include/sys/statvfs.h: Likewise.
36332         * include/sys/time.h: Likewise.
36333         * include/sys/times.h: Likewise.
36334         * include/sys/uio.h: Likewise.
36335         * include/sys/utsname.h: Likewise.
36336         * include/sys/wait.h: Likewise.
36337         * include/termios.h: Likewise.
36338         * include/time.h: Likewise.
36339         * include/ulimit.h: Likewise.
36340         * include/unistd.h: Likewise.
36341         * include/utime.h: Likewise.
36342         * include/wchar.h: Likewise.
36343         * include/wctype.h: Likewise.
36344         * include/wordexp.h: Likewise.
36346         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36348         * time/time.h: TIME_UTC must be a macro.
36349         Make timespec_get available for ISO C11 only as well.
36351 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36353         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36354         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36356 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36358         * configure.in: Use -o not -a in test for unsupported multi-arch.
36360 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36362         * manual/texinfo.tex: Update to version 2012-01-19.16.
36364 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36366         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36368 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36370         [BZ #13738]
36371         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36372         * manual/fdl-1.3.texi: New file.
36373         * manual/fdl-1.1.texi: File removed.
36375         [BZ #13738]
36376         * manual/libc.texinfo (FDL_VERSION): New @set.
36377         Use it for mention of FDL in cover text.
36378         (Documentation License): Use it in @include file name.
36380 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36381             Roland McGrath  <roland@hack.frob.com>
36383         [BZ #5461]
36384         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36385         (not LONG_LONG_MAX and LONG_LONG_MIN.
36386         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36387         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36388         name.
36389         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36391 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36393         [BZ #2547]
36394         [BZ #11365]
36395         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36396         manipulate bits before adding and subtracting TWO23[sx].
36397         * math/libm-test.inc (nearbyint_test): Add more tests.
36399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36401         [BZ #2548]
36402         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36403         bits before adding and subtracting TWO23[sx].
36404         * math/libm-test.inc (rint_test): Add more tests.
36405         (rint_test_tonearest): Likewise.
36406         (rint_test_towardzero): Likewise.
36407         (rint_test_downward): Likewise.
36408         (rint_test_upward: Likewise.
36410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36412         [BZ #10110]
36413         * include/stdc-predef.h: New file.  Extracted from features.h.
36414         * include/features.h: Include stdc-predef.h.
36415         * Makefile (headers): Add stdc-predef.h.
36416         * CONFORMANCE (Compiler limitations): Update.
36418 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36420         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36422 2012-02-21  David S. Miller  <davem@davemloft.net>
36424         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36425         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36427 2012-02-20  David S. Miller  <davem@davemloft.net>
36429         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36430         using a normal save/restore sequence, rather than allocating a
36431         dummy stack frame just to store a frame pointer and restore.
36432         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36434 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36436         * manual/install.texi: Fix stray word in line-wrapped comment.
36438 2012-02-20  David S. Miller  <davem@davemloft.net>
36440         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36441         both binutils and gcc support GOTDATA.
36443         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36444         "rd %pc" in the PIC register setup sequences.
36446         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36447         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36448         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36449         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36450         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36452         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36453         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36454         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36455         (SYSCALL_ERROR_HANDLER): Likewise.
36456         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36457         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36458         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36459         (SYSCALL_ERROR_HANDLER): Likewise.
36461         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36462         (HAVE_GCC_GOTDATA): New.
36463         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36464         relocation support in both binutils and gcc.
36465         * sysdeps/sparc/elf/configure: Regenerate.
36467         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36468         * sysdeps/sparc/sparc32/elf/configure: Delete.
36469         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36470         * sysdeps/sparc/sparc64/elf/configure: Delete.
36471         * sysdeps/sparc/elf/configure.in: New file.
36472         * sysdeps/sparc/elf/configure: Generate.
36474         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36475         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36476         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36477         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36478         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36480 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36482         * manual/install.texi: Do not mention specific glibc version
36483         numbers.
36484         * manual/libc.texinfo (VERSION, UPDATED): Update.
36485         (@copying): Use @copyright{} and range of years.
36487 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36489         [BZ #13695]
36490         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36491         [crti.S not in sysdirs] (generated): Do not append.
36492         [crti.S not in sysdirs] (omit-deps): Likewise.
36493         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36494         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36495         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36496         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36497         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36498         Likewise.
36499         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36500         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36501         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36502         * csu/defs.awk: Remove file.
36503         * sysdeps/generic/initfini.c: Likewise.
36504         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36505         variable.
36506         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36507         Likewise.
36509 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36511         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36512         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36513         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36514         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36516         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36517         <bits/epoll.h>.
36518         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36519         (__EPOLL_PACKED): Define to empty if not defined by
36520         <bits/epoll.h>.
36521         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36522         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36523         bits/epoll.h.
36525 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36527         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36528         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36529         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36530         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36531         <bits/timerfd.h>.
36532         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36533         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36534         bits/timerfd.h.
36536 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36538         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36539         in C locale.
36540         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36541         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36542         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36543         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36545 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36547         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36548         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36550 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36552         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36553         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36554         defined.
36555         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36556         Likewise.
36557         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36558         entry for 2.16.
36560 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36562         * math/w_acos.c: Use non-signaling floating-point comparisons.
36563         * math/w_acosf.c: Likewise.
36564         * math/w_acosh.c: Likewise.
36565         * math/w_acoshf.c: Likewise.
36566         * math/w_acoshl.c: Likewise.
36567         * math/w_acosl.c: Likewise.
36568         * math/w_asin.c: Likewise.
36569         * math/w_asinf.c: Likewise.
36570         * math/w_asinl.c: Likewise.
36571         * math/w_atanh.c: Likewise.
36572         * math/w_atanhf.c: Likewise.
36573         * math/w_atanhl.c: Likewise.
36574         * math/w_exp2.c: Likewise.
36575         * math/w_exp2f.c: Likewise.
36576         * math/w_exp2l.c: Likewise.
36577         * math/w_j0.c: Likewise.
36578         * math/w_j0f.c: Likewise.
36579         * math/w_j0l.c: Likewise.
36580         * math/w_j1.c: Likewise.
36581         * math/w_j1f.c: Likewise.
36582         * math/w_j1l.c: Likewise.
36583         * math/w_jn.c: Likewise.
36584         * math/w_jnf.c: Likewise.
36585         * math/w_log.c: Likewise.
36586         * math/w_log10.c: Likewise.
36587         * math/w_log10f.c: Likewise.
36588         * math/w_log10l.c: Likewise.
36589         * math/w_log2.c: Likewise.
36590         * math/w_log2f.c: Likewise.
36591         * math/w_log2l.c: Likewise.
36592         * math/w_logf.c: Likewise.
36593         * math/w_logl.c: Likewise.
36594         * math/w_sqrt.c: Likewise.
36595         * math/w_sqrtf.c: Likewise.
36596         * math/w_sqrtl.c: Likewise.
36597         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36598         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36599         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36600         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36601         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36603 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36605         [BZ #9739]
36606         * manual/string.texi (strnlen): Use correct parameter name in
36607         equivalent expression.
36609 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36611         [BZ #11174]
36612         * manual/users.texi (seteuid): Consistently use neweuid for
36613         argument name.
36615 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36617         [BZ #13704]
36618         * manual/nss.texi (Services in the NSS configuration): Correct
36619         list of services in example configuration file.
36621 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36623         [BZ #11322]
36624         * manual/arith.texi: Remove statements about negative zero
36625         behaving identically to zero.
36627 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36629         [BZ #5993]
36630         * manual/install.texi: Do not document upgrading from libc5.
36632 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36634         [BZ #4596]
36635         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36637 2012-02-18  David S. Miller  <davem@davemloft.net>
36639         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36640         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36641         %o7 across the call.
36642         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36643         instead.
36644         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36645         SETUP_PIC_REG_LEAF.
36646         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36647         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36648         * sysdeps/sparc/crtn.S: Likewise.
36650 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36652         * aout/Makefile: Remove.
36654 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36656         [BZ #13058]
36657         * manual/examples/argp-ex1.c (main): Format definition in GNU
36658         style.
36659         * manual/examples/argp-ex2.c (main): Likewise.
36660         * manual/examples/argp-ex3.c (main): Likewise.
36661         * manual/examples/argp-ex4.c (main): Likewise.
36662         * manual/examples/longopt.c (main): Use new-style prototype
36663         definition.
36664         * manual/examples/strncat.c (main): Specify return type and use
36665         (void) for arguments.
36666         * manual/examples/subopt.c (main): Use char **argv argument.
36668 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36670         [BZ #5077]
36671         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36672         rounding modes.
36674 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36676         [BZ #6907]
36677         * manual/string.texi (strchr): Change when strchrnul is
36678         recommended.
36680 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36682         [BZ #174]
36683         * manual/locale.texi (setlocale): Document LOCPATH.
36685 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36687         [BZ #10210]
36688         * manual/process.texi (execle): Move @dots{} before last argument.
36690 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36692         [BZ #12047]
36693         * manual/charset.texi (Generic Charset Conversion): Fix typo
36694         (LC_TYPE -> LC_CTYPE).
36696 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36698         [BZ #5805]
36699         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36700         (scalbnf): Likewise.
36701         (scalbnl): Likewise.
36702         (scalbln): Likewise.
36703         (scalblnf): Likewise.
36704         (scalblnl): Likewise.
36705         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36706         (vwarnx): Likewise.
36707         (verr): Likewise.
36708         (verrx): Likewise.
36709         * manual/filesys.texi (telldir): Use braces around return type.
36710         * manual/llio.texi (mmap): Add space after comma.
36711         (mmap64): Likewise.
36712         * manual/math.texi (jn): Use @var{} on parameter names.
36713         (jnf): Likewise.
36714         (jnl): Likewise.
36715         (yn): Likewise.
36716         (ynf): Likewise.
36717         (ynl): Likewise.
36718         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36719         line.
36720         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36721         "...".
36722         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36723         (sched_get_priority_max): Likewise.
36724         * manual/signal.texi (sigvec): Add space after comma.
36725         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36726         names.
36727         (if_indextoname): Likewise.
36728         (if_freenameindex): Likewise.
36729         (sendto): Use ',' instead of '.' in prototype.
36730         * manual/startup.texi (syscall): Use @dots{} instead of literal
36731         "...".
36732         * manual/stdio.texi (__fpending): Separate initial words of
36733         paragraph from @deftypefun line.
36734         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36735         "...".
36736         (vsyslog): Use @var{} on parameter names.
36737         * manual/terminal.texi (stty): Use @var{} on parameter names.
36738         * manual/users.texi (getutmp): Use @var{} on parameter names.
36739         (getutmpx): Likewise.
36741 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36743         [BZ #6884]
36744         * manual/stdio.texi (fopen): Fix typos in description of
36745         ",ccs=STRING".
36747 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36749         [BZ #4026]
36750         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36751         get clock_id definition.
36753 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36755         [BZ #4822]
36756         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36757         (madvise): Cast every argument to void on its own.
36759 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36761         [BZ #9902]
36762         * manual/startup.texi (Exit Status): Fix typo.
36764 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36766         [BZ #10140]
36767         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36768         * manual/examples/argp-ex2.c: Likewise.
36769         * manual/examples/argp-ex3.c: Likewise.
36771 2012-02-16  Richard Henderson  <rth@redhat.com>
36773         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36774         * sysdeps/s390/s390-32/initfini.c: Remove.
36775         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36776         * sysdeps/s390/s390-64/initfini.c: Remove.
36778 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36780         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36781         compiler output for sysdeps/generic/initfini.c.
36782         * sysdeps/sh/elf/initfini.c: Remove file.
36784 2012-02-16  David S. Miller  <davem@davemloft.net>
36786         [BZ #11494]
36787         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36789         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36790         * sysdeps/sparc/crti.S: New file.
36791         * sysdeps/sparc/crtn.S: New file.
36792         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36793         * sysdeps/sparc/sparc64/Makefile: Likewise.
36795 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36797         [BZ #3335]
36798         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36800 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36802         [BZ #4822]
36803         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36805         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36806         (write, read, close): Likewise.
36807         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36809 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36811         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36812         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36813         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36814         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36815         <bits/signalfd.h>.
36816         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36817         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36818         bits/signalfd.h.
36820 2012-02-14  Marek Polacek  <polacek@redhat.com>
36822         * sysdeps/x86_64/crti.S: New file.
36823         * sysdeps/x86_64/crtn.S: New file.
36824         * sysdeps/x86_64/elf/initfini.c: Remove file.
36826 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36828         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36829         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36830         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36831         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36832         <bits/inotify.h>.
36833         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36834         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36835         bits/inotify.h.
36837 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36839         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36840         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36841         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36842         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36843         <bits/eventfd.h>.
36844         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36845         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36846         bits/eventfd.h.
36848 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36850         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36851         __feraiseexcept instead of feraiseexcept.
36853         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36854         nanosleep invocations.
36855         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36856         strings, and add error checking for a nanosleep invocations.
36858 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36860         Replace FSF snail mail address with URLs, as per GNU coding standards.
36861         Most of the snail mail addresses were wrong anyway, and omitting
36862         them makes the source code easier to maintain.  Almost all of the
36863         changes are to license notices and to locale LC_IDENTIFICATION
36864         addresses, except for this one:
36865         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36866         not its snail mail address.
36868 2012-02-09  Richard Henderson  <rth@twiddle.net>
36870         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
36871         of kernel-features.h.
36873         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
36875 2012-02-08  Marek Polacek  <polacek@redhat.com>
36877         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
36878         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
36879         * sysdeps/gnu/_G_config.h: Likewise.
36880         * sysdeps/generic/_G_config.h: Likewise.
36882 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
36884         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
36885         tests.
36886         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36888         * sysdeps/powerpc/powerpc32/crti.S: New file.
36889         * sysdeps/powerpc/powerpc32/crtn.S: New file.
36890         * sysdeps/powerpc/powerpc64/crti.S: New file.
36891         * sysdeps/powerpc/powerpc64/crtn.S: New file.
36893         * Makeconfig (have-initfini): Don't set.
36894         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
36895         * configure.in (nopic_initfini): Don't substitute.
36896         * config.h.in (HAVE_INITFINI): Don't #undef.
36897         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
36898         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
36900 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
36902         Support crti.S and crtn.S provided directly by architectures.
36903         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
36904         [crti.S in sysdirs] (omit-deps): Likewise.
36905         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
36906         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
36907         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
36908         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
36909         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
36910         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
36911         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
36912         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
36913         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
36914         compiler output for sysdeps/generic/initfini.c.
36915         * sysdeps/i386/elf/Makefile: Remove file.
36916         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
36918 2012-02-07  Marek Polacek  <polacek@redhat.com>
36920         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
36921         * sysdeps/gnu/_G_config.h: Likewise.
36922         * sysdeps/mach/hurd/_G_config.h: Likewise.
36924 2012-02-07  Marek Polacek  <polacek@redhat.com>
36926         * math/Makefile (tests): Add tst-CMPLX2.
36927         * math/tst-CMPLX2.c: New file.
36929 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
36931         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36933         * math/libm-test.inc (jn_test): Add missing L suffix.
36935 2012-02-06  Marek Polacek  <polacek@redhat.com>
36937         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
36938         * sysdeps/i386/fpu/e_powf.S: Likewise.
36939         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36940         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
36941         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36942         * sysdeps/i386/fpu/e_pow.S: Likewise.
36943         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36944         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36945         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36946         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36947         * sysdeps/i386/fpu/e_log2.S: Likewise.
36948         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36949         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36950         * sysdeps/i386/fpu/e_powl.S: Likewise.
36951         * sysdeps/i386/fpu/s_log1p.S: Likewise.
36952         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36953         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36954         * sysdeps/i386/fpu/e_logl.S: Likewise.
36955         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36956         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
36957         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36958         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36959         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36960         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36961         * sysdeps/i386/fpu/e_log.S: Likewise.
36962         * sysdeps/i386/fpu/s_cexp.S: Likewise.
36963         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36964         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
36965         * sysdeps/i386/fpu/e_logf.S: Likewise.
36966         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36967         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36968         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
36969         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36970         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
36971         * sysdeps/i386/fpu/e_log10.S: Likewise.
36972         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36973         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36974         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36975         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36976         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36977         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36978         * sysdeps/i386/asm-syntax.h: Likewise.
36979         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36980         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36981         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36982         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
36983         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
36984         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36985         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36986         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36987         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36988         * sysdeps/powerpc/sysdep.h: Likewise.
36989         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
36990         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
36992 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36994         [BZ #411]
36995         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
36997 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
36999         * sysdeps/i386/sysdep.h: Include <features.h>.
37000         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37001         version.
37003 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37005         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37006         Define.
37007         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37008         LOAD_PIC_REG_STR.
37010 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37012         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37013         (SETUP_PIC_REG): Use GET_PC_THUNK.
37014         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37015         macro.
37017 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37019         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37020         for non-PIC compilation.
37021         (SETUP_PIC_REG): Add .p2align directive.
37022         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37023         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37024         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37025         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37026         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37027         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37028         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37029         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37030         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37031         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37032         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37033         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37034         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37035         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37036         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37037         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37038         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37039         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37040         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37041         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37042         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37043         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37044         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37045         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37046         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37047         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37048         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37049         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37050         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37051         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37052         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37053         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37054         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37055         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37056         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37057         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37058         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37059         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37060         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37061         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37062         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37064 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37066         * math/tst-CMPLX.c: Include <stdio.h>.
37068 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37070         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37071         float.
37072         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37073         * sysdeps/sparc/bits/mathdef.h: Likewise.
37075 2012-01-31  Marek Polacek  <polacek@redhat.com>
37077         * libio/libio.h: Don't define _PARAMS.
37078         * locale/programs/config.h: Don't define PARAMS.
37079         * stdlib/strtol_l.c: Likewise.
37080         (__strtol_l): Remove PARAMS from the prototype.
37082 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37084         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37085         names.  Just use the correct names.  Remove unnecessary wrapper
37086         functions.
37087         * malloc/arena.c: Likewise.
37088         * malloc/hooks.c: Likewise.
37090         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37091         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37092         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37094 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37096         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37097         into tail calls.
37098         (update_get_addr): New function.
37099         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37100         GET_ADDR_MODULE parameter.
37102 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37104         * crypt/cert.c: Remove __STDC__ conditionals.
37105         * crypt/crypt-entry.c: Likewise.
37106         * crypt/crypt_util.c: Likewise.
37107         * libio/filedoalloc.c: Likewise.
37108         * libio/fileops.c: Likewise.
37109         * libio/genops.c: Likewise.
37110         * libio/iofclose.c: Likewise.
37111         * libio/iofdopen.c: Likewise.
37112         * libio/iofopen.c: Likewise.
37113         * libio/iofopen64.c: Likewise.
37114         * libio/iogetdelim.c: Likewise.
37115         * libio/iopopen.c: Likewise.
37116         * libio/obprintf.c: Likewise.
37117         * libio/oldfileops.c: Likewise.
37118         * libio/oldiofclose.c: Likewise.
37119         * libio/oldiofdopen.c: Likewise.
37120         * libio/oldiofopen.c: Likewise.
37121         * libio/oldiopopen.c: Likewise.
37122         * libio/wfiledoalloc.c: Likewise.
37123         * libio/wgenops.c: Likewise.
37124         * locale/programs/xmalloc.c: Likewise.
37125         * misc/syslog.c: Likewise.
37126         * stdio-common/xbug.c: Likewise.
37127         * string/memchr.c: Likewise.
37128         * string/memcmp.c: Likewise.
37129         * string/memrchr.c: Likewise.
37130         * string/rawmemchr.c: Likewise.
37131         * sysdeps/posix/getcwd.c: Likewise.
37132         * time/strftime_l.c: Likewise.
37134 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37136         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37137         * config.make.in (config-cflags-sse2avx): Define.
37138         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37139         Fix typo.
37141 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37143         * scripts/config.guess: Update from upstream config git repository.
37144         * scripts/config.sub: Likewise.
37146 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37148         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37149         (EM_NUM): Update.
37150         (R_TILEPRO_*, R_TILEGX_*): New macros.
37152         * scripts/firstversions.awk: Fix bug in version range handling.
37154         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37156         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37158         * include/sys/epoll.h: New file.
37159         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37160         libc_hidden_def.
37162 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37164         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37165         Avoid unnecessary __WORDSIZE == 64 test.
37166         (fmaxf): Use VEX format if possible.
37167         (fmax): Likewise.
37168         (fminf): Likewise.
37169         (fmin): Likewise.
37171         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37172         * math/math_private.h: Remove libc_fegetround* and
37173         libc_fesetround*.
37174         * sysdeps/i386/configure.in: Check for -msse2avx.
37175         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37176         also if SSE2AVX is defined.
37177         Remove libc_fegetround* and libc_fesetround*.
37178         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37179         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37180         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37181         of HAS_YMM_USABLE.
37182         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37183         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37184         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37185         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37186         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37188         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37190 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37192         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37193         size is not set.
37194         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37196 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37198         [BZ #13618]
37199         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37200         relocation.
37201         * Makeconfig (libm): Define.
37202         * elf/Makefile: Add rules to build and run tst-relsort1.
37203         * elf/tst-relsort1.c: New file.
37204         * elf/tst-relsort1mod1.c: New file.
37205         * elf/tst-relsort1mod2.c: New file.
37207 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37209         * math/s_ldexp.c: Remove __STDC__ conditionals.
37210         * math/s_ldexpf.c: Likewise.
37211         * math/s_ldexpl.c: Likewise.
37212         * math/s_nextafter.c: Likewise.
37213         * math/s_nexttowardf.c: Likewise.
37214         * math/s_significand.c: Likewise.
37215         * math/s_significandf.c: Likewise.
37216         * math/s_significandl.c: Likewise.
37217         * math/w_jnl.c: Likewise.
37218         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37219         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37220         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37221         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37222         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37223         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37224         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37225         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37226         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37227         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37228         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37229         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37230         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37231         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37232         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37233         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37234         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37235         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37236         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37237         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37238         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37239         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37240         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37241         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37242         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37243         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37244         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37245         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37246         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37247         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37248         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37249         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37250         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37251         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37252         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37253         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37254         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37255         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37256         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37257         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37258         * sysdeps/ieee754/k_standard.c: Likewise.
37259         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37260         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37261         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37262         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37263         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37264         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37265         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37266         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37267         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37268         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37269         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37270         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37271         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37272         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37273         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37274         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37275         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37276         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37277         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37278         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37279         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37280         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37281         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37282         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37283         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37284         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37286         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37287         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37288         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37289         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37290         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37291         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37292         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37293         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37294         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37295         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37296         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37297         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37298         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37299         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37301         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37302         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37303         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37304         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37305         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37306         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37307         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37308         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37309         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37310         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37311         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37312         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37313         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37314         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37315         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37316         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37317         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37318         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37319         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37320         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37321         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37322         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37323         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37324         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37325         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37326         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37327         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37328         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37329         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37330         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37331         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37332         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37333         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37334         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37335         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37336         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37337         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37338         * sysdeps/ieee754/s_matherr.c: Likewise.
37339         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37340         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37341         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37342         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37344 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37346         * crypt/md5.h: Remove __STDC__ conditionals.
37347         * libio/libioP.h: Likewise.
37348         * locale/programs/config.h: Likewise.
37349         * sysdeps/generic/sysdep.h: Likewise.
37350         * sysdeps/i386/asm-syntax.h: Likewise.
37351         * sysdeps/s390/asm-syntax.h: Likewise.
37352         * sysdeps/unix/sysdep.h: Likewise.
37353         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37354         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37356 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37358         * libio/libio.h: Remove __STDC__ conditionals.
37359         * malloc/obstack.h: Likewise.
37360         * math/complex.h: Likewise.
37361         * math/math.h: Likewise.
37362         * sysdeps/generic/_G_config.h: Likewise.
37363         * sysdeps/gnu/_G_config.h: Likewise.
37364         * sysdeps/mach/hurd/_G_config.h: Likewise.
37365         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37366         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37367         * sysdeps/sparc/bits/mathdef.h: Likewise.
37369 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37371         [BZ #13583]
37372         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37373         Clean up HAS_* macros.
37374         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37375         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37376         possible.
37377         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37378         HAS_AVX.
37379         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37380         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37381         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37382         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37383         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37385 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37387         * elf/tst-unique3.cc (gets): Remove declaration.
37388         * elf/tst-unique3lib.cc (gets): Likewise.
37389         * elf/tst-unique3lib2.cc (gets): Likewise.
37390         * elf/tst-unique4.cc (gets): Likewise.
37392 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37394         * include/stdio.h: Add C++ protection.  Add gets declarations and
37395         definitions.
37396         * debug/tst-chk1.c: Don't declare gets here.
37397         * stdio-common/tst-gets.c: Likewise.
37399 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37401         * posix/glob: Remove directory.
37403 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37405         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37407 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37409         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37410         of the non-standard EPFNOSUPPORT.
37412 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37414         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37415         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37416         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37418 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37420         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37422 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37424         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37425         transient errors.
37426         * nscd/grpcache.c (cache_addgr): Likewise.
37427         * nscd/hstcache.c (cache_addhst): Likewise.
37428         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37429         * nscd/pwdcache.c (cache_addpw): Likewise.
37430         * nscd/servicescache.c (cache_addserv): Likewise.
37432 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37434         * malloc/malloc.c: Various cleanups.
37435         * malloc/hooks.c: Likewise.
37437         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37438         * stdlib/bug-fmtmsg1.c: New file.
37440         * stdlib/fmtmsg.c (init): Add missing unlock.
37441         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37443 2012-01-12  Marek Polacek  <polacek@redhat.com>
37445         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37446         and _GNU_SOURCE.
37448 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37450         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37451         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37452         macro to ensure uniqueness of label name.
37453         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37454         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37456 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37458         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37460         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37461         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37462         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37463         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37465 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37467         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37469         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37470         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37471         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37473         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37475         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37476         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37477         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37478         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37480         * math/bits/math-finite.h: Add ldexp support.
37482 2012-01-10  Marek Polacek  <polacek@redhat.com>
37484         * locale/programs/localedef.h (show_archive_content): Add noreturn
37485         attribute.
37487 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37489         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37491 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37493         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37495         * io/Makefile (headers): Add bits/poll2.h.
37497 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37500         typo #include statement.
37502 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37504         * include/sys/cdefs.h: Define __attribute_alloc_size.
37505         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37506         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37507         * elf/pldd.c: Likewise.
37508         * iconv/iconv_charmap.c: Likewise.
37509         * iconv/iconvconfig.c: Likewise.
37510         * iconv/strtab.c: Likewise.
37511         * locale/programs/locale.c: Likewise.
37512         * locale/programs/localedef.h: Likewise.
37513         * locale/programs/simple-hash.c: Likewise.
37514         * nscd/nscd.h: Likewise.
37515         * nss/makedb.c: Likewise.
37516         * sysdeps/generic/ldconfig.h: Likewise.
37517         * locale/programs/localedef.c: Remove xmalloc prototype.
37518         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37520 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37522         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37523         appropriate.
37525 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37527         * math/Makefile (tests): Add tst-CMPLX.
37528         * math/tst-CMPLX.c: New file.
37530         * math/complex.h (CMPLXL): Fix typo.
37532         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37533         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37534         GLIBC_2.16.
37535         * debug/tst-chk1.c: Add poll and ppoll tests.
37536         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37537         * include/sys/poll.h: Add hidden proto for ppoll.
37538         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37539         * sysdeps/mach/hurd/ppoll.c: Likewise.
37540         * io/ppoll.c: Likewise.
37541         * debug/poll_chk.c: New file.
37542         * debug/ppoll_chk.c: New file.
37543         * include/bits/poll2.h: New file.
37544         * io/bits/poll2.h: New file.
37546         [BZ #1350]
37547         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37549         * configure.in: static is always set to yes.  Remove.
37550         * config.make.in: Don't set build-static.
37551         * Makeconfig: Remove use of build-static.
37552         * dlfcn/Makefile: Likewise.
37553         * elf/Makefile: Likewise.
37554         * math/Makefile: Likewise.
37555         * misc/Makefile: Likewise.
37556         * nptl/Makefile: Likewise.
37557         * sysdeps/mach/hurd/Makefile: Likewise.
37559         * configure.in: PWD_P is not used anymore.
37560         * config.make.in: Remove PWD_P entry.
37562         * configure.in: Remove last remnants of RANLIB.
37563         No need to check for signed size_t anymore.
37564         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37565         and IA-64.
37566         Remove __builtin_expect test because we require at least gcc 3.4.
37567         * aclocal.m4: Likewise.
37569         * wcsmbs/mbrtoc16.c: Implement using towc function.
37570         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37571         * wcsmbs/wcsmbsload.c: Likewise.
37572         * iconv/gconv_simple.c: Likewise.
37573         * iconv/gconv_int.h: Likewise.
37574         * iconv/gconv_builtin.h: Likewise.
37575         * iconv/iconv_prog.c: Remove CHAR16 handling.
37577         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37579         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37581         * configure.in: Remove --with-elf and --enable-bounded options.
37582         Dont set base_machine for ia64.  More non-ELF conditions removed.
37583         Remove testing and setting of leading underscore information.
37584         * config.make.in (build-bounded): Set to no.
37585         * config.h.in: Remove NO_UNDERSCORES entry.
37586         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37587         them.
37588         * csu/start.c: Remove !NO_UNDERSCORE code.
37589         * locale/localeinfo.h: Likewise.
37590         * sysdeps/generic/machine-gmon.h: Likewise.
37591         * sysdeps/generic/sysdep.h: Likewise.
37592         * sysdeps/i386/sysdep.h: Likewise.
37593         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37594         * sysdeps/mach/sysdep.h: Likewise.
37595         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37596         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37597         * sysdeps/sh/sysdep.h: Likewise.
37598         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37599         * sysdeps/unix/i386/sysdep.S: Likewise.
37600         * sysdeps/unix/sparc/start.c: Likewise.
37601         * sysdeps/unix/sparc/sysdep.S: Likewise.
37602         * sysdeps/unix/sparc/sysdep.h: Likewise.
37603         * sysdeps/unix/start.c: Likewise.
37604         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37605         * sysdeps/x86_64/sysdep.h: Likewise.
37607 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37609         [BZ #13553]
37610         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37611         for non-gcc.
37612         * argp/argp-fmtstream.h: Use const instead __const.
37613         * argp/argp.h: Likewise.
37614         * assert/assert.h: Likewise.
37615         * bits/fenv.h: Likewise.
37616         * bits/sched.h: Likewise.
37617         * bits/sigset.h: Likewise.
37618         * bits/sigthread.h: Likewise.
37619         * catgets/nl_types.h: Likewise.
37620         * conform/data/pthread.h-data: Likewise.
37621         * crypt/crypt-private.h: Likewise.
37622         * crypt/crypt.h: Likewise.
37623         * crypt/crypt_util.c: Likewise.
37624         * ctype/ctype.h: Likewise.
37625         * debug/execinfo.h: Likewise.
37626         * debug/mbsnrtowcs_chk.c: Likewise.
37627         * debug/mbsrtowcs_chk.c: Likewise.
37628         * debug/wcsnrtombs_chk.c: Likewise.
37629         * debug/wcsrtombs_chk.c: Likewise.
37630         * debug/wcstombs_chk.c: Likewise.
37631         * dirent/dirent.h: Likewise.
37632         * dlfcn/dlfcn.h: Likewise.
37633         * elf/neededtest4.c: Likewise.
37634         * grp/grp.h: Likewise.
37635         * gshadow/gshadow.h: Likewise.
37636         * iconv/gconv.h: Likewise.
37637         * iconv/gconv_int.h: Likewise.
37638         * iconv/gconv_simple.c: Likewise.
37639         * iconv/iconv.h: Likewise.
37640         * iconv/loop.c: Likewise.
37641         * iconv/skeleton.c: Likewise.
37642         * include/aio.h: Likewise.
37643         * include/aliases.h: Likewise.
37644         * include/argz.h: Likewise.
37645         * include/arpa/inet.h: Likewise.
37646         * include/assert.h: Likewise.
37647         * include/dirent.h: Likewise.
37648         * include/dlfcn.h: Likewise.
37649         * include/execinfo.h: Likewise.
37650         * include/fcntl.h: Likewise.
37651         * include/fenv.h: Likewise.
37652         * include/glob.h: Likewise.
37653         * include/grp.h: Likewise.
37654         * include/libintl.h: Likewise.
37655         * include/mntent.h: Likewise.
37656         * include/netdb.h: Likewise.
37657         * include/pwd.h: Likewise.
37658         * include/rpc/netdb.h: Likewise.
37659         * include/sched.h: Likewise.
37660         * include/search.h: Likewise.
37661         * include/shadow.h: Likewise.
37662         * include/signal.h: Likewise.
37663         * include/stdio.h: Likewise.
37664         * include/stdlib.h: Likewise.
37665         * include/string.h: Likewise.
37666         * include/sys/socket.h: Likewise.
37667         * include/sys/stat.h: Likewise.
37668         * include/sys/statfs.h: Likewise.
37669         * include/sys/statvfs.h: Likewise.
37670         * include/sys/syslog.h: Likewise.
37671         * include/sys/time.h: Likewise.
37672         * include/sys/uio.h: Likewise.
37673         * include/time.h: Likewise.
37674         * include/unistd.h: Likewise.
37675         * include/utmp.h: Likewise.
37676         * include/wchar.h: Likewise.
37677         * include/wctype.h: Likewise.
37678         * inet/aliases.h: Likewise.
37679         * inet/arpa/inet.h: Likewise.
37680         * inet/netinet/ether.h: Likewise.
37681         * inet/netinet/in.h: Likewise.
37682         * intl/libintl.h: Likewise.
37683         * io/bits/fcntl2.h: Likewise.
37684         * io/fcntl.h: Likewise.
37685         * io/ftw.h: Likewise.
37686         * io/sys/poll.h: Likewise.
37687         * io/sys/stat.h: Likewise.
37688         * io/sys/statfs.h: Likewise.
37689         * io/sys/statvfs.h: Likewise.
37690         * io/utime.h: Likewise.
37691         * libio/bits/stdio.h: Likewise.
37692         * libio/bits/stdio2.h: Likewise.
37693         * libio/libio.h: Likewise.
37694         * libio/libioP.h: Likewise.
37695         * libio/stdio.h: Likewise.
37696         * locale/lc-ctype.c: Likewise.
37697         * locale/locale.h: Likewise.
37698         * login/utmp.h: Likewise.
37699         * malloc/arena.c: Likewise.
37700         * malloc/malloc.c: Likewise.
37701         * malloc/malloc.h: Likewise.
37702         * malloc/mcheck.c: Likewise.
37703         * malloc/mtrace.c: Likewise.
37704         * math/bits/mathcalls.h: Likewise.
37705         * math/fenv.h: Likewise.
37706         * math/math_private.h: Likewise.
37707         * misc/bits/error.h: Likewise.
37708         * misc/bits/syslog.h: Likewise.
37709         * misc/err.h: Likewise.
37710         * misc/error.h: Likewise.
37711         * misc/fstab.h: Likewise.
37712         * misc/mntent.h: Likewise.
37713         * misc/regexp.h: Likewise.
37714         * misc/search.h: Likewise.
37715         * misc/sgtty.h: Likewise.
37716         * misc/sys/mman.h: Likewise.
37717         * misc/sys/syslog.h: Likewise.
37718         * misc/sys/uio.h: Likewise.
37719         * misc/sys/xattr.h: Likewise.
37720         * misc/ttyent.h: Likewise.
37721         * nis/rpcsvc/ypclnt.h: Likewise.
37722         * nss/nss.h: Likewise.
37723         * posix/bits/unistd.h: Likewise.
37724         * posix/fnmatch.h: Likewise.
37725         * posix/glob.h: Likewise.
37726         * posix/sched.h: Likewise.
37727         * posix/spawn.h: Likewise.
37728         * posix/sys/wait.h: Likewise.
37729         * posix/unistd.h: Likewise.
37730         * posix/wordexp.h: Likewise.
37731         * pwd/pwd.h: Likewise.
37732         * resolv/netdb.h: Likewise.
37733         * resource/sys/resource.h: Likewise.
37734         * rt/aio.h: Likewise.
37735         * rt/bits/mqueue2.h: Likewise.
37736         * rt/mqueue.h: Likewise.
37737         * shadow/shadow.h: Likewise.
37738         * signal/signal.h: Likewise.
37739         * socket/send.c: Likewise.
37740         * socket/sendto.c: Likewise.
37741         * socket/sys/socket.h: Likewise.
37742         * stdio-common/printf.h: Likewise.
37743         * stdlib/bits/stdlib.h: Likewise.
37744         * stdlib/fmtmsg.h: Likewise.
37745         * stdlib/monetary.h: Likewise.
37746         * stdlib/stdlib.h: Likewise.
37747         * stdlib/ucontext.h: Likewise.
37748         * streams/stropts.h: Likewise.
37749         * string/argz.h: Likewise.
37750         * string/bits/string2.h: Likewise.
37751         * string/string.h: Likewise.
37752         * string/strings.h: Likewise.
37753         * sunrpc/rpc/auth.h: Likewise.
37754         * sunrpc/rpc/auth_des.h: Likewise.
37755         * sunrpc/rpc/clnt.h: Likewise.
37756         * sunrpc/rpc/netdb.h: Likewise.
37757         * sunrpc/rpc/pmap_clnt.h: Likewise.
37758         * sunrpc/rpc/xdr.h: Likewise.
37759         * sysdeps/generic/inttypes.h: Likewise.
37760         * sysdeps/generic/net/if.h: Likewise.
37761         * sysdeps/generic/sys/swap.h: Likewise.
37762         * sysdeps/gnu/net/if.h: Likewise.
37763         * sysdeps/gnu/utmpx.h: Likewise.
37764         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37765         * sysdeps/i386/i486/bits/string.h: Likewise.
37766         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37767         * sysdeps/s390/bits/string.h: Likewise.
37768         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37769         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37770         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37771         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37772         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37773         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37774         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37775         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37776         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37777         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37778         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37779         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37780         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37781         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37782         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37783         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37784         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37785         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37786         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37787         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37788         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37789         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37790         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37791         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37792         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37793         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37794         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37795         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37796         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37797         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37798         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37799         * sysvipc/sys/ipc.h: Likewise.
37800         * sysvipc/sys/msg.h: Likewise.
37801         * sysvipc/sys/sem.h: Likewise.
37802         * sysvipc/sys/shm.h: Likewise.
37803         * termios/termios.h: Likewise.
37804         * time/sys/time.h: Likewise.
37805         * time/time.h: Likewise.
37806         * wcsmbs/bits/wchar2.h: Likewise.
37807         * wcsmbs/uchar.h: Likewise.
37808         * wcsmbs/wchar.h: Likewise.
37809         * wctype/wctype.h: Likewise.
37811         [BZ #13551]
37812         * Makeconfig: Remove all but ELF support including AIX support.
37813         * Makerules: Likewise.
37814         * config.h.in: Likewise.
37815         * config.make.in: Likewise.
37816         * configure: Likewise.
37817         * configure.in: Likewise.
37818         * csu/Makefile: Likewise.
37819         * csu/version.c: Likewise.
37820         * debug/Makefile: Likewise.
37821         * dlfcn/Makefile: Likewise.
37822         * elf/Makefile: Likewise.
37823         * extra-lib.mk: Likewise.
37824         * iconv/Makefile: Likewise.
37825         * include/libc-symbols.h: Likewise.
37826         * include/shlib-compat.h: Likewise.
37827         * resolv/Makefile: Likewise.
37828         * resolv/res_libc.c: Likewise.
37829         * rt/Makefile: Likewise.
37830         * sysdeps/i386/asm-syntax.h: Likewise.
37831         * sysdeps/i386/sysdep.h: Likewise.
37832         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37833         * sysdeps/mach/sysdep.h: Likewise.
37834         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37835         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37836         * sysdeps/s390/asm-syntax.h: Likewise.
37837         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37838         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37839         * sysdeps/sh/sysdep.h: Likewise.
37840         * sysdeps/unix/sparc/sysdep.h: Likewise.
37841         * sysdeps/wordsize-32/divdi3.c: Likewise.
37842         * sysdeps/x86_64/sysdep.h: Likewise.
37844         * argp/Versions: Remove _argp_unlock_xxx.
37846         [BZ #13559]
37847         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37848         * abilist/libBrokenLocale.abilist: Likewise.
37849         * abilist/libanl.abilist: Likewise.
37850         * abilist/libc.abilist: Likewise.
37851         * abilist/libcrypt.abilist: Likewise.
37852         * abilist/libdl.abilist: Likewise.
37853         * abilist/libm.abilist: Likewise.
37854         * abilist/libnsl.abilist: Likewise.
37855         * abilist/libpthread.abilist: Likewise.
37856         * abilist/libresolv.abilist: Likewise.
37857         * abilist/librt.abilist: Likewise.
37858         * abilist/libthread_db.abilist: Likewise.
37859         * abilist/libutil.abilist: Likewise.
37860         * abilist/libnss_db.abilist: New file.
37862         * scripts/abilist.awk: Add support for indirect functions.
37864         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37866         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37868         * shlib-versions: Remove entries for ports architectures.
37870         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
37871         files in ports.
37872         * elf/stackguard-macros.h: Remove support for IA-64.
37873         * elf/tst-auditmod1.c: Likewise.
37874         * sysdeps/generic/ldsodefs.h: Likewise.
37876         * sysdeps/unix/sysv/linux/configure.in: Ports should define
37877         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
37878         configure files.
37880         [BZ #13552]
37881         * configure.in: Remove --enable-omitfp support.
37882         * FAQ.in: Adjust.
37883         * config.make.in: Likewise.
37884         * Makeconfig: Likewise.
37885         * manual/install.texi: Likewise.
37887         In case anyone cares, the IA-64 architecture could move to ports.
37888         * sysdeps/ia64/*: Removed.
37889         * sysdeps/unix/sysv/linux/ia64/*: Removed.
37890         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
37892         [BZ #13555]
37893         * configure.in: Remove entries for unsupported architectures.
37895         [BZ #13533]
37896         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
37897         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
37898         routines.
37899         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
37900         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
37901         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
37902         fall back to using wcrtomb.
37903         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
37904         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
37905         renaming.
37906         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
37907         * wcsmbs/tst-c16c32-1.c: New file.
37909         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
37910         local variable.
37912         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
37914         * elf/tst-unique3.cc: Add explicit declaration of gets.
37915         * elf/tst-unique3lib.cc: Likewise.
37916         * elf/tst-unique3lib2.cc: Likewise.
37917         * elf/tst-unique4.cc: Likewise.
37919         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
37921 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
37923         [BZ #13566]
37924         * assert/assert.h (static_assert): Don't define for C++.
37925         * libio/stdio.h (gets): Do declare for C++ <= C++11.
37926         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
37928 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
37930         * iconv/loop.c (single loop): Fix assertion in storing of
37931         remaining bytes.
37933         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
37935 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
37937         * posix/getconf.c: Update copyright year.
37938         * nss/getent.c: Likewise.
37939         * nss/makedb.c: Likewise.
37940         * iconv/iconvconfig.c: Likewise.
37941         * iconv/iconv_prog.c: Likewise.
37942         * elf/ldconfig.c: Likewise.
37943         * elf/pldd.c: Likewise.
37944         * elf/sotruss.ksh: Likewise.
37945         * catgets/gencat.c: Likewise.
37946         * csu/version.c: Likewise.
37947         * elf/ldd.bash.in: Likewise.
37948         * elf/sprof.c (print_version): Likewise.
37949         * locale/programs/locale.c: Likewise.
37950         * locale/programs/localedef.c: Likewise.
37951         * login/programs/pt_chown.c: Likewise.
37952         * nscd/nscd.c (print_version): Likewise.
37953         * debug/xtrace.sh: Likewise.
37954         * malloc/memusage.sh: Likewise.
37955         * malloc/mtrace.pl: Likewise.
37956         * debug/catchsegv.sh: Likewise.
37958 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
37960         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
37961         pure attribute.
37963 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
37965         [BZ #13533]
37966         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
37967         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
37968         transformations.
37969         * iconv/gconv_int.h: Likewise.
37970         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
37971         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
37972         from libc for GLIBC_2.16.
37973         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
37974         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
37975         * wcsmbs/uchar.h: Really define mbstate_t.
37976         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
37977         * wcsmbs/c16rtomb.c: New file.
37978         * wcsmbs/mbrtoc16.c: New file.
37979         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
37980         for C/POSIX locale.
37981         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
37982         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
37984         * wcsmbs/wchar.h: Add missing __restrict.
37986 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
37988         [BZ #13532]
37989         * time/Makefile (routines): Add timespec_get.
37990         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
37991         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
37992         timespec for ISO C11.
37993         * time/timespec_get.c: New file.
37994         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
37995         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
37997         [BZ #13531]
37998         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
37999         * stdlib/stdlib.h: Declare aligned_alloc.
38000         * Versions.def: Add GLIBC_2.16 for libc.
38001         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38003         [BZ 13527]
38004         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38005         ISO C11.
38007         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38008         code.
38010         [BZ #13528]
38011         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38013         [BZ #13529]
38014         * assert/assert.h (static_assert): Define.
38016         * version.h: Update for 2.16 development version.
38018         [BZ #13526]
38019         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38020         _ISOC11_SOURCE.
38022         * version.h (RELEASE): Bump for 2.15 release.
38023         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38025         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38026         Patch by Marek Polacek <mpolacek@redhat.com>.
38028         * bits/byteswap.h: Protect long long constants with __extension__.
38029         * sysdeps/i386/bits/byteswap.h: Likewise.
38030         * sysdeps/ia64/bits/byteswap.h: Likewise.
38031         * sysdeps/s390/bits/byteswap.h: Likewise.
38032         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38034 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38036         [BZ #13540]
38037         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38038         destination buffer.
38039         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38041 2011-12-23  Marek Polacek  <polacek@redhat.com>
38043         * elf/dl-addr.c (determine_info): Add inline keyword.
38044         * elf/tst-auditmod4b.c (check_avx): Likewise.
38045         * elf/tst-auditmod6b.c (check_avx): Likewise.
38046         * elf/tst-auditmod6c.c (check_avx): Likewise.
38047         * elf/tst-auditmod7b.c (check_avx): Likewise.
38049 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38051         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38052         !__SSE_MATH__.
38054 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38056         [BZ #13540]
38057         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38058         processing for last bytes.
38060 2011-08-06  Bruno Haible  <bruno@clisp.org>
38062         [BZ #13061]
38063         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38064         U+0385, not to U+1FEE.
38066         [BZ #13062]
38067         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38068         entry for U+00A5 U+0301.
38070 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38072         [BZ #13166]
38073         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38074         buffer for the output is too small.
38076         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38077         optimization.
38079         [BZ #13185]
38080         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38081         SSE flags if possible.
38083 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38085         [BZ #13540]
38086         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38087         processing for last bytes.
38089 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38091         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38092         (syscall-list-default-options, syscall-list-default-condition)
38093         (syscall-list-includes): Define.
38094         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38095         list of ABIs and options and #if conditions for each ABI.  Do not
38096         handle common syscalls between ABIs specially.
38097         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38098         Remove.
38099         (syscall-list-variants, syscall-list-32bit-options)
38100         (syscall-list-32bit-condition, syscall-list-64bit-options)
38101         (syscall-list-64bit-condition): Define.
38102         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38103         (syscall-list-variants, syscall-list-32bit-options)
38104         (syscall-list-32bit-condition, syscall-list-64bit-options)
38105         (syscall-list-64bit-condition): Define.
38106         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38107         Remove.
38108         (syscall-list-variants, syscall-list-32bit-options)
38109         (syscall-list-32bit-condition, syscall-list-64bit-options)
38110         (syscall-list-64bit-condition): Define.
38111         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38112         Remove.
38113         (syscall-list-variants, syscall-list-32bit-options)
38114         (syscall-list-32bit-condition, syscall-list-64bit-options)
38115         (syscall-list-64bit-condition): Define.
38117 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38119         * locale/iso-639.def: Add brx entry.
38121         [BZ #13328]
38122         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38123         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38125         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38126         __feraiseexcept_renamed.
38128 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38130         [BZ #13538]
38131         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38132         EPOLLET with unsigned values.
38133         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38134         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38136         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38137         to large cancellation.
38138         * math/s_cacoshf.c: Likewise.
38139         * math/s_cacoshl.c: Likewise.
38141 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38143         [BZ #13305]
38144         [BZ #12786]
38145         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38146         * math/s_cacoshf.c: Likewise.
38147         * math/s_cacoshl.c: Likewise.
38149 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38151         [BZ #13439]
38152         * iconv/gconv.h: Define __GCONV_SWAP.
38153         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38154         * iconvdata/utf-16.c: Likewise.
38155         * iconvdata/utf-32.c: Likewise.
38157 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38159         [BZ #13524]
38160         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38161         numerator after shifting it by one limb.
38163 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38165         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38166         under [__USE_EXTERN_INLINES].
38168 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38170         [BZ #13446]
38171         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38173 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38175         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38176         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38177         optimized code.
38178         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38179         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38180         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38181         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38182         for strncasecmp/strncasecmp_l compilation.
38183         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38184         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38186 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38188         [BZ #13484]
38189         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38190         of __asm__.
38192 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38194         [BZ #13506]
38195         * time/tzfile.c (__tzfile_read): Check values from file header.
38197 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38199         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38200         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38201         * powerpc/powerpc32/dl-start.S: Likewise.
38202         * powerpc/powerpc32/elf/start.S: Likewise.
38203         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38204         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38205         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38206         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38207         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38208         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38209         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38210         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38211         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38212         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38213         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38214         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38215         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38216         * powerpc/powerpc32/memset.S: Likewise.
38217         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38218         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38219         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38220         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38221         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38222         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38223         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38224         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38225         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38226         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38227         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38228         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38229         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38231 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38233         * math/libm-test.inc: Added more nearbyint tests.
38234         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38235         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38236         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38237         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38239 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38241         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38242         FD_CLOEXEC.
38244 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38246         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38247         Add wcscpy-ssse3 wcscpy-c.
38248         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38249         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38250         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38251         * sysdeps/x86_64/wcschr.S: New file.
38252         * sysdeps/x86_64/wcsrchr.S: New file.
38253         * string/test-strcmp.c: Remove checking of wcscmp function for
38254         wrong alignments.
38255         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38256         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38257         wcsrchr-sse2 wcsrchr-c.
38258         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38259         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38260         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38261         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38262         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38263         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38264         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38265         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38266         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38267         * wcsmbc/wcschr.c (WCSCHR): New macro.
38269 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38271         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38272         * wcsmbs/test-wcsrchr.c: New file.
38273         * string/test-strrchr.c: Add wcsrchr support.
38274         (WIDE): New macro.
38275         * wcsmbs/test-wcscpy.c: New file.
38276         * string/test-strcpy.c: Add wcscpy support.
38277         (WIDE): New macro.
38279 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38281         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38282         the inner loop.
38284 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38286         [BZ #13472]
38287         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38289 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38291         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38292         Minor optimizations.
38294         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38295         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38296         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38298 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38300         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38301         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38302         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38303         for gcc to avoid warnings.
38304         * inet/Makefile (tests): Add tst-checks.
38305         * inet/tst-checks.c: New file.
38307         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38308         warning.
38310         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38311         __wmemcmp_sse2.
38313         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38314         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38316         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38318 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38320         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38321         problem.
38323         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38325 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38327         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38328         conditional on GCC version.
38329         (__arch_compare_and_exchange_val_8_acq)
38330         (__arch_compare_and_exchange_val_16_acq)
38331         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38332         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38333         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38335 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38337         * sysdeps/sh/backtrace.c: New file.
38339 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38341         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38342         parenthesis.
38344 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38346         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38347         falling back to utime.
38349 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38351         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38352         expectations for float.
38354 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38356         * locale/weight.h (findidx): Add parameter len.
38357         * locale/weightwc.h (findidx): Likewise.
38358         * posix/fnmatch_loop.c (FCT): Adjust caller.
38359         * posix/regcomp.c (build_equiv_class): Likewise.
38360         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38361         * posix/regexec.c (check_node_accept_bytes): Likewise.
38362         * string/strcoll_l.c (STRCOLL): Likewise.
38363         * string/strxfrm_l.c (STRXFRM): Likewise.
38365 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38367         * Makefile.in: Remove CVSOPT handling.
38368         * configure.in: Remove use of AC_REVISION.
38369         * iconvdata/Makefile (distribute): No need to filter out CVS.
38370         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38371         handling.
38373 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38375         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38376         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38377         [USE_AS_STRNCASECMP_L]: Likewise.
38378         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38379         NO_TLS_DIRECT_SEG_REFS.
38380         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38381         Fix argument offsets for non-PIC.
38382         [USE_AS_STRNCASECMP_L]: Likewise.
38383         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38384         NO_TLS_DIRECT_SEG_REFS.
38386 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38388         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38389         O_CLOEXEC.
38390         * locale/loadlocale.c (_nl_load_locale): Likewise.
38392 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38394         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38395         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38396         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38397         (SYSCALL_GETTIME): Set errno on error.
38399         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38400         count references to noai6ai_cached.
38402 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38404         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38406         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38407         FD_CLOEXEC for /proc/self/maps.
38409         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38410         FD_CLOEXEC for /proc/meminfo.
38412         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38413         gai.conf.
38415         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38416         FD_CLOEXEC for given file.
38418         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38420         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38421         FD_CLOEXEC for /etc/hosts.
38422         (_gethtent): Likewise.
38424         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38426         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38427         cancellation and set FD_CLOEXEC for /etc/netgroup.
38429         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38430         reading /etc/publickey.
38432         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38433         allow cancellation when reading /etc/group.
38435         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38436         cancellation.
38437         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38439         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38440         when using data file.
38442         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38444         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38445         (write_nis_obj): Use "c" and "e" in fopen.
38447         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38449         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38451         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38453         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38455         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38456         locale.alias.
38458         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38460         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38462         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38464         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38465         file parsing and set FD_CLOEXEC.
38467 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38469         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38471 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38473         * malloc/arena.c (arena_get2): Don't call reused_arena when
38474         _int_new_arena failed.
38476 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38478         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38479         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38480         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38481         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38482         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38483         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38484         to compile strcasecmp and strncasecmp.
38485         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38486         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38488         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38490 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38492         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38493         locale-defines.sym to gen-as-const-headers.
38494         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38495         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38496         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38497         to compile strcasecmp and strncasecmp.
38498         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38499         strcasecmp_l and strncasecmp_l.
38500         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38501         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38502         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38503         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38504         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38505         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38506         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38507         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38508         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38509         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38510         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38512 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38514         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38515         result of SYSDEP_GETTIME_CPU to retval.
38516         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38517         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38519         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38520         variable.
38522         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38523         mantissa words.
38524         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38526         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38527         from unused variable.
38529         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38530         DWARF definitions.
38531         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38532         for assembling.
38534         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38535         over namespaces.
38537         * sunrpc/rpc_prot.c (rejected): Fix case value.
38539         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38540         unsigned long long int to avoid warnings in shift.
38542         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38543         of use of trans.
38544         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38545         variable tmp.
38547         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38548         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38549         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38551         * nis/nis_table.c (nis_list): Use variable of correct type for
38552         result of __follow_path call.
38554 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38556         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38557         of math functions ceil, trunc, floor, round, and sqrt, when
38558         avaliable on the platform.
38559         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38560         name clash.
38561         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38562         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38563         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38565 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38567         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38568         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38570 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38572         * include/unistd.h: Fix __readlink return type.
38573         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38575 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38577         * stdlib/ucontext.h: Undo last change for makecontext.
38579 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38581         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38583         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38584         * setjmp/setjmp.h: Mark functions as non-leaf.
38585         * setjmp/bits/setjmp2.h: Likewise.
38586         * stdlib/ucontext.h: Likewise.
38588 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38590         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38591         (reused_arena): Don't check arena limit.
38592         (arena_get2): Atomically check arena limit.
38594 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38596         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38597         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38599         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38600         instructions.
38602 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38604         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38605         handler when locking.
38607         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38608         Fix size of allocated buffer.
38610 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38612         [BZ #10103]
38613         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38614         declarations for long double functions.
38615         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38617         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38619 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38621         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38622         installed.
38624         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38625         is disabled.
38627 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38629         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38631 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38633         * include/alloca.h (stackinfo_alloca_round): Define.
38634         (extend_alloca): Use it.
38635         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38636         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38637         here.
38639         * scripts/check-local-headers.sh: Ignore libaudit.h.
38641         * nscd/Makefile (extra-objs): Make recursively expanded.
38643 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38645         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38646         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38648         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38649         * posix/tst-rfc3484-2.c: Likewise.
38650         * posix/tst-rfc3484-3.c: Likewise.
38652         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38653         process_vm_writev.
38654         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38655         process_vm_writev.
38656         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38657         process_vm_writev from libc using GLIBC_2.15 version.
38659         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38661 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38663         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38664         stack usage.
38666 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38668         [BZ #13367]
38669         * nss/getent.c (initgroups_keys): Show error message in case no group
38670         names are given.
38672         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38673         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38674         __bump_nl_timestamp.
38675         * nscd/connections (nscd_init): When host database is served open
38676         netlink socket and request notification about configuration changes.
38677         (main_loop_poll): Track netlink file descriptor and bump timestamp
38678         in case data becomes available.
38679         (main_loop_epoll): Likewise.
38680         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38681         (database_pers_head): Add extra_data fileds.
38682         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38683         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38684         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38685         Adjust caller.
38686         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38687         in6ai data, call __free_in6ai.
38688         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38689         Add -DHAVE_NETLINK.
38690         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38691         interface information.  Reuse previous data if netlink timestamp
38692         is not changed.
38693         (__bump_nl_timestamp): New function.
38694         (__free_in6ai): New function.
38696 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38698         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38699         close_not_cancel_no_status here.
38700         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38702 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38704         [BZ #13276]
38705         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38706         return value.
38708         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38709         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38710         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38712 2011-07-03  Andreas Jaeger  <aj@suse.de>
38714         [BZ #10709]
38715         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38716         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38717         * math/libm-test.inc (sin_test): Add test case.
38719 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38721         [BZ #13337]
38722         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38723         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38725         * elf/chroot_canon.c (chroot_canon): Cleanups.
38727         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38729         [BZ #13335]
38730         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38731         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38733         * string/test-strchr.c: Make usable for strchrnul testing.
38734         * string/test-strchrnul.c: New file.
38735         * string/Makefile (strop-tests): Add strchrnul.
38737         * po/it.po: Update from translation team.
38738         * po/es.po: Likewise.
38740 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38742         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38743         the three constants needed as parameters.  Drop the others.
38744         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38745         __m128i_strloadu_tolower.
38746         Create and initialize variable zero and use it in all the places
38747         where _mm_setzero_si128 was used.
38749         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38750         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38751         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38752         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38753         anymore.
38754         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38755         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38756         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38757         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38758         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38759         __mpranred, __mptan.
38760         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38761         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38762         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38763         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38764         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38765         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38766         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38767         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38768         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38770 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38772         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38773         redefine if SHARED.
38774         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38776         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38777         wide char related routines to wcsmbs subdir.
38779 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38781         [BZ #13344]
38782         * misc/sys/cdefs.h (__THROWNL): Define.
38783         * posix/unistd.h: Use __THREADNL instead of __THREAD
38784         for memory synchronization functions.
38786 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38788         [BZ #13349]
38789         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38790         doesn't exist.
38791         * manual/stdio.texi (Obstack Streams): Node removed.
38793 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38795         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38796         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38797         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38799         * math/math_private.h (math_force_eval): Allow non-addressable
38800         arguments.
38801         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38803 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38805         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38806         file is not needed.
38808         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38809         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38810         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38811         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38812         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38813         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38814         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38815         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38816         Add AVX variants.
38817         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38818         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38819         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38820         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38821         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38822         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38823         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38824         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38825         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38826         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38827         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38828         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38829         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38830         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38831         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38832         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38833         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38834         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38835         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38837         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38838         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38840         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38841         place.  Use VEX encoding when compiling for AVX.
38843 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38845         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38846         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38848         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38850 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38852         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38853         useless if() expression.
38854         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38855         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38856         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38857         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38858         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38859         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38860         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38861         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38862         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38863         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38864         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38865         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38866         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38867         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38868         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38869         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38870         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
38871         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
38872         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
38874         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
38876 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38878         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
38879         condition.
38880         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38882 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38884         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
38885         .text section.  Avoid duplicate constants.
38886         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
38887         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38888         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
38889         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
38890         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38891         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38892         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38893         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
38894         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
38895         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
38896         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
38897         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
38898         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
38899         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
38900         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
38901         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
38902         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
38903         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
38904         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
38905         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
38906         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
38907         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
38908         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
38909         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
38910         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
38911         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
38912         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
38913         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
38914         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
38915         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
38916         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
38917         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
38918         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
38919         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
38920         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
38921         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
38922         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
38923         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
38924         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
38925         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
38926         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
38927         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
38928         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
38929         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
38930         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
38932 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
38934         * sysdeps/x86_64/dla.h: Move to ...
38935         * sysdeps/x86_64/fpu/dla.h: ...here.
38936         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
38937         situations.  Use __builtin_fma only for gcc 4.6 and up.
38939         * config.make.in: Add have-mfma4 entry.
38940         * configure.in: Substitute libc_cv_cc_fma4.
38941         * math/Makefile (dbl-only-routines): Add sincostab.
38942         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
38943         Use __sincostab not sincos.
38944         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
38945         name is a macro.
38946         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
38947         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
38948         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
38949         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
38950         using __copysign.
38951         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
38952         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
38953         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
38954         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
38955         and __inv.
38956         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
38957         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
38958         __copysign.
38959         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
38960         define aliases when function name is a macro.
38961         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
38962         sysdeps/ieee754/dbl-64/sincos.tbl.
38963         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
38964         fma4-enabled routines.
38965         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
38966         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
38967         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
38968         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
38969         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
38970         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
38971         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
38972         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
38973         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
38974         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
38975         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
38976         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
38977         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
38978         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
38979         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
38980         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
38981         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
38982         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
38983         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
38984         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
38985         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
38986         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
38987         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
38988         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
38989         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
38990         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
38991         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
38992         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
38993         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
38994         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
38996         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
38997         rename.
38998         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
38999         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39000         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39001         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39002         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39003         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39004         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39005         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39007 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39009         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39011 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39013         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39015         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39016         prediction.
39017         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39019         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39020         Remove unused variable magic_bits.
39021         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39023         * string/strnlen.c: Define and use STRNLEN macro.
39024         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39025         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39027         * wcsmbs/wcslen.c: Define and use WCSLEN.
39028         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39029         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39030         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39031         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39032         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39033         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39034         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39036 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39038         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39039         strnlen-sse2-no-bsf.
39040         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39041         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39042         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39043         Add strnlen support.
39044         (USE_AS_STRNLEN): New macro.
39045         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39046         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39047         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39048         * sysdeps/x86_64/wcslen.S: New file.
39050 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39052         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39053         XMM-moves are used for copying on small sizes.
39055 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39057         * wcsmbs/Makefile (strop-tests): Add wcschr.
39058         * wcsmbs/test-wcschr.c: New file.
39059         * string/test-strchr.c: Update.
39060         Add wcschr support.
39061         (WIDE): New macro.
39063 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39065         * wcsmbs/Makefile (strop-tests): Add wcslen.
39066         * wcsmbs/test-wcslen.c: New file.
39067         * string/test-strlen.c: Update.
39068         Add wcslen support.
39069         (WIDE): New macro.
39071 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39073         * po/it.po: Update from translation team.
39075 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39077         * sysdeps/x86_64/wcscmp.S: Update.
39078         Fix wrong comparison semantics.
39079         wcscmp shall use signed comparison not unsigned.
39080         Don't use substraction to avoid overflow bug.
39081         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39082         * wcsmbc/wcscmp.c: Likewise.
39083         * string/test-strcmp.c: Likewise.
39084         Add new tests to check cases with negative values.
39086 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39088         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39089         * sysdeps/x86_64/dla.h: ...here.  New file.
39090         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39091         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39092         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39093         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39095         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39096         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39097         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39098         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39100 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39102         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39103         __ynl_finite aliases.
39105 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39107         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39109         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39110         define DLA_FMA.
39111         [DLA_FMA] (EMULV): Use DLA_FMA.
39112         [DLA_FMA] (MUL12): Use EMULV.
39113         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39114         that are not needed.
39115         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39116         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39117         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39118         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39119         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39120         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39121         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39123 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39125         * math/s_nan.c: Undef __nan.
39126         * math/s_nanf.c: Undef __nanf.
39127         * math/s_nanl.c: Undef __nanl.
39128         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39129         "math_private.h".
39131 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39133         * math/s_catan.c: Add branch predictions.
39134         * math/s_catanf.c: Likewise.
39135         * math/s_catanh.c: Likewise.
39136         * math/s_catanhf.c: Likewise.
39137         * math/s_catanhl.c: Likewise.
39138         * math/s_catanl.c: Likewise.
39139         * math/s_cexp.c: Likewise.
39140         * math/s_cexpf.c: Likewise.
39141         * math/s_cexpl.c: Likewise.
39142         * math/s_clog.c: Likewise.
39143         * math/s_clog10.c: Likewise.
39144         * math/s_clog10f.c: Likewise.
39145         * math/s_clog10l.c: Likewise.
39146         * math/s_clogf.c: Likewise.
39147         * math/s_clogl.c: Likewise.
39148         * math/s_csqrt.c: Likewise.
39149         * math/s_csqrtf.c: Likewise.
39150         * math/s_csqrtl.c: Likewise.
39151         * math/s_ctanf.c: Likewise.
39152         * math/s_ctanh.c: Likewise.
39153         * math/s_ctanhf.c: Likewise.
39154         * math/s_ctanhl.c: Likewise.
39155         * math/s_ctanl.c: Likewise.
39157         * math/math_private.h: Define __nan, __nanf, __nanl.
39158         * math/s_cacosh.c: Include <math_private.h>.
39159         * math/s_cacoshl.c: Likewise.
39160         * math/s_casinh.c: Likewise.
39161         * math/s_casinhf.c: Likewise.
39162         * math/s_casinhl.c: Likewise.
39163         * math/s_ccos.c: Rely entire on ccosh.
39164         * math/s_ccosf.c: Rely entire on ccoshf.
39165         * math/s_ccosl.c: Rely entirely on ccoshl.
39166         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39167         Remove tests for FE_INVALID.
39168         * math/s_ccoshf.c: Likewise.
39169         * math/s_ccoshl.c: Likewise.
39170         * math/s_csin.c: Likewise.
39171         * math/s_csinf.c: Likewise.
39172         * math/s_csinh.c Likewise.
39173         * math/s_csinhf.c: Likewise.
39174         * math/s_csinhl.c: Likewise.
39175         * math/s_csinl.c: Likewise.
39176         * math/s_ctan.c: Likewise.
39177         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39178         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39179         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39181 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39183         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39184         compilation problems.
39186         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39187         __builtin_expect.
39189 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39191         * sysdeps/i386/configure.in: Test for -mfma4 option.
39192         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39193         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39194         COMMON_CPUID_INDEX_80000001.
39195         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39196         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39197         use it if FMA3 is not supported.
39198         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39200         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39201         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39203 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39205         [BZ #12892]
39206         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39207         it would create a cycle with a link time dependency.
39209 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39211         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39212         instruction.
39213         * string/Makefile (strop-tests): Add rawmemchr.
39214         * string/test-rawmemchr.c: New file.
39216         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39217         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39218         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39219         when compiling str{,n}casecmp and when AVX is available.  Hook up
39220         new optimized code in initializers.
39222 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39224         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39225         __feraiseexcept instead of feraiseexcept.
39227 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39229         * math/math_private.h: Define defaults for libc_fetestexcept and
39230         libc_feupdateenv.
39231         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39232         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39233         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39234         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39235         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39236         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39237         libc_fetestexcept and libc_feupdateenv.
39239         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39240         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39241         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39242         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39243         libc_feholdexcept_setround.
39245         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39246         Add s_nearbyint-c and s_nearbyintf-c.
39247         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39248         nearbyintf inlines.
39249         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39250         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39251         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39252         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39254         * math/math_private.h: Define defaults for libc_fegetround,
39255         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39256         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39257         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39258         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39259         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39260         standard functions.
39261         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39262         Remove comments and hacks for old compiler versions.
39263         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39264         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39265         libc_feholdexceptl.
39267 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39269         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39270         (__feraiseexcept_renamed): Add __NTH.
39271         (feraiseexcept): Add __NTH.  Rename local variables to fix
39272         namespace violations.
39274 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39276         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39278         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39280         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39281         recently added interfaces.
39282         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39284         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39285         about macro parameter expansion.
39287         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39288         __NO_MATH_INLINES is defined.  Cleanups.
39290         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39291         and __floorf is target has SSE4.1.
39292         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39293         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39294         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39295         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39297         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39298         name.
39299         (floorf): Likewise.
39301         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39303 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39305         * misc/sys/cdefs.h: Fix last change.
39307         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39308         database lookup.
39310 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39312         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39314         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39315         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39316         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39317         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39318         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39319         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39320         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39321         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39322         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39323         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39324         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39325         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39326         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39327         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39328         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39329         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39330         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39331         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39332         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39333         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39334         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39335         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39337         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39338         ceil, ceilf, floor, floorf.
39340         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39341         Perform IRELATIVE relocations last.
39343         * elf/do-rel.h: Add another parameter nrelative, replacing the
39344         local variable with the same name.  Change name of the function
39345         to end in Rel or Rela (uppercase).
39346         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39347         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39348         elf_dynamic_do_##reloc function.
39350 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39352         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39353         is sufficient, at least on modern CPUs.
39355         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39357         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39358         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39360         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39361         __expl_finite.
39362         * math/bits/math-finite.h: Add entries for exp.
39363         * math/e_expl.c: Add __*_finite alias.
39364         * sysdeps/i386/fpu/e_exp.S: Likewise.
39365         * sysdeps/i386/fpu/e_expf.S: Likewise.
39366         * sysdeps/i386/fpu/e_expl.c: Likewise.
39367         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39368         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39369         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39370         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39371         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39372         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39373         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39375         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39376         is sufficient, at least on modern CPUs.
39378         * ctype/ctype-info.c (__ctype_init): Define.
39379         * include/ctype.h (__ctype_init): Declare.
39380         (__ctype_b_loc): The variable is always initialized.
39381         (__ctype_toupper_loc): Likewise.
39382         (__ctype_tolower_loc): Likewise.
39383         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39384         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39386 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39388         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39390         * configure.in: Also look in $cxxmachine/include for C++ system
39391         headers.
39393 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39395         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39396         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39397         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39398         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39399         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39400         (USE_AS_WMEMCMP): New macro.
39401         Fixing indents.
39402         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39403         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39404         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39405         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39406         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39407         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39408         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39409         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39410         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39411         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39412         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39413         (USE_AS_WMEMCMP): New macro.
39414         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39415         * sysdeps/string/test-memcmp.c: Update.
39416         Fix simple_wmemcmp.
39417         Add new tests.
39418         * wcsmbs/wmemcmp.c: Update.
39419         (WMEMCMP): New macro.
39420         Fix overflow bug.
39422 2011-10-12  Andreas Jaeger  <aj@suse.de>
39424         [BZ #13268]
39425         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39427 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39429         * libio/iofwide.c (do_length): Avoid warning.
39431         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39433 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39435         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39437         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39438         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39439         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39440         * sysdeps/i386/i686/fpu/e_log.S: New file.
39441         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39442         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39444         * ctype/ctype.h: Add support for inlined isXXX functions when
39445         compiling C++ code.
39447 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39449         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39451         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39453 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39455         [BZ #13291]
39456         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39458 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39460         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39461         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39462         feraiseexcept.
39464         * sysdeps/x86_64/memrchr.S: Check for zero size.
39466         * string/stratcliff.c: Add memrchr tests.
39468 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39470         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39471         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39472         rawmemchr-sse2 rawmemchr-sse2-bsf.
39473         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39474         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39475         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39476         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39477         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39478         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39479         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39480         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39481         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39482         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39483         * string/memrchr.c (MEMRCHR): New macro.
39485 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39487         Add integration with gcc's -ffinite-math-only and optimize wrapper
39488         functions in libm.
39489         * Versions.def: Define GLIBC_2.15 version for libm.
39490         * math/Makefile (headers): Add bits/math-finite.h.
39491         * math/bits/math-finite.h: New file.
39492         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39493         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39494         * math/e_acoshl.c: Add __*_finite alias.
39495         * math/e_acosl.c: Likewise.
39496         * math/e_asinl.c: Likewise.
39497         * math/e_atan2l.c: Likewise.
39498         * math/e_atanhl.c: Likewise.
39499         * math/e_coshl.c: Likewise.
39500         * math/e_exp10.c: Likewise.
39501         * math/e_exp10f.c: Likewise.
39502         * math/e_exp10l.c: Likewise.
39503         * math/e_exp2l.c: Likewise.
39504         * math/e_fmodl.c: Likewise.
39505         * math/e_gammal_r.c: Likewise.
39506         * math/e_hypotl.c: Likewise.
39507         * math/e_j0l.c: Likewise.
39508         * math/e_j1l.c: Likewise.
39509         * math/e_jnl.c: Likewise.
39510         * math/e_lgammal_r.c: Likewise.
39511         * math/e_log10l.c: Likewise.
39512         * math/e_log2l.c: Likewise.
39513         * math/e_logl.c: Likewise.
39514         * math/e_powl.c: Likewise.
39515         * math/e_sinhl.c: Likewise.
39516         * math/e_sqrtl.c: Likewise.
39517         * math/e_scalb.c: Completely rewritten and optimized.
39518         * math/e_scalbf.c: Likewise.
39519         * math/e_scalbl.c: Likewise.
39520         * math/w_acos.c: Likewise.
39521         * math/w_acosf.c: Likewise.
39522         * math/w_acosl.c: Likewise.
39523         * math/w_acosh.c: Likewise.
39524         * math/w_acoshf.c: Likewise.
39525         * math/w_acoshl.c: Likewise.
39526         * math/w_asin.c: Likewise.
39527         * math/w_asinf.c: Likewise.
39528         * math/w_asinl.c: Likewise.
39529         * math/w_atan2.c: Likewise.
39530         * math/w_atan2f.c: Likewise.
39531         * math/w_atan2l.c: Likewise.
39532         * math/w_atanh.c: Likewise.
39533         * math/w_atanhf.c: Likewise.
39534         * math/w_atanhl.c: Likewise.
39535         * math/w_exp10.c: Likewise.
39536         * math/w_exp10f.c: Likewise.
39537         * math/w_exp10l.c: Likewise.
39538         * math/w_fmod.c: Likewise.
39539         * math/w_fmodf.c: Likewise.
39540         * math/w_fmodl.c: Likewise.
39541         * math/w_j0.c: Likewise.
39542         * math/w_j0f.c: Likewise.
39543         * math/w_j0l.c: Likewise.
39544         * math/w_j1.c: Likewise.
39545         * math/w_j1f.c: Likewise.
39546         * math/w_j1l.c: Likewise.
39547         * math/w_jn.c: Likewise.
39548         * math/w_jnf.c: Likewise.
39549         * math/w_log.c: Likewise.
39550         * math/w_logf.c: Likewise.
39551         * math/w_logl.c: Likewise.
39552         * math/w_log10.c: Likewise.
39553         * math/w_log10f.c: Likewise.
39554         * math/w_log10l.c: Likewise.
39555         * math/w_log2.c: Likewise.
39556         * math/w_log2f.c: Likewise.
39557         * math/w_log2l.c: Likewise.
39558         * math/w_pow.c: Likewise.
39559         * math/w_powf.c: Likewise.
39560         * math/w_powl.c: Likewise.
39561         * math/w_remainder.c: Likewise.
39562         * math/w_remainderf.c: Likewise.
39563         * math/w_remainderl.c: Likewise.
39564         * math/w_scalb.c: Likewise.
39565         * math/w_scalbf.c: Likewise.
39566         * math/w_scalbl.c: Likewise.
39567         * math/w_sqrt.c: Likewise.
39568         * math/w_sqrtf.c: Likewise.
39569         * math/w_sqrtl.c: Likewise.
39570         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39571         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39572         used.
39573         * math/math_private.h: Declare __kernel_standard_f.
39574         * math/w_cosh.c: Remove cruft and optimize a bit.
39575         * math/w_coshf.c: Likewise.
39576         * math/w_coshl.c: Likewise.
39577         * math/w_exp2.c: Likewise.
39578         * math/w_exp2f.c: Likewise.
39579         * math/w_exp2l.c: Likewise.
39580         * math/w_hypot.c: Likewise.
39581         * math/w_hypotf.c: Likewise.
39582         * math/w_hypotl.c: Likewise.
39583         * math/w_lgamma.c: Likewise.
39584         * math/w_lgamma_r.c: Likewise.
39585         * math/w_lgammaf.c: Likewise.
39586         * math/w_lgammaf_r.c: Likewise.
39587         * math/w_lgammal.c: Likewise.
39588         * math/w_lgammal_r.c: Likewise.
39589         * math/w_sinh.c: Likewise.
39590         * math/w_sinhf.c: Likewise.
39591         * math/w_sinhl.c: Likewise.
39592         * math/w_tgamma.c: Likewise.
39593         * math/w_tgammaf.c: Likewise.
39594         * math/w_tgammal.c: Likewise.
39595         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39596         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39597         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39598         Minor optimizations.  Pretty printing.  Remove cruft.
39599         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39600         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39601         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39602         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39603         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39604         * sysdeps/i386/fpu/e_asin.S: Likewise.
39605         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39606         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39607         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39608         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39609         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39610         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39611         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39612         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39613         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39614         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39615         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39616         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39617         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39618         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39619         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39620         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39621         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39622         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39623         * sysdeps/i386/fpu/e_log.S: Likewise.
39624         * sysdeps/i386/fpu/e_log10.S: Likewise.
39625         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39626         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39627         * sysdeps/i386/fpu/e_log2.S: Likewise.
39628         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39629         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39630         * sysdeps/i386/fpu/e_logf.S: Likewise.
39631         * sysdeps/i386/fpu/e_logl.S: Likewise.
39632         * sysdeps/i386/fpu/e_pow.S: Likewise.
39633         * sysdeps/i386/fpu/e_powf.S: Likewise.
39634         * sysdeps/i386/fpu/e_powl.S: Likewise.
39635         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39636         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39637         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39638         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39639         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39640         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39641         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39642         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39643         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39644         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39645         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39646         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39647         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39648         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39649         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39650         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39651         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39652         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39653         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39654         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39655         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39656         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39657         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39658         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39659         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39660         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39661         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39662         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39663         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39664         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39665         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39666         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39667         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39668         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39669         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39670         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39671         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39672         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39673         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39674         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39675         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39676         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39677         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39678         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39679         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39680         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39681         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39682         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39683         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39684         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39685         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39686         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39687         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39688         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39689         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39690         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39691         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39692         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39693         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39694         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39695         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39696         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39697         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39698         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39699         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39700         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39701         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39702         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39703         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39704         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39705         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39706         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39707         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39708         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39709         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39710         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39711         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39712         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39713         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39714         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39715         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39716         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39717         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39718         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39719         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39720         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39721         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39722         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39723         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39724         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39725         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39726         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39727         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39728         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39729         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39730         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39731         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39732         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39733         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39734         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39735         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39736         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39737         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39738         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39739         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39740         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39741         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39742         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39743         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39744         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39745         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39746         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39747         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39748         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39749         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39750         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39751         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39752         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39753         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39754         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39755         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39756         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39757         (__isnanf): Likewise.
39758         (__isinf_ns): Likewise.
39759         (__isinf_nsf): Likewise.
39760         (__finite): Likewise.
39761         (__finitef): Likewise.
39762         (__ieee754_sqrt): Define as macro.
39763         (__ieee754_sqrtf): Define as macro.
39764         (__ieee754_sqrtl): Define as macro.
39765         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39766         inlined copy.
39767         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39768         __FINITE_MATH_ONLY__ consistent.
39769         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39771 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39773         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39774         of rawmemchr.
39776         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39778 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39780         * po/ja.po: Update from translation team.
39782 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39784         * locale/programs/locarchive.c (prepare_address_space): New function.
39785         (create_archive, enlarge_archive, open_archive): Use it.
39787         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39788         inside [SHARED], where it is used.
39790         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39792         * nss/getent.c (netgroup_keys): Remove unused variable.
39793         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39795 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39797         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39798         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39799         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39800         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39801         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39802         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39803         * math/Makefile (libm-calls): Add s_isinf_ns.
39804         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39805         * math/multc3.c: Likewise.
39806         * math/s_casin.c: Likewise.
39807         * math/s_casinf.c: Likewise.
39808         * math/s_casinl.c: Likewise.
39809         * math/s_ccos.c: Likewise.
39810         * math/s_ccosf.c: Likewise.
39811         * math/s_ccosl.c: Likewise.
39812         * math/s_ctan.c: Likewise.
39813         * math/s_ctanf.c: Likewise.
39814         * math/s_ctanh.c: Likewise.
39815         * math/s_ctanhf.c: Likewise.
39816         * math/s_ctanhl.c: Likewise.
39817         * math/s_ctanl.c: Likewise.
39818         * math/w_fmod.c: Likewise.
39819         * math/w_fmodf.c: Likewise.
39820         * math/w_fmodl.c: Likewise.
39821         * math/w_remainder.c: Likewise.
39822         * math/w_remainderf.c: Likewise.
39823         * math/w_remainderl.c: Likewise.
39824         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39825         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39826         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39827         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39828         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39829         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39830         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39831         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39833         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39834         of the number.
39835         * stdio-common/printf_fphex.c: Likewise.
39836         * stdio-common/printf_size.c: Likewise.
39838         * math/e_exp10.c: Include math_private.h using <...> not "...".
39839         * math/e_exp10f.c: Likewise.
39840         * math/e_exp10l.c: Likewise.
39841         * math/e_exp2l.c: Likewise.
39842         * math/e_j0l.c: Likewise.
39843         * math/e_j1l.c: Likewise.
39844         * math/e_jnl.c: Likewise.
39845         * math/e_lgammal_r.c: Likewise.
39846         * math/e_rem_pio2l.c: Likewise.
39847         * math/e_scalb.c: Likewise.
39848         * math/e_scalbf.c: Likewise.
39849         * math/e_scalbl.c: Likewise.
39850         * math/k_cosl.c: Likewise.
39851         * math/k_sinl.c: Likewise.
39852         * math/k_tanl.c: Likewise.
39853         * math/s_cacoshf.c: Likewise.
39854         * math/s_catan.c: Likewise.
39855         * math/s_catanf.c: Likewise.
39856         * math/s_catanh.c: Likewise.
39857         * math/s_catanhf.c: Likewise.
39858         * math/s_catanhl.c: Likewise.
39859         * math/s_catanl.c: Likewise.
39860         * math/s_ccosh.c: Likewise.
39861         * math/s_ccoshf.c: Likewise.
39862         * math/s_ccoshl.c: Likewise.
39863         * math/s_cexp.c: Likewise.
39864         * math/s_cexpf.c: Likewise.
39865         * math/s_cexpl.c: Likewise.
39866         * math/s_clog.c: Likewise.
39867         * math/s_clog10.c: Likewise.
39868         * math/s_clog10f.c: Likewise.
39869         * math/s_clog10l.c: Likewise.
39870         * math/s_clogf.c: Likewise.
39871         * math/s_clogl.c: Likewise.
39872         * math/s_csin.c: Likewise.
39873         * math/s_csinf.c: Likewise.
39874         * math/s_csinh.c: Likewise.
39875         * math/s_csinhf.c: Likewise.
39876         * math/s_csinhl.c: Likewise.
39877         * math/s_csinl.c: Likewise.
39878         * math/s_csqrt.c: Likewise.
39879         * math/s_csqrtf.c: Likewise.
39880         * math/s_csqrtl.c: Likewise.
39881         * math/s_ctan.c: Likewise.
39882         * math/s_ctanf.c: Likewise.
39883         * math/s_ctanh.c: Likewise.
39884         * math/s_ctanhf.c: Likewise.
39885         * math/s_ctanhl.c: Likewise.
39886         * math/s_ctanl.c: Likewise.
39887         * math/s_ldexp.c: Likewise.
39888         * math/s_ldexpf.c: Likewise.
39889         * math/s_ldexpl.c: Likewise.
39890         * math/s_significand.c: Likewise.
39891         * math/s_significandf.c: Likewise.
39892         * math/s_significandl.c: Likewise.
39893         * math/w_acos.c: Likewise.
39894         * math/w_acosf.c: Likewise.
39895         * math/w_acosh.c: Likewise.
39896         * math/w_acoshf.c: Likewise.
39897         * math/w_acoshl.c: Likewise.
39898         * math/w_acosl.c: Likewise.
39899         * math/w_asin.c: Likewise.
39900         * math/w_asinf.c: Likewise.
39901         * math/w_asinl.c: Likewise.
39902         * math/w_atan2.c: Likewise.
39903         * math/w_atan2f.c: Likewise.
39904         * math/w_atan2l.c: Likewise.
39905         * math/w_atanh.c: Likewise.
39906         * math/w_atanhf.c: Likewise.
39907         * math/w_atanhl.c: Likewise.
39908         * math/w_cosh.c: Likewise.
39909         * math/w_coshf.c: Likewise.
39910         * math/w_coshl.c: Likewise.
39911         * math/w_dremf.c: Likewise.
39912         * math/w_exp10.c: Likewise.
39913         * math/w_exp10f.c: Likewise.
39914         * math/w_exp10l.c: Likewise.
39915         * math/w_exp2.c: Likewise.
39916         * math/w_exp2f.c: Likewise.
39917         * math/w_fmod.c: Likewise.
39918         * math/w_fmodf.c: Likewise.
39919         * math/w_fmodl.c: Likewise.
39920         * math/w_hypot.c: Likewise.
39921         * math/w_hypotf.c: Likewise.
39922         * math/w_hypotl.c: Likewise.
39923         * math/w_j0.c: Likewise.
39924         * math/w_j0f.c: Likewise.
39925         * math/w_j0l.c: Likewise.
39926         * math/w_j1.c: Likewise.
39927         * math/w_j1f.c: Likewise.
39928         * math/w_j1l.c: Likewise.
39929         * math/w_jn.c: Likewise.
39930         * math/w_jnf.c: Likewise.
39931         * math/w_jnl.c: Likewise.
39932         * math/w_lgamma.c: Likewise.
39933         * math/w_lgamma_r.c: Likewise.
39934         * math/w_lgammaf.c: Likewise.
39935         * math/w_lgammaf_r.c: Likewise.
39936         * math/w_lgammal.c: Likewise.
39937         * math/w_lgammal_r.c: Likewise.
39938         * math/w_log.c: Likewise.
39939         * math/w_log10.c: Likewise.
39940         * math/w_log10f.c: Likewise.
39941         * math/w_log10l.c: Likewise.
39942         * math/w_log2.c: Likewise.
39943         * math/w_log2f.c: Likewise.
39944         * math/w_log2l.c: Likewise.
39945         * math/w_logf.c: Likewise.
39946         * math/w_logl.c: Likewise.
39947         * math/w_pow.c: Likewise.
39948         * math/w_powf.c: Likewise.
39949         * math/w_powl.c: Likewise.
39950         * math/w_remainder.c: Likewise.
39951         * math/w_remainderf.c: Likewise.
39952         * math/w_remainderl.c: Likewise.
39953         * math/w_scalb.c: Likewise.
39954         * math/w_scalbf.c: Likewise.
39955         * math/w_scalbl.c: Likewise.
39956         * math/w_sinh.c: Likewise.
39957         * math/w_sinhf.c: Likewise.
39958         * math/w_sinhl.c: Likewise.
39959         * math/w_sqrt.c: Likewise.
39960         * math/w_sqrtf.c: Likewise.
39961         * math/w_sqrtl.c: Likewise.
39962         * math/w_tgamma.c: Likewise.
39963         * math/w_tgammaf.c: Likewise.
39964         * math/w_tgammal.c: Likewise.
39966         * po/ja.po: Update from translation team.
39968 2011-09-29  Andreas Jaeger  <aj@suse.de>
39970         [BZ #13179]
39971         * sunrpc/netname.c (netname2host): Fix logic.
39973         [BZ #6779]
39974         [BZ #6783]
39975         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
39976         correctly.
39977         * math/w_remainder.c (__remainder): Likewise.
39978         * math/w_remainderf.c (__remainderf): Likewise.
39979         * math/libm-test.inc (remainder_test): Add test cases.
39981 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
39983         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
39984         sdiv_qrnnd.
39986 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
39988         * string/test-memcmp.c: Avoid unncessary #defines.
39989         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39991 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39993         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
39994         Use new sse2 version for core i3 - i7 as it's faster
39995         than sse42 version.
39996         (bit_Prefer_PMINUB_for_stringop): New.
39997         * sysdeps/x86_64/rawmemchr.S: Update.
39998         Replace with faster SSE2 version.
39999         * sysdeps/x86_64/memrchr.S: New file.
40000         * sysdeps/x86_64/memchr.S: Update.
40001         Replace with faster SSE2 version.
40003 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40005         * elf/dl-load.c (lose): Add cast to avoid warning.
40007 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40009         * po/ca.po: Update from translation team.
40011         * inet/getnetgrent_r.c: Hook up nscd.
40012         * nscd/Makefile (routines): Add nscd_netgroup.
40013         (nscd-modules): Add netgroupcache.
40014         (CFLAGS-netgroupcache.c): Define.
40015         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40016         (cache_search): Add const to second parameter.
40017         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40018         INNETGR.
40019         (dbs): Add netgrdb entry.
40020         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40021         (verify_persistent_db): Handle netgrdb.
40022         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40023         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40024         GETFDNETGR.
40025         (netgroup_response_header): Define.
40026         (innetgroup_response_header): Define.
40027         (datahead): Add netgroup_response_header and innetgroup_response_header
40028         elements.
40029         * nscd/nscd.conf: Add entries for netgroup cache.
40030         * nscd/nscd.h (dbtype): Add netgrdb.
40031         (_PATH_NSCD_NETGROUP_DB): Define.
40032         (netgroup_iov_disabled): Declare.
40033         (xmalloc, xcalloc, xrealloc): Move declarations here.
40034         (cache_search): Adjust prototype.
40035         Add netgroup-related prototypes.
40036         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40037         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40038         (__nscd_innetgr): Declare.
40039         * nscd/selinux.c (perms): Use access_vector_t as element type and
40040         add netgroup-related initializers.
40041         * nscd/netgroupcache.c: New file.
40042         * nscd/nscd_netgroup.c: New file.
40043         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40044         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40045         For four parameters use innetgr.
40046         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40047         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40048         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40049         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40051         * nscd/connections.c (register_traced_file): Don't register file
40052         for disabled databases.
40054 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40056         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40058         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40059         from tree and freeing node.
40061 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40063         * nss/nsswitch.c (__nss_database_lookup): Handle
40064         nss_parse_service_list out of memory case.
40066 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40068         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40069         out of memory case.
40071 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40073         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40074         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40075         pass it down.
40076         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40077         elf_machine_rela, elf_machine_lazy_rel.
40078         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40079         (ELF_DYNAMIC_DO_REL): Likewise.
40080         (ELF_DYNAMIC_DO_RELA): Likewise.
40081         (ELF_DYNAMIC_RELOCATE): Likewise.
40082         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40083         to ELF_DYNAMIC_DO_REL.
40084         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40085         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40086         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40087         elf_machine_rela.
40088         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40089         skip_ifunc, don't call ifunc function if non-zero.
40090         (elf_machine_rela): Likewise.
40091         (elf_machine_lazy_rel): Likewise.
40092         (elf_machine_lazy_rela): Likewise.
40093         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40094         (elf_machine_lazy_rel): Likewise.
40095         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40096         Likewise.
40097         (elf_machine_lazy_rel): Likewise.
40098         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40099         Likewise.
40100         (elf_machine_lazy_rel): Likewise.
40101         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40102         (elf_machine_lazy_rel): Likewise.
40103         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40104         (elf_machine_lazy_rel): Likewise.
40105         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40106         (elf_machine_lazy_rel): Likewise.
40107         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40108         (elf_machine_lazy_rel): Likewise.
40109         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40110         (elf_machine_lazy_rel): Likewise.
40111         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40112         (elf_machine_lazy_rel): Likewise.
40114 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40116         * nss/nss_files/files-init.c (_nss_files_init): Use static
40117         initialization for all the *_traced_file variables.
40119 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40121         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40123 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40125         [BZ #13226]
40126         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40128 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40130         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40131         Reread the line before reparsing it.
40133 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40135         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40137 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40138             Maxim Kuvyrkov  <maxim@codesourcery.com>
40139             Joseph Myers  <joseph@codesourcery.com>
40141         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40142         if needed for __stack_chk_guard.
40144 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40146         * sysdeps/posix/spawni.c (script_execute): Always define it.
40147         It will be optimized away if unused.
40148         (maybe_script_execute): New function.
40149         (__spawni): Call it.
40151         * Makerules: Don't include tls.make.
40152         (config-tls): Always set to thread.
40153         * tls.make.c: File removed.
40155 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40157         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40158         * config.make.in (CPPFLAGS-config): New substituted variable.
40160 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40162         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40164         [BZ #13192]
40165         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40166         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40168 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40170         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40171         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40172         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40173         (CALL_FAIL): Likewise.
40174         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40175         (CALL_FAIL): Macro removed.
40176         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40178 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40180         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40181         for __FINITE_MATH_ONLY__ == 1.
40183 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40185         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40186         __ieee754_sqrt instead of sqrt.
40187         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40188         __ieee754_sqrtf instead of sqrtf.
40189         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40190         __floorf instead of floorf.
40191         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40192         __floorf, __truncf instead of floorf, truncf.
40194 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40196         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40198         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40199         __extern_always_inline.
40200         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40201         32-bit.
40203 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40205         * elf/rtld.c (dl_main): Also relocate in dependency order when
40206         doing symbol dependency testing.
40208 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40210         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40211         Always define `refsym'.
40213 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40215         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40216         (__FD_ELT): Renamed from __FDELT.
40217         * misc/bits/select2.h (__FD_ELT): Likewise.
40218         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40219         __FD_MASK instead of __FDELT, __FDMASK.
40220         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40221         Likewise.
40222         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40223         Likewise.
40225         * elf/Makefile (gen-ldd): Fix pattern.
40227         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40228         (init_tls): Likewise.
40230 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40232         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40234 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40236         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40237         `struct cmsghdr *' instead of `void *'.
40238         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40239         Likewise.
40241 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40243         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40244         if non-absolute.
40245         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40246         ldd_rewrite_script.
40248 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40250         * configure.in: Remove --with-tls option.
40251         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40252         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40253         out in case it is missing.
40254         * sysdeps/ia64/elf/configure.in: Likewise.
40255         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40256         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40257         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40258         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40259         * sysdeps/sh/elf/configure.in: Likewise.
40260         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40261         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40262         * sysdeps/x86_64/elf/configure.in: Likewise.
40263         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40264         * sysdeps/mach/hurd/tls.h: Likewise.
40266         [BZ #13067]
40267         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40269         [BZ #13090]
40270         * configure.in: Fix use of AC_INIT.
40272         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40274 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40276         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40277         __set_errno.
40278         * malloc/hooks.c: Likewise.
40280         [BZ #11929]
40281         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40282         variables statically.
40283         (narenas): Initialize.
40284         (list_lock): Initialize.
40285         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40286         initializtion of main_arena and list_lock.  Small cleanups.
40287         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40288         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40289         Add initializers to main_arena and mp_.
40290         (malloc_state): Remove pagesize member.  Change all users to use
40291         GLRO(dl_pagesize).
40293         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40294         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40295         is always initialized.
40297         * malloc/malloc.c: Removed unused configurations and dead code.
40298         * malloc/arena.c: Likewise.
40299         * malloc/hooks.c: Likewise.
40300         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40302         * include/tls.h: Removed.  USE___THREAD must always be defined.
40303         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40304         * elf/dl-libc.c: Likewise.
40305         * elf/dl-tsd.c: Likewise.
40306         * include/errno.h: Likewise.
40307         * include/netdb.h: Likewise.
40308         * include/resolv.h: Likewise.
40309         * inet/herrno-loc.c: Likewise.
40310         * inet/herrno.c: Likewise.
40311         * malloc/arena.c: Likewise.
40312         * malloc/hooks.c: Likewise.
40313         * malloc/malloc.c: Likewise.
40314         * resolv/res-state.c: Likewise.
40315         * resolv/res_libc.c: Likewise.
40316         * sysdeps/i386/dl-machine.h: Likewise.
40317         * sysdeps/ia64/dl-machine.h: Likewise.
40318         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40319         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40320         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40321         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40322         * sysdeps/sh/dl-machine.h: Likewise.
40323         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40324         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40325         * sysdeps/unix/i386/sysdep.S: Likewise.
40326         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40327         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40328         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40329         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40330         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40331         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40332         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40333         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40334         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40335         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40336         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40337         * sysdeps/x86_64/dl-machine.h: Likewise.
40338         * tls.make.c: Likewise.
40340         * configure.in: Remove --with-__thread option.  Make tests for
40341         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40342         tls_model attribute fail if no support is available.  Remove
40343         USE_IN_LIBIO.
40344         * Makeconfig: Adjust for dropped configure option.  All features are
40345         now mandatory.
40346         * Makerules: Likewise.
40347         * Versions.def: Likewise.
40348         * argp/argp-fmtstream.c: Likewise.
40349         * argp/argp-fmtstream.h: Likewise.
40350         * argp/argp-help.c: Likewise.
40351         * assert/assert.c: Likewise.
40352         * config.h.in: Likewise.
40353         * config.make.in: Likewise.
40354         * configure: Likewise.
40355         * configure.in: Likewise.
40356         * csu/Versions: Likewise.
40357         * csu/init.c: Likewise.
40358         * elf/tst-audit2.c: Likewise.
40359         * elf/tst-tls10.c: Likewise.
40360         * elf/tst-tls10.h: Likewise.
40361         * elf/tst-tls11.c: Likewise.
40362         * elf/tst-tls12.c: Likewise.
40363         * elf/tst-tls14.c: Likewise.
40364         * elf/tst-tlsmod11.c: Likewise.
40365         * elf/tst-tlsmod12.c: Likewise.
40366         * elf/tst-tlsmod13.c: Likewise.
40367         * elf/tst-tlsmod13a.c: Likewise.
40368         * elf/tst-tlsmod14a.c: Likewise.
40369         * elf/tst-tlsmod15b.c: Likewise.
40370         * elf/tst-tlsmod16a.c: Likewise.
40371         * elf/tst-tlsmod16b.c: Likewise.
40372         * elf/tst-tlsmod7.c: Likewise.
40373         * elf/tst-tlsmod8.c: Likewise.
40374         * elf/tst-tlsmod9.c: Likewise.
40375         * gmon/gmon.c: Likewise.
40376         * grp/fgetgrent_r.c: Likewise.
40377         * grp/putgrent.c: Likewise.
40378         * hurd/fopenport.c: Likewise.
40379         * include/libc-symbols.h: Likewise.
40380         * include/tls.h: Likewise.
40381         * intl/gettextP.h: Likewise.
40382         * intl/loadinfo.h: Likewise.
40383         * locale/global-locale.c: Likewise.
40384         * locale/localeinfo.h: Likewise.
40385         * mach/devstream.c: Likewise.
40386         * malloc/arena.c: Likewise.
40387         * malloc/set-freeres.c: Likewise.
40388         * misc/err.c: Likewise.
40389         * misc/getttyent.c: Likewise.
40390         * misc/mntent_r.c: Likewise.
40391         * posix/getopt.c: Likewise.
40392         * posix/wordexp.c: Likewise.
40393         * pwd/fgetpwent_r.c: Likewise.
40394         * resolv/Versions: Likewise.
40395         * resolv/res_hconf.c: Likewise.
40396         * shadow/fgetspent_r.c: Likewise.
40397         * shadow/putspent.c: Likewise.
40398         * stdio-common/printf_fphex.c: Likewise.
40399         * stdio-common/tmpfile.c: Likewise.
40400         * stdlib/abort.c: Likewise.
40401         * stdlib/fmtmsg.c: Likewise.
40402         * sunrpc/auth_unix.c: Likewise.
40403         * sunrpc/clnt_perr.c: Likewise.
40404         * sunrpc/clnt_tcp.c: Likewise.
40405         * sunrpc/clnt_udp.c: Likewise.
40406         * sunrpc/clnt_unix.c: Likewise.
40407         * sunrpc/openchild.c: Likewise.
40408         * sunrpc/svc_simple.c: Likewise.
40409         * sunrpc/svc_tcp.c: Likewise.
40410         * sunrpc/svc_udp.c: Likewise.
40411         * sunrpc/svc_unix.c: Likewise.
40412         * sunrpc/xdr.c: Likewise.
40413         * sunrpc/xdr_array.c: Likewise.
40414         * sunrpc/xdr_rec.c: Likewise.
40415         * sunrpc/xdr_ref.c: Likewise.
40416         * sunrpc/xdr_stdio.c: Likewise.
40418 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40420         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40422 2011-07-03  Andreas Jaeger  <aj@suse.de>
40424         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40425         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40426         regenerate with gen-libm-tests.pl.
40428 2010-05-12  Petr Baudis  <pasky@suse.cz>
40430         [BZ #11589]
40431         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40432         around j0() zero points by switching to j1().
40433         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40434         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40435         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40436         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40438 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40440         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40441         instead of 0.
40442         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40443         instead of 0.
40444         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40445         Patch in part by Pavel Roskin <proski@gnu.org>.
40447         [BZ #13138]
40448         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40449         realloc.
40450         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40451         Free memory block if necessary.
40453         [BZ #12847]
40454         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40455         be NULL.  Don't lock in this case.
40457 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40459         * elf/elf.h (ELFOSABI_GNU): New macro.
40460         (ELFOSABI_LINUX): Define to that.
40462 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40464         * string/strncat.c (strncat): Undef the symbol in case it has been
40465         defined in bits/string.h.
40467 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40469         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40471         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40472         link map.
40474 2011-08-17  Andreas Jaeger  <aj@suse.de>
40476         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40478 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40479             Ian Lance Taylor  <iant@google.com>
40481         * math/libm-test.inc (lround_test): New testcase.
40482         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40484 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40486         * Makefile: Remove support for automatic cvs check-ins.
40487         * Makerules: Likewise.
40488         * config.make.in: Likewise.
40489         * configure.in: Likewise.
40490         * intl/Makefile: Likewise.
40491         * locale/Makefile: Likewise.
40492         * po/Makefile: Likewise.
40493         * posix/Makefile: Likewise.
40494         * sysdeps/gnu/Makefile: Likewise.
40495         * sysdeps/mach/hurd/Makefile: Likewise.
40496         * sysdeps/sparc/sparc32/Makefile: Likewise.
40498         [BZ #13118]
40499         * posix/Makefile (bug-regex32-ENV): Define.
40500         Patch by John Stanley <jpsinthemix@verizon.net>.
40502         * misc/Makefile (headers): Add bits/select2.h.
40503         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40504         * misc/bits/select2.h: New file.
40505         * include/bits/select2.h: New file.
40506         * debug/Makefile (routines): Add fdelt_chk.
40507         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40508         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40509         FD_ISSET.
40510         * debug/fdelt_chk.c: New file.
40512         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40513         * wcsmbs/test-wmemcmp.c: Likewise.
40514         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40515         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40517 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40519         * string/Makefile (strop-tests): Add memcmp.
40520         * string/test-wmemcmp.c: New file.
40521         * string/test-memcmp.c: Add wmemcmp support.
40523 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40525         [BZ #13153]
40526         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40527         2011-07-19 change.
40529         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40530         garbage value in a __mach_port_mod_refs call in the cases of the
40531         task-self and thread-self ports.
40533 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40535         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40537 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40539         * elf/dl-load.c (lose): Check for non-null L.
40541 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40543         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40545         * elf/dl-libc.c (dlerror_run): Pass back error code from
40546         dl_catch_error.
40548         [BZ #13123]
40549         * elf/dl-load.c (lose): Free l_origin if it is valid.
40551         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40552         names.
40553         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40554         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40555         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40556         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40557         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40558         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40560 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40562         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40563         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40564         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40565         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40566         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40567         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40568         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40569         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40570         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40571         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40573 2011-08-15  Alan Modra  <amodra@gmail.com>
40575         [BZ #13092]
40576         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40577         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40578         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40579         ppc_mcount to static-only-routines.
40580         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40581         __mcount_internal.
40582         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40583         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40585 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40587         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40588         for finite and infinity parameters.
40590 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40592         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40593         and add nop instructions for throughput optimization.
40594         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40596 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40598         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40599         aligned copy for power7 with vector-scalar instructions.
40600         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40602 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40604         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40605         AVX check.
40607 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40609         [BZ #13144]
40610         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40611         last change.
40613 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40615         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40616         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40617         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40618         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40619         clock_gettime.
40621 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40623         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40624         Forgot to demangle the pointer.
40626         * sysdeps/i386/sysdep.h: Define atom_text_section.
40627         * sysdeps/x86_64/sysdep.h: Likewise.
40628         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40629         section with atom_text_section.
40630         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40631         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40632         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40633         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40634         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40636         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40637         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40638         already be defined.  Change to take two parameters and don't assign
40639         result to variable.  Adjust all users.
40640         Define INTERNAL_GETTIME if not already defined.
40641         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40642         call.
40643         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40644         HAVE_CLOCK_GETTIME_VSYSCALL.
40645         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40647         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40648         gettimeofday vsyscall, just use time.
40650 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40652         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40653         <errno.h>.
40655 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40657         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40658         syscall on x86-64.
40659         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40660         syscall.
40661         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40662         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40663         syscall if possible.
40665 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40667         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40668         e_ident.  Don't pass to find_mapsXX.
40669         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40671 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40673         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40674         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40675         * sysdeps/x86_64/multiarch/strchr.S: Update.
40676         Check bit_slow_BSF bit.
40677         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40678         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40679         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40681 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40683         [BZ #13134]
40684         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40685         before glibc 2.15.
40686         (tryshell): Define.
40687         (__spawni): Change last parameter to be flag.  Test
40688         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40689         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40690         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40691         * posix/spawni.c: Likewise.
40692         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40693         * posix/spawnp.c: Likewise.  Change normal version to use
40694         SPAWN_XFLAGS_USE_PATH.
40695         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40696         SPAWN_XFLAGS_TRY_SHELL.
40698         [BZ #13150]
40699         * posix/glob.h: Remove gcc 1.x support.
40701         [BZ #13068]
40702         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40704 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40706         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40707         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40708         strrchr-sse2-bsf
40709         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40710         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40711         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40712         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40713         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40714         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40716 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40718         * sysdeps/x86_64/wcscmp.S: New file.
40720         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40721         wcscmp-c wcscmp-sse2
40722         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40723         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40724         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40725         * wcsmbs/wcscmp.c: Allow renaming.
40727 2011-09-05  David S. Miller  <davem@davemloft.net>
40729         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40730         stack slot, rather than the struct return pointer slot.
40731         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40732         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40733         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40734         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40736 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40738         * po/ja.po: Update from translation team.
40740         [BZ #13144]
40741         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40742         kernel in 64-bit binaries.
40744 2011-09-01  David S. Miller  <davem@davemloft.net>
40746         * elf/elf.h (HWCAP_SPARC_*): Move to..
40747         * sysdeps/sparc/sysdep.h: this new file and add new values.
40748         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40749         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40750         _DL_HWCAP_COUNT to 24.
40751         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40752         entries.
40753         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40754         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40755         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40756         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40757         instead of magic constants.
40758         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40760 2011-08-31  David S. Miller  <davem@davemloft.net>
40762         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40763         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40764         Reimplement to do errno handling inline.
40765         (SYSCALL_ERROR_HANDLER): New macro.
40766         (__SYSCALL_STRING): Do not do errno handling in asm.
40767         (__CLONE_SYSCALL_STRING): Delete.
40768         (__INTERNAL_SYSCALL_STRING): Delete.
40769         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40770         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40771         (PSEUDO): Reimplement to do errno handling inline.
40772         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40773         (SYSCALL_ERROR_HANDLER): New macro.
40774         (__SYSCALL_STRING): Do not do errno handling in asm.
40775         (__CLONE_SYSCALL_STRING): Delete.
40776         (__INTERNAL_SYSCALL_STRING): Delete.
40777         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40778         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40779         i386.
40780         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40781         (inline_syscall*): Add 'err' argument.
40782         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40783         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40784         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40785         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40787         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40788         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40790 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40792         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40794 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40796         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40797         directive.
40799 2011-08-24  David S. Miller  <davem@davemloft.net>
40801         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40803 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40805         * elf/Makefile: Add rules to build and run unload8 test.
40806         * elf/unload8.c: New file.
40807         * elf/unload8mod1.c: New file.
40808         * elf/unload8mod1x.c: New file.
40809         * elf/unload8mod2.c: New file.
40810         * elf/unload8mod3.c: New file.
40812         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40813         it wasn't used.
40815 2011-08-23  David S. Miller  <davem@davemloft.net>
40817         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40818         subtract stack bias.
40819         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40820         %sp not %fp in calculations.
40821         (_JMPBUF_UNWINDS_ADJ): Likewise.
40823         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40824         (aio_suspend): Call it to force an exception region around the
40825         AIO_MISC_WAIT() invocation.
40827 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40829         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40830         backslash.
40832 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40834         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40835         protection macro.
40836         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40837         and <dl-machine.h>.
40838         (Elf64_FuncDesc): Remove.
40840 2011-08-22  David S. Miller  <davem@davemloft.net>
40842         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40843         sigaltstack check, add missing cfi directives.
40844         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40845         missing cfi directives, and sigaltstack handling.
40847 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40849         [BZ #11724]
40850         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40851         object is seen twice.
40852         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40854         * elf/Makefile (distribute): Add tst-initorder2.c.
40855         (tests): Add tst-initorder2.
40856         (modules-names): Add tst-initorder2a tst-initorder2b
40857         tst-initorder2c tst-initorder2d.  Add rules to build them.
40858         ($(objpfx)tst-initorder2.out): New rule.
40859         * elf/tst-initorder2.c: New file.
40860         * elf/tst-initorder2.exp: New file.
40862 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40864         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40866         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40867         dependencies back to end of function.
40869         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40870         $(elfobjdir)/ld.so.
40872 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
40874         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
40875         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
40876         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
40877         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
40878         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
40879         of __vdso_gettimeofday.
40880         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
40881         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
40882         attribute_hidden.
40883         (_libc_vdso_platform_setup): Remove initialization of
40884         __vdso_gettimeofday and __vdso_time.
40886 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40888         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
40889         and fgetc_unlocked.
40890         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
40891         getc_unlocked.
40893         * elf/dl-open.c (add_to_global): Report additions to the global scope
40894         for LD_DEBUG=scopes.
40895         (dl_open_worker): Also print scope of newly loaded dependencies.
40896         (_dl_show_scope): Indicate if there is no scope.
40898         [BZ #13114]
40899         * stdio-common/Makefile (tests): Add bug24.
40900         * stdio-common/bug24.c: New file.
40902 2011-08-19  Andreas Jaeger  <aj@suse.de>
40904         [BZ #13114]
40905         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
40906         non-existant file when using close-on-exec mode.
40908 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
40910         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
40911         the very first instruction.
40913         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
40914         the CFI state in the end.
40915         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
40916         inclusion of dl-trampoline.h.
40917         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
40919 2011-08-19  Andreas Schwab  <schwab@redhat.com>
40921         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
40922         expectations for long double.
40924         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
40925         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
40927 2011-08-14  David S. Miller  <davem@davemloft.net>
40929         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
40930         artificual limit depends upon the system page size.
40932 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40934         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
40935         * resolv/Makefile: Define CFLAGS-libresolv.
40937 2011-08-17  Andreas Schwab  <schwab@redhat.com>
40939         * nss/makedb.c (compute_tables): Make variables used in nested
40940         function static.
40942 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
40944         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
40945         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
40946         if buffer was too small.
40948         * elf/pldd.c (main): Attach to all threads in the process.
40949         Rewrite /proc handling to use *at functions.
40951 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
40953         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
40954         specifies first scope to show.
40955         (dl_open_worker): Update callers.  Move printing scope of new
40956         object to before the relocation.
40957         * elf/rtld.c (dl_main): Update _dl_show_scope call.
40958         * sysdeps/generic/ldsodefs.h: Update declaration.
40960         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
40961         string for the scope number.
40963 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
40965         * nscd/servicescache.c (cache_addserv): Make sure written is always
40966         initialized.
40968 2011-08-14  Roland McGrath  <roland@hack.frob.com>
40970         * sysdeps/i386/i486/bits/atomic.h
40971         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
40972         statement expression, so as to suppress "set but not used" warning.
40973         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
40975         * string/strncat.c (STRNCAT): Use prototype definition.
40977         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
40978         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
40979         -Iprograms here.
40980         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
40981         (localedef-modules): Add localedef.
40982         (locale-modules): Add locale.
40984         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
40985         * elf/rtld.c (dl_main): Invert order of assignment in last change,
40986         to avoid a warning.
40988 2011-08-14  David S. Miller  <davem@davemloft.net>
40990         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
40991         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
40993 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
40995         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
40996         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
40997         * elf/rtld.c (dl_main): Set l_name of vDSO.
40998         Call _dl_show_scope when DL_DEBUG_SCOPES.
40999         (process_dl_debug): Recognize scopes flag and also set it for all.
41000         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41001         Declare _dl_show_scope.
41003         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41004         (do_dlopen): Pass caller_dlopen to dl_open.
41005         (__libc_dlopen_mode): Initialize caller_dlopen.
41007         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41008         of libc.  Make tolower call locale-independent.  Optimize a bit by
41009         using isdigit instead of isalnum.
41010         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41012 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41014         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41015         was a dependency or dynamically loaded.
41017 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41019         * intl/l10nflist.c: Allow architecture-specific pop function.
41020         * sysdeps/x86_64/l10nflist.c: New file.
41022         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41023         classification.
41025 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41027         * include/dirent.h: Add libc_hidden_proto for scandirat and
41028         scandirat64.  Don't declare __scandirat64.
41029         * dirent/scandirat.c: Add libc_hidden_def.
41030         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41031         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41033 2011-08-10  David S. Miller  <davem@davemloft.net>
41035         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41036         enum.
41037         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41038         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41039         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41041 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41043         * Versions.def [libc]: Add GLIBC_2.15.
41044         * dirent/Makefile (routines): Add scandirat and scandirat64.
41045         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41046         GLIBC_2.15.
41047         * dirent/dirent.h: Declare scandirat and scandirat64.
41048         * dirent/scandirat.c: New file.
41049         * dirent/scandirat64.c: New file.
41050         * sysdeps/wordsize-64/scandirat.c: New file.
41051         * sysdeps/wordsize-64/scandirat64.c: New file.
41052         * dirent/opendir.c: Define opendirat.
41053         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41054         using scandirat.
41055         * dirent/scandir64.c: Adjust for scandir.c change.
41056         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41057         __scandirat64, and __scandir_cancel_handler.
41058         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41059         additional parameter and use openat instead of open (outside of ld.so).
41060         Add new __opendir as wrapper around __opendirat.
41061         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41062         here without requiring old scandirat implementation.
41064 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41066         * dirent/scandir.c (cancel_handler): Renamed to
41067         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41068         defined.  Adjust users.
41069         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41070         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41072 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41074         * string/test-string.h (IMPL): Use __STRING to expand name and then
41075         stringify it.
41077         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41078         of cleanups.
41080 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41082         * string/Makefile: Update.
41083         (strop-tests): Append strncat.
41084         * string/test-wcscmp.c: New file.
41085         New comprehensive test for wcscmp.
41086         * string/test-strcmp.c: Update.
41087         (WIDE): New define.
41089 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41091         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41092         line.
41094 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41096         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41097         encoding to ACE if AI_IDN.
41099 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41101         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41102         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41104 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41106         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41107         Fix overflow bug in strncat.
41108         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41110         * string/test-strncat.c: Update.
41111         Add new tests for checking overflow bugs.
41113 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41115         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41116         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41117         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41118         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41119         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41120         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41121         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41122         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41123         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41125         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41126         (USE_AS_STRCAT): Define.
41127         Add strcat and strncat support.
41128         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41130 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41132         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41133         __n bigger than INT_MAX+1.
41134         (__strncmp_g): Likewise.
41136 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41138         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41139         * libio/stido.h: Likewise.
41141         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41142         (AF_NFC): Define.
41143         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41144         (AF_NFC): Define.
41146         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41147         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41148         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41149         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41150         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41152         [BZ #13021]
41153         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41154         installed.
41156         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41157         typo.
41158         (_dl_x86_64_save_sse): Likewise.
41160 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41162         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41163         OSXSAVE.
41164         (_dl_x86_64_save_sse): Likewise.
41166         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41168         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41170 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41172         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41173         change.
41174         (_dl_x86_64_save_sse): Use correct AVX check.
41176 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41178         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41179         bug in strncpy/strncat.
41180         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41182 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41184         * string/tester.c (test_strcat): Add tests for different alignments
41185         of source and destination.
41186         (test_strncat): Likewise.
41188 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41190         [BZ #12852]
41191         * posix/glob.c (glob): Check passed in values before using them in
41192         expressions to avoid some overflows.
41193         (glob_in_dir): Likewise.
41195         [BZ #13007]
41196         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41197         check for AVX enablement so that we don't crash with old kernels and
41198         new hardware.
41199         * elf/tst-audit4.c: Add same checks here.
41200         * elf/tst-audit6.c: Likewise.
41202         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41204 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41206         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41208 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41210         * po/cs.po: Update from translation team.
41211         * po/bg.po: Likewise.
41213 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41215         * misc/sys/cdefs.h: Add support for const attribute.
41216         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41217         to gnu_dev_{major,minor,makedev} functions.
41219 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41221         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41223 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41225         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41226         strlen results.
41228 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41230         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41231         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41232         register in order to avoid conflicts with the soft frame pointer
41233         being held in r11 when necessary.
41234         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41235         (INTERNAL_VSYSCALL_NCS): Likewise.
41237 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41239         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41240         * elf/dl-fini.c (_dl_fini): Adjust caller.
41241         * elf/dl-close.c (_dl_close_worker): Likewise.
41242         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41244 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41246         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41247         "aux_cache->nlibs < 0".
41249         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41250         in the reload-count case.
41252 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41254         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41255         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41256         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41257         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41258         * sysdeps/x86_64/multiarch/strcat.S: New file.
41259         * sysdeps/x86_64/multiarch/strncat.S: New file.
41260         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41261         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41262         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41263         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41264         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41265         (USE_AS_STRCAT): Define.
41266         Add strcat and strncat support.
41267         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41268         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41269         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41270         * string/strncat.c: Update.
41271         (USE_AS_STRNCAT): Define.
41272         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41273         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41274         and i7.
41275         * sysdeps/x86_64/multiarch/init-arch.h
41276         (bit_Prefer_PMINUB_for_stringop): New.
41277         (index_Prefer_PMINUB_for_stringop): Likewise.
41278         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41279         bit_Prefer_PMINUB_for_stringop.
41281 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41283         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41284         buffer64.
41285         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41286         of casting of buffer.
41287         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41288         buffer32 and buffer64.
41289         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41290         writes instead of casting of buffer.
41291         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41292         buffer32.
41293         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41294         casting of buffer.
41296 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41298         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41300 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41302         * nscd/nscd.c (termination_handler): Don't do anything for a database
41303         if it has not yet been initialized.
41305 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41307         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41309 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41311         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41313 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41315         * po/nl.po: Update from translation team.
41316         * po/sv.po: Likewise.
41318 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41320         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41321         now disallowed by GCC.
41323         * configure.in (use-default-link): Default to yes if a test -shared
41324         link meets our qualifications.
41325         * configure: Regenerated.
41327         * config.make.in (output-format): New variable.
41328         * configure.in: Check for ld --print-output-format support.
41329         * configure: Regenerated.
41330         * Makerules ($(common-objpfx)format.lds)
41331         [$(output-format) != unknown]: Just use $(output-format),
41332         instead of the linker-script munging.
41334 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41336         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41337         of $(common-objpfx)shlib.lds.
41338         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41340         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41341         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41343         * configure.in (-z relro check): Adjust test code to add a large
41344         writable data section after it.
41345         * configure: Regenerated.
41347 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41349         * configure.in (-z relro check): Fix test code to make the variable
41350         truly const.
41351         * configure: Regenerated.
41353 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41355         * nscd/nscd.h (struct traced_file): Define.
41356         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41357         elements.  Add traced_files.
41358         (inotify_fd): Declare.
41359         (register_traced_file): Declare.
41360         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41361         (inotify_fd): Export.
41362         (resolv_conf_descr): Remove.
41363         (nscd_init): Move inotify descriptor creation to main.
41364         Don't register files for notification here.
41365         (register_traced_file): New function.
41366         (invalidate_cache): Don't use reset_res to determine whether to call
41367         res_init, go through the list of registered files.
41368         (main_loop_poll): The inotify descriptors are now stored in the
41369         structures for the traced files.
41370         (main_loop_epoll): Likewise
41371         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41372         to __nss_disable_nscd.
41373         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41374         for a database anymore.  Check the records for all the registered
41375         files instead.
41376         * nss/Makefile (libnss_files-routines): Add files-init.
41377         (libnss_db-routines): Add db-init.
41378         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41379         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41380         * nss/nss_db/db-init.c: New file.
41381         * nss/nss_files/files-init.c: New file.
41382         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41383         __nss_lookup_function.
41384         (__nss_lookup_function): Call nss_load_library.
41385         (nss_load_all_libraries): New function.
41386         (__nss_disable_nscd): Take parameter with callback function for files
41387         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41388         used for the cached services.
41389         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41390         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41391         options for features to all the files in nscd.
41393         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41395 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41397         * csu/elf-init.c (__libc_csu_init): Comment typo.
41399 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41401         * po/pl.po: Update from translation team.
41402         * po/ja.po: Likewise.
41403         * po/ru.po: Likewise.
41404         * po/ko.po: Likewise.
41405         * po/fr.po: Likewise.
41407 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41409         * configure.in (.ctors/.dtors header and trailer check):
41410         Use an empirical test on a built program.
41411         * configure: Regenerated.
41413         * configure.in (-z relro check): Use an empirical test on a built DSO.
41414         Detect, but do not require, on ia64.
41415         * configure: Regenerated.
41417         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41418         Update tests that use readelf to use $READELF instead.
41419         * configure: Regenerated.
41421 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41423         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41424         if the result is not used.
41426 2011-07-05  Andreas Jaeger  <aj@suse.de>
41428         [BZ#9696]
41429         * stdlib/tst-strtod.c: Add testcase.
41431 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41433         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41434         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41435         The latter has a higher limit.  Take additional parameter to pass to
41436         the new function.
41437         (__pathconf): Pass file to __statfs_link_max.
41438         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41439         __statfs_link_max.
41440         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41441         __statfs_link_max.
41443         [BZ #12868]
41444         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41445         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41446         Handle Lustre.
41447         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41448         (__statfs_filesize_max): Likewise.
41449         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41451 2011-07-05  Andreas Jaeger  <aj@suse.de>
41453         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41455 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41457         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41458         `status' variable.
41459         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41460         Likewise.
41462 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41464         * Makefile (strop-tests): Add strncat.
41465         * string/test-strncat.c: New file.
41467 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41469         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41471 2011-06-21  Andreas Jaeger  <aj@suse.de>
41473         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41474         Copy rule from iconvdata/Makefile.
41476 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41478         [BZ #12922]
41479         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41480         but no long options are defined, just return 'W'.
41482 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41484         [BZ #9696]
41485         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41487 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41489         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41490         netgroups to read.
41491         (innetgr): Likewise.
41493 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41495         * config.make.in (install_root): Default to $(DESTDIR).
41497 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41499         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41501 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41503         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41505         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41506         containing directory rather than embedding absolute directory names.
41508         * scripts/check-local-headers.sh: Rewritten using awk.
41509         Match by word, not by line.  Print error messages for matches.
41510         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41512         * Makerules [shlib-lds-flags empty]:
41513         ($(common-objpfx)libc_pic.opts): New target.
41514         ($(common-objpfx)libc_pic.os.clean): New target.
41515         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41517         * config.make.in (OBJCOPY): New variable.
41518         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41519         * configure: Regenerated.
41521         * config.make.in (use-default-link): New variable.
41522         * configure.in (use_default_link): Grok --with-default-link to set it.
41523         * configure: Regenerated.
41524         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41525         (shlib-lds, shlib-lds-flags): Define to empty.
41527         * Makerules (shlib-lds): New variable.
41528         (shlib-lds-flags): New variable.
41529         (build-shlib, build-moduile, build-module-asneeded): Use it.
41530         ($(common-objpfx)libc.so): Use $(shlib-lds).
41531         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41532         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41534         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41535         DT_FLAGS/DT_FLAGS_1 with zero flags.
41537         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41538         linker script munging.
41540 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41542         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41543         as 128-bit value.
41544         * crypt/sha512.c (sha512_process_block): Perform total addition using
41545         128-bit if possible.
41546         (__sha512_finish_ctx): Likewise.
41547         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41548         as 64-bit value.
41549         * crypt/sha256.c (SWAP64): Define.
41550         (sha256_process_block): Perform total addition using 64-bit if
41551         possible.
41552         (__sha256_finish_ctx): Likewise.
41554 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41556         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41557         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41558         * nscd/hstcache.c (cache_addhst): Likewise.
41559         * nscd/grpcache.c (cache_addgr): Likewise.
41560         * nscd/aicache.c (addhstaiX): Likewise
41561         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41563 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41565         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41566         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41567         * nscd/hstcache.c (cache_addhst): Likewise.
41568         * nscd/grpcache.c (cache_addgr): Likewise.
41569         * nscd/aicache.c (addhstaiX): Likewise
41571 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41573         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41574         domain only when needed.
41576 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41578         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41579         is always restored.
41581 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41583         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41584         are re-adding the entry.
41585         * nscd/servicescache.c (cache_addserv): Likewise.
41587 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41589         * sysdeps/generic/dl-irel.h: fix protection against multiple
41590         inclusions.
41591         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41593 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41595         [BZ #12935]
41596         * malloc/memusage.sh: Fix quoting in message.
41597         * debug/xtrace.sh: Likewise.
41599         * configure.in: Remove support for --experimental-malloc option, make
41600         it the default.
41601         * config.make.in: Likewise.
41602         * malloc/Makefile: Likewise.
41604 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41606         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41607         two-byte characters.
41609 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41611         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41612         AC_CACHE_CHECK invocation.
41613         * configure: Regenerated.
41615         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41617 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41619         [BZ #12350]
41620         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41621         bit from old_res_options.
41623         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41625         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41626         value type for setfct.
41628 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41630         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41631         __gettimeofday instead of gettimeofday.
41633 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41635         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41637 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41639         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41641         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41642         info.
41644 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41647         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41648         strcpy-sse2-unaligned strncpy-sse2-unaligned
41649         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41650         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41651         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41652         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41653         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41654         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41655         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41656         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41657         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41658         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41659         (STRCPY): Support SSE2 and SSSE3 versions.
41661 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41663         [BZ #12874]
41664         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41665         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41666         kernels which artificially limit size of requests.
41668 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41670         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41671         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41672         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41673         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41674         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41675         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41676         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41677         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41678         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41679         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41680         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41681         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41682         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41683         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41684         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41685         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41686         Enable unaligned load optimization for Intel Core i3, i5 and i7
41687         processors.
41688         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41689         Define.
41690         (index_Fast_Unaligned_Load): Define.
41691         (HAS_FAST_UNALIGNED_LOAD): Define.
41693 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41695         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41697 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41699         [BZ #12907]
41700         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41701         until it is clear that the information is realy needed.
41702         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41704 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41706         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41708 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41710         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41711         /sys/devices/system/cpu/online if it is usable.
41713         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41714         reading the information from the /proc filesystem to once a second.
41716 2011-06-21  Andreas Jaeger  <aj@suse.de>
41718         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41719         NULL after inclusion of kernel headers.
41721 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41723         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41724         calls to internal_setent.
41726         [BZ #12885]
41727         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41728         addresses using gethostbyname4_r ignore IPv4 addresses.
41730         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41731         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41733         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41735 2011-06-20  David S. Miller  <davem@davemloft.net>
41737         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41738         inclusions.
41739         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41741         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41742         (elf_irel): Use it.
41743         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41744         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41745         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41746         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41747         * sysdeps/x86_64/dl-irel.h: Likewise.
41749         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41750         * elf/dl-sym.c: Likewise.
41752 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41754         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41755         need to dereference resplen2.
41757 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41759         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41761 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41763         * Makeconfig: Define vardbdir and inst_vardbdir.
41764         * nss/Makefile: Add rules to install db-Makefile.
41766         * nss/nss_db/db-XXX.c: Cleanup.
41768         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41769         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41770         GLIBC_PRIVATE.
41771         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41772         * nss/makedb.c: Implement -g option to specify that value strings
41773         are generated and should not be added to table iterated over for
41774         get*ent calls.
41775         * nss/nss_db/db-initgroups.c: New file.
41777         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41778         interface.
41780         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41781         (internal_getgrouplist): Adjust to name change.
41782         Update use_initgroups_entry if this is not the first call.
41783         * nss/databases.def: Add initgroups entry.
41785         * nss/makedb.c (compute_tables): Check result of multiple hash table
41786         sizes to minimize maximum chain length.
41788 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41790         * Versions.def: Add entry for libnss_db.
41791         * shlib-versions: Likewise.
41792         * nss/Makefile: Add rules to build libnss_db.
41793         * nss/Versions: Add libnss_db information.  Organize libnss_files
41794         entries better.
41795         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41796         makedb progra.  Some minor improvements to generate smaller files.
41797         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41798         here from...
41799         * nss/makedb.c: ...here.
41800         Improve database format to be smaller and require less memory at
41801         runtime.
41802         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41803         db anymore.
41804         * nss/nss_db/db-netgrp.c: Likewise.
41805         * nss/nss_db/db-open.c: Likewise.
41806         * nss/nss_files/flies-XXX.x: Adjust comments.
41807         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41808         * nss/nss_files/files-grp.c: Likewise.
41809         * nss/nss_files/files-hosts.c: Likewise.
41810         * nss/nss_files/files-network.c: Likewise.
41811         * nss/nss_files/files-proto.c: Likewise.
41812         * nss/nss_files/files-pwd.c: Likewise.
41813         * nss/nss_files/files-rpc.c: Likewise.
41814         * nss/nss_files/files-service.c: Likewise.
41815         * nss/nss_files/files-sgrp.c: Likewise.
41816         * nss/nss_files/files-spwd.c: Likewise.
41817         * nss/nss_db/db-alias.c: Removed.
41818         * nss/nss_db/dummy-db.h: Removed.
41820 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41822         * nss/makedb.c: Rewritten to not use database library.
41823         * nss/Makefile: Update to build new makedb program.
41825 2011-06-14  Andreas Jaeger  <aj@suse.de>
41827         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41828         memset declaration.
41830 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41832         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41833         tmpbuf.
41835 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41837         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41838         * elf/Makefile ($(objpfx)ld.so): Likewise.
41840         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41841         Don't list ld.so twice in dependencies.
41843         * posix/bug-regex31.c: Include <stdlib.h>.
41845         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41847         * nis/nss_compat/compat-spwd.c
41848         (getspent_next_nss_netgr): Remove unused variable.
41849         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41851         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41852         nonmembers" output to use the right array.
41854         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41856         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41858         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41859         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41860         * catgets/gencat.c (read_input_file): Likewise.
41861         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41863         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41864         variable definition inside #if's controlling its use.
41866         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41868         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41870         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
41872         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
41873         unreachable code.
41875         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
41877         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
41878         * configure: Regenerated.
41880         * Makerules: Revert last change.
41881         * elf/Makefile: Likewise.
41883 2011-06-09  Roland McGrath  <roland@hack.frob.com>
41885         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
41886         * elf/Makefile ($(objpfx)librtld.os): Likewise.
41887         (reloc-link): Likewise.
41889 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
41891         * elf/Makefile: Add rules to build pldd.
41892         * elf/pldd.c: New file.
41893         * elf/pldd-xx.c: New file.
41895 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
41897         * version.h: Update for 2.15 development version.
41899 2011-06-07  David S. Miller  <davem@davemloft.net>
41901         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
41902         ifuncs.
41903         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
41904         elf_machine_lazy_rel): Likewise.
41905         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
41906         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
41907         elf_machine_lazy_rel): Likewise.
41908         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
41909         dl_hwcap via passed in argument.
41910         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
41911         Likewise.
41913 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41915         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
41917 2011-06-06  Roland McGrath  <roland@hack.frob.com>
41919         [BZ #12849]
41920         * manual/fdl-1.1.texi: New file, verbatim from:
41921         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
41922         * manual/lgpl-2.1.texi: New file, verbatim from:
41923         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
41924         * manual/Makefile (licenses): New variable, list those new file names.
41925         (texis): Use it.
41926         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
41928         * manual/fdl.texi: File removed.
41929         * manual/lesser.texi: File removed.
41930         * manual/libc.texinfo (Copying, Documentation License):
41931         Use new @include file names, put @appendix directive before @include.
41933 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
41935         [BZ #12841]
41936         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
41937         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
41938         (mq_open): Add __NTH.
41940 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
41942         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41943         Assume Intel Core i3/i5/i7 processor if AVX is available.
41945 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41947         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
41948         typo.
41950 2011-05-31  Andreas Schwab  <schwab@redhat.com>
41952         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
41953         memory.  Use alloca_account.  Fix memory leak when retrying.
41955 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
41957         * version.h (RELEASE): Bump for 2.14 release.
41958         * include/features.h (__GLIBC_MINOR__): Bump to 14.
41960         * config.make.in (RANLIB): Remove entry.
41962 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
41964         * po/Makefile (po-sed-cmd): Add ksh to extensions.
41965         (libc.pot): Work around missing support for .ksh extension in xgettext.
41967         [BZ #12684]
41968         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
41969         if both request failed.
41970         (send_dg): In case of server errors clear resplen or *resplen2.
41972         [BZ #12454]
41973         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
41974         when there are multiple maps.
41975         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
41976         (_dl_fini): Remove test here.
41978         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
41980 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
41982         [BZ #12350]
41983         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
41984         bit from old_res_options.
41985         (gaih_inet): Likewise.
41987         [BZ #11099]
41988         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
41989         as signed.
41991         * resolv/res_init.c (res_setoptions): Make the code more compact.
41993         [BZ #11558]
41994         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
41995         set RES_USEVC.
41997         [BZ #11634]
41998         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42000         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42002         [BZ #11781]
42003         * malloc/malloc.h: Declare malloc hook variables as volatile.
42005         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42006         in last patch.
42008         [BZ #11799]
42009         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42010         raise in the comment.
42011         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42012         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42013         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42015 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42017         [BZ #12811]
42018         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42019         grow the buffers more if it already has to be sufficient.
42020         (build_wcs_upper_buffer): Likewise.
42021         * posix/regexec.c (check_matching): Likewise.
42022         (clean_state_log_if_needed): Likewise.
42023         (extend_buffers): Don't enlarge buffers beyond size of the input
42024         buffer.
42025         Patches mostly by Emil Wojak <emil@wojak.eu>.
42026         * posix/bug-regex32.c: New file.
42027         * posix/Makefile (tests): Add bug-regex32.
42029         * locale/findlocale.c (_nl_find_locale): Return right away if
42030         _nl_explode_name failed.
42031         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42033         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42035         * debug/xtrace.sh: Unify messages.
42036         * malloc/memusage.sh: Likewise.
42038         [BZ #12813]
42039         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42040         time symbol from vDSO.  Substitute with vsyscall if not available.
42041         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42042         __vdso_time.
42044         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42045         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42046         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42047         Add sendmmsg and internal_sendmmsg.
42048         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42049         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42050         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42052         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42053         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42054         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42056 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42058         [BZ #12813]
42059         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42060         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42061         available.
42062         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42063         __vdso_getcpu.
42065         [BZ #12814]
42066         * iconvdata/Makefile (tests): Add bug-iconv9.
42067         * iconvdata/bug-iconv9.c: New file.
42069 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42071         [BZ #12814]
42072         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42074 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42076         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42077         (struct user_regs_struct): Change intcs field back to cs.
42079 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42081         * po/ja.po: Update from translation team.
42083 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42085         [BZ #12795]
42086         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42087         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42089 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42091         * stdlib/longlong.h: Update from GCC.
42093 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42095         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42096         parameter name.
42097         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42098         Add parameter name.
42099         (__sysconf): Pass it down.
42101 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42103         [BZ #12671]
42104         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42105         some situations.
42106         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42107         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42108         add in in __libc_use_alloca calls.  Adjust callers.
42109         (glob): Use malloc in some situations.
42111         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42112         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42113         pltexit.
42115 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42117         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42118         and CLOCK_BOOTTIME_ALARM.
42120         [BZ #12782]
42121         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42122         is returned.
42124         * string/_strerror.c (__strerror_r): Print negative errors as signed
42125         numbers.
42127         [BZ #12777]
42128         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42129         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42130         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42132         * configure.in: Fix typo in redirection and correct removal of test
42133         files in two cases.
42135         [BZ #12788]
42136         * locale/setlocale.c (new_composite_name): Fix test to check for
42137         identical name of all categories.
42139         [BZ #12792]
42140         * libio/filedoalloc.c (local_isatty): New function.
42141         (_IO_file_doallocate): Use local_isatty.
42142         * stdio-common/perror.c (perror): In case a new stream is used
42143         forward the stream error.
42144         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42145         error flag.
42147 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42149         [BZ #11869]
42150         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42151         alloca.
42152         * include/alloca.h (extend_alloca_account): Define.
42154         [BZ #11857]
42155         * posix/regex.h: Fix comments with documentation of user-accessible
42156         fields after compilation and describe correct free'ing of pattern
42157         after re_compile_pattern.
42158         Patch by Reuben Thomas <rrt@sc3d.org>.
42160 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42162         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42163         and -mno-altivec to prevent the compiler from using Altivec and/or
42164         VSX instructions when the corresponding registers are not available.
42166 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42168         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42170 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42172         * libio/freopen.c (freopen): Use __dup2, not dup2.
42173         * libio/freopen64.c (freopen64): Likewise.
42175 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42177         [BZ #12775]
42178         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42179         * math/Makefile (tests): Add test-powl.
42180         (CFLAGS-test-powl.c): Define.
42181         * math/test-powl.c: New file.
42183 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42185         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42187 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42189         [BZ #11837]
42190         * iconvdata/gb18030.c: Update to GB18020-2005.
42192 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42194         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42195         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42196         Patch by Aharon Robbins <arnold@skeeve.com>.
42198         [BZ #11892]
42199         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42200         on the stack.
42202         [BZ #11895]
42203         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42204         through underflows.
42206         [BZ #12766]
42207         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42208         point to strings before performing equality test for error_one_per_line
42209         mode.
42211         [BZ #11697]
42212         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42214         [BZ #11820]
42215         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42216         (struct user_fpregs_struct): Avoid __uint*_t types.
42218         [BZ #6420]
42219         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42220         symbol info.  Use it instead of calling _dl_addr locally.
42221         (lock_and_info): New function.
42222         (tr_freehook): Call lock_and_info and pass symbol info as additional
42223         parameter to tr_where.
42224         (tr_mallochook): Likewise.
42225         (tr_reallochook): Likewise.
42226         (tr_memalignhook): Likewise.
42228         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42229         used and couldn't be at all thread-safe.
42231 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42233         * libio/freopen.c (freopen): Don't close old file descriptor
42234         before the new one is opened.  Instead dup the new file descriptor
42235         to the old one after the new stream is created.
42236         * libio/freopen64.c (freopen64): Likewise.
42237         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42238         * libio/fileops.c (_IO_new_file_close_it): Handle new
42239         _IO_FLAGS2_NOCLOSE flag.
42240         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42241         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42242         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42243         _IO_FLAGS2_NOCLOSE flag.
42244         * include/unistd.h: Add hidden_proto for dup3.
42245         Define __have_dup3.
42246         * io/dup3.c: Define hidden symbol.
42247         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42249         [BZ #7101]
42250         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42251         when an incomplete long option is used.
42252         * posix/tst-getopt_long1.c: New file.
42253         * posix/Makefile (tests): Add tst-getopt_long1.
42255         [BZ #10138]
42256         * scripts/config.guess: Update from autoconf-2.68.
42257         * scripts/config.sub: Likewise.
42259         [BZ #10157]
42260         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42261         tests into ...
42262         (has_cpuclock): ...this.  New function.
42263         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42264         macro here based on has_cpuclock code.
42266         [BZ #10149]
42267         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42268         First byte (not low byte) is now always NUL.
42269         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42271         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42272         Use non-cancelable interfaces.
42274         [BZ #9809]
42275         * locale/iso-639.def: Add entry for Sorani.
42277         [BZ #11901]
42278         * include/stdlib.h: Move include protection to the right place.
42279         Define abort_msg_s.  Declare __abort_msg with it.
42280         * stdlib/abort.c (__abort_msg): Adjust type.
42281         * assert/assert.c (__assert_fail_base): New function.  Majority
42282         of code from __assert_fail.  Allocate memory for __abort_msg with
42283         mmap.
42284         (__assert_fail): Now call __assert_fail_base.
42285         * assert/assert-perr.c: Remove bulk of implementation.  Use
42286         __assert_fail_base.
42287         * include/assert.hL Declare __assert_fail_base.
42288         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42289         mmap.
42290         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42292 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42294         [BZ #11952]
42295         [BZ #12453]
42296         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42297         until all modules are registered in the DTV.
42298         * elf/Makefile: Add rules to build and run tst-tls19.
42299         * elf/tst-tls19.c: New file.
42300         * elf/tst-tls19mod1.c: New file.
42301         * elf/tst-tls19mod2.c: New file.
42302         * elf/tst-tls19mod3.c: New file.
42303         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42305         [BZ #12083]
42306         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42307         correctly.
42309         [BZ #12601]
42310         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42311         two-byte sequence errors.
42312         * iconvdata/Makefile (tests): Add bug-iconv8.
42313         * iconvdata/bug-iconv8.c: New file.
42315         [BZ #12626]
42316         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42317         buf2 definition.
42319         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42321         [BZ #12432]
42322         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42323         (dummy_getcfa): New function.
42324         (init): Get _Unwind_GetCFA address, use dummy if not found.
42325         (backtrace_helper): In recursion check, also check whether CFA changes.
42326         (__backtrace): Completely initialize arg.
42328         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42329         storing incomplete byte sequence in state object.  Avoid testing for
42330         guaranteed too small input if we know there is enough data available.
42332 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42334         * Makeconfig (+link-pie): Indent.
42335         * Rules (binaries-pie): Define if $(have-fpie) and
42336         $(build-shared).
42337         (binaries-shared): Also filter out $(binaries-pie).
42338         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42339         * nscd/Makefile (others-pie): Add nscd.
42340         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42341         ($(objpfx)nscd): Remove command override.
42342         * login/Makefile (others-pie): Add pt_chown.
42343         ($(objpfx)pt_chown): Remove command override.
42344         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42345         remove command overrides.
42347 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42349         * libio/tst_putwc.c: Fix error messages.
42351         [BZ #12724]
42352         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42353         currently writing and seek to current position when not.
42354         * libio/Makefile (tests): Add bug-fclose1.
42355         * libio/bug-fclose1.c: New file.
42357 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42359         [BZ #12511]
42360         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42361         don't set DF_1_NODELETE here.
42362         (do_lookup_x): When entering new entry test for copy relocation
42363         and if necessary set DF_1_NODELETE flag.
42364         * elf/tst-unique4.cc: New file.
42365         * elf/tst-unique4.h: New file.
42366         * elf/tst-unique4lib.cc: New file.
42367         * elf/Makefile: Add rules to build and run tst-unique4.
42368         Patch by Piotr Bury <pbury@goahead.com>.
42370 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42372         [BZ #12052]
42373         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42375         [BZ #12625]
42376         * misc/mntent_r.c (addmntent): Flush the stream after the output
42378         [BZ #12393]
42379         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42380         (is_trusted_path_normalize): Skip initial colon.  Append slash
42381         to empty buffer.  Duplicate is_trusted_path code but allow
42382         constructed patch to be prefix.
42383         (is_dst): Allow $ORIGIN followed by /.
42384         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42385         Correct testing of result of is_trusted_path_normalize
42386         (decompose_rpath): Fix warning.
42388 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42390         [BZ #11257]
42391         * grp/initgroups.c (internal_getgrouplist): When we found the service
42392         list through the initgroups entry in nsswitch.conf do not always
42393         continue on a successful lookup.  Don't always use the
42394         __nss_group_database value if it is set.
42395         * nss/nsswitch.conf (initgroups): Change action for successful db
42396         lookup to continue for compatibility.
42398 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42400         [BZ #11532]
42401         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42402         and CP774 modules.
42403         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42404         and CP774 modules.
42405         * iconvdata/tst-tables.sh: Likewise.
42406         * iconvdata/cp770.c: New file.
42407         * iconvdata/cp771.c: New file.
42408         * iconvdata/cp772.c: New file.
42409         * iconvdata/cp773.c: New file.
42410         * iconvdata/cp774.c: New file.
42411         * iconvdata/testdata/CP770: New file.
42412         * iconvdata/testdata/CP770..UTF8: New file.
42413         * iconvdata/testdata/CP771: New file.
42414         * iconvdata/testdata/CP771..UTF8: New file.
42415         * iconvdata/testdata/CP772: New file.
42416         * iconvdata/testdata/CP772..UTF8: New file.
42417         * iconvdata/testdata/CP773: New file.
42418         * iconvdata/testdata/CP773..UTF8: New file.
42419         * iconvdata/testdata/CP774: New file.
42420         * iconvdata/testdata/CP774..UTF8: New file.
42422         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42423         END CHARMAP line.
42424         * iconvdata/gen-8bit-gap.sh: Likewise.
42425         * iconvdata/gen-8bit.sh: Likewise.
42427         * locale/iso-639.def: Add ary entry.
42429         [BZ #11258]
42430         * locale/C-translit.h.in: Add U20A1 transliteration.
42432         [BZ #12178]
42433         * locale/iso-639.def: Add wae entry.
42434         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42436         [BZ #12545]
42437         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42438         for n.
42440         [BZ #12711]
42441         * locale/C-translit.h.in: Add entry for U20B9.
42442         Patch by pravin.d.s@gmail.com.
42444 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42446         [BZ #12713]
42447         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42448         ENAMETOOLONG use generic getcwd.
42449         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42450         in rtld.  Use *stat64.
42451         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42452         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42453         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42454         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42455         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42456         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42457         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42458         __fstatat64 macros.
42459         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42460         * dirent/rewinddir.c: Add libc_hidden_def.
42461         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42462         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42464         * include/dirent.h (__alloc_dir): Add flags parameter.
42465         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42466         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42467         __alloc_dir.
42468         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42469         from fdopendir if O_CLOEXEC is already set.
42471 2011-03-15  Alan Modra  <amodra@gmail.com>
42473         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42474         l_tls_firstbyte_offset non-zero.  Save padding offset in
42475         l_tls_firstbyte_offset for later use.
42476         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42477         freeing static tls block.
42479 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42481         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42482         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42483         being defined by the kernel headers.
42485 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42487         [BZ #12734]
42488         * resolv/resolv.h: Define RES_NOTLDQUERY.
42489         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42490         no-tld-query and set RES_NOTLDQUERY.
42491         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42492         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42493         modern BIND to search name as TLD unless forbidden.
42495 2011-05-07  Petr Baudis  <pasky@suse.cz>
42496             Ulrich Drepper  <drepper@gmail.com>
42498         [BZ #12393]
42499         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42500         (is_trusted_path): ...to here.
42501         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42502         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42503         using is_trusted_path_normalize() in setuid scripts.
42505 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42507         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42508         __BEGIN/__END_DECLS.
42510 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42512         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42513         NSS_STATUS_NOTFOUND if no record was found.
42515 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42517         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42518         (headers-not-in-tirpc): Remove rpc/netdb.h
42519         * resolv/netdb.h: Revert last change.
42521 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42523         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42524         circular dependency between libgcc.a and libc.a.
42526 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42528         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42529         * nis/Makefile: Don't install rpcsvc/*.
42530         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42531         instead of <rpc/types.h>.
42532         (MAXHOSTNAMELEN): Define.
42534 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42536         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42538 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42540         [BZ #12714]
42541         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42542         gethostbyname4_r when IPv6 results are possible.
42544 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42546         [BZ #12723]
42547         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42548         _PC_PIPE_BUF handling.
42550 2011-04-30  Bruno Haible  <bruno@clisp.org>
42552         [BZ #12717]
42553         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42554         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42555         to 'int'.
42556         * inet/getnameinfo.c (getnameinfo): Likewise.
42558 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42560         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42561         to groups setting in database lookup.
42562         * nss/nsswitch.conf: Add initgroups entry.
42564 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42566         [BZ #12685]
42567         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42568         mode string.
42569         Patch by Eric Blake <eblake@redhat.com>.
42571 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42573         * sunrpc/Makefile (need-export-routines): Add svc_run.
42574         (routines): Remove svc_run.
42575         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42576         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42577         * sunrpc/svc_run.c (svc_run): Likewise.
42578         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42580 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42582         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42583         problem in reallocation in last patch.
42585 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42587         * sunrpc/Makefile: Move inclusion of Rules.
42589 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42591         * nss/nss_files/files-initgroups.c: New file.
42592         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42593         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42594         _nss_files_initgroups_dyn.
42596 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42598         * elf/elf.h (R_ARM_IRELATIVE): Define.
42600 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42602         * po/ru.po: Update from translation team.
42604 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42606         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42607         dependencies.
42609 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42611         [BZ #12653]
42612         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42613         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42614         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42615         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42618 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42620         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42621         differing bytes.
42622         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42623         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42624         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42626 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42628         [BZ #12420]
42629         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42630         storing it.
42631         * stdlib/bug-getcontext.c: New file.
42632         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42634 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42636         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42637         instructions into .machine "z9-109".
42638         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42639         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42641 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42643         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42644         between environment variables and auxiliary vector.
42646 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42648         * Makefile: Add rules to build linkobj/libc.so.
42649         * include/libc-symbols.h: Define libc_hidden_nolink.
42650         * include/rpc/auth.h: Mark functions which are to be hidden.
42651         * include/rpc/auth_des.h: Likewise.
42652         * include/rpc/auth_unix.h: Likewise.
42653         * include/rpc/clnt.h: Likewise.
42654         * include/rpc/des_crypt.h: Likewise.
42655         * include/rpc/key_prot.h: Likewise.
42656         * include/rpc/pmap_clnt.h: Likewise.
42657         * include/rpc/pmap_prot.h: Likewise.
42658         * include/rpc/pmap_rmt.h: Likewise.
42659         * include/rpc/rpc_msg.h: Likewise.
42660         * include/rpc/svc.h: Likewise.
42661         * include/rpc/svc_auth.h: Likewise.
42662         * include/rpc/xdr.h: Likewise.
42663         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42664         * nss/Makefile: Likewise.
42665         * sunrpc/Makefile: Don't install headers.  Build library with normal
42666         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42667         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42668         for the compat linking library.  Remove use of INTDEF/INTUSE.
42669         * sunrpc/auth_none.c: Likewise.
42670         * sunrpc/auth_unix.c: Likewise.
42671         * sunrpc/authdes_prot.c: Likewise.
42672         * sunrpc/authuxprot.c: Likewise.
42673         * sunrpc/clnt_gen.c: Likewise.
42674         * sunrpc/clnt_perr.c: Likewise.
42675         * sunrpc/clnt_raw.c: Likewise.
42676         * sunrpc/clnt_simp.c: Likewise.
42677         * sunrpc/clnt_tcp.c: Likewise.
42678         * sunrpc/clnt_udp.c: Likewise.
42679         * sunrpc/clnt_unix.c: Likewise.
42680         * sunrpc/des_crypt.c: Likewise.
42681         * sunrpc/des_soft.c: Likewise.
42682         * sunrpc/get_myaddr.c: Likewise.
42683         * sunrpc/key_call.c: Likewise.
42684         * sunrpc/key_prot.c: Likewise.
42685         * sunrpc/netname.c: Likewise.
42686         * sunrpc/pm_getmaps.c: Likewise.
42687         * sunrpc/pm_getport.c: Likewise.
42688         * sunrpc/pmap_clnt.c: Likewise.
42689         * sunrpc/pmap_prot.c: Likewise.
42690         * sunrpc/pmap_prot2.c: Likewise.
42691         * sunrpc/pmap_rmt.c: Likewise.
42692         * sunrpc/publickey.c: Likewise.
42693         * sunrpc/rpc_cmsg.c: Likewise.
42694         * sunrpc/rpc_common.c: Likewise.
42695         * sunrpc/rpc_dtable.c: Likewise.
42696         * sunrpc/rpc_prot.c: Likewise.
42697         * sunrpc/rpc_thread.c: Likewise.
42698         * sunrpc/rtime.c: Likewise.
42699         * sunrpc/svc.c: Likewise.
42700         * sunrpc/svc_auth.c: Likewise.
42701         * sunrpc/svc_authux.c: Likewise.
42702         * sunrpc/svc_raw.c: Likewise.
42703         * sunrpc/svc_run.c: Likewise.
42704         * sunrpc/svc_simple.c: Likewise.
42705         * sunrpc/svc_tcp.c: Likewise.
42706         * sunrpc/svc_udp.c: Likewise.
42707         * sunrpc/svc_unix.c: Likewise.
42708         * sunrpc/svcauth_des.c: Likewise.
42709         * sunrpc/xcrypt.c: Likewise.
42710         * sunrpc/xdr.c: Likewise.
42711         * sunrpc/xdr_array.c: Likewise.
42712         * sunrpc/xdr_float.c: Likewise.
42713         * sunrpc/xdr_intXX_t.c: Likewise.
42714         * sunrpc/xdr_mem.c: Likewise.
42715         * sunrpc/xdr_rec.c: Likewise.
42716         * sunrpc/xdr_ref.c: Likewise.
42717         * sunrpc/xdr_sizeof.c: Likewise.
42718         * sunrpc/xdr_stdio.c: Likewise.
42720 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42722         [BZ #12650]
42723         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42724         * sysdeps/ia64/dl-tls.h: Likewise.
42725         * sysdeps/powerpc/dl-tls.h: Likewise.
42726         * sysdeps/s390/dl-tls.h: Likewise.
42727         * sysdeps/sh/dl-tls.h: Likewise.
42728         * sysdeps/sparc/dl-tls.h: Likewise.
42729         * sysdeps/x86_64/dl-tls.h: Likewise.
42730         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42732 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42734         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42735         rpath element also skip the following colon.
42736         (expand_dynamic_string_token): Add is_path parameter and pass
42737         down to DL_DST_REQUIRED and _dl_dst_substitute.
42738         (decompose_rpath): Call expand_dynamic_string_token with
42739         non-zero is_path.  Ignore empty rpaths.
42740         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42741         with zero is_path.
42743 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42745         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42746         Make cancelable.
42748 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42750         [BZ #12655]
42751         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42752         Patch by Filipe David Manana <fdmanana@apache.org>.
42754 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42756         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42757         Maintain aligned stack.
42758         (CHECK_RSP): Remove unused macro.
42760 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42762         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42763         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42765 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42767         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42769         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42771 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42773         [BZ #12518]
42774         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42775         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42776         * sysdeps/x86_64/memmove.c: New file.
42777         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42778         (memcpy): Renamed to ...
42779         (__new_memcpy): This.
42780         (memcpy): Provide GLIBC_2_14 memcpy.
42781         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42782         (memcpy): Provide GLIBC_2_2_5 memcpy.
42784 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42786         [BZ #12631]
42787         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42789 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42791         * misc/syncfs.c: New file.
42792         * misc/Makefile (routines): Add syncfs.
42793         * posix/unistd.h: Declare syncfs.
42794         * sysdeps/unix/syscalls.list: Add syncfs.
42796 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42798         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42799         open_by_handle_at.
42800         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42801         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42802         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42803         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42804         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42805         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42806         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42808 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42810         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42811         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42812         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42813         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42814         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42815         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42816         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42818         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42819         sync_file_range.c with -fexceptions.
42820         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42821         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42822         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42823         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42824         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42825         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42826         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42827         sync_file_range as cancellation point
42828         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42829         now a wrapper around __call_sync_file_range with cancellation handling.
42830         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42831         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42832         function name to __call_sync_file_range.
42833         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42834         Add call_sync_file_range.
42836 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42838         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42839         bits/timex.h.
42841 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42843         * iconv/iconv.h: Fix typo in comment.
42844         * io/fcntl.h: Likewise.
42845         * libio/stdio.h: Likewise.
42846         * posix/spawn.h: Likewise.
42847         * posix/unistd.h: Likewise.
42848         * stdlib/stdlib.h: Likewise.
42849         * time/time.h: Likewise.
42850         * wcsmbs/wchar.h: Likewise.
42852         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42853         open_by_handle): Add.
42854         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42855         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42856         Augment a few comments.
42857         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42858         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42859         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42860         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42861         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42862         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42863         open_by_handle.
42865         * io/fcntl.h (AT_EMPTY_PATH): Define.
42867 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42869         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42870         * sysdeps/unix/sysv/linux/bits/time.h: New file.
42871         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
42872         to...
42873         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
42874         * Versions.def: Add GLIBC_2.14.
42875         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
42876         Export.
42878 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
42880         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
42881         round counter.
42882         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42884 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
42886         [BZ #12597]
42887         * string/test-strncmp.c (do_page_test): New function.
42888         (check2): Likewise.
42889         (test_main): Call check2.
42890         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
42892 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
42894         [BZ #12587]
42895         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
42896         Handle cache information in CPU leaf 4.
42897         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
42899 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
42901         [BZ #12583]
42902         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
42903         character representation.
42904         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
42906 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
42908         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
42909         END(__isnan) to END(__isnanf) to match function entry point/label
42910         EALIGN(__isnanf,...).
42912 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
42914         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
42916 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
42918         [BZ #12510]
42919         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
42920         copy from the symbol referenced in the relocation to initialize the
42921         used variable.
42922         Patch by Piotr Bury <pbury@goahead.com>.
42923         * elf/Makefile: Add rules to build and tst-unique3.
42924         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
42925         * elf/tst-unique3.cc: New file.
42926         * elf/tst-unique3.h: New file.
42927         * elf/tst-unique3lib.cc: New file.
42928         * elf/tst-unique3lib2.cc: New file.
42930         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
42932 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
42934         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
42935         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
42936         to _start.
42938 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
42940         * elf/dl-load.c (_dl_map_object): If we are looking for the first
42941         to-be-loaded object along a path to loader is ld.so.
42943 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42944             Ulrich Drepper  <drepper@gmail.com>
42946         * sysdeps/x86_64/memset.S: After aligning destination, code
42947         branches to different locations depending on the value of
42948         misalignment, when multiarch is enabled. Fix this.
42950 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
42952         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
42953         Set _x86_64_preferred_memory_instruction for AMD processsors.
42954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42955         Set bit_Prefer_SSE_for_memop for AMD processors.
42957 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
42959         * libio/fmemopen.c (fmemopen): Optimize a bit.
42961 2011-03-03  Andreas Schwab  <schwab@redhat.com>
42963         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
42965 2011-03-03  Roland McGrath  <roland@redhat.com>
42967         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
42969 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
42971         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
42972         __bzero_ultra1 instead of __memset_ultra1.
42974 2011-02-23  Andreas Schwab  <schwab@redhat.com>
42975             Ulrich Drepper  <drepper@gmail.com>
42977         [BZ #12509]
42978         * include/link.h (struct link_map): Add l_orig_initfini.
42979         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
42980         returning unsuccessfully.
42981         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
42982         close of a file loaded at startup, restore the original l_initfini
42983         list.
42984         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
42985         list, store the pointer.
42986         * elf/Makefile ($(objpfx)noload-mem): New rule.
42987         (noload-ENV): Define.
42988         (tests): Add $(objpfx)noload-mem.
42989         * elf/noload.c: Include <memcheck.h>.
42990         (main): Call mtrace.  Close all opened handles.
42992 2011-02-17  Andreas Schwab  <schwab@redhat.com>
42994         [BZ #12454]
42995         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
42996         dependencies are missing.
42998 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43000         Fix __if_freereq crash: Unlike the generic version which uses free,
43001         Hurd needs munmap.
43002         * sysdeps/mach/hurd/ifreq.h: New file.
43004 2011-01-27  Petr Baudis  <pasky@suse.cz>
43005             Ulrich Drepper  <drepper@gmail.com>
43007         [BZ 12445]#
43008         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43009         to extend_alloca().
43010         * stdio-common/bug23.c: New file.
43011         * stdio-common/Makefile (tests): Add bug23.
43013 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43014             Ulrich Drepper  <drepper@gmail.com>
43016         [BZ #12489]
43017         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43018         before performing relro protection.  At old place add assertion
43019         to make sure nothing changed.
43021 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43022             Glauber de Oliveira Costa  <glommer@gmail.com>
43024         * elf/elf.h: Add new ARM TLS relocs.
43026 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43028         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43029         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43030         cast from r3.
43031         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43032         'tests' variable.
43033         * sysdeps/wordsize-64/tst-writev.c: New file.
43035 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43037         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43038         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43039         insns in _dl_start to prevent a TOC reference before relocs are
43040         resolved.
43042 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43044         [BZ #12469]
43045         * Makeconfig: Remove RANLIB definition.
43046         * Makerules: Don't use RANLIB.
43047         * aclocal.m4: Remove ranlib test.
43048         * configure.in: No need to check for ranlib.
43049         * elf/rtld-Rules: Don't use RANLIB.
43051 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43053         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43054         protection macro.
43055         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43056         inclusion protection macro.
43058         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43059         SIGRTMIN and SIGRTMAX and print information in that case only when
43060         SIGRTMIN is defined.
43062 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43064         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43065         arginfo fn returning -1.
43067         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43068         and thousands string is zero terminated.
43070 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43072         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43073         sysdeps/unix/sysv/linux/bits/socket.h.
43075 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43077         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43078         (__CPU_COUNT): Remove old macros.
43079         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43080         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43081         (__CPU_ALLOC, __CPU_FREE): Add macros.
43082         (__sched_cpualloc, __sched_cpufree): Add declarations.
43084 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43086         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43087         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43088         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43089         (readdhstai): Return value of addhstaiX call.
43090         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43091         (addgrbyX): Return value returned by cache_addgr.
43092         (readdgrbyname): Return value returned by addgrbyX.
43093         (readdgrbygid): Likewise.
43094         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43095         (addpwbyX): Return value returned by cache_addpw.
43096         (readdpwbyname): Return value returned by addhstbyX.
43097         (readdpwbyuid): Likewise.
43098         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43099         (addservbyX): Return value returned by cache_addserv.
43100         (readdservbyname): Return value returned by addservbyX:
43101         (readdservbyport): Likewise.
43102         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43103         (addhstbyX): Return value returned by cache_addhst.
43104         (readdhstbyname): Return value returned by addhstbyX.
43105         (readdhstbyaddr): Likewise.
43106         (readdhstbynamev6): Likewise.
43107         (readdhstbyaddrv6): Likewise.
43108         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43109         (readdinitgroups): Return value returned by addinitgroupsX.
43110         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43111         (prune_cache): Keep track of timeout value of re-added entries.
43112         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43113         * nscd/nscd.h: Adjust prototypes of readd* functions.
43115 2011-02-04  Roland McGrath  <roland@redhat.com>
43117         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43118         (nis_stats): Likewise.
43119         * nis/nis_modify.c (nis_modify): Likewise.
43120         * nis/nis_remove.c (nis_remove): Likewise.
43121         * nis/nis_add.c (nis_add): Likewise.
43123         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43125         * posix/fnmatch_loop.c: Add some consts.
43127         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43129 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43131         [BZ #12460]
43132         * config.make.in (config-cflags-novzeroupper): Define.
43133         * configure.in: Substitute libc_cv_cc_novzeroupper.
43134         * elf/Makefile (AVX-CFLAGS): Define.
43135         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43136         (CFLAGS-tst-auditmod4a.c): Likewise.
43137         (CFLAGS-tst-auditmod4b.c): Likewise.
43138         (CFLAGS-tst-auditmod6b.c): Likewise.
43139         (CFLAGS-tst-auditmod6c.c): Likewise.
43140         (CFLAGS-tst-auditmod7b.c): Likewise.
43141         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43143 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43145         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43146         function to the callback.
43147         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43149 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43151         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43152         of errno.
43154 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43156         [BZ #11724]
43157         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43158         of constructors.
43159         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43160         of destructors.
43161         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43163         [BZ #11724]
43164         * elf/Makefile: Add rules to build and run new test.
43165         * elf/tst-initorder.c: New file.
43166         * elf/tst-initorder.exp: New file.
43167         * elf/tst-initordera1.c: New file.
43168         * elf/tst-initordera2.c: New file.
43169         * elf/tst-initordera3.c: New file.
43170         * elf/tst-initordera4.c: New file.
43171         * elf/tst-initorderb1.c: New file.
43172         * elf/tst-initorderb2.c: New file.
43173         * elf/tst-order-a1.c: New file.
43174         * elf/tst-order-a2.c: New file.
43175         * elf/tst-order-a3.c: New file.
43176         * elf/tst-order-a4.c: New file.
43177         * elf/tst-order-b1.c: New file.
43178         * elf/tst-order-b2.c: New file.
43179         * elf/tst-order-main.c: New file.
43180         New test case by George Gensure <werkt0@gmail.com>.
43182 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43185         decoding ACE if AI_CANONIDN.
43187 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43189         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43191 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43193         * version.h (RELEASE): Bump for 2.13 release.
43194         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43196         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43198         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43199         MADV_NOHUGEPAGE.
43200         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43201         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43202         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43203         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43204         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43205         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43207         * posix/getconf.c: Update copyright year.
43208         * catgets/gencat.c: Likewise.
43209         * csu/version.c: Likewise.
43210         * debug/catchsegv.sh: Likewise.
43211         * debug/xtrace.sh: Likewise.
43212         * elf/ldconfig.c: Likewise.
43213         * elf/ldd.bash.in: Likewise.
43214         * elf/sprof.c (print_version): Likewise.
43215         * iconv/iconv_prog.c: Likewise.
43216         * iconv/iconvconfig.c: Likewise.
43217         * locale/programs/locale.c: Likewise.
43218         * locale/programs/localedef.c: Likewise.
43219         * malloc/memusage.sh: Likewise.
43220         * malloc/mtrace.pl: Likewise.
43221         * nscd/nscd.c (print_version): Likewise.
43222         * nss/getent.c: Likewise.
43224         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43225         PF_CAIF, and PF_ALG.
43226         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43228 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43230         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43231         (modules-names): Use them.
43232         (ifunc-test-modules, ifunc-pie-tests): Define.
43233         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43234         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43235         (test-extras): Likewise.
43236         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43237         $(compile-command.c).
43238         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43239         (all-built-dso): Define.
43240         (check-textrel.out, check-execstack.out): Depend on it.
43242         * configure.in: Don't override --enable-multi-arch.
43244 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43246         [BZ #6812]
43247         * nscd/hstcache.c (tryagain): Define.
43248         (cache_addhst): Return tryagain not notfound for temporary errors.
43249         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43250         failed.
43252 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43254         [BZ #10563]
43255         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43256         to make the syscall.
43257         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43259         [BZ #12378]
43260         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43261         and fall back to matching as normal character if the string ends before
43262         the matching ']' is found.  This is what POSIX requires.
43263         * posix/testfnm.c: Adjust test result.
43264         * posix/globtest.sh: Adjust test result.  Add new test.
43265         * posix/tst-fnmatch.input: Likewise.
43266         * posix/tst-fnmatch2.c: Add new test.
43268 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43270         * elf/Makefile (check-execstack): Revert last change.  Depend on
43271         check-execstack.h.
43272         (check-execstack.h): New target.
43273         (generated): Add check-execstack.h.
43274         * elf/check-execstack.c: Include "check-execstack.h".
43275         (main): Revert last change.
43276         (handle_file): Return zero if GNU_STACK is absent and
43277         DEFAULT_STACK_PERMS doesn't include PF_X.
43279 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43281         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43282         in child fails because the descriptor is already closed.
43283         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43284         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43285         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43287         [BZ #12397]
43288         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43289         syscall.
43291         [BZ #10484]
43292         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43293         temporary buffer used to handle multi lookups locally.
43294         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43296 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43298         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43299         loader is ld.so.
43301 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43303         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43304         alignment for SSE2.
43306 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43308         [BZ #12394]
43309         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43310         characters.  When rounding increased number of integer digits recompute
43311         number of groups.
43312         * stdio-common/tst-grouping.c: New file.
43313         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43315 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43317         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43318         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43320         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43321         void.
43322         * bits/select.h: Likewise.
43324 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43326         * po/ja.po: Update from translation team.
43328 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43330         [BZ #11155]
43331         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43332         implementation just like for lxstat, fxstatat, et al.
43334 2010-12-27  Jim Meyering  <meyering@redhat.com>
43336         [BZ #12348]
43337         * posix/regexec.c (build_trtable): Return failure indication upon
43338         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43340 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43342         [BZ #12201]
43343         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43344         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43345         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43346         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43348         [BZ #12207]
43349         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43351         [BZ #12204]
43352         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43353         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43355 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43357         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43358         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43359         script has SORT_BY_INIT_PRIORITY.
43360         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43361         NO_CTORS_DTORS_SECTIONS is defined.
43362         * elf/soinit.c: Likewise.
43363         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43364         NO_CTORS_DTORS_SECTIONS is defined.
43365         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43366         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43367         * sysdeps/sh/init-first.c: Likewise.
43368         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43370 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43372         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43373         always use the slow path.
43375 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43377         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43378         similar rule which adds the sysdep directories to the header search in
43379         order to pick up the correct platform stackinfo.h.
43380         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43381         perform test if it is, otherwise return successfully without testing.
43382         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43383         DEFAULT_STACK_PERMS define in stackinfo.h.
43384         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43385         defined in stackinfo.h.
43386         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43387         DEFAULT_STACK_PERMS defined in stackinfo.h.
43388         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43389         * sysdeps/ia64/stackinfo.h: Likewise.
43390         * sysdeps/s390/stackinfo.h: Likewise.
43391         * sysdeps/sh/stackinfo.h: Likewise.
43392         * sysdeps/sparc/stackinfo.h: Likewise.
43393         * sysdeps/x86_64/stackinfo.h: Likewise.
43394         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43395         PF_X for powerpc64.  Retain PF_X for powerpc32.
43397 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43399         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43400         accurately.
43401         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43402         GETDENTS_64BIT_ALIGNED.
43404 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43406         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43408 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43410         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43411         _GNU_SOURCE.
43413         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43414         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43415         Remove __restrict.
43416         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43417         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43419 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43421         [BZ #11655]
43422         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43423         are initialized.
43425 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43427         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43429 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43431         * po/it.po: Update from translation team.
43433 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43435         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43436         unused codes.
43438 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43440         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43442 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43444         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43445         specially.
43446         (gaih_getanswer_slice): Likewise.
43448 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43450         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43452 2010-05-31  Petr Baudis  <pasky@suse.cz>
43454         [BZ #11149]
43455         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43456         silently even in the chroot mode.
43458 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43460         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43461         last patch a bit.  Pretty printing
43463 2010-05-31  Petr Baudis <pasky@suse.cz>
43465         [BZ #10085]
43466         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43467         initialization of skip_initgroups_dyn.
43469 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43471         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43472         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43474 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43476         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43478 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43480         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43481         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43482         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43483         ($(objpfx)tst-fnmatch-mem): New rule.
43484         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43485         * posix/tst-fnmatch.c (main): Call mtrace.
43487 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43489         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43490         Support Intel processor model 6 and model 0x2c.
43492 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43494         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43495           signed comparison.
43497 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43499         [BZ #12205]
43500         * string/test-strncasecmp.c (check_result): New function.
43501         (do_one_test): Use it.
43502         (check1): New function.
43503         (test_main): Use it.
43504         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43505         Support strcasecmp and strncasecmp.
43507 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43509         [BZ #12194]
43510         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43511         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43513 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43515         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43516         IFUNC support.
43517         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43518         memset-x86-64.
43519         * sysdeps/x86_64/multiarch/bzero.S: New file.
43520         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43521         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43522         * sysdeps/x86_64/multiarch/memset.S: New file.
43523         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43524         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43525         Set bit_Prefer_SSE_for_memop for Intel processors.
43526         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43527         Define.
43528         (index_Prefer_SSE_for_memop): Define.
43529         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43531 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43533         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43534         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43536 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43538         [BZ #12191]
43539         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43540         (__x86_64_raw_data_cache_size_half): Likewise.
43541         (__x86_64_raw_shared_cache_size): Likewise.
43542         (__x86_64_raw_shared_cache_size_half): Likewise.
43544         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43545         (__x86_64_raw_data_cache_size_half): Likewise.
43546         (__x86_64_raw_shared_cache_size): Likewise.
43547         (__x86_64_raw_shared_cache_size_half): Likewise.
43548         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43549         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43550         and __x86_64_raw_shared_cache_size_half.  Round
43551         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43552         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43553         to multiple of 256 bytes.
43555 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43557         [BZ #12167]
43558         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43559         of inacessible symlinks.  Verify result of symlink before returning it.
43560         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43561         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43563 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43565         * math/math.h (isinf): Fix typo in comment.
43567 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43569         * po/da.po: Update from translation team.
43571 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43573         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43574         is added to the list.
43576 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43577             Ulrich Drepper  <drepper@gmail.com>
43579         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43580         the global list here.  Move code to...
43581         (_dl_add_to_namespace_list): ...here.  New function.
43582         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43583         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43584         * elf/dl-load.c (lose): Don't remove the element from the list.
43585         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43586         (_dl_map_object): Likewise.
43588 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43590         [BZ #12159]
43591         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43592         into all bytes of SSE register.
43593         Patch by Richard Li <richardpku@gmail.com>.
43595 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43597         [BZ #12140]
43598         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43599         perturbing.
43601 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43603         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43604         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43605         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43606         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43607         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43608         submachine.
43609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43611 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43613         * include/dlfcn.h (__RTLD_SECURE): Define.
43614         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43615         mode & __RTLD_SECURE instead.
43616         (open_path): Rename preloaded parameter to secure.
43617         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43618         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43619         * elf/dl-deps.c (openaux): Likewise.
43620         * elf/rtld.c (struct map_args): Remove is_preloaded.
43621         (map_doit): Don't use it.
43622         (dl_main): Likewise.
43623         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43624         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43626 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43628         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43629         (sysd-rules-targets): Remove duplicates.
43630         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43631         rtld-%.$o dependency.
43633 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43635         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43636         _dl_map_object do it.
43638 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43640         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43641         fast fma builtins, define the macros in the C99 standard.
43642         (FP_FAST_FMAF): Likewise.
43643         (FP_FAST_FMAL): Likewise.
43644         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43646         * bits/mathdef.h: Update copyright year.
43647         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43649 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43651         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43652         builtins, define the macros in the C99 standard.
43653         (FP_FAST_FMAF): Likewise.
43654         (FP_FAST_FMAL): Likewise.
43655         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43656         multiply/add.
43657         (FP_FAST_FMAF): Likewise.
43659 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43661         [BZ #3268]
43662         * math/libm-test.inc (fma_test): Some new testcases.
43663         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43664         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43665         y and infinite z.  Do multiplication by C already in long double.
43666         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43667         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43668         y and infinite z.  Do bitwise or of inexact bit into u.d.
43669         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43670         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43671         * sysdeps/i386/fpu/s_fma.S: Removed.
43672         * sysdeps/i386/fpu/s_fmal.S: Removed.
43674 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43676         [BZ #3268]
43677         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43678         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43679         computation is not scheduled after fetestexcept.  Fix value
43680         of minimum denormal long double.
43682 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43684         [BZ #3268]
43685         * math/libm-test.inc (fma_test): Add some more tests.
43686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43687         correctly.
43689 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43691         * scripts/data/localplt-s390-linux-gnu.data: New file.
43692         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43694 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43696         [BZ #3268]
43697         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43698         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43699         instead of dbl-64.
43700         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43701         inlines.
43702         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43704         if one of x and y is very large and the other is subnormal.
43705         * sysdeps/s390/fpu/s_fmaf.c: New file.
43706         * sysdeps/s390/fpu/s_fma.c: New file.
43707         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43708         * sysdeps/powerpc/fpu/s_fma.S: New file.
43709         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43710         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43711         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43713 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43715         [BZ #3268]
43716         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43717         fma tests.
43718         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43719         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43720         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43721         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43722         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43723         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43724         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43726 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43728         [BZ #12078]
43729         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43730         * posix/bug-regex31.input: Add test case.
43732 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43734         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43735         * posix/bug-regex31.input: New file.
43737         [BZ #12078]
43738         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43739         (parse_sub_exp): Fix last change, use postorder.
43741         * posix/bug-regex31.c: New file.
43742         * posix/Makefile: Add rules to build and run bug-regex31.
43744         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43746         [BZ #12078]
43747         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43749         [BZ #12108]
43750         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43751         to have entries in sys_siglist.
43753         [BZ #12093]
43754         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43755         be NULL.
43757 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43759         [BZ #3268]
43760         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43761         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43762         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43763         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43764         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43765         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43766         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43767         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43768         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43769         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43770         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43771         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43772         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43773         * math/ftestexcept.c (fetestexcept): Likewise.
43774         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43775         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43776         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43777         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43778         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43779         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43780         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43782 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43784         [BZ #12107]
43785         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43786         newline.
43788 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43790         * string/bug-strstr1.c: New file.
43791         * string/Makefile: Add rules to build and run bug-strstr1.
43793 2010-10-05  Eric Blake  <eblake@redhat.com>
43795         [BZ #12092]
43796         * string/str-two-way.h (two_way_long_needle): Always clear memory
43797         when skipping input due to the shift table.
43799 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43801         [BZ #12005]
43802         * malloc/mcheck.c: Handle large requests.
43804         [BZ #12077]
43805         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43806         for strncmp and strncasecmp.
43807         * string/stratcliff.c: Add tests for strcmp and strncmp.
43808         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43810 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43812         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43813         __set_fpscr.
43815 2010-09-30  Andreas Jaeger  <aj@suse.de>
43817         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43818         (CGROUP_SUPER_MAGIC): Define.
43819         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43820         Handle btrfs and cgroup file systems.
43821         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43822         Likewise.
43824 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43826         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43827         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43829 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43831         [BZ #12067]
43832         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43833         trying to locate the ELF header.
43835 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43837         [BZ #11611]
43838         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43839         Mask out sign-bit copies when constructing f_fsid.
43841 2010-09-24  Petr Baudis <pasky@suse.cz>
43843         * debug/stack_chk_fail_local.c: Add missing licence exception.
43844         * debug/warning-nop.c: Likewise.
43846 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43848         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43849         implementing getdents64 using getdents syscall, set d_type if
43850         __ASSUME_GETDENTS32_D_TYPE.
43852 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43854         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43855         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43857 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43859         [BZ #12037]
43860         * posix/unistd.h: Undo change of feature selection for ftruncate from
43861         2010-01-11.
43863 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43865         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43866         detection.
43868 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43870         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
43871         fanotify_mark.
43872         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
43874 2010-09-14  Andreas Schwab  <schwab@redhat.com>
43876         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
43877         variables after CHECK_SP call.
43878         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
43880 2010-09-13  Andreas Schwab  <schwab@redhat.com>
43881             Ulrich Drepper  <drepper@redhat.com>
43883         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
43884         re-relocationg ld.so.
43885         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
43886         _dl_init_paths call.
43887         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
43888         here anymore.
43890 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
43892         * resolv/res_init.c (__res_vinit): Count the default server we added.
43894 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
43895             Ulrich Drepper  <drepper@redhat.com>
43897         [BZ #11968]
43898         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
43899         (____longjmp_chk): Use %ebx for saving value across system call.
43900         Add unwind info.
43902 2010-09-06  Andreas Schwab  <schwab@redhat.com>
43904         * manual/Makefile: Don't mix pattern rules with normal rules.
43906 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
43908         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
43909         operation.
43910         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
43911         * libio/iofopncook.c (_IO_cookie_init): Likewise.
43912         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
43913         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
43914         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
43915         Likewise.
43917 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
43919         [BZ #11979]
43920         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
43921         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
43923 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
43925         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
43926         * sysdeps/x86_64/addmul_1.S: Likewise.
43927         * sysdeps/x86_64/lshift.S: Likewise.
43928         * sysdeps/x86_64/mul_1.S: Likewise.
43929         * sysdeps/x86_64/rshift.S: Likewise.
43930         * sysdeps/x86_64/sub_n.S: Likewise.
43931         * sysdeps/x86_64/submul_1.S: Likewise.
43933 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43935         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
43936         Define __sched_param instead of SCHED_* and sched_param when
43937         <bits/sched.h> is included with __need_schedparam defined.
43938         * bits/sched.h [__need_schedparam]
43939         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
43940         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
43941         (__defined_schedparam): Define to 1.
43942         (__sched_param): New structure, identical to sched_param.
43943         (__need_schedparam): Undefine.
43945 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
43947         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
43948         (epoll_create1): Declare.
43950         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
43952 2010-08-31  Andreas Schwab  <schwab@redhat.com>
43954         [BZ #7066]
43955         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
43956         shifting retval into place.
43958 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
43960         * nis/rpcsvc/nis.h: Update copyright notice.
43961         * nis/rpcsvc/nis.x: Likewise.
43962         * nis/rpcsvc/nis_callback.h: Likewise.
43963         * nis/rpcsvc/nis_callback.x: Likewise.
43964         * nis/rpcsvc/nis_object.x: Likewise.
43965         * nis/rpcsvc/nis_tags.h: Likewise.
43966         * nis/rpcsvc/yp.h: Likewise.
43967         * nis/rpcsvc/yp.x: Likewise.
43968         * nis/rpcsvc/ypupd.h: Likewise.
43969         * nis/yp_xdr.c: Likewise.
43970         * nis/ypupdate_xdr.c: Likewise.
43972         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
43973         mainly the body of pmap_getport.  Add parameters to specify timeouts.
43974         (pmap_getport): Use __libc_rpc_getport.
43975         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
43976         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
43977         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
43979 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
43981         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
43982         fanotify_mark.
43984 2010-08-27  Roland McGrath  <roland@redhat.com>
43986         * sysdeps/i386/i686/multiarch/Makefile
43987         (CFLAGS-varshift.c): New variable.
43989 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
43991         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
43992         * sysdeps/i386/i686/multiarch/varshift.c: New file.
43994         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
43996         * sysdeps/x86_64/strlen.S: Minimal code improvement.
43998 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44000         * sysdeps/x86_64/strlen.S: Unroll the loop.
44001         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44002         strlen-sse2 strlen-sse2-bsf.
44003         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44004         __strlen_no_bsf if bit_Slow_BSF is set.
44005         (__strlen_sse42): Removed.
44006         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44007         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44009 2010-08-25  Roland McGrath  <roland@redhat.com>
44011         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44012         * sysdeps/x86_64/multiarch/varshift.c: New file.
44013         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44014         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44015         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44016         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44018 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44020         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44021         strlen-sse2 strlen-sse2-bsf.
44022         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44023         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44024         (__strlen_sse2): Removed.
44025         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44026         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44027         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44028         bit_Slow_BSF for Atom.
44029         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44030         (index_Slow_BSF): Define.
44031         (HAS_SLOW_BSF): Define.
44033 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44035         [BZ #10851]
44036         * resolv/res_init.c (__res_vinit): When no server address at all
44037         is given default to loopback.
44039 2010-08-24  Roland McGrath  <roland@redhat.com>
44041         * configure.in: Remove config-name.h generation.
44042         * configure: Regenerated.
44043         * config-name.in: File removed.
44044         * scripts/config-uname.sh: New file.
44045         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44046         ($(objdir)config-name.h): New target.
44048         * sunrpc/rpc_parse.h: Avoid nested comment.
44050 2010-08-24  Richard Henderson  <rth@redhat.com>
44051             Ulrich Drepper  <drepper@redhat.com>
44052             H.J. Lu  <hongjiu.lu@intel.com>
44054         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44055         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44056         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44057         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44058         _mm_alignr_epi8 with _mm_loadu_si128.
44059         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44060         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44061         (__m128i_shift_right): Removed.
44062         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44063         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44064         * sysdeps/x86_64/multiarch/varshift.h: New file.
44065         * sysdeps/x86_64/multiarch/varshift.S: New file.
44067 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44069         * configure.in: Move assembler checks to before sysdep dir checking.
44071 2010-08-20  Petr Baudis  <pasky@suse.cz>
44073         * LICENSES: Sync the sunrpc license.
44075 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44077         * sunrpc/auth_des.c: Update copyright notice once again.
44078         * sunrpc/auth_none.c: Likewise.
44079         * sunrpc/auth_unix.c: Likewise.
44080         * sunrpc/authdes_prot.c: Likewise.
44081         * sunrpc/authuxprot.c: Likewise.
44082         * sunrpc/bindrsvprt.c: Likewise.
44083         * sunrpc/clnt_gen.c: Likewise.
44084         * sunrpc/clnt_perr.c: Likewise.
44085         * sunrpc/clnt_raw.c: Likewise.
44086         * sunrpc/clnt_simp.c: Likewise.
44087         * sunrpc/clnt_tcp.c: Likewise.
44088         * sunrpc/clnt_udp.c: Likewise.
44089         * sunrpc/clnt_unix.c: Likewise.
44090         * sunrpc/des_crypt.c: Likewise.
44091         * sunrpc/des_soft.c: Likewise.
44092         * sunrpc/get_myaddr.c: Likewise.
44093         * sunrpc/getrpcport.c: Likewise.
44094         * sunrpc/key_call.c: Likewise.
44095         * sunrpc/key_prot.c: Likewise.
44096         * sunrpc/openchild.c: Likewise.
44097         * sunrpc/pm_getmaps.c: Likewise.
44098         * sunrpc/pm_getport.c: Likewise.
44099         * sunrpc/pmap_clnt.c: Likewise.
44100         * sunrpc/pmap_prot.c: Likewise.
44101         * sunrpc/pmap_prot2.c: Likewise.
44102         * sunrpc/pmap_rmt.c: Likewise.
44103         * sunrpc/rpc/auth.h: Likewise.
44104         * sunrpc/rpc/auth_unix.h: Likewise.
44105         * sunrpc/rpc/clnt.h: Likewise.
44106         * sunrpc/rpc/des_crypt.h: Likewise.
44107         * sunrpc/rpc/key_prot.h: Likewise.
44108         * sunrpc/rpc/netdb.h: Likewise.
44109         * sunrpc/rpc/pmap_clnt.h: Likewise.
44110         * sunrpc/rpc/pmap_prot.h: Likewise.
44111         * sunrpc/rpc/pmap_rmt.h: Likewise.
44112         * sunrpc/rpc/rpc.h: Likewise.
44113         * sunrpc/rpc/rpc_des.h: Likewise.
44114         * sunrpc/rpc/rpc_msg.h: Likewise.
44115         * sunrpc/rpc/svc.h: Likewise.
44116         * sunrpc/rpc/svc_auth.h: Likewise.
44117         * sunrpc/rpc/types.h: Likewise.
44118         * sunrpc/rpc/xdr.h: Likewise.
44119         * sunrpc/rpc_clntout.c: Likewise.
44120         * sunrpc/rpc_cmsg.c: Likewise.
44121         * sunrpc/rpc_common.c: Likewise.
44122         * sunrpc/rpc_cout.c: Likewise.
44123         * sunrpc/rpc_dtable.c: Likewise.
44124         * sunrpc/rpc_hout.c: Likewise.
44125         * sunrpc/rpc_main.c: Likewise.
44126         * sunrpc/rpc_parse.c: Likewise.
44127         * sunrpc/rpc_parse.h: Likewise.
44128         * sunrpc/rpc_prot.c: Likewise.
44129         * sunrpc/rpc_sample.c: Likewise.
44130         * sunrpc/rpc_scan.c: Likewise.
44131         * sunrpc/rpc_scan.h: Likewise.
44132         * sunrpc/rpc_svcout.c: Likewise.
44133         * sunrpc/rpc_tblout.c: Likewise.
44134         * sunrpc/rpc_util.c: Likewise.
44135         * sunrpc/rpc_util.h: Likewise.
44136         * sunrpc/rpcinfo.c: Likewise.
44137         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44138         * sunrpc/rpcsvc/key_prot.x: Likewise.
44139         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44140         * sunrpc/rpcsvc/mount.x: Likewise.
44141         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44142         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44143         * sunrpc/rpcsvc/rex.x: Likewise.
44144         * sunrpc/rpcsvc/rstat.x: Likewise.
44145         * sunrpc/rpcsvc/rusers.x: Likewise.
44146         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44147         * sunrpc/rpcsvc/spray.x: Likewise.
44148         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44149         * sunrpc/rtime.c: Likewise.
44150         * sunrpc/svc.c: Likewise.
44151         * sunrpc/svc_auth.c: Likewise.
44152         * sunrpc/svc_authux.c: Likewise.
44153         * sunrpc/svc_raw.c: Likewise.
44154         * sunrpc/svc_run.c: Likewise.
44155         * sunrpc/svc_simple.c: Likewise.
44156         * sunrpc/svc_tcp.c: Likewise.
44157         * sunrpc/svc_udp.c: Likewise.
44158         * sunrpc/svc_unix.c: Likewise.
44159         * sunrpc/svcauth_des.c: Likewise.
44160         * sunrpc/xcrypt.c: Likewise.
44161         * sunrpc/xdr.c: Likewise.
44162         * sunrpc/xdr_array.c: Likewise.
44163         * sunrpc/xdr_float.c: Likewise.
44164         * sunrpc/xdr_mem.c: Likewise.
44165         * sunrpc/xdr_rec.c: Likewise.
44166         * sunrpc/xdr_ref.c: Likewise.
44167         * sunrpc/xdr_sizeof.c: Likewise.
44168         * sunrpc/xdr_stdio.c: Likewise.
44170         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44171         handling.
44173 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44175         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44177 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44179         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44180         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44181         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44182         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44183         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44184         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44185         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44186         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44187         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44188         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44189         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44190         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44191         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44192         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44194 2010-07-26  Anton Blanchard  <anton@samba.org>
44196         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44197         * malloc/arena.c (heap_trim): Likewise.
44199 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44201         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44202         here.  Not...
44203         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44204         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44206 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44208         * sysdeps/i386/elf/Makefile: New file.
44210 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44212         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44213         from fanotify_init.
44214         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44215         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44217 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44219         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44220         of strncasecmp_l.
44221         * sysdeps/multiarch/strcmp.S: Likewise.
44223 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44225         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44226         strncase_l-nonascii.
44227         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44228         Add strncase_l-ssse3.
44229         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44230         * sysdeps/x86_64/strcmp.S: Likewise.
44231         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44232         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44233         * sysdeps/x86_64/strncase.S: New file.
44234         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44235         * sysdeps/x86_64/strncase_l.S: New file.
44236         * string/Makefile (strop-tests): Add strncasecmp.
44237         * string/test-strncasecmp.c: New file.
44239         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44240         warning.
44242         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44243         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44245 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44247         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44249 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44251         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44252         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44253         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44255 2010-05-01  Alan Modra  <amodra@gmail.com>
44257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44258         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44259         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44260         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44261         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44262         tidying.  Don't tail-call __sigjmp_save for static lib.
44263         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44264         save location.
44265         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44266         (CALL_MCOUNT): Add eh info, and nop after bl.
44267         (TAIL_CALL_SYSCALL_ERROR): New macro.
44268         (PSEUDO_RET): Use it.
44269         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44270         Correct save location of integer regs and cr.
44271         (_dl_profile_resolve): Correct cr save location.  Delete nops
44272         after bl when SHARED.  Reduce cfi size a little by better
44273         placement of cfi directives.
44274         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44275         make a stack frame.  Instead use parm save area as a temp.
44276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44277         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44279         Don't make a stack frame for parent, use parm save area.
44280         Increase child stack frame to 112 bytes.  Don't save unused reg,
44281         and adjust reg usage.  Set up cfi on error recovery and
44282         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44283         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44284         (__makecontext): Add dummy nop after jump to exit.
44285         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44286         Use correct parm save area and cr save, reduce stack frame.
44287         Correct cfi for possible PSEUDO_RET frame setup.
44288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44289         Branch to local label emitted by PSEUDO_RET rather than
44290         __syscall_error.
44292 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44294         [BZ #11904]
44295         * locale/programs/locale.c (print_assignment): New function.
44296         (show_locale_vars): Use it.
44298 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44300         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44301         field.
44302         (struct statfs64): Likewise.
44303         (_STATFS_F_FLAGS): Define.
44304         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44305         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44306         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44307         (ST_VALID): Define locally.
44308         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44309         __statvfs_getflags, use the provided value.
44310         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44311         __ASSUME_STATFS_F_FLAGS.
44313         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44315         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44316         Add sys/fanotify.h.
44317         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44318         fanotify_mask for GLIBC_2.13.
44319         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44320         fanotify_init and fanotify_mark.
44321         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44322         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44324         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44325         Add prlimit.
44326         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44327         prlimit64 for GLIBC_2.13.
44328         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44329         prlimit64.
44330         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44331         syscall.
44332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44333         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44334         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44335         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44336         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44337         add prlimit alias.
44338         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44340         [BZ #11903]
44341         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44342         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44344         * nss/Makefile: Add rules to build and run tst-nss-test1.
44345         * shlib-versions: Add entry for libnss_test1.
44346         * nss/nss_test1.c: New file.
44347         * nss/tst-nss-test1.c: New file.
44349         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44350         (__nss_configure_lookup): Set appropriate entry in
44351         __nss_configure_lookup to true.
44352         * nss/nsswitch.h: Define enum with indeces of databases in
44353         databases and __nss_database_custom arrays.  Declare
44354         __nss_database_custom.
44355         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44356         to avoid using nscd when custom rules are installed.
44357         * nss/getXXbyYY_r.c: Likewise.
44358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44360         * nss/nss_files/files-parse.c: Whitespace fixes.
44362 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44364         [BZ #11883]
44365         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44366         * posix/fnmatch_loop.c: Likewise.
44368 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44370         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44371         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44372         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44373         * Versions.def [GLIBC_2.13]: Add.
44375 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44377         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44378         Also fail if tpwd after pwuid call is NULL.
44380 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44382         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44383         when converting to ms.
44385 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44387         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44388         EOPNOTSUPP errors with ENOTTY.
44389         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44390         EOPNOTSUPP errors with ENOTTY.
44392 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44394         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44395         Add strcasecmp_l-ssse3.
44396         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44397         strcasecmp.
44398         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44399         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44400         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44402 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44404         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44406         * string/Makefile (strop-tests): Add strcasecmp.
44407         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44408         strcasecmp_l-nonascii.
44409         (gen-as-const-headers): Add locale-defines.sym.
44410         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44411         * sysdeps/x86_64/strcasecmp.S: New file.
44412         * sysdeps/x86_64/strcasecmp_l.S: New file.
44413         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44414         * sysdeps/x86_64/locale-defines.sym: New file.
44415         * string/test-strcasecmp.c: New file.
44417         * string/test-strcasestr.c: Test both ends of the range of characters.
44418         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44420 2010-07-29  Roland McGrath  <roland@redhat.com>
44422         [BZ #11856]
44423         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44425 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44427         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44428         for ld.so.
44430 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44432         * manual/memory.texi (Malloc Tunable Parameters): Document
44433         M_PERTURB.
44435 2010-07-26  Roland McGrath  <roland@redhat.com>
44437         [BZ #11840]
44438         * configure.in (-fgnu89-inline check): Set and substitute
44439         gnu89_inline, not libc_cv_gnu89_inline.
44440         * configure: Regenerated.
44441         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44443 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44445         * string/test-strnlen.c: New file.
44446         * string/Makefile (strop-tests): Add strnlen.
44447         * string/tester.c (test_strnlen): Add a few more test cases.
44448         * string/tst-strlen.c: Better error reporting.
44450         * sysdeps/x86_64/strnlen.S: New file.
44452 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44454         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44455         lower-latency instructions.
44457 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44459         * string/test-strcasestr.c: New file.
44460         * string/test-strstr.c: New file.
44461         * string/Makefile (strop-tests): Add strstr and strcasestr.
44462         * string/str-two-way.h: Don't undefine MAX.
44463         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44465 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44467         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44468         strcasestr-nonascii.
44469         (CFLAGS-strcasestr-nonascii.c): Define.
44470         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44471         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44472         Remove unused attribute.
44474 2010-07-20  Roland McGrath  <roland@redhat.com>
44476         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44477         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44478         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44479         like LD_HWCAP_MASK can disable hwcaps.
44481 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44483         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44485 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44487         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44488         call in strcasestr.
44489         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44490         __strcasestr_sse42_nonascii.
44491         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44492         strcasestr-nonascii.c.
44493         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44495 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44497         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44498         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44499         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44500         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44502 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44504         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44505         fcntl.
44507 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44509         [BZ #11577]
44510         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44511         dl_signal_cerror.
44513 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44515         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44516         _PC_PIPE_BUF using F_GETPIPE_SZ.
44518 2010-07-05  Roland McGrath  <roland@redhat.com>
44520         * manual/arith.texi (Rounding Functions): Fix rint description
44521         implicit in round description.
44523 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44525         * elf/Makefile: Fix linking for a few tests to make recent linker
44526         happy.
44528 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44530         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44531         $(common-objpfx)libc_nonshared.a.
44533 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44535         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44536         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44537         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44538         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44539         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44540         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44541         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44542         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44543         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44545         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44547         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44548         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44549         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44551         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44553         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44555         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44557         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44558         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44559         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44560         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44561         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44562         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44563         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44564         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44565         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44566         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44567         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44568         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44570         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44571         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44575         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44576         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44578         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44579         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44581         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44582         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44584 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44586         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44587         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44588         * string/memmove.c (memmove): Renamed to ...
44589         (MEMMOVE): ...this.  Default to memmove.
44590         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44591         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44592         (END_CHK): Define.
44593         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44594         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44595         mempcpy-ssse3-back memmove-ssse3-back.
44596         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44597         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44598         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44599         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44600         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44601         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44602         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44603         * sysdeps/x86_64/multiarch/memmove.c: New file.
44604         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44605         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44606         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44607         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44608         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44609         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44610         Define.
44611         (index_Fast_Copy_Backward): Define.
44612         (HAS_ARCH_FEATURE): Define.
44613         (HAS_FAST_REP_STRING): Define.
44614         (HAS_FAST_COPY_BACKWARD): Define.
44616 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44618         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44619         Restore proper fallback handling.
44621 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44623         [BZ #11701]
44624         * posix/group_member.c (__group_member): Correct checking loop.
44626         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44627         OOM in getpwuid_r correctly.  Return error number when the caller
44628         should return, otherwise -1.
44629         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44630         call returning > 0 value.
44631         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44633 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44635         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44636         libc_nonshared.a from targets in modules-names.
44638 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44640         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44641         requires it.
44643 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44645         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44646         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44647         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44648         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44650 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44652         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44654 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44656         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44657         and F_GETPIPE_SZ.
44658         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44659         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44660         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44661         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44662         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44663         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44665 2010-06-14  Roland McGrath  <roland@redhat.com>
44667         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44669 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44671         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44672         __REDIRECT followed by __THROW.
44673         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44674         * posix/getopt.h (getopt): Likewise.
44676 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44678         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44679         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44680         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44681         in AT_FLAGS.
44682         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44683         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44685 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44687         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44689 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44691         [BZ #11640]
44692         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44693         Properly check family and model.
44695 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44697         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44699 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44701         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44703 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44705         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44706         symbol reference.
44708 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44710         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44711         symbol reference.
44713 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44715         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44716         and internal_recvmmsg.
44717         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44718         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44719         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44720         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44722         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44723         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44724         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44726 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44728         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44730 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44732         POWER7 optimizations.
44733         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44734         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44736 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44738         * version.h: Update for 2.13 development version.
44740 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44742         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44743         exceptions.  Return 0.
44745 2010-05-07  Roland McGrath  <roland@redhat.com>
44747         * elf/ldconfig.c (main): Add a const.
44749 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44751         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44752         (args_options): Add no-idn option.
44753         (ahosts_keys_int): Add idn_flags to ai_flags.
44754         (parse_option): Handle 'i' option to clear idn_flags.
44756         * malloc/malloc.c (_int_free): Possible race in the most recently
44757         added check.  Only act on the data if no current modification
44758         happened.
44760 See ChangeLog.17 for earlier changes.