Use NSS_STATUS_TRYAGAIN to indicate insufficient buffer (BZ #16878)
[platform/upstream/linaro-glibc.git] / ChangeLog
1 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
2
3         [BZ #16878]
4         * nscd/netgroupcache.c (addgetnetgrentX): Look for
5         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
6         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
7         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
8
9 2014-05-25  Richard Henderson  <rth@twiddle.net>
10
11         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
12         (SINGLE_THREAD_P_PIC): Remove.
13         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
14         (SINGLE_THREAD_P_PIC): Remove.
15
16         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
17         branch to syscall error ...
18         (PSEUDO): ... here.
19         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
20         from __local_syscall_error to .Lsyscall_error.
21         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
22         (SYSCALL_ERROR): Update label name.
23
24         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
25         Do not use DOARGS/UNDOARGS.
26         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
27         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
28         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
29         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
30         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
31
32         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
33         block comment.
34
35         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
36         define if !NOT_IN_libc.
37         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
38         define with non-default symbol versions.
39
40 2014-05-23  Richard Henderson  <rth@twiddle.net>
41
42         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
43         (vfork, __vfork): Define via compat_symbol.
44
45         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
46         [!HAVE_IFUNC] (vfork_compat): Remove.
47         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48
49 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
50
51         [BZ #16978]
52         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
53         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
54         variable.
55
56 2014-05-23  Richard Henderson  <rth@twiddle.net>
57
58         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
59         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
60         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
61         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
62
63         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
64         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
65         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
66         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
67         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
68         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
69         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
70         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
71         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
72         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
73         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
74         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
75         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
76         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
77         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
78         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
79         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
80         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
81         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
82         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
83         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
84         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
85         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
86         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
87         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
88         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
89         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
90         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
91         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
92         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
93         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
94         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
95         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
96         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
97         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
98         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
99         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
100         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
101         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
102         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
103         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
104         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
105         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
106         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
107         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
108         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
109         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
110         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
111         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
112         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
113         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
114         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
115         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
116         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
117         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
118         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
119
120         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
121         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
122         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
123         before exiting on error.
124         (__libc_vfork): New strong alias.
125         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
126         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
127
128         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
129         that was previously under [RESET_PID].
130         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
131
132         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
133
134 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
135
136         [BZ #16977]
137         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
138         value when x - 1 is zero.
139         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
140         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
141         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
142         0.0L for an argument of 1.0L.
143         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
144         Likewise.
145         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
146         value when x - 1 is zero.
147         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
148         * sysdeps/i386/fpu/libm-test-ulps: Update.
149         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
150
151 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
152
153         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
154         alphasort and versionsort.
155
156 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
157
158         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
159         macro.
160         [copysignf]: Likewise.
161
162 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
163
164         * crypt/md5-crypt.c: Fix formatting.
165
166 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
167
168         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
169         (b64_from_24bit): New function.
170
171 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
172
173         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
174         libc_hidden_builtin_def to ifunc.
175         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
176         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
177
178 2014-05-21  Roland McGrath  <roland@hack.frob.com>
179
180         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
181         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
182
183 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
184
185         * nscd/Depend (linuxthreads): Remove.
186         (nptl): Add.
187         * resolv/Depend (linuxthreads): Remove.
188         * rt/Depend (linuxthreads): Remove.
189
190         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
191         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
192         $(common-objpfx)elf/.
193         (link-libc-before-gnulib): Likewise.
194         (elfobjdir): Remove variable.
195         * Makefile (install): Use $(elf-objpfx) instead of
196         $(common-objpfx)elf/.
197         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
198         $(elfobjdir)/.
199         (link-libc-deps): Likewise.
200         ($(common-objpfx)libc.so): Likewise.
201         ($(common-objpfx)linkobj/libc.so): Likewise.
202         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
203         instead of $(common-objpfx)elf/.
204         (symbolic-link-list): Likewise.
205         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
206         [$(cross-compiling) = no]: Likewise.
207         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
208         $(elfobjdir)/.
209         (static-gnulib-arch): Likewise.
210         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
211         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
212         $(common-objpfx)elf/.
213
214 2014-05-21  Richard Henderson  <rth@redhat.com>
215
216         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
217         (SINGLE_THREAD_P): Use the correct width load.  Fold
218         into the ldr offset.
219
220         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
221         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
222
223 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
224
225         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
226         (libgcc_s_resume): Use __attribute_used__.
227         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
228         Likewise.
229
230 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
231
232         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
233         optimization when used with float constants.
234
235         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
236
237 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
238
239         [BZ #16915]
240         * locale/nl_langinfo_l.c: Make direct reference to every
241         _nl_current_CATEGORY symbol.
242         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
243         (tests-static): Add tst-langinfo-static.
244         (tests-special): Add tst-langinfo-static.out.
245         ($(objpfx)tst-langinfo.out): Redirect output.
246         ($(objpfx)tst-langinfo-static.out): New.
247         * localedata/tst-langinfo.sh: Send output to stdout.
248         * localedata/tst-langinfo-static.c: New file.
249
250         [BZ #16965]
251         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
252         when the shift amount is modulo the limb size.
253
254 2014-05-20  Richard Henderson  <rth@redhat.com>
255
256         [BZ #16967]
257         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
258         Change type of sa_flags from unsigned int to int.
259
260         [BZ #16966]
261         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
262
263         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
264
265 2014-05-20  Will Newton  <will.newton@linaro.org>
266
267         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
268         Test the return value of the system call in the nocancel case.
269
270 2014-05-20  Will Newton  <will.newton@linaro.org>
271             Yvan Roux  <yvan.roux@linaro.org>
272
273         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
274         #include of asm/ptrace.h.
275         (PTRACE_GET_THREAD_AREA): Remove #undef.
276         (PTRACE_GETHBPREGS): Likewise.
277         (PTRACE_SETHBPREGS): Likewise.
278         (struct user_regs_struct): New structure.
279         (struct user_fpsimd_struct): New structure.
280         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
281         #include of asm/ptrace.h and second #include of sys/user.h.
282         (PTRACE_GET_THREAD_AREA): Remove #undef.
283         (PTRACE_GETHBPREGS): Likewise.
284         (PTRACE_SETHBPREGS): Likewise.
285         (ELF_NGREG): Use new struct user_regs_struct.
286         (elf_fpregset_t): Use new struct user_fpsimd_struct.
287
288 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
289
290         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
291         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
292
293 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
294
295         [BZ #16958]
296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
297         membar to avoid block loads/stores to overlap previous stores.
298
299 2014-05-17  Richard Henderson  <rth@redhat.com>
300
301         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
302         Create the __##syscall_name##_nocancel entry point.
303         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
304         Remove; let the sysdep-cancel.h code create it.
305
306 2014-05-17  David S. Miller  <davem@davemloft.net>
307
308         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
309         Protect with __USE_GNU.
310         (TIOCSET_TEMPT): Likewise.
311         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
312         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
313         these are already provided in bits/ioctl-types.h
314
315 2014-05-16  Roland McGrath  <roland@hack.frob.com>
316
317         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
318         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
319
320         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
321         Use wait4 regardless of [__NR_waitpid].
322
323 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
324
325         PR libgcc/60166
326         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
327         (_FP_NANSIGN_Q): Set the quiet bit.
328
329 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
330
331         * benchtests/Makefile
332         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
333         not $(common-objpfx)math/libm.so.
334         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
335         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
336         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
337         $(common-objpfx)dlfcn/libdl.so.
338         ($(objpfx)tst-audit8): Depend on $(libm), not
339         $(common-objpfx)math/libm.so.
340         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
341         not $(common-objpfx)dlfcn/libdl.so.
342         * math/Makefile
343         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
344         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
345         [$(build-shared) = yes].
346         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
347         $(common-objpfx)nptl/libpthread.so.
348         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
349         $(common-objpfx)math/libm.so$(libm.so-version) or
350         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
351         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
352         $(common-objpfx)dlfcn/libdl.so.
353         * setjmp/Makefile (link-libm): Remove variable.
354         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
355         * stdio-common/Makefile (link-libm): Remove variable.
356         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
357         * stdlib/Makefile (link-libm): Remove variable.
358         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
359         ($(objpfx)tst-strtod-round): Likewise.
360         ($(objpfx)tst-tininess): Likewise.
361         ($(objpfx)tst-strtod-underflow): Likewise.
362         ($(objpfx)tst-strtod6): Likewise.
363         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
364         $(libdl), not $(common-objpfx)nptl/libpthread.so and
365         $(common-objpfx)dlfcn/libdl.so.
366
367 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
368
369         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
370         BSD terminal modes definitions.
371
372 2014-05-16  Roland McGrath  <roland@hack.frob.com>
373
374         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
375         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
376
377         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
378         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
379         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
380         Don't do #include_next.
381         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
382         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
383         Don't do #include_next.
384         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
385         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
386         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
387         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
388
389 2014-05-16  Allan McRae  <allan@archlinux.org>
390
391         * po/sv.po: Update Swedish translation from translation project.
392
393         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
394         in sed expression.
395
396 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
397
398         [BZ #16917]
399         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
400         errno if the TIOCGPTN ioctl fails with an error different than
401         EINVAL.
402         * login/tst-ptsname.c: New file.
403         * login/Makefile (tests): Add tst-ptsname.
404
405         [BZ #16943]
406         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
407         and prlimit64.
408
409 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
410
411         [BZ #16849]
412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
413         herrno to return EAI_AGAIN.
414
415 2014-05-14  Roland McGrath  <roland@hack.frob.com>
416
417         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
418         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
419         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
420         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
421         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
422         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
423         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
424         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
425         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
426         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
427         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
428         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
429         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
430         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
431         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
432         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
433         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
434         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
435         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
436         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
437         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
438         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
439         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
440         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
441         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
442         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
443         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
444         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
445         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
446         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
448         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
449         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
450         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
452         Moved ...
453         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
454         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
455         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
456         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
457         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
459         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
460         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
461         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
463         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
464         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
465         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
466         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
467         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
468         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
469         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
470         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
471         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
472         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
473         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
474         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
475         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
477         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
478         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
479         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
480         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
481         Moved ...
482         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
484         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
486         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
488         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
490         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
492         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
494         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
496         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
498         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
500         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
501         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
502         Moved ...
503         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
504         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
505         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
506
507         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
508         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
509         (libpthread-sysdep_routines): Add elision-related stuff here instead.
510         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
511         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
512         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
513         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
514         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
515         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
516         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
517         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
518         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
519         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
520         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
521         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
522         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
523         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
524         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
525         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
526         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
527         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
528         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
529         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
530         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
531         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
532         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
533         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
534         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
535         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
536         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
537         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
538
539         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
540         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
541
542         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
543         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
544         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
545         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
546         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
547         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
548         Moved ...
549         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
550         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
551         Moved ...
552         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
553         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
554         Moved ...
555         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
556         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
557         Moved ...
558         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
559         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
560         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
561         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
562         Moved ...
563         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
564         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
565         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
566         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
567         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
568         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
569         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
570         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
571         Moved ...
572         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
573         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
574         Moved ...
575         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
576         ... here.
577         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
578         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
579         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
580         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
581         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
582         Moved ...
583         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
584         ... here.
585         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
586         Moved ...
587         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
588         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
589         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
590         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
591         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
592         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
593         Moved ...
594         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
595         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
596         Moved ...
597         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
598         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
599         Moved ...
600         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
601         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
602         Moved ...
603         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
604         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
605         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
606         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
607         Moved ...
608         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
609         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
610         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
611         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
612         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
613         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
614         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
615         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
616         Moved ...
617         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
618         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
619         Moved ...
620         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
621         ... here.
622         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
623         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
624         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
625         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
626         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
627         Moved ...
628         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
629         ... here.
630         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
631         Moved ...
632         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
633         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
634         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
635         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
636         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
637         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
638         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
639         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
640         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
641         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
642         Moved ...
643         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
644         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
645         Moved ...
646         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
647         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
648         Moved ...
649         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
650         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
651         Moved ...
652         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
653         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
654         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
655         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
656         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
657         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
658         Moved ...
659         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
660         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
661         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
662         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
663         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
664         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
665         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
666         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
667         Moved ...
668         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
669         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
670         Moved ...
671         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
672         ... here.
673         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
674         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
675         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
676         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
677         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
678         Moved ...
679         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
680         ... here.
681         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
682         Moved ...
683         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
684         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
685         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
686         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
687         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
688         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
689         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
690         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
691         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
692         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
693         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
694
695         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
696         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
697
698         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
699         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
700
701         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
702         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
703         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
704         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
705         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
706         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
707         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
708         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
709         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
710         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
711         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
712         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
713         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
714         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
715         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
716         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
717         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
718         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
719         Moved ...
720         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
721         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
722         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
723         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
724         Moved ...
725         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
726         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
727         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
728         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
729         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
730         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
731         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
732         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
733         Moved ...
734         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
735         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
736         Moved ...
737         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
738         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
739         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
740         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
741         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
742         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
743         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
744         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
745         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
746         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
747         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
748         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
749         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
750         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
751         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
752         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
753         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
754
755         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
756         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
757         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
758         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
759         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
760
761         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
762         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
763         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
764         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
765         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
766         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
767         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
768         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
769         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
770         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
771
772         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
773         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
774
775         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
776         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
777         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
778         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
779         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
780         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
781         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
782         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
783         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
784         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
785         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
786         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
787         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
788         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
789         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
790         Update #include.
791         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
792         Likewise.
793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
794         Likewise.
795         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
796         Likewise.
797         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
798         Likewise.
799         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
800         Likewise.
801         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
802         Likewise.
803         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
804         Likewise.
805         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
806         Likewise.
807         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
808         Likewise.
809         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
810         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
811         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
812         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
813         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
814         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
815         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
816         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
817         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
818         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
819         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
820         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
821         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
822         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
823         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
824
825         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
826         that was previously under [RESET_PID].
827         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
828         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
829         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
830
831         * sysdeps/i386/nptl/Implies: New file.
832         * sysdeps/x86_64/nptl/Implies: New file.
833         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
834         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
835         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
836         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
837
838         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
839         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
840         (__libc_vfork): New strong alias.
841         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
842         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
843
844         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
845         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
846         (__libc_vfork): New strong alias.
847         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
848         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
849
850         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
851         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
852         (__libc_vfork): New strong alias.
853         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
854         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
855         * nptl/pt-vfork.c: New file.
856         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
857         (libpthread: GLIBC_2.20): New version set (empty).
858
859 2014-05-14  Will Newton  <will.newton@linaro.org>
860
861         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
862         rather than #if.
863
864 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
865
866         [BZ #16564]
867         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
868         arguments with exponent 65 or above.
869         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
870         arguments 0x1p113L or above.
871         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
872         to arguments 0x1p107L or above.
873         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
874         positive arguments with exponent 65 or above.
875         * math/auto-libm-test-in: Add more tests of log1p.
876         * math/auto-libm-test-out: Regenerated.
877
878         [BZ #16928]
879         * math/s_cacos.c (__cacos): Ensure zero real part of result from
880         non-finite arguments is +0.
881         * math/s_cacosf.c (__cacosf): Likewise.
882         * math/s_cacosl.c (__cacosl): Likewise.
883         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
884         * sysdeps/i386/fpu/libm-test-ulps: Update.
885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
886
887         [BZ #16927]
888         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
889         value.
890         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
891         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
892         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
893         for explicit high bit of mantissa when testing for argument equal
894         to 1.
895         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
896         * sysdeps/i386/fpu/libm-test-ulps: Update.
897         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
898
899         [BZ #16516]
900         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
901         (__erf): Scale by 16 instead of 8 in potentially underflowing
902         case.  Ensure exception if result actually underflows.
903         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
904         (__erff): Scale by 16 instead of 8 in potentially underflowing
905         case.  Ensure exception if result actually underflows.
906         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
907         (efx8): Remove variable.
908         (__erfl): Scale by 16 instead of 8 in potentially underflowing
909         case.  Ensure exception if result actually underflows.
910         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
911         (efx8): Remove variable.
912         (__erfl): Scale by 16 instead of 8 in potentially underflowing
913         case.  Ensure exception if result actually underflows.
914         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
915         (efx8): Remove variable.
916         (__erfl): Scale by 16 instead of 8 in potentially underflowing
917         case.  Ensure exception if result actually underflows.
918         * math/auto-libm-test-in: Add more tests of erf.
919         * math/auto-libm-test-out: Regenerated.
920
921 2014-05-14  Andreas Schwab  <schwab@suse.de>
922
923         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
924         Remove code conditionalized on USE___THREAD.
925
926         * config.h.in (HAVE_PT_CHOWN): Define as 0.
927         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
928         not definedness.
929
930 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
931
932         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
933         Define unconditionally.
934         (__ASSUME_O_CLOEXEC): Likewise.
935         (__ASSUME_SOCK_CLOEXEC): Likewise.
936         (__ASSUME_IN_NONBLOCK): Likewise.
937         (__ASSUME_PIPE2): Likewise.
938         (__ASSUME_EVENTFD2): Likewise.
939         (__ASSUME_SIGNALFD4): Likewise.
940         (__ASSUME_DUP3): Likewise.
941         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
942         (__ASSUME_DUP3): Do not define.
943         (__ASSUME_EVENTFD2): Likewise.
944         (__ASSUME_IN_NONBLOCK): Likewise.
945         (__ASSUME_O_CLOEXEC): Likewise.
946         (__ASSUME_PIPE2): Likewise.
947         (__ASSUME_SIGNALFD4): Likewise.
948         (__ASSUME_SOCK_CLOEXEC): Likewise.
949         (__ASSUME_UTIMES): Undefine.
950         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
951         (__ASSUME_UTIMES): Do not define.
952         (__ASSUME_O_CLOEXEC): Likewise.
953         (__ASSUME_SOCK_CLOEXEC): Likewise.
954         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
955         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
956         0x020621].
957         (__ASSUME_PIPE2): Likewise.
958         (__ASSUME_EVENTFD2): Likewise.
959         (__ASSUME_SIGNALFD4): Likewise.
960         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
961         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
962         Do not define.
963         (__ASSUME_EVENTFD2): Likewise.
964         (__ASSUME_SIGNALFD4): Likewise.
965         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
966         (__ASSUME_32BITUIDS): Likewise.
967         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
968         (__ASSUME_IPC64): Likewise.
969         (__ASSUME_ST_INO_64_BIT): Likewise.
970         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
971         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
972         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
973         (__ASSUME_UTIMES): Do not define.
974         (__ASSUME_PSELECT): Likewise.
975         (__ASSUME_PPOLL): Likewise.
976         (__ASSUME_O_CLOEXEC): Likewise.
977         (__ASSUME_SOCK_CLOEXEC): Likewise.
978         (__ASSUME_IN_NONBLOCK): Likewise.
979         (__ASSUME_PIPE2): Likewise.
980         (__ASSUME_EVENTFD2): Likewise.
981         (__ASSUME_SIGNALFD4): Likewise.
982         (__ASSUME_DUP3): Likewise.
983         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
984         (__ASSUME_UTIMES): Likewise.
985         (__ASSUME_O_CLOEXEC): Likewise.
986         (__ASSUME_SOCK_CLOEXEC): Likewise.
987         (__ASSUME_IN_NONBLOCK): Likewise.
988         (__ASSUME_PIPE2): Likewise.
989         (__ASSUME_EVENTFD2): Likewise.
990         (__ASSUME_SIGNALFD4): Likewise.
991         (__ASSUME_DUP3): Likewise.
992         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
993         (__ASSUME_UTIMES): Likewise.
994         (__ASSUME_O_CLOEXEC): Likewise.
995         (__ASSUME_SOCK_CLOEXEC): Likewise.
996         (__ASSUME_IN_NONBLOCK): Likewise.
997         (__ASSUME_PIPE2): Likewise.
998         (__ASSUME_EVENTFD2): Likewise.
999         (__ASSUME_SIGNALFD4): Likewise.
1000         (__ASSUME_DUP3): Likewise.
1001         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
1002         Likewise.
1003         (__ASSUME_UTIMES): Likewise.
1004         (__ASSUME_EVENTFD2): Likewise.
1005         (__ASSUME_SIGNALFD4): Likewise.
1006         * sysdeps/unix/sysv/linux/tile/kernel-features.h
1007         (__ASSUME_O_CLOEXEC): Likewise.
1008         (__ASSUME_SOCK_CLOEXEC): Likewise.
1009         (__ASSUME_IN_NONBLOCK): Likewise.
1010         (__ASSUME_PIPE2): Likewise.
1011         (__ASSUME_EVENTFD2): Likewise.
1012         (__ASSUME_SIGNALFD4): Likewise.
1013         (__ASSUME_DUP3): Likewise.
1014         (__ASSUME_UTIMES): Undefine.
1015
1016         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
1017         feclearexcept.  Remove symbol versioning code.
1018         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
1019         symbol versioning code.
1020         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
1021         symbol versioning code.
1022         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
1023         feupdateenv.  Remove symbol versioning code.
1024         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
1025         fegetexceptflag.  Remove symbol versioning code.
1026         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
1027         fesetexceptflag.  Remove symbol versioning code.
1028         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
1029         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
1030         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
1031         (__posix_fadvise64_l32): Remove prototype.
1032         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
1033         code.
1034
1035 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1036
1037         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
1038         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
1039         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
1040         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
1041
1042 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
1043
1044         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
1045         current working directory
1046
1047 2014-05-13  Roland McGrath  <roland@hack.frob.com>
1048
1049         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
1050         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
1051         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
1052         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
1053         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
1054         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
1055         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
1056         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
1057         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
1058         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
1059         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
1060         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
1061         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
1062         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
1063         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
1064         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
1065         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
1066         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
1067         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
1068         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
1069         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
1070         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
1071         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
1072         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
1073         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
1074         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
1075         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
1076         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
1077         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
1078         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
1079         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
1080         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
1081         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
1082         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
1083         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
1084         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
1085         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
1086         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
1087         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
1088         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
1089         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
1090         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
1091
1092         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
1093         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
1094
1095         * sysdeps/unix/sysv/linux/arm/Makefile
1096         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
1097         Add rt-aeabi_unwind_cpp_pr1.
1098         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
1099         Add nptl-aeabi_unwind_cpp_pr1.
1100         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
1101         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
1102         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
1103         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
1104         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
1105         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
1106
1107         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
1108         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
1109         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
1110         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
1111
1112         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
1113         Deconditionalize the code that was previously under [RESET_PID].
1114         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
1115
1116         * sysdeps/generic/exit-thread.h: New file.
1117         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
1118         * include/unistd.h (__exit_thread): Remove declaration.
1119         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
1120         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
1121         * csu/libc-start.c: Include <exit-thread.h>.
1122         (LIBC_START_MAIN): Pass no argument to __exit_thread.
1123         * nptl/pthread_create.c: Include <exit-thread.h>.
1124         (start_thread): Call __exit_thread in place of __exit_thread_inline.
1125         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
1126         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
1127         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
1128         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
1129         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
1130         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
1131         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
1132         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
1133         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
1134         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
1135         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
1136         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
1137         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
1138         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
1139         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
1140         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
1141
1142 2014-05-13  Andreas Schwab  <schwab@suse.de>
1143
1144         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
1145
1146 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
1147
1148         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
1149         (__ASSUME_UTIMES): Do not condition on kernel version.
1150         (__ASSUME_PSELECT): Define unconditionally.
1151         (__ASSUME_PPOLL): Likewise.
1152         (__ASSUME_ATFCTS): Likewise.
1153         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
1154         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
1155         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
1156         (__ASSUME_UTIMENSAT): Define unconditionally.
1157         (__ASSUME_PRIVATE_FUTEX): Likewise.
1158         (__ASSUME_FALLOCATE): Likewise.
1159         (__ASSUME_O_CLOEXEC): Likewise.
1160         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
1161         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
1162         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
1163         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
1164         (__ASSUME_IN_NONBLOCK): Likewise.
1165         (__ASSUME_PIPE2): Likewise.
1166         (__ASSUME_EVENTFD2): Likewise.
1167         (__ASSUME_SIGNALFD4): Likewise.
1168         (__ASSUME_DUP3): Likewise.
1169         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1170         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
1171         (__ASSUME_AT_RANDOM): Likewise.
1172         (__ASSUME_PREADV): Likewise.
1173         (__ASSUME_PWRITEV): Likewise.
1174         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
1175         (__ASSUME_F_GETOWN_EX): Define unconditionally.
1176         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
1177         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
1178         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
1179         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
1180         (__ASSUME_O_CLOEXEC): Define unconditionally.
1181         (__ASSUME_PSELECT): Do not undefine conditionally.
1182         (__ASSUME_PPOLL): Likewise.
1183         (__ASSUME_ATFCTS): Likewise.
1184         (__ASSUME_SET_ROBUST_LIST): Likewise.
1185         (__ASSUME_UTIMENSAT): Likewise.
1186         (__ASSUME_FDATASYNC): Define unconditionally.
1187         * sysdeps/unix/sysv/linux/arm/kernel-features.h
1188         (__ASSUME_SIGFRAME_V2): Likewise.
1189         )__ASSUME_EVENTFD2): Likewise.
1190         (__ASSUME_SIGNALFD4): Likewise.
1191         (__ASSUME_PSELECT): Do not undefine conditionally.
1192         (__ASSUME_PPOLL): Likewise.
1193         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
1194         (__ASSUME_PSELECT): Define unconditionally.
1195         (__ASSUME_PPOLL): Likewise.
1196         (__ASSUME_O_CLOEXEC): Likewise.
1197         (__ASSUME_SOCK_CLOEXEC): Likewise.
1198         (__ASSUME_IN_NONBLOCK): Likewise.
1199         (__ASSUME_PIPE2): Likewise.
1200         (__ASSUME_EVENTFD2): Likewise.
1201         (__ASSUME_SIGNALFD4): Likewise.
1202         (__ASSUME_DUP3): Likewise.
1203         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1204         (__ASSUME_O_CLOEXEC): Likewise.
1205         (__ASSUME_SOCK_CLOEXEC): Likewise.
1206         (__ASSUME_IN_NONBLOCK): Likewise.
1207         (__ASSUME_PIPE2): Likewise.
1208         (__ASSUME_EVENTFD2): Likewise.
1209         (__ASSUME_SIGNALFD4): Likewise.
1210         (__ASSUME_DUP3): Likewise.
1211         * sysdeps/unix/sysv/linux/mips/kernel-features.h
1212         (__ASSUME_EVENTFD2): Likewise.
1213         (__ASSUME_SIGNALFD4): Likewise.
1214         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
1215
1216 2014-05-12  Andreas Schwab  <schwab@suse.de>
1217
1218         [BZ #16932]
1219         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
1220         (_nss_nis_gethostbyname4_r): Return error if item length is larger
1221         than maximum RPC packet size.
1222         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
1223         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
1224         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
1225         (_nss_nis_getservbyport_r): Likewise.
1226
1227 2014-05-12  Will Newton  <will.newton@linaro.org>
1228
1229         * malloc/Makefile (tests): Add tst-mallopt.
1230         * malloc/tst-mallopt.c: New file.
1231
1232 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1233
1234         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
1235         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
1236
1237 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1238
1239         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
1240         (tst-tlsmod6.so): Likewise.
1241
1242 2014-05-09  Roland McGrath  <roland@hack.frob.com>
1243
1244         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
1245
1246 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
1247
1248         [BZ #16064]
1249         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
1250         and <dl-procinfo.h>.
1251         (__fegetenv): Save SSE state in envp->__eip if supported.
1252         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
1253         envp->__eip if supported.
1254         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
1255         and <dl-procinfo.h>.
1256         (__fesetenv): Always set __eip, __cs_selector, __opcode,
1257         __data_offset and __data_selector in environment to 0.  Set SSE
1258         state if supported.
1259         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
1260         test-fenv-sse.
1261         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
1262         -mfpmath=sse.
1263         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
1264
1265 2014-05-09  Will Newton  <will.newton@linaro.org>
1266
1267         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
1268         and libc_relro_required for ARM.
1269         * sysdeps/arm/preconfigure: Regenerate.
1270
1271 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1272             Stefan Liebler  <stli@linux.vnet.ibm.com>
1273
1274         * config.make.in (enable-lock-elision): New Makefile variable.
1275         * configure.ac: Likewise.
1276         * configure: Regenerate.
1277         * sysdeps/s390/configure.ac:
1278         Add check for gcc transactions support.
1279         * sysdeps/s390/configure: Regenerate.
1280         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
1281         Build elision files if enabled.
1282         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
1283         Add lock elision support for s390.
1284         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
1285         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
1286         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
1287         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
1288         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
1289         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
1290         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
1291         Likewise.
1292         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
1293         Likewise.
1294         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
1295         Likewise.
1296         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
1297         Likewise.
1298         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
1299         (__lll_timedlock_elision, __lll_lock_elision)
1300         (__lll_unlock_elision, __lll_trylock_elision)
1301         (lll_timedlock_elision, lll_lock_elision)
1302         (lll_unlock_elision, lll_trylock_elision): Add.
1303         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
1304         (pthread_mutex_t): Add lock elision support for s390.
1305
1306 2014-05-14  Wilco  <wdijkstr@arm.com>
1307
1308         * sysdeps/arm/fclrexcpt.c: Cleanup.
1309         * sysdeps/arm/fedisblxcpt.c: Cleanup.
1310         * sysdeps/arm/feenablxcpt.c: Cleanup.
1311         * sysdeps/arm/fegetenv.c: Cleanup.
1312         * sysdeps/arm/fegetexcept.c: Cleanup.
1313         * sysdeps/arm/fegetround.c: Cleanup.
1314         * sysdeps/arm/feholdexcpt.c: Cleanup.
1315         * sysdeps/arm/fesetenv.c: Cleanup.
1316         * sysdeps/arm/fesetround.c: Cleanup.
1317         * sysdeps/arm/feupdateenv.c: Cleanup.
1318         * sysdeps/arm/fgetexcptflg.c: Cleanup.
1319         * sysdeps/arm/fraiseexcpt.c: Cleanup.
1320         * sysdeps/arm/fsetexcptflg.c: Cleanup.
1321         * sysdeps/arm/ftestexcept.c: Cleanup.
1322         * sysdeps/arm/get-rounding-mode.h: Cleanup.
1323         * sysdeps/arm/setfpucw.c: Cleanup.
1324
1325 2014-05-09  Will Newton  <will.newton@linaro.org>
1326
1327         * sysdeps/arm/armv7/strcmp.S: New file.
1328         * NEWS: Mention addition of ARMv7 optimized strcmp.
1329
1330 2014-05-08  Roland McGrath  <roland@hack.frob.com>
1331
1332         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
1333         look for %.ac rather than %.in.
1334
1335         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
1336         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
1337         * sysdeps/mach/hurd/configure: Regenerated.
1338         * sysdeps/unix/sysv/linux/configure: Regenerated.
1339
1340         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
1341
1342 2014-05-07  Steve Ellcey  <sellcey@mips.com>
1343
1344         [BZ# 16922]
1345         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
1346         (LONG_SUB): Ditto.
1347         (PTR_SUB): Ditto.
1348
1349 2014-05-07  Andreas Schwab  <schwab@suse.de>
1350
1351         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
1352         when skipping over non-matching result from nscd.
1353
1354 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
1355
1356         [BZ #16876]
1357         * nptl/sockperf.c (client): Check socket return value.
1358
1359         [BZ #16877]
1360         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
1361         nscd security class.
1362
1363 2014-05-06  Roland McGrath  <roland@hack.frob.com>
1364
1365         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
1366         * sysdeps/arm/unwind.h: ... here.
1367
1368 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
1369
1370         [BZ# 16916]
1371         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
1372         Define.
1373
1374 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
1375
1376         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
1377         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
1378         multiarch strncpy for PPC64.
1379         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
1380         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
1381         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
1382         multiarch optimizations.
1383         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
1384         (__libc_ifunc_impl_list): Likewise.
1385         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
1386         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
1387         multiarch stpncpy for PPC64.
1388         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
1389         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
1390
1391 2014-05-06  Andreas Schwab  <schwab@suse.de>
1392
1393         [BZ #16912]
1394         * gmon/mcount.c (_MCOUNT_DECL): Use
1395         atomic_compare_and_exchange_bool_acq instead of
1396         catomic_compare_and_exchange_bool_acq.
1397
1398 2014-05-05  Roland McGrath  <roland@hack.frob.com>
1399
1400         * elf/Makefile (others, install-bin): Remove pldd.
1401         (pldd-modules): Variable removed.
1402         ($(objpfx)pldd): Target removed.
1403         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
1404         (others, install-bin): Append pldd here.
1405         ($(objpfx)pldd): New target.
1406
1407         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
1408         to 0, so the first #if test emitted later doesn't see it undefined.
1409         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
1410         * sysdeps/gnu/errlist.c: Regenerated.
1411
1412 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1413
1414         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
1415         [libc_hidden_builtin_def]: Define to empty value.
1416         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
1417         [libc_hidden_builtin_def]: Likewise.
1418         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
1419         [libc_hidden_builtin_def]: Likewise.
1420         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
1421         [libc_hidden_builtin_def]: Likewise.
1422         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
1423         __redirect_memcpy and define ifunc as default hidden symbol.
1424         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
1425         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
1426
1427 2014-05-04  Adam Conrad  <adconrad@0c3.net>
1428
1429         * locale/iso-4217.def: Reintroduce XDR currency.
1430
1431 2014-05-04  Allan McRae  <allan@archlinux.org>
1432
1433         * po/eo.po: Update Esperanto translation from translation project.
1434
1435 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
1436
1437         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
1438         and FEATURE_INDEX_MAX to 1.
1439         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
1440
1441 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1442
1443         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
1444         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
1445         * iconvdata/big5.c (ONE_DIRECTION): Define.
1446         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
1447         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
1448         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
1449         * iconvdata/cp932.c (ONE_DIRECTION): Define.
1450         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
1451         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
1452         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
1453         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
1454         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
1455         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
1456         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
1457         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
1458         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
1459         * iconvdata/gbk.c (ONE_DIRECTION): Define.
1460         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
1461         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
1462         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
1463         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
1464         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
1465         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
1466         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
1467         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
1468         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
1469         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
1470         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
1471         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
1472         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
1473         * iconvdata/iso646.c (ONE_DIRECTION): Define.
1474         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
1475         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
1476         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
1477         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
1478         * iconvdata/johab.c (ONE_DIRECTION): Define.
1479         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
1480         * iconvdata/sjis.c (ONE_DIRECTION): Define.
1481         * iconvdata/t.61.c (ONE_DIRECTION): Define.
1482         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
1483         * iconvdata/tscii.c (ONE_DIRECTION): Define.
1484         * iconvdata/uhc.c (ONE_DIRECTION): Define.
1485         * iconvdata/unicode.c (ONE_DIRECTION): Define.
1486         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
1487         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
1488         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
1489
1490 2014-05-01  Roland McGrath  <roland@hack.frob.com>
1491
1492         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
1493         (_IO_JUMPS_OFFSET): Define to 0.
1494
1495         * nptl/sysdeps/pthread/bits/libc-lock.h
1496         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
1497         (__libc_lock_define_initialized_recursive): Always define using
1498         initializer.  Modern compilers treat uninitialized (implicit zero) and
1499         explicit zero initializers the same (i.e. put the datum in bss).
1500
1501 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1502
1503         * nscd/nscd-client.h: Include <string.h>.
1504
1505 2014-05-01  David S. Miller  <davem@davemloft.net>
1506
1507         [BZ #16885]
1508         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
1509         multiple zero bytes exist at the end of a string.
1510         Reported by Aurelien Jarno <aurelien@aurel32.net>
1511
1512         * string/test-strcmp.c (check): Add explicit test for situations where
1513         there are multiple zero bytes after the first.
1514
1515 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
1516
1517         [BZ #16890]
1518         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
1519         when compiling wprintf.
1520         * stdio-common/tstdiomisc.c (t3): New function.
1521         (main): Call it.
1522
1523 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1524
1525         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
1526         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
1527         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
1528         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
1529
1530 2014-05-01  Steve Ellcey  <sellcey@mips.com>
1531
1532         * stdlib/longlong.h: Updated from GCC.
1533
1534 2014-05-01  Will Newton  <will.newton@linaro.org>
1535             Bernard Ogden  <bernie.ogden@linaro.org>
1536
1537         * NEWS: Update fixed bug list.
1538
1539         [BZ #15119]
1540         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
1541
1542 2014-04-30  David S. Miller  <davem@davemloft.net>
1543
1544         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
1545         (libc_feholdexcept_setround_sparc_ctx): New function.
1546         (libc_fesetenv_sparc_ctx): Likewise.
1547         (libc_feupdateenv_sparc_ctx): Likewise.
1548         (libc_feholdsetround_sparc_ctx): Likewise.
1549         (libc_feholdexcept_setround_ctx): Define.
1550         (libc_feholdexcept_setroundf_ctx): Likewise.
1551         (libc_feholdexcept_setroundl_ctx): Likewise.
1552         (libc_fesetenv_ctx): Likewise.
1553         (libc_fesetenvf_ctx): Likewise.
1554         (libc_fesetenvl_ctx): Likewise.
1555         (libc_feupdateenv_ctx): Likewise.
1556         (libc_feupdateenvf_ctx): Likewise.
1557         (libc_feupdateenvl_ctx): Likewise.
1558         (libc_feresetround_ctx): Likewise.
1559         (libc_feresetroundf_ctx): Likewise.
1560         (libc_feresetroundl_ctx): Likewise.
1561         (libc_feholdsetround_ctx): Likewise.
1562         (libc_feholdsetroundf_ctx): Likewise.
1563         (libc_feholdsetroundl_ctx): Likewise.
1564
1565         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1566         with __USE_GNU instead of XOPEN cpp guards.
1567
1568         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
1569         0.
1570
1571         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
1572         with XOPEN cpp guards.
1573
1574 2014-04-30  Julian Brown  <julian@codesourcery.com>
1575
1576         [BZ #16888]
1577         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
1578         handling.
1579
1580 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
1581
1582         [BZ #9894]
1583         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
1584         Change to 2.6.32.
1585         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
1586         * sysdeps/unix/sysv/linux/configure: Regenerated.
1587         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
1588         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
1589         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
1590         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
1591         * README: Update reference to required Linux kernel version.
1592         * manual/install.texi (Linux): Update reference to required Linux
1593         kernel headers version.
1594         * INSTALL: Regenerated.
1595
1596         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
1597         header inclusion.
1598         [POSIX] (limits.h): Likewise.
1599         [POSIX] (math.h): Likewise.
1600         [POSIX] (sys/wait.h): Likewise.
1601         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
1602         function.
1603         [POSIX] (stddef.h): Do not allow header inclusion.
1604
1605 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1606
1607         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
1608
1609 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
1610
1611         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
1612         Return immediately after lll_futex_wake.
1613
1614 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1615
1616         [BZ #16791]
1617         * nscd/nscd-client.h (datahead_init_common): Initialize entire
1618         structure.
1619         (datahead_init_pos): Call datahead_init_common early.
1620         (datahead_init_neg): Likewise.
1621
1622         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
1623         datahead_init_neg): New functions.
1624         * nscd/aicache.c (addhstaiX): Use them.
1625         * nscd/grpcache.c (cache_addgr): Likewise.
1626         * nscd/hstcache.c (cache_addhst): Likewise.
1627         * nscd/initgrcache.c (addinitgroupsX): Likewise.
1628         * nscd/netgroupcache.c (do_notfound): Likewise.
1629         (addgetnetgrentX): Likewise.
1630         (addinnetgrX): Likewise.
1631         * nscd/pwdcache.c (cache_addpw): Likewise.
1632         * nscd/servicescache.c (cache_addserv): Likewise.
1633
1634 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
1635             Atsushi Onoe  <atsushi@onoe.org>
1636
1637         [BZ #14308]
1638         [BZ #12994]
1639         [BZ #13651]
1640         * resolv/res_query.c (__libc_res_nsearch): Return if at least
1641         one response is valid.
1642         * resolv/res_send.c (send_dg): Check for validity of other
1643         response if the current response is a referral.
1644
1645 2014-04-29  Steve Ellcey  <sellcey@mips.com>
1646
1647         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
1648
1649 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
1650
1651         [BZ #16823]
1652         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
1653         Always divide by positive zero when computing -Inf result.
1654         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
1655         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
1656
1657 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1658
1659         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
1660         FPSCR if value do not change.
1661         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
1662         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
1663         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
1664         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1665         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
1666         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
1667         function.
1668
1669 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
1670
1671         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
1672         * sysdeps/unix/sysv/linux/hppa: Move directory from
1673         ports/systeps/unix/sysv/linux/hppa.
1674         * README: Update listing for hppa-*-linux-gnu.
1675
1676 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
1677
1678         [BZ #16754]
1679         * manual/stdio.texi (Hook functions): Fix types of stream hook
1680         functions.
1681         [BZ #16854]
1682         * socket/sys/socket.h: Fix typo in comment.
1683
1684 2014-04-28  Wilco  <wdijkstr@arm.com>
1685
1686         * sysdeps/arm/fenv_private.h: New file.
1687         * sysdeps/arm/math_private.h: New file.
1688         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
1689
1690 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
1691
1692         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
1693         with __int128_t.
1694         (La_x86_64_retval): Likewise.
1695
1696 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
1697
1698         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
1699         fpsr if value didn't change.
1700         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
1701         to fpcr if value didn't change.
1702         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
1703         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
1704         fpsr or fpcr if value didn't change.
1705         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
1706         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
1707         fpcr if value didn't change.
1708         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
1709         to fpsr if value didn't change.
1710
1711 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
1712
1713         * nptl/tst-sem3.c: Use test-skeleton.c
1714         (main): Rename to do_test.  Use return instead of
1715         exit.
1716         * nptl/tst-sem4.c: Use test-skeleton.c
1717         (main): Rename to do_test.
1718
1719 2014-04-22  David S. Miller  <davem@davemloft.net>
1720
1721         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
1722         (struct sigaction): New struct member __glibc_reserved0, change
1723         type of sa_flags to int.
1724
1725 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1726
1727         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
1728         (COUNT_LEADING_ZEROS_0): Define for AArch64.
1729
1730 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
1731
1732         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
1733         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
1734
1735 2014-04-22  Will Newton  <will.newton@linaro.org>
1736             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
1737
1738         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
1739         (__longjmp): Add longjmp and longjmp_target SystemTap
1740         probes.
1741         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
1742         (__sigsetjmp): Add setjmp SystemTap probe.
1743
1744 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
1745
1746         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
1747         match manual order.
1748
1749 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1750
1751         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
1752
1753         * sysdeps/powerpc/fpu/fenv_private.h
1754         (libc_feholdexcept_setroundl_ctx): Define to
1755         libc_feholdexcept_setround_ppc_ctx.
1756         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
1757         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
1758         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
1759         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
1760
1761 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1762
1763         * sysdeps/aarch64/math-tests.h: New file.
1764
1765 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
1766
1767         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
1768         New.
1769         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
1770         Check and set bit_AVX2_Usable.
1771         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
1772         macro.
1773         (bit_AVX2): Likewise.
1774         (index_AVX2_Usable): Likewise.
1775         (CPUID_AVX2): Likewise.
1776         (HAS_AVX2): Likewise.
1777
1778 2014-04-17  Will Newton  <will.newton@linaro.org>
1779
1780         * manual/setjmp.texi (System V contexts): Add note that
1781         calling setcontext on a context created by a call to a
1782         signal handler is undefined.  Update text to note that
1783         setcontext from a signal handler is possible but not
1784         recommended.
1785
1786         [BZ #16629]
1787         * stdlib/tst-setcontext.c: Include signal.h.
1788         (main): Check that the signal stack before and
1789         after swapcontext is the same.
1790
1791         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
1792         Re-implement to restore registers in user code and avoid
1793         rt_sigreturn system call.
1794
1795 2014-04-17  Wilco  <wdijkstr@arm.com>
1796
1797         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
1798         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
1799         * math/test-fenv.c: Skip exception trap tests on targets which only
1800         support non-stop mode.
1801
1802 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
1803             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1804
1805         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
1806         (libc_feholdsetround_aarch64_ctx)
1807         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
1808         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
1809         (libc_feresetround_ctx, libc_feresetroundf_ctx)
1810         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
1811         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
1812         (libc_feresetround_noexl_ctx): Define.
1813
1814 2014-04-16  Richard Henderson  <rth@redhat.com>
1815
1816         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
1817
1818         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
1819         unwind tables.
1820
1821         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
1822         const from the non-libc, non-ldso copy.
1823
1824         * sysdeps/alpha/libm-test-ulps: Regenerate.
1825
1826 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
1827             Wilco Dijkstra  <wilco.dijkstra@arm.com>
1828
1829         * sysdeps/aarch64/fpu/math_private.h: New file.
1830
1831 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
1832
1833         * sysdeps/aarch64/libm-test-ulps: Regenerate.
1834
1835 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
1836
1837         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
1838         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
1839         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
1840         Intel MPX bound registers before _dl_profile_fixup.
1841         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
1842         registers after _dl_profile_fixup.  Save and restore bound
1843         registers bnd0/bnd1 when calling _dl_call_pltexit.
1844         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
1845         (LR_BND_OFFSET): Likewise.
1846         (LRV_BND0_OFFSET): Likewise.
1847         (LRV_BND1_OFFSET): Likewise.
1848
1849 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1850
1851         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
1852         to...
1853         * sysdeps/mach/hurd/i386/tls.h: ... here.
1854         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
1855         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
1856         fields.
1857
1858 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
1859
1860         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
1861
1862 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1863
1864         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
1865
1866 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
1867
1868         [BZ #14770]
1869         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
1870         * sysdeps/s390/configure: Regenerate.
1871
1872         [BZ #16824]
1873         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
1874         Set round-to-nearest internally to reduce error accumulation.
1875
1876 2014-04-16  Alan Modra  <amodra@gmail.com>
1877
1878         [BZ #16740]
1879         [BZ #16619]
1880         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
1881         * math/libm-test.inc (frexp_test_data): Add tests.
1882         * NEWS: Update fixed bug list.
1883
1884 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
1885
1886         * benchtests/Makefile: Depend on libraries in build directory.
1887         (bench-math): Separate out math tests.
1888         (bench-pthread): Separate out pthread tests.
1889         (bench): Include math and pthread tests.
1890
1891 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
1892
1893         [BZ #16831]
1894         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
1895         _dl_debug_initialize.
1896
1897         * configure.ac: Remove SELinux header check.
1898         * configure: Regenerate.
1899         * nscd/selinux.c (perms): Array of const char* to permission names.
1900         (nscd_request_avc_has_perm): Call security_deny_unknown to find
1901         default policy. Call string_to_security_class and string_to_av_perm to
1902         translate strings. Enforce default policy and call avs_has_perm with
1903         results of translated strings.
1904
1905 2014-04-13  David S. Miller  <davem@davemloft.net>
1906
1907         * sysdeps/sparc/fpu/libm-test-ulps: Update.
1908
1909 2014-04-12  Allan McRae  <allan@archlinux.org>
1910
1911         [BZ #16838]
1912         * manual/string.texi (Collation Functions): Fix qsort argument
1913         order in example.
1914         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
1915
1916 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
1917
1918         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
1919         Make the test a no-op if there are no exceptions defined.
1920
1921 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
1922
1923         * elf/Makefile (tests): make tst-dlopen-aout conditional on
1924         enable-hardcoded-path-in-tests
1925
1926 2014-04-11  Will Newton  <will.newton@linaro.org>
1927
1928         * benchtests/Makefile (extra-objs): Add json-lib.o.
1929         (bench-func): Tidy up JSON output.
1930         * benchtests/bench-skeleton.c: Include json-lib.h.
1931         (main): Use JSON library functions to do output of
1932         benchmark results.
1933         * benchtests/bench-timing-type.c (main): Output the
1934         timing type simply, leaving formatting to the user.
1935         * benchtests/json-lib.c: New file.
1936         * benchtests/json-lib.h: Likewise.
1937
1938 2014-04-11  Torvald Riegel  <triegel@redhat.com>
1939
1940         [BZ #15215]
1941         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
1942         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
1943         memory barriers.  Add comments.
1944         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
1945         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
1946         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
1947         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
1948         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
1949         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
1950
1951 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
1952
1953         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
1954         * sysdeps/s390/s390-64/configure.ac: ... this ...
1955         * sysdeps/s390/configure.ac: ... to here.
1956         * sysdeps/s390/s390-32/configure: Delete file.
1957         * sysdeps/s390/s390-64/configure: Delete file.
1958         * sysdeps/s390/configure: Regenerate.
1959
1960 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
1961
1962         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
1963
1964 2014-04-11  Will Newton  <will.newton@linaro.org>
1965
1966         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
1967         to zero if it is not defined elsewhere.  (mtrim): Test
1968         the value of MALLOC_DEBUG with #if rather than #ifdef.
1969
1970 2014-04-10 Torvald Riegel  <triegel@redhat.com>
1971
1972         * benchtests/pthread_once-inputs: New file.
1973         * benchtests/pthread_once-source.c: New file.
1974         * benchtests/README: Update documentation.
1975
1976 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
1977             H.J. Lu  <hongjiu.lu@intel.com>
1978
1979         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
1980         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
1981         * sysdeps/x86_64/configure: Regenerated.
1982         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
1983         macro.
1984         (REGISTER_SAVE_RAX): Likewise.
1985         (REGISTER_SAVE_RCX): Likewise.
1986         (REGISTER_SAVE_RDX): Likewise.
1987         (REGISTER_SAVE_RSI): Likewise.
1988         (REGISTER_SAVE_RDI): Likewise.
1989         (REGISTER_SAVE_R8): Likewise.
1990         (REGISTER_SAVE_R9): Likewise.
1991         (REGISTER_SAVE_BND0): Likewise.
1992         (REGISTER_SAVE_BND1): Likewise.
1993         (REGISTER_SAVE_BND2): Likewise.
1994         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
1995         bound registers when calling _dl_fixup.
1996
1997 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1998
1999         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
2000         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
2001         of its definition.
2002         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
2003         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
2004         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
2005         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
2006         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
2007         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
2008         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
2009
2010 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
2011
2012         [BZ #15514]
2013         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
2014         pathconf(_PC_NAME_MAX).
2015
2016 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2017
2018         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
2019         Remove macro usage.
2020         (__PTHREAD_SPINS): Move definition to ...
2021         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2022         (__PTHREAD_SPINS): ... here.
2023         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2024         (__PTHREAD_SPIN): Likewise.
2025         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
2026         (__PTHREAD_SPIN): Likewise.
2027         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
2028         (__PTHREAD_SPIN): Likewise.
2029         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
2030         (__PTHREAD_SPIN): Likewise.
2031         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
2032         (__PTHREAD_SPIN): Likewise.
2033         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
2034         (__PTHREAD_SPIN): Likewise.
2035         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
2036         (__PTHREAD_SPIN): Likewise.
2037         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
2038         (__PTHREAD_SPIN): Likewise.
2039         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
2040         (__PTHREAD_SPIN): Likewise.
2041         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
2042         (__PTHREAD_SPIN): Likewise.
2043         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
2044         (__PTHREAD_SPIN): Likewise.
2045         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
2046         (__PTHREAD_SPIN): Likewise.
2047
2048         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
2049         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
2050         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
2051         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
2052         imply folder.
2053         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
2054         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
2055         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
2056         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
2057         correct imply path.
2058         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
2059         strlen symbol for non multi-arch builds.
2060         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
2061         missing hidden_def and weak_alias.
2062
2063 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
2064
2065         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
2066
2067 2014-04-07  Will Newton  <will.newton@linaro.org>
2068
2069         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
2070         and contents.  [!_LIBC] Remove #ifndef and contents.
2071         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
2072         * string/memccpy.c (__memccpy): Use ANSI prototype.
2073         * string/memfrob.c (memfrob): Likewise.
2074         * string/strcoll.c (STRCOLL): Likewise.
2075         * string/strlen.c (strlen): Likewise.
2076         * string/strtok.c (STRTOK): Likewise.
2077         * string/strcat.c: Remove unused #include of memcopy.h.
2078         (strcat): Use ANSI prototype.
2079         * string/strchr.c: Remove unused #include of memcopy.h.
2080         (strchr): Use ANSI prototype.
2081         * string/strcmp.c: Remove unused #include of memcopy.h.
2082         (strcmp): Use ANSI prototype.
2083         * string/strcpy.c: Remove unused #include of memcopy.h.
2084         (strcpy): Use ANSI prototype.
2085
2086 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2087
2088         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
2089         * config.make.in (config-extra-cppflags): Set it from
2090         libc_extra_cppflags.
2091         * configure.ac (libc_extra_cflags): Make it accumulate over
2092         configure fragments.
2093         (libc_extra_cppflags): New flag.
2094         * configure. Regenerate.
2095         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
2096         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
2097         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
2098         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
2099
2100         [BZ #16815]
2101         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
2102         result for FE_DOWNWARD rounding mode.
2103         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
2104         Likewise.
2105         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2106
2107 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
2108
2109         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
2110         in function argument name.
2111
2112 2014-04-03  David Svoboda  <svoboda@cert.org>
2113
2114         [BZ #5666]
2115         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
2116         explicitly.
2117
2118 2014-04-03  Roland McGrath  <roland@hack.frob.com>
2119
2120         * elf/dl-unmap-segments.h: New file.
2121         * sysdeps/generic/ldsodefs.h
2122         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
2123         * elf/dl-close.c: Include <dl-unmap-segments.h>.
2124         * elf/dl-fptr.c: Likewise.
2125         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
2126         * sysdeps/aarch64/tlsdesc.c: Likewise.
2127         * sysdeps/arm/tlsdesc.c: Likewise.
2128         * sysdeps/i386/tlsdesc.c: Likewise.
2129         * sysdeps/tile/dl-runtime.c: Likewise.
2130         * sysdeps/x86_64/tlsdesc.c: Likewise.
2131         * elf/dl-load.h: New file.
2132         * elf/dl-load.c: Include it.
2133         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
2134         Macros moved to dl-load.h.
2135         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
2136         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
2137         Use _dl_unmap_segments in place of __munmap.
2138         Break out segment-mapping loop into ...
2139         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
2140
2141 2014-04-03  Will Newton  <will.newton@linaro.org>
2142
2143         * elf/dl-lookup.c (do_lookup_x): Remove comment
2144         referring to nested function and move variable
2145         declarations down to before first use.
2146
2147 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
2148
2149         [BZ #16799]
2150         [BZ #16800]
2151         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
2152         with 0 numerator.
2153         * math/s_catanf.c (__catanf): Likewise.
2154         * math/s_catanh.c (__catanh): Likewise.
2155         * math/s_catanhf.c (__catanhf): Likewise.
2156         * math/s_catanhl.c (__catanhl): Likewise.
2157         * math/s_catanl.c (__catanl): Likewise.
2158         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
2159         by positive zero when computing -Inf result.
2160         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
2161         (catanh_test): Likewise.
2162         * sysdeps/i386/fpu/libm-test-ulps: Update.
2163         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2164
2165         [BZ #16789]
2166         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
2167         instead of using underflowing value in computing result.
2168         * math/s_clog10.c (__clog10): Likewise.
2169         * math/s_clog10f.c (__clog10f): Likewise.
2170         * math/s_clog10l.c (__clog10l): Likewise.
2171         * math/s_clogf.c (__clogf): Likewise.
2172         * math/s_clogl.c (__clogl): Likewise.
2173         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
2174         (clog10_test): Likewise.
2175         * sysdeps/i386/fpu/libm-test-ulps: Update.
2176         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2177
2178 2014-04-02  Alan Modra  <amodra@gmail.com>
2179
2180         [BZ #16739]
2181         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
2182         output when value is near a power of two.  Use int64_t for lx and
2183         remove casts.  Use decimal rather than hex exponent constants.
2184         Don't use long double multiplication when double will suffice.
2185         * math/libm-test.inc (nextafter_test_data): Add tests.
2186         * NEWS: Add 16739 and 16786 to bug list.
2187
2188         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
2189
2190         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
2191
2192 2014-04-01  Will Newton  <will.newton@linaro.org>
2193
2194         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
2195         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
2196
2197 2014-04-01  Florian Weimer  <fweimer@redhat.com>
2198
2199         [BZ #13347]
2200         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
2201         * nptl/tst-setuid2.c: New file.
2202         * nptl/Makefile (xtests): Add tst-setuid2.
2203
2204 2014-04-01  Alan Modra  <amodra@gmail.com>
2205
2206         [BZ #16786]
2207         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
2208
2209 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2210
2211         [BZ #6803]
2212         [BZ #6804]
2213         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
2214         set errno as appropriate.
2215         * math/w_scalbf.c (__scalbf): Likewise.
2216         * math/w_scalbl.c (__scalbl): Likewise.
2217         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
2218         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
2219         * math/libm-test.inc (scalb_test_data): Add errno expectations.
2220         Add more NaN tests.
2221
2222         [BZ #16349]
2223         * math/w_atan2.c: Include <errno.h>.
2224         (__atan2): Set errno for result underflowing to zero.
2225         * math/w_atan2f.c: Include <errno.h>.
2226         (__atan2f): Set errno for result underflowing to zero.
2227         * math/w_atan2l.c: Include <errno.h>.
2228         (__atan2l): Set errno for result underflowing to zero.
2229         * math/auto-libm-test-in: Don't allow missing errno for some atan2
2230         tests.
2231         * math/auto-libm-test-out: Regenerated.
2232
2233 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2234
2235         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
2236         Encode instruction correctly in little endian.
2237         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
2238         Likewise.
2239         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
2240         Likewise.
2241         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
2242         Likewise.
2243         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
2244         Likewise.
2245
2246 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
2247
2248         [BZ #9894]
2249         * sysdeps/unix/sysv/linux/kernel-features.h
2250         [__sparc__ && !__arch64__ && !__sparc_v9__]
2251         (__ASSUME_SET_ROBUST_LIST): Do not define.
2252         [__sparc__ && !__arch64__ && !__sparc_v9__]
2253         (__ASSUME_FUTEX_LOCK_PI): Likewise.
2254         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
2255         Likewise.
2256         * sysdeps/unix/sysv/linux/arm/kernel-features.h
2257         (__ASSUME_FUTEX_LOCK_PI): Undefine.
2258         (__ASSUME_REQUEUE_PI): Likewise.
2259         (__ASSUME_SET_ROBUST_LIST): Likewise.
2260         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
2261         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
2262         Undefine.
2263         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2264         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
2265         Likewise.
2266         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
2267         Likewise.
2268         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
2269         Likewise.
2270         * sysdeps/unix/sysv/linux/mips/kernel-features.h
2271         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
2272         Undefine.
2273         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
2274         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
2275         Likewise.
2276
2277         [BZ #16648]
2278         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2279         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
2280         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
2281
2282 2014-03-31  Will Newton  <will.newton@linaro.org>
2283
2284         * benchtests/Makefile (bench): Add ffs and ffsll to list
2285         of tests.
2286         * benchtests/ffs-inputs: New file.
2287         * benchtests/ffsll-inputs: Likewise.
2288
2289 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
2290
2291         [BZ #16770]
2292         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
2293         too large before casting to int.
2294         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
2295         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
2296         * math/libm-test.inc (scalb_test_data): Add more tests.
2297
2298 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
2299
2300         * benchtests/Makefile (DETAILED_OPT): New make option.
2301         (bench-func): Run benchmark program with -d if DETAILED_OPT is
2302         set.
2303         * benchtests/bench-skeleton.c: Include stdbool.h.
2304         (main): Store and print timings per input.
2305         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
2306         member to each argument value.
2307         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
2308         (_print_arg_data): Initialize per-input timing to 0.
2309
2310         * benchtests/Makefile (timing-type): New binary.
2311         (bench-clean): Also remove bench-timing-type.
2312         (bench): New target for timing-type.
2313         (bench-func): Print output in JSON format.
2314         * benchtests/bench-skeleton.c (main): Print output in JSON
2315         format.
2316         * benchtests/bench-timing-type.c: New file.
2317         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
2318         (TIMING_PRINT_STATS): Remove.
2319         * benchtests/scripts/bench.py (_print_arg_data): Store variant
2320         name separately.
2321
2322         * benchtests/bench-modf.c: Remove.
2323         * benchtests/modf-inputs: New inputs file.
2324
2325 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
2326
2327         [BZ #16362]
2328         * math/s_clog10.c (M_PI_LOG10E): New macro.
2329         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
2330         imaginary parts are 0.
2331         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
2332         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
2333         imaginary parts are 0.
2334         * math/s_clog10l.c (M_PI_LOG10El): New macro.
2335         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
2336         imaginary parts are 0.
2337         * math/libm-test.inc (clog10_test_data): Update expected results
2338         for when real and imaginary parts are 0.
2339
2340 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
2341
2342         * elf/dl-load.c: Finish conversion of __builtin_expect into
2343         __glibc_{un}likely.
2344
2345 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
2346
2347         [BZ #16348]
2348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
2349         1+x for argument with exponent below -67.
2350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
2351         Likewise.
2352         * math/auto-libm-test-in: Add more tests of exp.
2353         * math/auto-libm-test-out: Regenerated.
2354
2355 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2356
2357         [BZ #16759]
2358         * inet/getnetgrent_r.c (get_nonempty_val): New function.
2359         (nscd_getnetgrent): Use it.
2360
2361         [BZ #16760]
2362         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
2363         of stpcpy.
2364
2365 2014-03-27  Andi Kleen  <ak@linux.intel.com>
2366
2367         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
2368         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2369         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2370         (lll_robust_unlock): Remove out of line section. Use cfi
2371         intrinsics.
2372         (LLL_STUB_UNWIND_INFO*): Remove.
2373         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
2374         (lll_robust_lock, lll_cond_lock, lll_timedlock)
2375         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
2376         (lll_robust_unlock): Remove out of line section. Use cfi
2377         intrinsics.
2378         (LLL_STUB_UNWIND_INFO*): Remove.
2379
2380 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
2381
2382         [BZ #16758]
2383         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
2384         blank values.
2385
2386 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
2387
2388         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
2389
2390 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
2391
2392         [BZ #16198]
2393         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
2394         fnstenv.
2395         * math/test-fenv-preserve.c: New file.
2396         * math/Makefile (tests): Add test-fenv-preserve.
2397
2398 2014-03-26  Will Newton <will.newton@linaro.org>
2399
2400         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
2401
2402 2014-03-25  Roland McGrath  <roland@hack.frob.com>
2403
2404         * scripts/versionlist.awk: Partition the version sets and emit all
2405         GLIBC_* (sorted) before all others (sorted).
2406
2407 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2408
2409         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
2410         GLIBC_2.2.5 version.
2411
2412 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2413
2414         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
2415         calls.
2416
2417         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
2418         previous change.
2419
2420         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2421
2422 2014-03-25  Andreas Schwab  <schwab@suse.de>
2423
2424         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
2425         label to be used after in6ailist is initialized.
2426
2427 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2428
2429         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
2430         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2431
2432 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
2433
2434         [BZ #16357]
2435         [BZ #16599]
2436         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
2437         min_plus_half.
2438         (fp_formats): Update initializers.
2439         (init_fp_formats): Initialize new field.
2440         (output_for_one_input_case): Allow underflow for results up to
2441         min_plus_half.
2442         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
2443         * math/auto-libm-test-in: Don't mark some underflows from asin and
2444         atanh as spurious.
2445         * math/auto-libm-test-out: Regenerated.
2446         * sysdeps/i386/fpu/libm-test-ulps: Update.
2447         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2448
2449 2014-03-25  Andreas Schwab  <schwab@suse.de>
2450
2451         * libio/Makefile (tst-ftell-partial-wide-ENV)
2452         (tst-ftell-active-handler-ENV): Define.
2453
2454 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
2455
2456         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
2457
2458 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2459
2460         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
2461
2462 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2463
2464         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
2465         * sysdeps/x86_64/fpu/multiarch/e_exp.c
2466         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
2467
2468 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
2469
2470         [BZ #16634]
2471         * elf/dl-load.c (open_verify): Add mode parameter.
2472         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
2473         (open_path): Change from boolean 'secure' to complete flag 'mode'
2474         (_dl_map_object): Adjust.
2475         * elf/Makefile (tests): Add tst-dlopen-aout.
2476         * elf/tst-dlopen-aout.c: New test.
2477
2478 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
2479
2480         [BZ #16714]
2481         * sysdeps/unix/sysv/linux/s390/bits/stat.h
2482         (struct stat): Rename member pad0 to __glibc_reserved0.
2483
2484         [BZ #16712]
2485         * sysdeps/s390/s390-32/bits/wordsize.h
2486         (__WORDSIZE32_SIZE_ULONG): New define.
2487         * sysdeps/s390/s390-64/bits/wordsize.h
2488         (__WORDSIZE32_SIZE_ULONG): Likewise.
2489         * sysdeps/generic/stdint.h (SIZE_MAX):
2490         Define as UL if __WORDSIZE32_SIZE_ULONG.
2491
2492         [BZ #16713]
2493         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
2494         (__glibc_reserved0): New variable.
2495         (sa_flags): Change type to int.
2496
2497         * posix/Makefile (before-compile): Use += before-compile instead
2498         of a :=.
2499
2500         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
2501         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
2502
2503 2014-03-20  Andreas Schwab  <schwab@suse.de>
2504
2505         [BZ #16743]
2506         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
2507         non-matching result from nscd.
2508
2509 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
2510
2511         * scripts/bench.py: Moved to ...
2512         * benchtests/scripts/bench.py: ... here.
2513         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
2514
2515 2014-03-24  Andreas Schwab  <schwab@suse.de>
2516
2517         [BZ #16002]
2518         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
2519         alloca_account and account alloca use for struct in6ailist.
2520
2521 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
2522
2523         [BZ #16284]
2524         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
2525         rounding mode to recompute results that overflow to infinity or
2526         underflow to zero.
2527         * math/auto-libm-test-in: Don't mark tests as expected to fail for
2528         bug 16284.
2529         * math/auto-libm-test-out: Regenerated.
2530         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
2531         (ccosh_test): Likewise.
2532         (csin_test_data): Use plus_oflow.
2533         (csin_test): Use ALL_RM_TEST.
2534         (csinh_test_data): Use plus_oflow.
2535         (csinh_test): Use ALL_RM_TEST.
2536         * sysdeps/i386/fpu/libm-test-ulps: Update.
2537         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2538
2539 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
2540
2541         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
2542         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
2543         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
2544
2545         [BZ #16731]
2546         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
2547         when x - 1 is zero.
2548         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
2549         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
2550         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
2551         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
2552         argument is 1.
2553         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
2554         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
2555         zero.
2556         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
2557         * sysdeps/i386/fpu/libm-test-ulps: Update.
2558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2559
2560 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
2561
2562         * scripts/bench.pl: Remove file.
2563         * scripts/bench.py: New benchmark script.
2564         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
2565         * benchtests/README: Mention python dependency.
2566         * scripts/pylintrc: New file.
2567         * scripts/pylint: New file.
2568
2569         * bits/mathdef.h: Use #ifdef instead of #if.
2570         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
2571         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2572         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
2573         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2574         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
2575         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
2576
2577 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2578             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
2579
2580         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
2581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
2582         and strpbrk-ppc64 objects.
2583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2584         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
2585         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
2586         multiarch strpbrk for POWER7.
2587         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
2588         multiarch strpbrk for PPC64.
2589         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
2590         ifunc selector.
2591         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
2592         strpbrk for POWER7.
2593
2594 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2595
2596         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
2597         (atan_test): Likewise.
2598         (atanh_test_data): Use NO_TEST_INLINE for two tests.
2599         (atanh_test): Use ALL_RM_TEST.
2600         (atan2_test_data): Likewise.
2601         (cabs_test): Likewise.
2602         (cacosh_test): Likewise.
2603         (carg_test): Likewise.
2604         (casin_test): Likewise.
2605         (casinh_test): Likewise.
2606         (cbrt_test): Likewise.
2607         (csqrt_test): Likewise.
2608         (erf_test): Likewise.
2609         (erfc_test): Likewise.
2610         (pow10_test): Likewise.
2611         (exp2_test): Likewise.
2612         (hypot_test): Likewise.
2613         (j0_test): Likewise.
2614         (j1_test): Likewise.
2615         (lgamma_test): Likewise.
2616         (gamma_test): Likewise.
2617         (sincos_test): Likewise.
2618         (tanh_test): Likewise.
2619         (y0_test): Likewise.
2620         (y1_test): Likewise.
2621         * sysdeps/i386/fpu/libm-test-ulps: Update.
2622         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
2623
2624 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2625
2626         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
2627         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
2628         and strcspn-ppc64 objects.
2629         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2630         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
2631         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
2632         multiarch strcspn for POWER7.
2633         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
2634         multiarch strcspn for PPC64.
2635         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
2636         ifunc selector.
2637         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
2638         strcspn for POWER7.
2639
2640 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
2641
2642         * math/gen-libm-test.pl (generate_testfile): Expect only function
2643         name as argument to AUTO_TESTS_* and pass results for all rounding
2644         modes to parse_args.
2645         (parse_auto_input): Separate inputs of automatic tests from
2646         outputs before storing in %auto_tests.
2647         * math/libm-test.inc (acos_test_data): Update call to
2648         AUTO_TESTS_f_f.
2649         (acos_test): Use ALL_RM_TEST.
2650         (acos_tonearest_test_data): Remove.
2651         (acos_test_tonearest): Likewise.
2652         (acos_towardzero_test_data): Likewise.
2653         (acos_test_towardzero): Likewise.
2654         (acos_downward_test_data): Likewise.
2655         (acos_test_downward): Likewise.
2656         (acos_upward_test_data): Likewise.
2657         (acos_test_upward): Likewise.
2658         (acosh_test_data): Update call to AUTO_TESTS_f_f.
2659         (asin_test_data): Likewise.
2660         (asin_test): Use ALL_RM_TEST.
2661         (asin_tonearest_test_data): Remove.
2662         (asin_test_tonearest): Likewise.
2663         (asin_towardzero_test_data): Likewise.
2664         (asin_test_towardzero): Likewise.
2665         (asin_downward_test_data): Likewise.
2666         (asin_test_downward): Likewise.
2667         (asin_upward_test_data): Likewise.
2668         (asin_test_upward): Likewise.
2669         (asinh_test_data): Update call to AUTO_TESTS_f_f.
2670         (atan_test_data): Likewise.
2671         (atanh_test_data): Likewise.
2672         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
2673         (cabs_test_data): Update call to AUTO_TESTS_c_f.
2674         (carg_test_data): Likewise.
2675         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
2676         (ccos_test_data): Update call to AUTO_TESTS_c_c.
2677         (ccosh_test_data): Likewise.
2678         (cexp_test_data): Likewise.
2679         (clog_test_data): Likewise.
2680         (clog10_test_data): Likewise.
2681         (cos_test_data): Update call to AUTO_TESTS_f_f.
2682         (cos_test): Use ALL_RM_TEST.
2683         (cos_tonearest_test_data): Remove.
2684         (cos_test_tonearest): Likewise.
2685         (cos_towardzero_test_data): Likewise.
2686         (cos_test_towardzero): Likewise.
2687         (cos_downward_test_data): Likewise.
2688         (cos_test_downward): Likewise.
2689         (cos_upward_test_data): Likewise.
2690         (cos_test_upward): Likewise.
2691         (cosh_test_data): Update call to AUTO_TESTS_f_f.
2692         (cosh_test): Use ALL_RM_TEST.
2693         (cosh_tonearest_test_data): Remove.
2694         (cosh_test_tonearest): Likewise.
2695         (cosh_towardzero_test_data): Likewise.
2696         (cosh_test_towardzero): Likewise.
2697         (cosh_downward_test_data): Likewise.
2698         (cosh_test_downward): Likewise.
2699         (cosh_upward_test_data): Likewise.
2700         (cosh_test_upward): Likewise.
2701         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
2702         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
2703         (ctan_test_data): Likewise.
2704         (ctan_test): Use ALL_RM_TEST.
2705         (ctan_tonearest_test_data): Remove.
2706         (ctan_test_tonearest): Likewise.
2707         (ctan_towardzero_test_data): Likewise.
2708         (ctan_test_towardzero): Likewise.
2709         (ctan_downward_test_data): Likewise.
2710         (ctan_test_downward): Likewise.
2711         (ctan_upward_test_data): Likewise.
2712         (ctan_test_upward): Likewise.
2713         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
2714         (ctanh_test): Use ALL_RM_TEST.
2715         (ctanh_tonearest_test_data): Remove.
2716         (ctanh_test_tonearest): Likewise.
2717         (ctanh_towardzero_test_data): Likewise.
2718         (ctanh_test_towardzero): Likewise.
2719         (ctanh_downward_test_data): Likewise.
2720         (ctanh_test_downward): Likewise.
2721         (ctanh_upward_test_data): Likewise.
2722         (ctanh_test_upward): Likewise.
2723         (erf_test_data): Update call to AUTO_TESTS_f_f.
2724         (erfc_test_data): Likewise.
2725         (exp_test_data): Likewise.
2726         (exp_test): Use ALL_RM_TEST.
2727         (exp_tonearest_test_data): Remove.
2728         (exp_test_tonearest): Likewise.
2729         (exp_towardzero_test_data): Likewise.
2730         (exp_test_towardzero): Likewise.
2731         (exp_downward_test_data): Likewise.
2732         (exp_test_downward): Likewise.
2733         (exp_upward_test_data): Likewise.
2734         (exp_test_upward): Likewise.
2735         (exp10_test_data): Update call to AUTO_TESTS_f_f.
2736         (exp10_test): Use ALL_RM_TEST.
2737         (exp10_tonearest_test_data): Remove.
2738         (exp10_test_tonearest): Likewise.
2739         (exp10_towardzero_test_data): Likewise.
2740         (exp10_test_towardzero): Likewise.
2741         (exp10_downward_test_data): Likewise.
2742         (exp10_test_downward): Likewise.
2743         (exp10_upward_test_data): Likewise.
2744         (exp10_test_upward): Likewise.
2745         (exp2_test_data): Update call to AUTO_TESTS_f_f.
2746         (expm1_test_data): Likewise.
2747         (expm1_test): Use ALL_RM_TEST.
2748         (expm1_tonearest_test_data): Remove.
2749         (expm1_test_tonearest): Likewise.
2750         (expm1_towardzero_test_data): Likewise.
2751         (expm1_test_towardzero): Likewise.
2752         (expm1_downward_test_data): Likewise.
2753         (expm1_test_downward): Likewise.
2754         (expm1_upward_test_data): Likewise.
2755         (expm1_test_upward): Likewise.
2756         (fma_test_data): Update call to AUTO_TESTS_fff_f.
2757         (fma_test): Use ALL_RM_TEST.
2758         (fma_towardzero_test_data): Remove.
2759         (fma_test_towardzero): Likewise.
2760         (fma_downward_test_data): Likewise.
2761         (fma_test_downward): Likewise.
2762         (fma_upward_test_data): Likewise.
2763         (fma_test_upward): Likewise.
2764         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
2765         (j0_test_data): Update call to AUTO_TESTS_f_f.
2766         (j1_test_data): Likewise.
2767         (jn_test_data): Update call to AUTO_TESTS_if_f.
2768         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
2769         (log_test_data): Update call to AUTO_TESTS_f_f.
2770         (log10_test_data): Likewise.
2771         (log1p_test_data): Likewise.
2772         (log2_test_data): Likewise.
2773         (pow_test_data): Update call to AUTO_TESTS_ff_f.
2774         (pow_tonearest_test_data): Likewise.
2775         (sin_test_data): Update call to AUTO_TESTS_f_f.
2776         (sin_test): Use ALL_RM_TEST.
2777         (sin_tonearest_test_data): Remove.
2778         (sin_test_tonearest): Likewise.
2779         (sin_towardzero_test_data): Likewise.
2780         (sin_test_towardzero): Likewise.
2781         (sin_downward_test_data): Likewise.
2782         (sin_test_downward): Likewise.
2783         (sin_upward_test_data): Likewise.
2784         (sin_test_upward): Likewise.
2785         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
2786         (sinh_test_data): Update call to AUTO_TESTS_f_f.
2787         (sinh_test): Use ALL_RM_TEST.
2788         (sinh_tonearest_test_data): Remove.
2789         (sinh_test_tonearest): Likewise.
2790         (sinh_towardzero_test_data): Likewise.
2791         (sinh_test_towardzero): Likewise.
2792         (sinh_downward_test_data): Likewise.
2793         (sinh_test_downward): Likewise.
2794         (sinh_upward_test_data): Likewise.
2795         (sinh_test_upward): Likewise.
2796         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
2797         (sqrt_test): Use ALL_RM_TEST.
2798         (sqrt_tonearest_test_data): Remove.
2799         (sqrt_test_tonearest): Likewise.
2800         (sqrt_towardzero_test_data): Likewise.
2801         (sqrt_test_towardzero): Likewise.
2802         (sqrt_downward_test_data): Likewise.
2803         (sqrt_test_downward): Likewise.
2804         (sqrt_upward_test_data): Likewise.
2805         (sqrt_test_upward): Likewise.
2806         (tan_test_data): Update call to AUTO_TESTS_f_f.
2807         (tan_test): Use ALL_RM_TEST.
2808         (tan_tonearest_test_data): Remove.
2809         (tan_test_tonearest): Likewise.
2810         (tan_towardzero_test_data): Likewise.
2811         (tan_test_towardzero): Likewise.
2812         (tan_downward_test_data): Likewise.
2813         (tan_test_downward): Likewise.
2814         (tan_upward_test_data): Likewise.
2815         (tan_test_upward): Likewise.
2816         (tanh_test_data): Update call to AUTO_TESTS_f_f.
2817         (tgamma_test_data): Likewise.
2818         (y0_test_data): Likewise.
2819         (y1_test_data): Likewise.
2820         (yn_test_data): Update call to AUTO_TESTS_if_f.
2821         (main): Do not call removed functions.
2822
2823 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2824
2825         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
2826         (ldexp_test_data): Remove.
2827         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
2828         scalbn_test_data.
2829         (scalb_test): Use ALL_RM_TEST.
2830
2831 2014-03-19  Andreas Schwab  <schwab@suse.de>
2832
2833         * nscd/nscd.service: Also invalidate netgroup cache on reload.
2834
2835 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
2836
2837         [BZ #16649]
2838         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
2839         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
2840         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
2841         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2842         (__ASSUME_PREADV): Undefine.
2843         (__ASSUME_PWRITEV): Likewise.
2844
2845 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2846
2847         * bits/mman-linux.h: Add comment about non-Linux use.
2848         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
2849         bits/mman-linux.h resting place.
2850
2851         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
2852         * bits/mman-linux.h: ... here.
2853
2854 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2855
2856         * conform/conformtest.pl: Add standard definition when calling C
2857         preprocessor on data files.
2858         (checknamespace): Remove unused variable.
2859
2860 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2861
2862         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
2863         minus_oflow, plus_uflow and minus_uflow in expected results.
2864         * math/libm-test.inc (scalbn_test_data): Add more tests of
2865         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
2866         minus_uflow.
2867         (scalbn_test): Use ALL_RM_TEST.
2868         (scalbln_test_data): Add more tests of negative arguments.  Use
2869         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
2870         (scalbln_test): Use ALL_RM_TEST.
2871
2872 2014-03-18  Roland McGrath  <roland@hack.frob.com>
2873
2874         * scripts/abilist.awk: Ignore symbols marked with .hidden.
2875
2876 2014-03-18  Will Newton  <will.newton@linaro.org>
2877
2878         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
2879         inaccurate comment.
2880
2881 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
2882
2883         * Makerules [!subdir] (check-abi): Exit with error status if a
2884         test failed.
2885
2886 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2887
2888         * math/libm-test.inc (nearbyint_test_data): Include all tests used
2889         for rint.  Include results for all rounding modes.
2890         (nearbyint_test): Use ALL_RM_TEST.
2891         (rint_test_data): Include all tests used for nearbyint.
2892
2893 2014-03-17  Will Newton  <will.newton@linaro.org>
2894
2895         * nptl/sysdeps/pthread/pthread.h: Revert previous
2896         change.
2897
2898         * sysdeps/generic/ldsodefs.h: Revert previous
2899         change.
2900
2901         * libio/genops.c: Revert previous change.
2902         * libio/libioP.h: Likewise.
2903         * stdio-common/vfprintf.c: Likewise.
2904
2905         * sysdeps/generic/math_private.h: Revert previous
2906         change.
2907
2908         * sysdeps/generic/math_private.h: Check whether
2909         HAVE_RM_CTX is defined with #ifdef rather
2910         than #if.
2911
2912         * argp/argp-fmtstream.h: Check whether
2913         __STRICT_ANSI__ is defined with #ifdef rather
2914         than #if.
2915         * argp/argp.h: Likewise.
2916
2917         * libio/genops.c: Check whether
2918         _IO_JUMPS_OFFSET is defined with #ifdef rather
2919         than #if.
2920         * libio/libioP.h: Likewise.
2921         * stdio-common/vfprintf.c: Likewise.
2922
2923         * sysdeps/generic/ldsodefs.h: Check whether
2924         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
2925         than #if.
2926
2927         * nptl/sysdeps/pthread/pthread.h: Check
2928         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
2929         its value.
2930
2931 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
2932
2933         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
2934         setting O_APPEND.
2935         * libio/tst-ftell-active-handler.c (do_append_test): Add a
2936         test case.
2937
2938         [BZ #16680]
2939         * libio/fileops.c (_IO_file_open): Seek to end of file but
2940         don't cache the offset.
2941         (get_file_offset): Remove function.
2942         (do_ftell): Use cached offset when available.
2943         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
2944         don't cache the offset.
2945         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
2946         case.
2947         (do_one_test): Call it.
2948         (do_ftell_test): Fix up expected old offset for a+ mode.
2949         * libio/wfileops.c (do_ftell_wide): Used cached offset when
2950         available.
2951
2952         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
2953         up test status with function return status.
2954         (do_write_test): Likewise.
2955         (do_append_test): Likewise.
2956
2957         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
2958         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
2959         Remove.
2960
2961 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
2962
2963         * math/gen-libm-test.pl (parse_args): Handle results specified for
2964         each rounding mode separately.
2965         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
2966         tests and results from lrint_tonearest_test_data,
2967         lrint_towardzero_test_data, lrint_downward_test_data and
2968         lrint_upward_test_data.
2969         (lrint_test): Use ALL_RM_TEST.
2970         (lrint_tonearest_test_data): Remove.
2971         (lrint_test_tonearest): Likewise.
2972         (lrint_towardzero_test_data): Likewise.
2973         (lrint_test_towardzero): Likewise.
2974         (lrint_downward_test_data): Likewise.
2975         (lrint_test_downward): Likewise.
2976         (lrint_upward_test_data): Likewise.
2977         (lrint_test_upward): Likewise.
2978         (llrint_test_data): Merge in per-rounding-mode tests and results
2979         from llrint_tonearest_test_data, llrint_towardzero_test_data,
2980         llrint_downward_test_data and llrint_upward_test_data.
2981         (llrint_test): Use ALL_RM_TEST.
2982         (llrint_tonearest_test_data): Remove.
2983         (llrint_test_tonearest): Likewise.
2984         (llrint_towardzero_test_data): Likewise.
2985         (llrint_test_towardzero): Likewise.
2986         (llrint_downward_test_data): Likewise.
2987         (llrint_test_downward): Likewise.
2988         (llrint_upward_test_data): Likewise.
2989         (llrint_test_upward): Likewise.
2990         (rint_test_data): Merge in per-rounding-mode tests and results
2991         from rint_tonearest_test_data, rint_towardzero_test_data,
2992         rint_downward_test_data and rint_upward_test_data.  Add
2993         per-rounding-mode results for tests not in those arrays.
2994         (rint_test): Use ALL_RM_TEST.
2995         (rint_tonearest_test_data): Remove.
2996         (rint_test_tonearest): Likewise.
2997         (rint_towardzero_test_data): Likewise.
2998         (rint_test_towardzero): Likewise.
2999         (rint_downward_test_data): Likewise.
3000         (rint_test_downward): Likewise.
3001         (rint_upward_test_data): Likewise.
3002         (rint_test_upward): Likewise.
3003         (main): Don't call removed functions.
3004
3005 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3006
3007         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
3008         "Compiled on ..." crapola.  It is anti-useful.
3009
3010 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
3011
3012         * scripts/evaluate-test.sh: Handle fourth argument to determine
3013         whether test run should stop on failure.
3014         * Makeconfig (stop-on-test-failure): New variable.
3015         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
3016         $(stop-on-test-failure).
3017         * Makefile (tests): Give a summary of results from testing and
3018         exit with failure status if they include an ERROR or FAIL.
3019         (xtests): Likewise.
3020         * manual/install.texi (Configuring and compiling): Mention
3021         stop-on-test-failure=y.
3022         * INSTALL: Regenerated.
3023
3024 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3025
3026         * scripts/versionlist.awk: New file.
3027         * Makerules [$(build-shared) = yes]
3028         (postclean-generated): Add Versions.def, not Versions.def.v and
3029         Versions.def.v.i.
3030         ($(common-objpfx)Versions.def.v.i): Target removed.
3031         ($(common-objpfx)Versions.def): New target.
3032         ($(common-objpfx)Versions.all): Depend on that rather that
3033         $(common-objpfx)Versions.def.v.
3034         * Versions.def: File removed.
3035
3036         * Makeconfig (+gccwarn): Add -Wundef.
3037         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
3038         a dl-sysdep.h breaking its contract.
3039         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
3040         * include/stackinfo.h: New file.
3041         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
3042         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
3043         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
3044         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
3045         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
3046         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
3047         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3048         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3049         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3050         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3051         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3052         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
3053         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3054         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3055         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
3056
3057 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3058
3059         [BZ #16707]
3060         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
3061         implementation.
3062         * math/libm-test.inc (round_test_data): Add more tests.
3063
3064         [BZ #16706]
3065         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
3066         implementation.
3067         * math/libm-test.inc (nearbyint_test_data): Add more tests.
3068
3069         [BZ #16701]
3070         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
3071         implementation.
3072         * math/libm-test.inc (ceil_test_data): Add more tests.
3073
3074         * math/libm-test.inc (trunc_test_data): Add more tests related to
3075         BZ#16414.
3076
3077 2014-03-14  Roland McGrath  <roland@hack.frob.com>
3078
3079         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
3080         with #if rather than #ifdef.
3081         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
3082
3083 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
3084
3085         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
3086         first.  Disable AVX-512 GCC support if assembler doesn't support
3087         it.
3088         * sysdeps/x86_64/configure: Regenerated.
3089
3090 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
3091
3092         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
3093         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
3094         (__old_pthread_attr_setstack): Likewise.
3095         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
3096         [!_STACK_GROWS_DOWN]: Likewise.
3097
3098 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
3099
3100         * config.make.in (have-bash2): Delete.
3101         * configure.ac (libc_cv_have_bash2): Delete.
3102         * configure: Regenerate.
3103         * elf/Makefile (common-ldd-rewrite): Rename to ...
3104         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
3105         (sh-ldd-rewrite): Delete.
3106         (bash-ldd-rewrite): Delete.
3107         (have-bash2): Delete checks.
3108         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
3109         ldd-rewrite.
3110
3111         * config.make.in (have-ksh): Delete.
3112         (KSH): Delete.
3113         * configure.ac (libc_cv_have_ksh): Delete.
3114         * configure: Regenerate.
3115
3116         * elf/Makefile: Delete $(have-ksh) check.
3117         ($(objpfx)sotruss): Change KSH to BASH.
3118         * elf/sotruss.ksh: Rename to ...
3119         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
3120         function style to match POSIX.  Drop ksh vim mode setting.
3121
3122         * manual/time.texi (Specifying the Time Zone with TZ): Change
3123         Tuesday to Thursday.
3124
3125         * debug/tst-longjmp_chk2.c: Update header comment.
3126         (stackoverflow_handler): Add comment.  Call assert on pass value.
3127
3128 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
3129
3130         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
3131         (HAVE_AVX512_ASM_SUPPORT): Likewise.
3132         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
3133         (La_x86_64_vector): Add zmm.
3134         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
3135         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
3136         ($(objpfx)tst-audit10): New target.
3137         ($(objpfx)tst-audit10.out): Likewise.
3138         (tst-audit10-ENV): New.
3139         (AVX512-CFLAGS): Likewise.
3140         (CFLAGS-tst-audit10.c): Likewise.
3141         (CFLAGS-tst-auditmod10a.c): Likewise.
3142         (CFLAGS-tst-auditmod10b.c): Likewise.
3143         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
3144         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
3145         * sysdeps/x86_64/configure: Regenerated.
3146         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
3147         AVX-512 zmm register support.
3148         (_dl_x86_64_save_sse): Likewise.
3149         (_dl_x86_64_restore_sse): Likewise.
3150         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
3151         size vector registers.
3152         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
3153         (ZMM_SIZE): Likewise.
3154         * sysdeps/x86_64/tst-audit10.c: New file.
3155         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
3156         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
3157
3158 2014-03-13  Roland McGrath  <roland@hack.frob.com>
3159
3160         * configure.ac (HAVE_EHDR_START): New check.
3161         * configure: Regenerated.
3162         * config.h.in (HAVE_EHDR_START): New #undef.
3163         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
3164         assuming the lowest-addressed segment maps the start of the file.
3165
3166 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
3167
3168         * INSTALL: Regenerated.
3169
3170 2014-03-13  Will Newton  <will.newton@linaro.org>
3171
3172         * manual/setjmp.texi (System V contexts): Improve
3173         clarity and grammar of documentation.
3174
3175 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
3176
3177         [BZ #16381]
3178         * elf/Makefile (tests): Add tst-pie2.
3179         (tests-pie): Add tst-pie2.
3180         * elf/tst-pie2.c: New file.
3181         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
3182         for ET_EXEC.
3183         * elf/rtld.c (map_doit): Load executable as lt_executable.
3184         (dl_main): Likewise.
3185
3186 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
3187
3188         [BZ #16642]
3189         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
3190         (__ASSUME_PSELECT): Undefine.
3191
3192 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3193
3194         [BZ #16689]
3195         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
3196         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
3197         static build.
3198         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
3199         selector for static builds.
3200
3201 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
3202
3203         [BZ #16695]
3204         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
3205         key in the buffer.
3206
3207 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3208
3209         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
3210         IFUNC selector for static builds.
3211
3212 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
3213
3214         * sysdeps/mips/math_private.h [__mips_hard_float]
3215         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
3216         libc_feresetround_mips_ctx.
3217         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
3218         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
3219         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
3220
3221         [BZ #16677]
3222         * math/s_nextafter.c (__nextafter): Do not return value from
3223         overflowing computation.
3224         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
3225         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
3226         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
3227         Likewise.
3228         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
3229         Likewise.
3230         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
3231         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
3232
3233 2014-03-11  Roland McGrath  <roland@hack.frob.com>
3234
3235         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
3236         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
3237         Move sfi_sp use from the load-multiple (that no longer sets sp) to
3238         the new mov targetting sp.
3239
3240 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3241
3242         [BZ #16683]
3243         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
3244         Define it for static builds as well.
3245         (NO_BZERO_IMPL): Likewise.
3246
3247 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3248
3249         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
3250         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
3251         multiarch strspn for PPC64.
3252         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
3253         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
3254         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3255         (__libc_ifunc_impl_list): Likewise.
3256         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
3257         multiarch optimizations
3258         * string/strspn.c (strspn): Using macro to redefine symbol name.
3259
3260 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
3261             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3262
3263         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
3264         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
3265         multiarch strncat for PPC64.
3266         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
3267         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
3268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
3269         (__libc_ifunc_impl_list): Likewise.
3270         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
3271         multiarch optimizations
3272
3273 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
3274
3275         [BZ #16639]
3276         * nscd/nscd.service: Make service type forking.
3277
3278 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3279
3280         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
3281         sign in non default rounding modes.
3282         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
3283
3284 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
3285
3286         * math/libm-test.inc (ALL_RM_TEST): New macro.
3287         (ceil_test): Use ALL_RM_TEST.
3288         (cimag_test): Likewise.
3289         (conj_test): Likewise.
3290         (copysign_test): Likewise.
3291         (cproj_test): Likewise.
3292         (creal_test): Likewise.
3293         (fabs_test): Likewise.
3294         (floor_test): Likewise.
3295         (fmax_test): Likewise.
3296         (fmin_test): Likewise.
3297         (fmod_test): Likewise.
3298         (fpclassify_test): Likewise.
3299         (frexp_test): Likewise.
3300         (ilogb_test): Likewise.
3301         (isfinite_test): Likewise.
3302         (finite_test): Likewise.
3303         (isgreater_test): Likewise.
3304         (isgreaterequal_test): Likewise.
3305         (isinf_test): Likewise.
3306         (isless_test): Likewise.
3307         (islessequal_test): Likewise.
3308         (islessgreater_test): Likewise.
3309         (isnan_test): Likewise.
3310         (isnormal_test): Likewise.
3311         (issignaling_test): Likewise.
3312         (isunordered_test): Likewise.
3313         (logb_test): Likewise.
3314         (logb_downward_test_data): Remove.
3315         (logb_test_downward): Likewise.
3316         (lround_test): Use ALL_RM_TEST.
3317         (llround_test): Likewise.
3318         (modf_test): Likewise.
3319         (nexttoward_test): Likewise.
3320         (remainder_test): Likewise.
3321         (drem_test): Likewise.
3322         (remainder_tonearest_test_data): Likewise.
3323         (remainder_test_tonearest): Likewise.
3324         (drem_test_tonearest): Likewise.
3325         (remainder_towardzero_test_data): Likewise.
3326         (remainder_test_towardzero): Likewise.
3327         (drem_test_towardzero): Likewise.
3328         (remainder_downward_test_data): Likewise.
3329         (remainder_test_downward): Likewise.
3330         (drem_test_downward): Likewise.
3331         (remainder_upward_test_data): Likewise.
3332         (remainder_test_upward): Likewise.
3333         (drem_test_upward): Likewise.
3334         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
3335         (round_test): Use ALL_RM_TEST.
3336         (signbit_test): Likewise.
3337         (trunc_test): Likewise.
3338         (significand_test): Likewise.
3339         (main): Don't call removed functions.
3340
3341 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3342
3343         [BZ #16674]
3344         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
3345         || __USE_XOPEN2K8].
3346         (ILL_ILLOPN): Likewise.
3347         (ILL_ILLADR): Likewise.
3348         (ILL_ILLTRP): Likewise.
3349         (ILL_PRVOPC): Likewise.
3350         (ILL_PRVREG): Likewise.
3351         (ILL_COPROC): Likewise.
3352         (ILL_BADSTK): Likewise.
3353         (FPE_INTDIV): Likewise.
3354         (FPE_INTOVF): Likewise.
3355         (FPE_FLTDIV): Likewise.
3356         (FPE_FLTOVF): Likewise.
3357         (FPE_FLTUND): Likewise.
3358         (FPE_FLTRES): Likewise.
3359         (FPE_FLTINV): Likewise.
3360         (FPE_FLTSUB): Likewise.
3361         (SEGV_MAPERR): Likewise.
3362         (SEGV_ACCERR): Likewise.
3363         (BUS_ADRALN): Likewise.
3364         (BUS_ADRERR): Likewise.
3365         (BUS_OBJERR): Likewise.
3366         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3367         (TRAP_TRACE): Likewise.
3368         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3369         __USE_XOPEN2K8].
3370         (CLD_KILLED): Likewise.
3371         (CLD_DUMPED): Likewise.
3372         (CLD_TRAPPED): Likewise.
3373         (CLD_STOPPED): Likewise.
3374         (CLD_CONTINUED): Likewise.
3375         (POLL_IN): Likewise.
3376         (POLL_OUT): Likewise.
3377         (POLL_MSG): Likewise.
3378         (POLL_ERR): Likewise.
3379         (POLL_PRI): Likewise.
3380         (POLL_HUP): Likewise.
3381         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
3382         Likewise.
3383         (ILL_ILLOPN): Likewise.
3384         (ILL_ILLADR): Likewise.
3385         (ILL_ILLTRP): Likewise.
3386         (ILL_PRVOPC): Likewise.
3387         (ILL_PRVREG): Likewise.
3388         (ILL_COPROC): Likewise.
3389         (ILL_BADSTK): Likewise.
3390         (FPE_INTDIV): Likewise.
3391         (FPE_INTOVF): Likewise.
3392         (FPE_FLTDIV): Likewise.
3393         (FPE_FLTOVF): Likewise.
3394         (FPE_FLTUND): Likewise.
3395         (FPE_FLTRES): Likewise.
3396         (FPE_FLTINV): Likewise.
3397         (FPE_FLTSUB): Likewise.
3398         (SEGV_MAPERR): Likewise.
3399         (SEGV_ACCERR): Likewise.
3400         (BUS_ADRALN): Likewise.
3401         (BUS_ADRERR): Likewise.
3402         (BUS_OBJERR): Likewise.
3403         (BUS_MCEERR_AR): Likewise.
3404         (BUS_MCEERR_AO): Likewise.
3405         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3406         (TRAP_TRACE): Likewise.
3407         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3408         __USE_XOPEN2K8].
3409         (CLD_KILLED): Likewise.
3410         (CLD_DUMPED): Likewise.
3411         (CLD_TRAPPED): Likewise.
3412         (CLD_STOPPED): Likewise.
3413         (CLD_CONTINUED): Likewise.
3414         (POLL_IN): Likewise.
3415         (POLL_OUT): Likewise.
3416         (POLL_MSG): Likewise.
3417         (POLL_ERR): Likewise.
3418         (POLL_PRI): Likewise.
3419         (POLL_HUP): Likewise.
3420         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
3421         (ILL_ILLOPN): Likewise.
3422         (ILL_ILLADR): Likewise.
3423         (ILL_ILLTRP): Likewise.
3424         (ILL_PRVOPC): Likewise.
3425         (ILL_PRVREG): Likewise.
3426         (ILL_COPROC): Likewise.
3427         (ILL_BADSTK): Likewise.
3428         (FPE_INTDIV): Likewise.
3429         (FPE_INTOVF): Likewise.
3430         (FPE_FLTDIV): Likewise.
3431         (FPE_FLTOVF): Likewise.
3432         (FPE_FLTUND): Likewise.
3433         (FPE_FLTRES): Likewise.
3434         (FPE_FLTINV): Likewise.
3435         (FPE_FLTSUB): Likewise.
3436         (SEGV_MAPERR): Likewise.
3437         (SEGV_ACCERR): Likewise.
3438         (BUS_ADRALN): Likewise.
3439         (BUS_ADRERR): Likewise.
3440         (BUS_OBJERR): Likewise.
3441         (BUS_MCEERR_AR): Likewise.
3442         (BUS_MCEERR_AO): Likewise.
3443         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3444         (TRAP_TRACE): Likewise.
3445         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3446         __USE_XOPEN2K8].
3447         (CLD_KILLED): Likewise.
3448         (CLD_DUMPED): Likewise.
3449         (CLD_TRAPPED): Likewise.
3450         (CLD_STOPPED): Likewise.
3451         (CLD_CONTINUED): Likewise.
3452         (POLL_IN): Likewise.
3453         (POLL_OUT): Likewise.
3454         (POLL_MSG): Likewise.
3455         (POLL_ERR): Likewise.
3456         (POLL_PRI): Likewise.
3457         (POLL_HUP): Likewise.
3458         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
3459         Likewise.
3460         (ILL_ILLOPN): Likewise.
3461         (ILL_ILLADR): Likewise.
3462         (ILL_ILLTRP): Likewise.
3463         (ILL_PRVOPC): Likewise.
3464         (ILL_PRVREG): Likewise.
3465         (ILL_COPROC): Likewise.
3466         (ILL_BADSTK): Likewise.
3467         (ILL_BADIADDR): Likewise.
3468         (ILL_BREAK): Likewise.
3469         (FPE_INTDIV): Likewise.
3470         (FPE_INTOVF): Likewise.
3471         (FPE_FLTDIV): Likewise.
3472         (FPE_FLTOVF): Likewise.
3473         (FPE_FLTUND): Likewise.
3474         (FPE_FLTRES): Likewise.
3475         (FPE_FLTINV): Likewise.
3476         (FPE_FLTSUB): Likewise.
3477         (FPE_DECOVF): Likewise.
3478         (FPE_DECDIV): Likewise.
3479         (FPE_DECERR): Likewise.
3480         (FPE_INVASC): Likewise.
3481         (FPE_INVDEC): Likewise.
3482         (SEGV_MAPERR): Likewise.
3483         (SEGV_ACCERR): Likewise.
3484         (SEGV_PSTKOVF): Likewise.
3485         (BUS_ADRALN): Likewise.
3486         (BUS_ADRERR): Likewise.
3487         (BUS_OBJERR): Likewise.
3488         (BUS_MCEERR_AR): Likewise.
3489         (BUS_MCEERR_AO): Likewise.
3490         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3491         (TRAP_TRACE): Likewise.
3492         (TRAP_BRANCH): Likewise.
3493         (TRAP_HWBKPT): Likewise.
3494         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3495         __USE_XOPEN2K8].
3496         (CLD_KILLED): Likewise.
3497         (CLD_DUMPED): Likewise.
3498         (CLD_TRAPPED): Likewise.
3499         (CLD_STOPPED): Likewise.
3500         (CLD_CONTINUED): Likewise.
3501         (POLL_IN): Likewise.
3502         (POLL_OUT): Likewise.
3503         (POLL_MSG): Likewise.
3504         (POLL_ERR): Likewise.
3505         (POLL_PRI): Likewise.
3506         (POLL_HUP): Likewise.
3507         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
3508         (ILL_ILLOPN): Likewise.
3509         (ILL_ILLADR): Likewise.
3510         (ILL_ILLTRP): Likewise.
3511         (ILL_PRVOPC): Likewise.
3512         (ILL_PRVREG): Likewise.
3513         (ILL_COPROC): Likewise.
3514         (ILL_BADSTK): Likewise.
3515         (FPE_INTDIV): Likewise.
3516         (FPE_INTOVF): Likewise.
3517         (FPE_FLTDIV): Likewise.
3518         (FPE_FLTOVF): Likewise.
3519         (FPE_FLTUND): Likewise.
3520         (FPE_FLTRES): Likewise.
3521         (FPE_FLTINV): Likewise.
3522         (FPE_FLTSUB): Likewise.
3523         (SEGV_MAPERR): Likewise.
3524         (SEGV_ACCERR): Likewise.
3525         (BUS_ADRALN): Likewise.
3526         (BUS_ADRERR): Likewise.
3527         (BUS_OBJERR): Likewise.
3528         (BUS_MCEERR_AR): Likewise.
3529         (BUS_MCEERR_AO): Likewise.
3530         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3531         (TRAP_TRACE): Likewise.
3532         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3533         __USE_XOPEN2K8].
3534         (CLD_KILLED): Likewise.
3535         (CLD_DUMPED): Likewise.
3536         (CLD_TRAPPED): Likewise.
3537         (CLD_STOPPED): Likewise.
3538         (CLD_CONTINUED): Likewise.
3539         (POLL_IN): Likewise.
3540         (POLL_OUT): Likewise.
3541         (POLL_MSG): Likewise.
3542         (POLL_ERR): Likewise.
3543         (POLL_PRI): Likewise.
3544         (POLL_HUP): Likewise.
3545         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
3546         (ILL_ILLOPN): Likewise.
3547         (ILL_ILLADR): Likewise.
3548         (ILL_ILLTRP): Likewise.
3549         (ILL_PRVOPC): Likewise.
3550         (ILL_PRVREG): Likewise.
3551         (ILL_COPROC): Likewise.
3552         (ILL_BADSTK): Likewise.
3553         (FPE_INTDIV): Likewise.
3554         (FPE_INTOVF): Likewise.
3555         (FPE_FLTDIV): Likewise.
3556         (FPE_FLTOVF): Likewise.
3557         (FPE_FLTUND): Likewise.
3558         (FPE_FLTRES): Likewise.
3559         (FPE_FLTINV): Likewise.
3560         (FPE_FLTSUB): Likewise.
3561         (SEGV_MAPERR): Likewise.
3562         (SEGV_ACCERR): Likewise.
3563         (BUS_ADRALN): Likewise.
3564         (BUS_ADRERR): Likewise.
3565         (BUS_OBJERR): Likewise.
3566         (BUS_MCEERR_AR): Likewise.
3567         (BUS_MCEERR_AO): Likewise.
3568         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3569         (TRAP_TRACE): Likewise.
3570         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3571         __USE_XOPEN2K8].
3572         (CLD_KILLED): Likewise.
3573         (CLD_DUMPED): Likewise.
3574         (CLD_TRAPPED): Likewise.
3575         (CLD_STOPPED): Likewise.
3576         (CLD_CONTINUED): Likewise.
3577         (POLL_IN): Likewise.
3578         (POLL_OUT): Likewise.
3579         (POLL_MSG): Likewise.
3580         (POLL_ERR): Likewise.
3581         (POLL_PRI): Likewise.
3582         (POLL_HUP): Likewise.
3583         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
3584         (ILL_ILLOPN): Likewise.
3585         (ILL_ILLADR): Likewise.
3586         (ILL_ILLTRP): Likewise.
3587         (ILL_PRVOPC): Likewise.
3588         (ILL_PRVREG): Likewise.
3589         (ILL_COPROC): Likewise.
3590         (ILL_BADSTK): Likewise.
3591         (FPE_INTDIV): Likewise.
3592         (FPE_INTOVF): Likewise.
3593         (FPE_FLTDIV): Likewise.
3594         (FPE_FLTOVF): Likewise.
3595         (FPE_FLTUND): Likewise.
3596         (FPE_FLTRES): Likewise.
3597         (FPE_FLTINV): Likewise.
3598         (FPE_FLTSUB): Likewise.
3599         (SEGV_MAPERR): Likewise.
3600         (SEGV_ACCERR): Likewise.
3601         (BUS_ADRALN): Likewise.
3602         (BUS_ADRERR): Likewise.
3603         (BUS_OBJERR): Likewise.
3604         (BUS_MCEERR_AR): Likewise.
3605         (BUS_MCEERR_AO): Likewise.
3606         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3607         (TRAP_TRACE): Likewise.
3608         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3609         __USE_XOPEN2K8].
3610         (CLD_KILLED): Likewise.
3611         (CLD_DUMPED): Likewise.
3612         (CLD_TRAPPED): Likewise.
3613         (CLD_STOPPED): Likewise.
3614         (CLD_CONTINUED): Likewise.
3615         (POLL_IN): Likewise.
3616         (POLL_OUT): Likewise.
3617         (POLL_MSG): Likewise.
3618         (POLL_ERR): Likewise.
3619         (POLL_PRI): Likewise.
3620         (POLL_HUP): Likewise.
3621         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
3622         (ILL_ILLOPN): Likewise.
3623         (ILL_ILLADR): Likewise.
3624         (ILL_ILLTRP): Likewise.
3625         (ILL_PRVOPC): Likewise.
3626         (ILL_PRVREG): Likewise.
3627         (ILL_COPROC): Likewise.
3628         (ILL_BADSTK): Likewise.
3629         (ILL_DBLFLT): Likewise.
3630         (ILL_HARDWALL): Likewise.
3631         (FPE_INTDIV): Likewise.
3632         (FPE_INTOVF): Likewise.
3633         (FPE_FLTDIV): Likewise.
3634         (FPE_FLTOVF): Likewise.
3635         (FPE_FLTUND): Likewise.
3636         (FPE_FLTRES): Likewise.
3637         (FPE_FLTINV): Likewise.
3638         (FPE_FLTSUB): Likewise.
3639         (SEGV_MAPERR): Likewise.
3640         (SEGV_ACCERR): Likewise.
3641         (BUS_ADRALN): Likewise.
3642         (BUS_ADRERR): Likewise.
3643         (BUS_OBJERR): Likewise.
3644         (BUS_MCEERR_AR): Likewise.
3645         (BUS_MCEERR_AO): Likewise.
3646         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3647         (TRAP_TRACE): Likewise.
3648         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3649         __USE_XOPEN2K8].
3650         (CLD_KILLED): Likewise.
3651         (CLD_DUMPED): Likewise.
3652         (CLD_TRAPPED): Likewise.
3653         (CLD_STOPPED): Likewise.
3654         (CLD_CONTINUED): Likewise.
3655         (POLL_IN): Likewise.
3656         (POLL_OUT): Likewise.
3657         (POLL_MSG): Likewise.
3658         (POLL_ERR): Likewise.
3659         (POLL_PRI): Likewise.
3660         (POLL_HUP): Likewise.
3661         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
3662         (ILL_ILLOPN): Likewise.
3663         (ILL_ILLADR): Likewise.
3664         (ILL_ILLTRP): Likewise.
3665         (ILL_PRVOPC): Likewise.
3666         (ILL_PRVREG): Likewise.
3667         (ILL_COPROC): Likewise.
3668         (ILL_BADSTK): Likewise.
3669         (FPE_INTDIV): Likewise.
3670         (FPE_INTOVF): Likewise.
3671         (FPE_FLTDIV): Likewise.
3672         (FPE_FLTOVF): Likewise.
3673         (FPE_FLTUND): Likewise.
3674         (FPE_FLTRES): Likewise.
3675         (FPE_FLTINV): Likewise.
3676         (FPE_FLTSUB): Likewise.
3677         (SEGV_MAPERR): Likewise.
3678         (SEGV_ACCERR): Likewise.
3679         (BUS_ADRALN): Likewise.
3680         (BUS_ADRERR): Likewise.
3681         (BUS_OBJERR): Likewise.
3682         (BUS_MCEERR_AR): Likewise.
3683         (BUS_MCEERR_AO): Likewise.
3684         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
3685         (TRAP_TRACE): Likewise.
3686         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
3687         __USE_XOPEN2K8].
3688         (CLD_KILLED): Likewise.
3689         (CLD_DUMPED): Likewise.
3690         (CLD_TRAPPED): Likewise.
3691         (CLD_STOPPED): Likewise.
3692         (CLD_CONTINUED): Likewise.
3693         (POLL_IN): Likewise.
3694         (POLL_OUT): Likewise.
3695         (POLL_MSG): Likewise.
3696         (POLL_ERR): Likewise.
3697         (POLL_PRI): Likewise.
3698         (POLL_HUP): Likewise.
3699         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
3700         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3701
3702         [BZ #16670]
3703         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
3704         before #include of <time.h>.
3705         [!__USE_XOPEN2K] (__need_timespec): Likewise.
3706         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
3707         (test-xfail-UNIX98/sched.h/conform): Likewise.
3708
3709 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
3710
3711         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
3712         error absence of trapping exception support.
3713         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
3714
3715 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
3716
3717         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
3718         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
3719         * timezone/Makefile (testdata): Move definition above include of
3720         Rules.
3721         (test-zones): New variable.
3722         (tests-special): Add zone files.
3723         (build-testdata): Use $(evaluate-test).
3724
3725         * elf/Makefile (tests-special): Rename tests to end with .out.
3726         ($(objpfx)noload-mem): Likewise.
3727         ($(objpfx)tst-leaks1-mem): Likewise.
3728         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
3729         * iconv/Makefile (xtests-special): Change test-iconvconfig to
3730         $(objpfx)test-iconvconfig.out.
3731         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
3732         set -e inside subshell and redirect output to file.
3733         * iconvdata/Makefile (generated): Rename tests to end with .out.
3734         Correct type.
3735         (tests-special): Rename tests to end with .out.
3736         ($(objpfx)mtrace-tst-loading): Likewise.
3737         * intl/Makefile (generated): Likewise.
3738         (tests-special): Likewise.
3739         ($(objpfx)mtrace-tst-gettext): Likewise.
3740         * misc/Makefile (generated): Likewise.
3741         (tests-special): Likewise.
3742         ($(objpfx)tst-error1-mem): Likewise.
3743         * nptl/Makefile (tests-special): Likewise.
3744         ($(objpfx)tst-stack3-mem): Likewise.
3745         (generated): Likewise.
3746         * posix/Makefile (generated): Likewise.
3747         (tests-special): Likewise.
3748         (xtests-special): Likewise.
3749         ($(objpfx)tst-fnmatch-mem): Likewise.
3750         ($(objpfx)bug-regex2-mem): Likewise.
3751         ($(objpfx)bug-regex14-mem): Likewise.
3752         ($(objpfx)bug-regex21-mem): Likewise.
3753         ($(objpfx)bug-regex31-mem): Likewise.
3754         ($(objpfx)tst-vfork3-mem): Likewise.
3755         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
3756         ($(objpfx)tst-pcre-mem): Likewise.
3757         ($(objpfx)tst-boost-mem): Likewise.
3758         ($(objpfx)bug-ga2-mem): Likewise.
3759         ($(objpfx)bug-glob2-mem): Likewise.
3760         * resolv/Makefile (generate): Likewise.
3761         (tests-special): Likewise.
3762         (xtests-special): Likewise.
3763         (generated): Likewise.
3764         ($(objpfx)mtrace-tst-leaks): Likewise.
3765         ($(objpfx)mtrace-tst-leaks2): Likewise.
3766
3767         * scripts/merge-test-results.sh: New file.
3768         * Makefile (tests-special-notdir): New variable.
3769         (tests): Run merge-test-results.sh.
3770         (xtests): Likewise.
3771         * Rules (tests-special-notdir): New variable.
3772         (xtests-special-notdir): Likewise.
3773         (tests): Run merge-test-results.sh
3774         (xtests): Likewise.
3775
3776         * Makeconfig (test-xfail-name): New variable.
3777         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
3778         compute variable name for expected failures.
3779         * conform/Makefile (conformtest-headers-data): New variable.
3780         (conformtest-standards): Likewise.
3781         (conformtest-headers-ISO): Likewise.
3782         (conformtest-headers-ISO99): Likewise.
3783         (conformtest-headers-ISO11): Likewise.
3784         (conformtest-headers-POSIX): Likewise.
3785         (conformtest-headers-XPG3): Likewise.
3786         (conformtest-headers-XPG4): Likewise.
3787         (conformtest-headers-UNIX98): Likewise.
3788         (conformtest-headers-XOPEN2K): Likewise.
3789         (conformtest-headers-POSIX2008): Likewise.
3790         (conformtest-headers-XOPEN2K8): Likewise.
3791         (conformtest-header-list-base): Likewise.
3792         (conformtest-header-list-tests): Likewise.
3793         (conformtest-header-base): Likewise.
3794         (conformtest-header-tests): Likewise.
3795         (tests-special): Add $(conformtest-header-list-tests).  If
3796         [$(fast-check) && !$(cross-compiling)], add
3797         $(conformtest-header-tests) instead of
3798         $(objpfx)run-conformtest.out.
3799         (generated): Add $(conformtest-header-list-base).  If
3800         [$(fast-check) && !$(cross-compiling)], add
3801         $(conformtest-header-base).  Remove previous setting.
3802         ($(conformtest-header-list-tests)): New target.
3803         (test-xfail-run-conformtest): Remove variable.
3804         ($(objpfx)run-conformtest.out): Remove target.
3805         (test-xfail-ISO11/complex.h/conform): New variable.
3806         (test-xfail-ISO11/stdalign.h/conform): Likewise.
3807         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
3808         (test-xfail-XPG3/varargs.h/conform): Likewise.
3809         (test-xfail-XPG4/varargs.h/conform): Likewise.
3810         (test-xfail-UNIX98/varargs.h/conform): Likewise.
3811         (test-xfail-XPG4/ndbm.h/conform): Likewise.
3812         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
3813         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
3814         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
3815         (test-xfail-XPG3/fcntl.h/conform): Likewise.
3816         (test-xfail-XPG3/ftw.h/conform): Likewise.
3817         (test-xfail-XPG3/grp.h/conform): Likewise.
3818         (test-xfail-XPG3/langinfo.h/conform): Likewise.
3819         (test-xfail-XPG3/limits.h/conform): Likewise.
3820         (test-xfail-XPG3/pwd.h/conform): Likewise.
3821         (test-xfail-XPG3/search.h/conform): Likewise.
3822         (test-xfail-XPG3/signal.h/conform): Likewise.
3823         (test-xfail-XPG3/stdio.h/conform): Likewise.
3824         (test-xfail-XPG3/stdlib.h/conform): Likewise.
3825         (test-xfail-XPG3/string.h/conform): Likewise.
3826         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
3827         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
3828         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
3829         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
3830         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
3831         (test-xfail-XPG3/sys/types.h/conform): Likewise.
3832         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
3833         (test-xfail-XPG3/termios.h/conform): Likewise.
3834         (test-xfail-XPG3/time.h/conform): Likewise.
3835         (test-xfail-XPG3/unistd.h/conform): Likewise.
3836         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
3837         (test-xfail-XPG4/fcntl.h/conform): Likewise.
3838         (test-xfail-XPG4/langinfo.h/conform): Likewise.
3839         (test-xfail-XPG4/netdb.h/conform): Likewise.
3840         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
3841         (test-xfail-XPG4/signal.h/conform): Likewise.
3842         (test-xfail-XPG4/stdio.h/conform): Likewise.
3843         (test-xfail-XPG4/stdlib.h/conform): Likewise.
3844         (test-xfail-XPG4/stropts.h/conform): Likewise.
3845         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
3846         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
3847         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
3848         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
3849         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
3850         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
3851         (test-xfail-XPG4/sys/time.h/conform): Likewise.
3852         (test-xfail-XPG4/sys/types.h/conform): Likewise.
3853         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
3854         (test-xfail-XPG4/termios.h/conform): Likewise.
3855         (test-xfail-XPG4/ucontext.h/conform): Likewise.
3856         (test-xfail-XPG4/unistd.h/conform): Likewise.
3857         (test-xfail-XPG4/utmpx.h/conform): Likewise.
3858         (test-xfail-POSIX/sched.h/conform): Likewise.
3859         (test-xfail-POSIX/signal.h/conform): Likewise.
3860         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
3861         (test-xfail-POSIX/tar.h/conform): Likewise.
3862         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
3863         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
3864         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
3865         (test-xfail-UNIX98/netdb.h/conform): Likewise.
3866         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
3867         (test-xfail-UNIX98/sched.h/conform): Likewise.
3868         (test-xfail-UNIX98/signal.h/conform): Likewise.
3869         (test-xfail-UNIX98/stdio.h/conform): Likewise.
3870         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
3871         (test-xfail-UNIX98/stropts.h/conform): Likewise.
3872         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
3873         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
3874         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
3875         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
3876         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
3877         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
3878         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
3879         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
3880         (test-xfail-UNIX98/unistd.h/conform): Likewise.
3881         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
3882         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
3883         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
3884         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
3885         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
3886         (test-xfail-XOPEN2K/math.h/conform): Likewise.
3887         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
3888         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
3889         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
3890         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
3891         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
3892         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
3893         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
3894         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
3895         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
3896         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
3897         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
3898         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
3899         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
3900         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
3901         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
3902         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
3903         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
3904         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
3905         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
3906         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
3907         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3908         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3909         (test-xfail-POSIX2008/signal.h/conform): Likewise.
3910         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
3911         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3912         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
3913         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
3914         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
3915         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
3916         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
3917         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
3918         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
3919         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
3920         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
3921         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
3922         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
3923         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
3924         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
3925         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
3926         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
3927         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
3928         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
3929         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
3930         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
3931         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
3932         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
3933         (conformtest-cc-flags): Likewise.
3934         ($(conformtest-header-tests): New target.
3935         * conform/check-header-lists.sh: New file.
3936         * conform/run-conformtest.sh: Remove.
3937
3938         * conform/conformtest.pl: Allow ' and \ in values given for
3939         constants.
3940         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
3941         inclusion.
3942         [POSIX] (sys/types.h): Likewise.
3943         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
3944         inclusion.
3945         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
3946         inclusion.
3947         * conform/data/signal.h-data (SIGIO): Remove expectation.
3948         [XPG3] (SIGBUS): Do not expect.
3949         [POSIX || XPG3] (SIGPOLL): Likewise.
3950         [POSIX || XPG3] (SIGPROF): Likewise.
3951         [POSIX || XPG3] (SIGSYS): Likewise.
3952         [XPG3] (SIGTRAP): Likewise.
3953         [POSIX || XPG3] (SIGURG): Likewise.
3954         [POSIX || XPG3] (SIGVTALRM): Likewise.
3955         [POSIX || XPG3] (SIGXCPU): Likewise.
3956         [POSIX || XPG3] (SIGXFSZ): Likewise.
3957         [POSIX] (SA_SIGINFO): Expect.
3958         [XPG3] (siginfo_t): Do not expect type or contents.
3959         [POSIX] (si_pid): Do not expect element.
3960         [POSIX] (si_uid): Likewise.
3961         [POSIX] (si_addr): Likewise.
3962         [POSIX] (si_status): Likewise.
3963         [POSIX] (si_band): Likewise.
3964         [XPG4] (si_value): Likewise.
3965         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
3966         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
3967         [POSIX || XPG3] (ILL_ILLADR): Likewise.
3968         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
3969         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
3970         [POSIX || XPG3] (ILL_PRVREG): Likewise.
3971         [POSIX || XPG3] (ILL_COPROC): Likewise.
3972         [POSIX || XPG3] (ILL_BADSTK): Likewise.
3973         [POSIX || XPG3] (FPE_INTDIV): Likewise.
3974         [POSIX || XPG3] (FPE_INTOVF): Likewise.
3975         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
3976         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
3977         [POSIX || XPG3] (FPE_FLTUND): Likewise.
3978         [POSIX || XPG3] (FPE_FLTRES): Likewise.
3979         [POSIX || XPG3] (FPE_FLTINV): Likewise.
3980         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
3981         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
3982         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
3983         [POSIX || XPG3] (BUS_ADRALN): Likewise.
3984         [POSIX || XPG3] (BUS_ADRERR): Likewise.
3985         [POSIX || XPG3] (BUS_OBJERR): Likewise.
3986         [POSIX || XPG3] (CLD_EXITED): Likewise.
3987         [POSIX || XPG3] (CLD_KILLED): Likewise.
3988         [POSIX || XPG3] (CLD_DUMPED): Likewise.
3989         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
3990         [POSIX || XPG3] (CLD_STOPPED): Likewise.
3991         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
3992         [POSIX || XPG3] (POLL_IN): Likewise.
3993         [POSIX || XPG3] (POLL_OUT): Likewise.
3994         [POSIX || XPG3] (POLL_MSG): Likewise.
3995         [POSIX || XPG3] (POLL_ERR): Likewise.
3996         [POSIX || XPG3] (POLL_PRI): Likewise.
3997         [POSIX || XPG3] (POLL_HUP): Likewise.
3998         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
3999         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
4000         (SIG*): Do not allow.
4001         [XPG3] (si_*): Likewise.
4002         [XPG3] (SI_*): Likewise.
4003         [XPG3 || XPG4] (sigev_*): Likewise.
4004         [XPG3 || XPG4] (SIGEV_*): Likewise.
4005         [XPG3 || XPG4] (sival_*): Likewise.
4006         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
4007         [POSIX || XPG3] (BUS_*): Likewise.
4008         [POSIX || XPG3] (CLD_*): Likewise.
4009         [POSIX || XPG3] (FPE_*): Likewise.
4010         [POSIX || XPG3] (ILL_*): Likewise.
4011         [POSIX || XPG3] (POLL_*): Likewise.
4012         [POSIX || XPG3] (SEGV_*): Likewise.
4013         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
4014         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
4015         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
4016         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
4017         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
4018         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
4019         Specify type and value.
4020         (TVERSLEN): Likewise.
4021         (REGTYPE): Likewise.
4022         (AREGTYPE): Likewise.
4023         (LNKTYPE): Likewise.
4024         (SYMTYPE): Likewise.
4025         (CHRTYPE): Likewise.
4026         (BLKTYPE): Likewise.
4027         (DIRTYPE): Likewise.
4028         (FIFOTYPE): Likewise.
4029         (CONTTYPE): Likewise.
4030         (TSUID): Likewise.
4031         (TSGID): Likewise.
4032         (TSVTX): Likewise.
4033         (TUREAD): Likewise.
4034         (TUWRITE): Likewise.
4035         (TUEXEC): Likewise.
4036         (TGREAD): Likewise.
4037         (TGWRITE): Likewise.
4038         (TGEXEC): Likewise.
4039         (TOREAD): Likewise.
4040         (TOWRITE): Likewise.
4041         (TOEXEC): Likewise.
4042         [POSIX] (TSVTX): Expect constant.
4043
4044 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
4045
4046         * Makefile (tests): Change dependencies to ....
4047         (tests-special): ... additions to this variable.
4048         (tests): Depend on $(tests-special).
4049         * Makerules (check-abi-list): New variable.
4050         (check-abi): Depend on $(check-abi-list).
4051         [$(subdir) = elf] (tests-special): Add
4052         $(objpfx)check-abi-libc.out.
4053         [$(build-shared) = yes && subdir] (tests-special): Add
4054         $(check-abi-list).
4055         [$(build-shared) = yes && subdir] (tests): Do not depend on
4056         check-abi.
4057         * Rules (tests): Depend on $(tests-special).
4058         (xtests): Depend on $(xtests-special).
4059         * catgets/Makefile (tests): Change dependencies to ....
4060         (tests-special): ... additions to this variable.
4061         * conform/Makefile (tests): Change dependencies to ....
4062         (tests-special): ... additions to this variable.
4063         * elf/Makefile (tests): Change dependencies to ....
4064         (tests-special): ... additions to this variable.
4065         * grp/Makefile (tests): Change dependencies to ....
4066         (tests-special): ... additions to this variable.
4067         * iconv/Makefile (xtests): Change dependencies to ....
4068         (xtests-special): ... additions to this variable.
4069         * iconvdata/Makefile (tests): Change dependencies to ....
4070         (tests-special): ... additions to this variable.
4071         * intl/Makefile (tests): Change dependencies to ....
4072         (tests-special): ... additions to this variable.  Also add
4073         $(objpfx)tst-gettext.out.
4074         * io/Makefile (tests): Change dependencies to ....
4075         (tests-special): ... additions to this variable.
4076         * libio/Makefile (tests): Change dependencies to ....
4077         (tests-special): ... additions to this variable.
4078         * malloc/Makefile (tests): Change dependencies to ....
4079         (tests-special): ... additions to this variable.
4080         * misc/Makefile (tests): Change dependencies to ....
4081         (tests-special): ... additions to this variable.
4082         * nptl/Makefile (tests): Change dependencies to ....
4083         (tests-special): ... additions to this variable.
4084         * nptl_db/Makefile (tests): Change dependencies to ....
4085         (tests-special): ... additions to this variable.
4086         * posix/Makefile (tests): Change dependencies to ....
4087         (tests-special): ... additions to this variable.
4088         (xtests): Change dependencies to ....
4089         (xtests-special): ... additions to this variable.
4090         * resolv/Makefile (tests): Change dependencies to ....
4091         (tests-special): ... additions to this variable.
4092         (xtests): Change dependencies to ....
4093         (xtests-special): ... additions to this variable.
4094         * stdio-common/Makefile (tests): Change dependencies to ....
4095         (tests-special): ... additions to this variable.
4096         (do-tst-unbputc): Remove target.
4097         (do-tst-printf): Likewise.
4098         * stdlib/Makefile (tests): Change dependencies to ....
4099         (tests-special): ... additions to this variable.
4100         * string/Makefile (tests): Change dependencies to ....
4101         (tests-special): ... additions to this variable.
4102         * sysdeps/x86/Makefile (tests): Change dependencies to ....
4103         (tests-special): ... additions to this variable.
4104
4105         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
4106         whole file.
4107         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
4108         whole file.
4109         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
4110         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
4111
4112         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
4113         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
4114         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
4115         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
4116         * conform/data/libgen.h-data [XPG3]: Likewise.
4117         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
4118         * conform/data/ndbm.h-data [XPG3]: Likewise.
4119         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4120         * conform/data/netdb.h-data [XPG3]: Likewise.
4121         * conform/data/netinet/in.h-data [XPG3]: Likewise.
4122         * conform/data/poll.h-data [XPG3]: Likewise.
4123         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
4124         * conform/data/strings.h-data [XPG3]: Likewise.
4125         * conform/data/stropts.h-data [XPG3]: Likewise.
4126         * conform/data/sys/mman.h-data [XPG3]: Likewise.
4127         * conform/data/sys/resource.h-data [XPG3]: Likewise.
4128         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
4129         Likewise.
4130         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
4131         * conform/data/sys/time.h-data [XPG3]: Likewise.
4132         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
4133         * conform/data/sys/uio.h-data [XPG3]: Likewise.
4134         * conform/data/sys/un.h-data [XPG3]: Likewise.
4135         * conform/data/syslog.h-data [XPG3]: Likewise.
4136         * conform/data/ucontext.h-data [XPG3]: Likewise.
4137         * conform/data/utmpx.h-data [XPG3]: Likewise.
4138         * conform/data/varargs.h-data [UNIX98]: Enable file.
4139
4140         * manual/Makefile (INSTALL_INFO): Remove variable setting.
4141
4142         * math/libm-test.inc (struct test_f_f_data): Move expected results
4143         into structure for each rounding mode.
4144         (struct test_ff_f_data): Likewise.
4145         (struct test_ff_f_data_nexttoward): Likewise.
4146         (struct test_fi_f_data): Likewise.
4147         (struct test_fl_f_data): Likewise.
4148         (struct test_if_f_data): Likewise.
4149         (struct test_fff_f_data): Likewise.
4150         (struct test_c_f_data): Likewise.
4151         (struct test_f_f1_data): Likewise.
4152         (struct test_fF_f1_data): Likewise.
4153         (struct test_ffI_f1_data): Likewise.
4154         (struct test_c_c_data): Likewise.
4155         (struct test_cc_c_data): Likewise.
4156         (struct test_f_i_data): Likewise.
4157         (struct test_ff_i_data): Likewise.
4158         (struct test_f_l_data): Likewise.
4159         (struct test_f_L_data): Likewise.
4160         (struct test_fFF_11_data): Likewise.
4161         (RM_): New macro.
4162         (RM_FE_DOWNWARD): Likewise.
4163         (RM_FE_TONEAREST): Likewise.
4164         (RM_FE_TOWARDZERO): Likewise.
4165         (RM_FE_UPWARD): Likewise.
4166         (RUN_TEST_LOOP_f_f): Update references to expected results.
4167         (RUN_TEST_LOOP_2_f): Likewise.
4168         (RUN_TEST_LOOP_fff_f): Likewise.
4169         (RUN_TEST_LOOP_c_f): Likewise.
4170         (RUN_TEST_LOOP_f_f1): Likewise.
4171         (RUN_TEST_LOOP_fF_f1): Likewise.
4172         (RUN_TEST_LOOP_fI_f1): Likewise.
4173         (RUN_TEST_LOOP_ffI_f1): Likewise.
4174         (RUN_TEST_LOOP_c_c): Likewise.
4175         (RUN_TEST_LOOP_cc_c): Likewise.
4176         (RUN_TEST_LOOP_f_i): Likewise.
4177         (RUN_TEST_LOOP_f_i_tg): Likewise.
4178         (RUN_TEST_LOOP_ff_i_tg): Likewise.
4179         (RUN_TEST_LOOP_f_b): Likewise.
4180         (RUN_TEST_LOOP_f_b_tg): Likewise.
4181         (RUN_TEST_LOOP_f_l): Likewise.
4182         (RUN_TEST_LOOP_f_L): Likewise.
4183         (RUN_TEST_LOOP_fFF_11): Likewise.
4184         * math/gen-libm-test.pl (parse_args): Output four copies of
4185         expected results for each test.
4186
4187         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
4188         (__ASSUME_UTIMES): Remove.
4189         * sysdeps/unix/sysv/linux/tile/kernel-features.h
4190         (__ASSUME_UTIMES): Likewise.
4191
4192         * math/gen-auto-libm-tests.c: Update comment on output format.
4193         (output_for_one_input_case): Generate before-rounding and
4194         after-rounding information as conditions on output flags not
4195         floating-point format.
4196         * math/auto-libm-test-out: Regenerated.
4197         * math/gen-libm-test.pl (cond_value): New function.
4198         (or_cond_value): Use cond_value.
4199         (generate_testfile): Handle conditional exceptions.
4200
4201 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
4202
4203         * math/libm-test.inc (max_valid_error): New variable.
4204         (init_max_error): Take new argument specifying whether function
4205         results are exactly determined.  Set max_valid_error and bound
4206         other variables for errors based on this argument.
4207         (set_max_error): Do not record results above max_valid_error.
4208         (check_float_internal): Only accept errors of up to 0.5ulps if
4209         also at most max_valid_error.
4210         (START): Take new argument EXACT and pass it to init_max_error.
4211         (acos_test): Update call to START.
4212         (acos_test_tonearest): Likewise.
4213         (acos_test_towardzero): Likewise.
4214         (acos_test_downward): Likewise.
4215         (acos_test_upward): Likewise.
4216         (acosh_test): Likewise.
4217         (asin_test): Likewise.
4218         (asin_test_tonearest): Likewise.
4219         (asin_test_towardzero): Likewise.
4220         (asin_test_downward): Likewise.
4221         (asin_test_upward): Likewise.
4222         (asinh_test): Likewise.
4223         (atan_test): Likewise.
4224         (atanh_test): Likewise.
4225         (atan2_test): Likewise.
4226         (cabs_test): Likewise.
4227         (cacos_test): Likewise.
4228         (cacosh_test): Likewise.
4229         (carg_test): Likewise.
4230         (casin_test): Likewise.
4231         (casinh_test): Likewise.
4232         (catan_test): Likewise.
4233         (catanh_test): Likewise.
4234         (cbrt_test): Likewise.
4235         (ccos_test): Likewise.
4236         (ccosh_test): Likewise.
4237         (ceil_test): Likewise.
4238         (cexp_test): Likewise.
4239         (cimag_test): Likewise.
4240         (clog_test): Likewise.
4241         (clog10_test): Likewise.
4242         (conj_test): Likewise.
4243         (copysign_test): Likewise.
4244         (cos_test): Likewise.
4245         (cos_test_tonearest): Likewise.
4246         (cos_test_towardzero): Likewise.
4247         (cos_test_downward): Likewise.
4248         (cos_test_upward): Likewise.
4249         (cosh_test): Likewise.
4250         (cosh_test_tonearest): Likewise.
4251         (cosh_test_towardzero): Likewise.
4252         (cosh_test_downward): Likewise.
4253         (cosh_test_upward): Likewise.
4254         (cpow_test): Likewise.
4255         (cproj_test): Likewise.
4256         (creal_test): Likewise.
4257         (csin_test): Likewise.
4258         (csinh_test): Likewise.
4259         (csqrt_test): Likewise.
4260         (ctan_test): Likewise.
4261         (ctan_test_tonearest): Likewise.
4262         (ctan_test_towardzero): Likewise.
4263         (ctan_test_downward): Likewise.
4264         (ctan_test_upward): Likewise.
4265         (ctanh_test): Likewise.
4266         (ctanh_test_tonearest): Likewise.
4267         (ctanh_test_towardzero): Likewise.
4268         (ctanh_test_downward): Likewise.
4269         (ctanh_test_upward): Likewise.
4270         (erf_test): Likewise.
4271         (erfc_test): Likewise.
4272         (exp_test): Likewise.
4273         (exp_test_tonearest): Likewise.
4274         (exp_test_towardzero): Likewise.
4275         (exp_test_downward): Likewise.
4276         (exp_test_upward): Likewise.
4277         (exp10_test): Likewise.
4278         (exp10_test_tonearest): Likewise.
4279         (exp10_test_towardzero): Likewise.
4280         (exp10_test_downward): Likewise.
4281         (exp10_test_upward): Likewise.
4282         (pow10_test): Likewise.
4283         (exp2_test): Likewise.
4284         (expm1_test): Likewise.
4285         (expm1_test_tonearest): Likewise.
4286         (expm1_test_towardzero): Likewise.
4287         (expm1_test_downward): Likewise.
4288         (expm1_test_upward): Likewise.
4289         (fabs_test): Likewise.
4290         (fdim_test): Likewise.
4291         (floor_test): Likewise.
4292         (fma_test): Likewise.
4293         (fma_test_towardzero): Likewise.
4294         (fma_test_downward): Likewise.
4295         (fma_test_upward): Likewise.
4296         (fmax_test): Likewise.
4297         (fmin_test): Likewise.
4298         (fmod_test): Likewise.
4299         (fpclassify_test): Likewise.
4300         (frexp_test): Likewise.
4301         (hypot_test): Likewise.
4302         (ilogb_test): Likewise.
4303         (isfinite_test): Likewise.
4304         (finite_test): Likewise.
4305         (isgreater_test): Likewise.
4306         (isgreaterequal_test): Likewise.
4307         (isinf_test): Likewise.
4308         (isless_test): Likewise.
4309         (islessequal_test): Likewise.
4310         (islessgreater_test): Likewise.
4311         (isnan_test): Likewise.
4312         (isnormal_test): Likewise.
4313         (issignaling_test): Likewise.
4314         (isunordered_test): Likewise.
4315         (j0_test): Likewise.
4316         (j1_test): Likewise.
4317         (jn_test): Likewise.
4318         (ldexp_test): Likewise.
4319         (lgamma_test): Likewise.
4320         (gamma_test): Likewise.
4321         (lrint_test): Likewise.
4322         (lrint_test_tonearest): Likewise.
4323         (lrint_test_towardzero): Likewise.
4324         (lrint_test_downward): Likewise.
4325         (lrint_test_upward): Likewise.
4326         (llrint_test): Likewise.
4327         (llrint_test_tonearest): Likewise.
4328         (llrint_test_towardzero): Likewise.
4329         (llrint_test_downward): Likewise.
4330         (llrint_test_upward): Likewise.
4331         (log_test): Likewise.
4332         (log10_test): Likewise.
4333         (log1p_test): Likewise.
4334         (log2_test): Likewise.
4335         (logb_test): Likewise.
4336         (logb_test_downward): Likewise.
4337         (lround_test): Likewise.
4338         (llround_test): Likewise.
4339         (modf_test): Likewise.
4340         (nearbyint_test): Likewise.
4341         (nextafter_test): Likewise.
4342         (nexttoward_test): Likewise.
4343         (pow_test): Likewise.
4344         (pow_test_tonearest): Likewise.
4345         (pow_test_towardzero): Likewise.
4346         (pow_test_downward): Likewise.
4347         (pow_test_upward): Likewise.
4348         (remainder_test): Likewise.
4349         (drem_test): Likewise.
4350         (remainder_test_tonearest): Likewise.
4351         (drem_test_tonearest): Likewise.
4352         (remainder_test_towardzero): Likewise.
4353         (drem_test_towardzero): Likewise.
4354         (remainder_test_downward): Likewise.
4355         (drem_test_downward): Likewise.
4356         (remainder_test_upward): Likewise.
4357         (drem_test_upward): Likewise.
4358         (remquo_test): Likewise.
4359         (rint_test): Likewise.
4360         (rint_test_tonearest): Likewise.
4361         (rint_test_towardzero): Likewise.
4362         (rint_test_downward): Likewise.
4363         (rint_test_upward): Likewise.
4364         (round_test): Likewise.
4365         (scalb_test): Likewise.
4366         (scalbn_test): Likewise.
4367         (scalbln_test): Likewise.
4368         (signbit_test): Likewise.
4369         (sin_test): Likewise.
4370         (sin_test_tonearest): Likewise.
4371         (sin_test_towardzero): Likewise.
4372         (sin_test_downward): Likewise.
4373         (sin_test_upward): Likewise.
4374         (sincos_test): Likewise.
4375         (sinh_test): Likewise.
4376         (sinh_test_tonearest): Likewise.
4377         (sinh_test_towardzero): Likewise.
4378         (sinh_test_downward): Likewise.
4379         (sinh_test_upward): Likewise.
4380         (sqrt_test): Likewise.
4381         (sqrt_test_tonearest): Likewise.
4382         (sqrt_test_towardzero): Likewise.
4383         (sqrt_test_downward): Likewise.
4384         (sqrt_test_upward): Likewise.
4385         (tan_test): Likewise.
4386         (tan_test_tonearest): Likewise.
4387         (tan_test_towardzero): Likewise.
4388         (tan_test_downward): Likewise.
4389         (tan_test_upward): Likewise.
4390         (tanh_test): Likewise.
4391         (tgamma_test): Likewise.
4392         (trunc_test): Likewise.
4393         (y0_test): Likewise.
4394         (y1_test): Likewise.
4395         (yn_test): Likewise.
4396         (significand_test): Likewise.
4397
4398         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
4399         individual tests in comment.
4400         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
4401         (prev_max_error): New variable.
4402         (prev_real_max_error): Likewise.
4403         (prev_imag_max_error): Likewise.
4404         (compare_ulp_data): Don't refer to test names in comment.
4405         (find_test_ulps): Remove function.
4406         (find_function_ulps): Likewise.
4407         (find_complex_function_ulps): Likewise.
4408         (init_max_error): Take function name as argument.  Look up ulps
4409         for that function.
4410         (print_ulps): Remove function.
4411         (print_max_error): Use prev_max_error instead of calling
4412         find_function_ulps.
4413         (print_complex_max_error): Use prev_real_max_error and
4414         prev_imag_max_error instead of calling find_complex_function_ulps.
4415         (check_float_internal): Take max_ulp parameter instead of calling
4416         find_test_ulps.  Don't call print_ulps.
4417         (check_float): Update call to check_float_internal.
4418         (check_complex): Update calls to check_float_internal.
4419         (START): Pass argument to init_max_error.
4420         * math/gen-libm-test.pl (%results): Don't include "kind"
4421         information.
4422         (parse_ulps): Don't handle ulps of individual tests.
4423         (print_ulps_file): Likewise.
4424         (output_ulps): Likewise.
4425         * math/README.libm-test: Update.
4426         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
4427         individual tests.
4428         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
4429         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
4430         * sysdeps/arm/libm-test-ulps: Likewise.
4431         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
4432         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
4433         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
4434         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
4435         * sysdeps/microblaze/libm-test-ulps: Likewise.
4436         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
4437         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
4438         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
4439         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
4440         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4441         * sysdeps/sh/libm-test-ulps: Likewise.
4442         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
4443         * sysdeps/tile/libm-test-ulps: Likewise.
4444         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4445
4446 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
4447
4448         * math/libm-test.inc (print_complex_max_error): Check separately
4449         whether real and imaginary errors are within allowed range and
4450         pass 0 to print_complex_function_ulps instead of value within
4451         allowed range.
4452
4453 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4454
4455         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
4456         formatting.
4457         (get_handles_fopen): Likewise.
4458         (do_write_test): Likewise.
4459
4460         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
4461
4462         * libio/fileops.c (do_ftell): Use cached offset when
4463         available.
4464         * libio/iofwide.c (do_ftell_wide): Likewise.
4465         * libio/iofdopen.c (_IO_new_fdopen): Don't use
4466         _IO_file_attach.
4467         * libio/wfileops.c (_IO_fwide): Don't cache offset.
4468
4469         [BZ #16532]
4470         * libio/libioP.h (get_file_offset): New function.
4471         * libio/fileops.c (get_file_offset): Likewise.
4472         (do_ftell): Likewise.
4473         (_IO_new_file_seekoff): Split out ftell logic.
4474         * libio/wfileops.c (do_ftell_wide): Likewise.
4475         (_IO_wfile_seekoff): Split out ftell logic.
4476         * libio/tst-ftell-active-handler.c: New test case.
4477         * libio/Makefile (tests): Add it.
4478
4479 2014-03-03  Roland McGrath  <roland@hack.frob.com>
4480
4481         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
4482         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
4483
4484 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
4485
4486         [BZ #16639]
4487         * nscd/connections.c (nscd_init): Call do_exit.
4488         (start_threads): Call do_exit and notify_parent.
4489         (begin_drop_privileges): Call do_exit.
4490         (finish_drop_privileges): Likewise.
4491         * nscd/selinux.c (preserve_capabilities): Likewise.
4492         (install_real_capabilities): Likewise.
4493         (nscd_selinux_enabled): Likewise.
4494         (avc_create_thread): Likewise.
4495         (avc_alloc_lock): Likewise.
4496         (nscd_avc_init): Likewise.
4497         * nscd/nscd.c (parent_fd): New static variable.
4498         (main): Create a pipe between parent and child processes.
4499         Skip closing parent_fd.
4500         (monitor_child): New function.
4501         (do_exit): Likewise.
4502         (notify_parent): Likewise.
4503         * nscd/nscd.h (notify_parent): Likewise.
4504         (do_exit): Likewise.
4505
4506 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
4507
4508         * malloc/malloc.c (__libc_calloc): Revert last change.
4509
4510 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4511
4512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4513
4514 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
4515
4516         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
4517         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
4518         implementation.
4519         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
4520         (__libc_ifunc_impl_list): Likewise.
4521         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
4522         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
4523         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
4524         * string/strrchr.c: Define STRRCHR.
4525
4526 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
4527
4528         * benchtest/bench-strtok.c (simple_strtok): Delete.
4529         (strtok_string): Use as benchmark.
4530         * string/strtok (STRTOK): New macro.
4531
4532 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
4533
4534         * manual/threads.texi: Add header and standard comments to all
4535         functions.
4536
4537         * elf/dl-lookup.c (check_match): New function.
4538         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
4539         (do_lookup_x): Remove nested function check_match. Use non-nested
4540         function check_match.
4541
4542 2014-02-28  Roland McGrath  <roland@hack.frob.com>
4543
4544         * csu/Makefile (generated, before-compile): Use += rather than =.
4545         * catgets/Makefile (generated, generated-dirs): Likewise.
4546         * debug/Makefile (generated): Likewise.
4547         * dlfcn/Makefile (generated): Likewise.
4548         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
4549         * iconvdata/Makefile (before-compile, generated): Likewise.
4550         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
4551         * libio/Makefile (generated): Likewise.
4552         * malloc/Makefile (generated): Likewise.
4553         * manual/Makefile (generated, generated-dirs): Likewise.
4554         * misc/Makefile (generated): Likewise.
4555         * posix/Makefile (generated): Likewise.
4556         * resolv/Makefile (generated): Likewise.
4557         * sunrpc/Makefile (generated, generated-dirs): Likewise.
4558         * timezone/Makefile (generated, generated-dirs): Likewise.
4559
4560         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
4561
4562 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4563
4564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
4565         power8 implementation.
4566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
4567         file: POWER8 llround ifunc implementation.
4568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
4569         (__lllround): Add POWER8 implementation.
4570         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
4571         POWER8 llround implementation.
4572
4573         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
4574         power8 implementation.
4575         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
4576         file: POWER8 llrint ifunc implementation.
4577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
4578         Add POWER8 implementation.
4579         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
4580         POWER8 llrint implementation.
4581
4582         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
4583         power8 implementation.
4584         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
4585         file: POWER8 finite ifunc implementation.
4586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
4587         Add POWER8 implementation.
4588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
4589         Likewise.
4590         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
4591         POWER8 finite implementation.
4592         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
4593
4594         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
4595         power8 implementation.
4596         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
4597         file: POWER8 isinf ifunc implementation.
4598         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
4599         POWER8 implementation.
4600         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
4601         Likewise.
4602         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
4603         isinf implementation.
4604         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
4605
4606         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
4607         (INIT_ARCH): Add hwcap2 initialization.
4608         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
4609         power8 implementation.
4610         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
4611         file: POWER8 isnan ifunc implementation.
4612         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
4613         POWER8 implementation.
4614         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
4615         Likewise.
4616         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
4617         isnan implementation.
4618         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
4619
4620 2014-02-27  Joey Ye  <joey.ye@arm.com>
4621
4622         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
4623         (_FP_NANFRAC_Q): Set to zero.
4624
4625 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
4626
4627         [BZ #16623]
4628         * math/auto-libm-test-in: New test inputs.
4629         * math/auto-libm-test-out: Regenerate.
4630         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
4631         and DA.
4632         (__cos): Likewise.
4633         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
4634
4635 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
4636
4637         * scripts/evaluate-test.sh: Take new argument indicating whether
4638         failure is expected.
4639         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
4640         indicating whether failure is expected.
4641         * conform/Makefile (test-xfail-run-conformtest): New variable.
4642         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
4643         level.
4644         * posix/Makefile (test-xfail-annexc): New variable.
4645         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
4646
4647 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
4648
4649         * argp/Makefile: Include Makeconfig immediately after defining
4650         subdir.
4651         * assert/Makefile: Likewise.
4652         * benchtests/Makefile: Likewise.
4653         * catgets/Makefile: Likewise.
4654         * conform/Makefile: Likewise.
4655         * crypt/Makefile: Likewise.
4656         * csu/Makefile: Likewise.
4657         (all): Remove target.
4658         * ctype/Makefile: Include Makeconfig immediately after defining
4659         subdir.
4660         * debug/Makefile: Likewise.
4661         * dirent/Makefile: Likewise.
4662         * dlfcn/Makefile: Likewise.
4663         * gmon/Makefile: Likewise.
4664         * gnulib/Makefile: Likewise.
4665         * grp/Makefile: Likewise.
4666         * gshadow/Makefile: Likewise.
4667         * hesiod/Makefile: Likewise.
4668         * hurd/Makefile: Likewise.
4669         (all): Remove target.
4670         * iconvdata/Makefile: Include Makeconfig immediately after
4671         defining subdir.
4672         * inet/Makefile: Likewise.
4673         * intl/Makefile: Likewise.
4674         * io/Makefile: Likewise.
4675         * libio/Makefile: Likewise.
4676         (all): Remove target.
4677         * locale/Makefile: Include Makeconfig immediately after defining
4678         subdir.
4679         * login/Makefile: Likewise.
4680         * mach/Makefile: Likewise.
4681         (all): Remove target.
4682         * malloc/Makefile: Include Makeconfig immediately after defining
4683         subdir.
4684         (all): Remove target.
4685         * manual/Makefile: Include Makeconfig immediately after defining
4686         subdir.
4687         * math/Makefile: Likewise.
4688         * misc/Makefile: Likewise.
4689         * nis/Makefile: Likewise.
4690         * nss/Makefile: Likewise.
4691         * po/Makefile: Likewise.
4692         (all): Remove target.
4693         * posix/Makefile: Include Makeconfig immediately after defining
4694         subdir.
4695         * pwd/Makefile: Likewise.
4696         * resolv/Makefile: Likewise.
4697         * resource/Makefile: Likewise.
4698         * rt/Makefile: Likewise.
4699         * setjmp/Makefile: Likewise.
4700         * shadow/Makefile: Likewise.
4701         * signal/Makefile: Likewise.
4702         * socket/Makefile: Likewise.
4703         * soft-fp/Makefile: Likewise.
4704         * stdio-common/Makefile: Likewise.
4705         * stdlib/Makefile: Likewise.
4706         * streams/Makefile: Likewise.
4707         * string/Makefile: Likewise.
4708         * sunrpc/Makefile: Likewise.
4709         (all): Remove target.
4710         * sysvipc/Makefile: Include Makeconfig immediately after defining
4711         subdir.
4712         * termios/Makefile: Likewise.
4713         * time/Makefile: Likewise.
4714         * timezone/Makefile: Likewise.
4715         (all): Remove target.
4716         * wcsmbs/Makefile: Include Makeconfig immediately after defining
4717         subdir.
4718         * wctype/Makefile: Likewise.
4719
4720 2014-02-26  Steve Ellcey  <sellcey@mips.com>
4721
4722         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
4723         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
4724         (libc_feholdexcept_setround_mips): Ditto.
4725         (libc_feholdsetround): New.
4726         (libc_feholdsetroundf): New.
4727         (libc_feholdsetroundl): New.
4728         (libc_feupdateenv_test_mips): New.
4729         (libc_feupdateenv_test): New.
4730         (libc_feupdateenv_testf): New.
4731         (libc_feupdateenv_testl): New.
4732         (libc_feresetround): New.
4733         (libc_feresetroundf): New.
4734         (libc_feresetroundl): New.
4735         (libc_fetestexcept_mips): New.
4736         (libc_fetestexcept): New.
4737         (libc_fetestexceptf): New.
4738         (libc_fetestexceptl): New.
4739         (HAVE_RM_CTX): New.
4740         (libc_feholdexcept_setround_mips_ctx): New.
4741         (libc_feholdexcept_setround_ctx): New.
4742         (libc_feholdexcept_setroundf_ctx): New.
4743         (libc_feholdexcept_setroundl_ctx): New.
4744         (libc_fesetenv_mips_ctx): New.
4745         (libc_fesetenv_ctx): New.
4746         (libc_fesetenv_ctxf): New.
4747         (libc_fesetenv_ctxl): New.
4748         (libc_feupdateenv_mips_ctx): New.
4749         (libc_feupdateenv_ctx): New.
4750         (libc_feupdateenvf_ctx): New.
4751         (libc_feupdateenvl_ctx): New.
4752         (libc_feholdsetround_mips_ctx): New.
4753         (libc_feholdsetround_ctx): New.
4754         (libc_feholdsetroundf_ctx): New.
4755         (libc_feholdsetroundl_ctx): New.
4756         (libc_feresetround_mips_ctx): New.
4757         (libc_feresetround_ctx): New.
4758         (libc_feresetroundf_ctx): New.
4759         (libc_feresetroundl_ctx): New.
4760
4761 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
4762
4763         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
4764
4765         * manual/ipc.texi: New file.
4766         * manual/Makefile (chapters): Add ipc.
4767         * manual/job.texi: Add "Inter-Process Communication" to next.
4768         * manual/process.texi: Add "Inter-Process Communication" to prev.
4769
4770 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4771
4772         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4773
4774 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
4775
4776         * malloc/malloc.c (__libc_calloc): Simplify implementation.
4777
4778         * manual/arith.texi: Fix spaces after sentences.
4779         * manual/charset.texi: Likewise.
4780         * manual/errno.texi: Likewise.
4781         * manual/install.texi: Likewise.
4782         * manual/llio.texi: Likewise.
4783         * manual/locale.texi: Likewise.
4784         * manual/maint.texi: Likewise.
4785         * manual/math.texi: Likewise.
4786         * manual/memory.texi: Likewise.
4787         * manual/message.texi: Likewise.
4788         * manual/probes.texi: Likewise.
4789         * manual/resource.texi: Likewise.
4790         * manual/signal.texi: Likewise.
4791         * manual/socket.texi: Likewise.
4792         * manual/stdio.texi: Likewise.
4793         * manual/string.texi: Likewise.
4794         * manual/time.texi: Likewise.
4795         * manual/users.texi: Likewise.
4796
4797 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
4798
4799         [BZ #16632]
4800         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
4801         _DEFAULT_SOURCE is defined.
4802
4803 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
4804             Carlos O'Donell  <carlos@redhat.com>
4805
4806         [BZ #16613]
4807         * elf/dl-tls.c (_dl_count_modids): New function.
4808         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
4809         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
4810         audit library and increment generation counter.
4811         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
4812         * elf/tst-audit9.c: New file.
4813         * elf/tst-auditmod9a.c: New file.
4814         * elf/tst-auditmod9b.c: New file.
4815         * elf/Makefile: Add rules to build and run tst-audit9.
4816
4817 2014-02-25  Florian Weimer  <fweimer@redhat.com>
4818
4819         [BZ #15347]
4820         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
4821
4822 2014-02-25  Will Newton  <will.newton@linaro.org>
4823
4824         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
4825         (__longjmp): Restore sp and lr before restoring callee
4826         saved registers.  Add longjmp and longjmp_target
4827         SystemTap probe point.
4828         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
4829         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
4830         Define to zero to match jmpbuf layout.
4831         * sysdeps/arm/setjmp.S: Include stap-probe.h.
4832         (__sigsetjmp): Save sp and lr before saving callee
4833         saved registers.  Add setjmp SystemTap probe point.
4834
4835 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
4836
4837         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
4838
4839 2014-02-24  Andreas Schwab  <schwab@suse.de>
4840
4841         [BZ #15804]
4842         * elf/pldd.c (wait_for_ptrace_stop): New function.
4843         (main): Call it after attaching.
4844
4845 2014-02-22  Roland McGrath  <roland@hack.frob.com>
4846
4847         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
4848         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
4849         Versions files is now verboten.
4850         * hurd/Versions (libc: GLIBC_2.0):
4851         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
4852         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
4853         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
4854         * mach/Versions: Likewise.
4855
4856         * csu/Versions: Remove unused %include.
4857         * resolv/Versions: Likewise.
4858
4859 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
4860
4861         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
4862         ($(objpfx)check-local-headers.out): Likewise.
4863         ($(objpfx)begin-end-check.out): Likewise.
4864         * Makerules (check-abi-%.out): Likewise.
4865         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
4866         ($(objpfx)test2.cat): Likewise.
4867         ($(objpfx)de/libc.cat): Likewise.
4868         ($(objpfx)test-gencat.out): Likewise.
4869         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
4870         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
4871         ($(objpfx)noload-mem): Likewise.
4872         ($(objpfx)tst-pathopt.out): Likewise.
4873         ($(objpfx)tst-rtld-load-self.out): Likewise.
4874         ($(objpfx)tst-array1-cmp.out): Likewise.
4875         ($(objpfx)tst-array1-static-cmp.out): Likewise.
4876         ($(objpfx)tst-array2-cmp.out): Likewise.
4877         ($(objpfx)tst-array3-cmp.out): Likewise.
4878         ($(objpfx)tst-array4-cmp.out): Likewise.
4879         ($(objpfx)tst-array5-cmp.out): Likewise.
4880         ($(objpfx)tst-array5-static-cmp.out): Likewise.
4881         ($(objpfx)check-textrel.out): Likewise.
4882         ($(objpfx)check-execstack.out): Likewise.
4883         ($(objpfx)check-localplt.out): Likewise.
4884         ($(objpfx)order2-cmp.out): Likewise.
4885         ($(objpfx)tst-leaks1-mem): Likewise.
4886         ($(objpfx)tst-leaks1-static-mem): Likewise.
4887         ($(objpfx)tst-initorder-cmp.out): Likewise.
4888         ($(objpfx)tst-initorder2-cmp.out): Likewise.
4889         ($(objpfx)tst-unused-dep.out): Likewise.
4890         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
4891         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
4892         * iconv/Makefile (test-iconvconfig): Likewise.
4893         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
4894         ($(objpfx)iconv-test.out): Likewise.
4895         ($(objpfx)tst-tables.out): Likewise.
4896         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
4897         ($(objpfx)tst-gettext.out): Likewise.
4898         ($(objpfx)tst-translit.out): Likewise.
4899         ($(objpfx)tst-gettext2.out): Likewise.
4900         ($(objpfx)tst-gettext4.out): Likewise.
4901         ($(objpfx)tst-gettext6.out): Likewise.
4902         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
4903         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
4904         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
4905         ($(objpfx)tst-fopenloc-mem.out): Likewise.
4906         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
4907         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
4908         * posix/Makefile ($(objpfx)globtest.out): Likewise.
4909         ($(objpfx)wordexp-tst.out): Likewise.
4910         ($(objpfx)annexc.out): Likewise.
4911         ($(objpfx)tst-fnmatch-mem): Likewise.
4912         ($(objpfx)bug-regex2-mem): Likewise.
4913         ($(objpfx)bug-regex14-mem): Likewise.
4914         ($(objpfx)bug-regex21-mem): Likewise.
4915         ($(objpfx)bug-regex31-mem): Likewise.
4916         ($(objpfx)tst-vfork3-mem): Likewise.
4917         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
4918         ($(objpfx)tst-pcre-mem): Likewise.
4919         ($(objpfx)tst-boost-mem): Likewise.
4920         ($(objpfx)tst-getconf.out): Likewise.
4921         ($(objpfx)bug-ga2-mem): Likewise.
4922         ($(objpfx)bug-glob2-mem): Likewise.
4923         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
4924         ($(objpfx)mtrace-tst-leaks2): Likewise.
4925         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
4926         ($(objpfx)tst-printf.out): Likewise.
4927         ($(objpfx)tst-setvbuf1.out): Likewise.
4928         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
4929         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
4930         ($(objpfx)tst-fmtmsg.out): Likewise.
4931         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
4932         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
4933
4934         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
4935         * bits/sigaction.h [__USE_MISC]: Likewise.
4936         * bits/waitstatus.h: Update #endif comments.
4937         * ctype/ctype.h: Likewise.
4938         * dirent/dirent.h: Likewise.
4939         [__USE_MISC]: Remove redundant conditionals.
4940         * grp/grp.h: Update #endif comments.
4941         [__USE_GNU]: Remove redundant conditionals.
4942         [__USE_MISC]: Likewise.
4943         * inet/netinet/in.h [__USE_GNU]: Likewise.
4944         * io/sys/stat.h [__USE_MISC]: Likewise.
4945         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
4946         * libio/bits/stdio.h: Update #endif comments.
4947         [__USE_MISC]: Remove redundant conditionals.
4948         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
4949         * libio/stdio.h: Update #endif comments.
4950         [__USE_MISC]: Remove redundant conditionals.
4951         * math/bits/math-finite.h [__USE_MISC]: Likewise.
4952         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
4953         * math/math.h: Update #else and #endif comments.
4954         [__USE_MISC]: Remove redundant conditionals.
4955         * misc/sys/uio.h: Update #endif comments.
4956         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
4957         * posix/glob.h [__USE_MISC]: Likewise.
4958         * posix/sys/types.h: Update #endif comments.
4959         [__USE_MISC]: Remove redundant conditionals.
4960         * posix/sys/wait.h: Update #endif comments.
4961         [__USE_MISC]: Remove redundant conditionals.
4962         * posix/unistd.h: Update #endif comments.
4963         [__USE_MISC]: Remove redundant conditionals.
4964         * pwd/pwd.h [__USE_GNU]: Likewise.
4965         [__USE_MISC]: Likewise.
4966         * resolv/netdb.h [__USE_GNU]: Likewise.
4967         * signal/signal.h: Update #endif comments.
4968         [__USE_MISC]: Remove redundant conditionals.
4969         * stdlib/stdlib.h: Update #else and #endif comments.
4970         [__USE_MISC]: Remove redundant conditionals.
4971         [__USE_GNU]: Likewise.
4972         * string/bits/string2.h [__USE_MISC]: Likewise.
4973         * string/string.h: Update #endif comments.
4974         [__USE_MISC]: Remove redundant conditionals.
4975         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
4976         Likewise.
4977         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
4978         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
4979         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
4980         Likewise.
4981         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
4982         Likewise.
4983         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
4984         comments.
4985         [__USE_MISC]: Remove redundant conditionals.
4986         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
4987         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
4988         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
4989         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
4990         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
4991         Likewise.
4992         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
4993         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
4994         Likewise.
4995         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
4996         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
4997         Likewise.
4998         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
4999         Likewise.
5000         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
5001         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
5002         Likewise.
5003         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
5004         Likewise.
5005         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
5006         * sysdeps/x86/bits/string.h: Update #endif comments.
5007         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
5008         conditionals.
5009         * time/sys/time.h: Update #endif comments.
5010         * time/time.h: Likewise.
5011         [__USE_MISC]: Remove redundant conditionals.
5012
5013 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
5014
5015         [BZ #16600]
5016         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
5017
5018 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
5019
5020         * Versions.def (librt): Add GLIBC_2.17.
5021
5022 2014-02-21  Adam Conrad  <adconrad@0c3.net>
5023
5024         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
5025         synonym for _SYS_AUXV_H to allow direct inclusion.
5026         * sysdeps/sparc/bits/hwcap.h: Likewise.
5027         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
5028         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
5029         * sysdeps/sparc/sysdep.h: Likewise.
5030
5031 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
5032
5033         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
5034
5035 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
5036
5037         * benchtests/bench-strrchr.c: Print length instead of position.
5038
5039 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
5040
5041         [BZ #16611]
5042         * sysdeps/unix/sysv/linux/kernel-features.h
5043         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
5044         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
5045         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
5046         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
5047         Likewise.
5048         [__i386__ || __powerpc__ || __sh__ || __sparc__]
5049         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5050         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
5051         (__ASSUME_SENDMMSG): Define instead of using previous
5052         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
5053         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5054         (__ASSUME_SENDMMSG_SYSCALL): Define.
5055         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5056         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
5057         Likewise.
5058         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5059         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5060         Likewise.
5061         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5062         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5063         Likewise.
5064         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
5065         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5066         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5067         [__ASSUME_SENDMMSG]: Change conditionals to
5068         [__ASSUME_SENDMMSG_SOCKETCALL].
5069         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5070         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
5071         Define.
5072         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5073         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
5074         Likewise.
5075         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
5076         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
5077         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
5078         [!__ASSUME_SENDMMSG]: Change conditional to
5079         [!__ASSUME_SENDMMSG_SOCKETCALL].
5080         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5081         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
5082         Define.
5083
5084         [BZ #16610]
5085         * sysdeps/unix/sysv/linux/kernel-features.h
5086         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
5087         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
5088         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
5089         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
5090         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5091         [__i386__ || __sparc__]
5092         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5093         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
5094         (__ASSUME_RECVMMSG): Define instead of using previous
5095         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
5096         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5097         (__ASSUME_RECVMMSG_SYSCALL): Define.
5098         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5099         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5100         Likewise.
5101         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5102         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5103         Likewise.
5104         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5105         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5106         Likewise.
5107         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
5108         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5109         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5110         [__ASSUME_RECVMMSG]: Change condition to
5111         [__ASSUME_RECVMMSG_SOCKETCALL].
5112         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5113         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5114         Define.
5115         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5116         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5117         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
5118         Likewise.
5119         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
5120         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
5121         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
5122         [!__ASSUME_RECVMMSG]: Change condition to
5123         [!__ASSUME_RECVMMSG_SOCKETCALL].
5124         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5125         (__ASSUME_RECVMMSG_SYSCALL): Define.
5126
5127         [BZ #16609]
5128         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
5129         __powerpc__ || __s390__ || __sh__ || __sparc__]
5130         (__ASSUME_SOCKETCALL): Define.
5131         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
5132         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
5133         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
5134         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
5135         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
5136         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5137         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
5138         (__ASSUME_ACCEPT4): Define instead of using previous
5139         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
5140         __powerpc__ || __sparc__ || __s390__)] condition.
5141         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
5142         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5143         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
5144         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5145         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5146         [!__ASSUME_ACCEPT4]: Change condition to
5147         [!__ASSUME_ACCEPT4_SOCKETCALL].
5148         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
5149         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
5150         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
5151         * sysdeps/unix/sysv/linux/arm/kernel-features.h
5152         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
5153         __ASSUME_ACCEPT4_SYSCALL.
5154         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
5155         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
5156         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
5157         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
5158         __ASSUME_ACCEPT4_SYSCALL.
5159         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
5160         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
5161         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
5162         [__ASSUME_ACCEPT4]: Change condition to
5163         [__ASSUME_ACCEPT4_SOCKETCALL].
5164         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
5165         (__ASSUME_SOCKETCALL): Define.
5166         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
5167         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
5168         (__ASSUME_SOCKETCALL): Define.
5169         (__ASSUME_ACCEPT4): Remove.
5170         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
5171         Define.
5172         * sysdeps/unix/sysv/linux/mips/kernel-features.h
5173         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
5174         Likewise.
5175         * sysdeps/unix/sysv/linux/tile/kernel-features.h
5176         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
5177
5178         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
5179         macro.
5180         (HWCAP_ARM_LPAE): Likewise.
5181         (HWCAP_ARM_EVTSTRM): Likewise.
5182         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
5183         Add vpfd32, lpae and evtstrm.
5184         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
5185         Increase to 22.
5186
5187 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
5188
5189         * math/auto-libm-test-in: Add tests of clog10.
5190         * math/auto-libm-test-out: Regenerated.
5191         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
5192         * sysdeps/i386/fpu/libm-test-ulps: Update.
5193         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5194
5195 2014-02-18  Andreas Schwab  <schwab@suse.de>
5196
5197         [BZ #16574]
5198         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
5199         Store non-zero if the second buffer was newly allocated.
5200         (send_dg): Likewise.
5201         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
5202         to send_vc and send_dg.
5203         (res_nsend): Pass NULL for ansp2_malloced.
5204         * resolv/res_query.c (__libc_res_nquery): Add parameter
5205         answerp2_malloced and pass it down to __libc_res_nsend.
5206         (res_nquery): Pass additional NULL to __libc_res_nquery.
5207         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
5208         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
5209         second answer buffer if answerp2_malloced was set.
5210         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
5211         (__libc_res_nquerydomain): Add parameter
5212         answerp2_malloced and pass it down to __libc_res_nquery.
5213         (res_nquerydomain): Pass additional NULL to
5214         __libc_res_nquerydomain.
5215         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
5216         additional NULL to __libc_res_nsend and __libc_res_nquery.
5217         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
5218         additional NULL to __libc_res_nsearch.
5219         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
5220         parameter of __libc_res_nsearch to check for separately allocated
5221         second buffer.
5222         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
5223         __libc_res_nquery.
5224         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
5225         additional NULL to __libc_res_nquery.
5226         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
5227         __libc_res_nsearch.
5228         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
5229         * include/resolv.h: Update prototypes of __libc_res_nquery,
5230         __libc_res_nsearch, __libc_res_nsend.
5231
5232 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
5233
5234         * math/auto-libm-test-in: Add tests of fma.
5235         * math/auto-libm-test-out: Regenerated.
5236         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
5237         (fma_towardzero_test_data): Likewise.
5238         (fma_downward_test_data): Likewise.
5239         (fma_upward_test_data): Likewise.
5240         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
5241         mpc_mode.
5242         (rounding_modes): Add values for new field.
5243         (func_calc_method): Add value mpfr_fff_f.
5244         (func_calc_desc): Add mpfr_fff_f union field.
5245         (test_function): Add field exact_args.
5246         (FUNC): Add macro argument EXACT_ARGS.
5247         (FUNC_mpfr_f_f): Update call to FUNC.
5248         (FUNC_mpfr_f_f): Likewise.
5249         (FUNC_mpfr_ff_f): Likewise.
5250         (FUNC_mpfr_if_f): Likewise.
5251         (FUNC_mpc_c_f): Likewise.
5252         (FUNC_mpc_c_c): Likewise.
5253         (test_functions): Add fma.  Update calls to FUNC.
5254         (handle_input_arg): Add argument exact_args.
5255         (add_test): Update call to handle_input_arg.
5256         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
5257         (output_for_one_input_case): Update call to calc_generic_results.
5258         Recalculate exact zero results in each rounding mode.
5259
5260         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
5261         non-negative before setting low bit.
5262         * math/auto-libm-test-in: Mark one asin test possibly having
5263         spurious underflow.
5264         * math/auto-libm-test-out: Regenerated.
5265         * sysdeps/i386/fpu/libm-test-ulps: Update.
5266         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5267
5268 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
5269
5270         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
5271         * sysdeps/unix/sysv/linux/microblaze: Move directory from
5272         ports/sysdeps/unix/sysv/linux/microblaze.
5273         * README: Add missing listing for microblaze*-*-linux-gnu.
5274
5275 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
5276
5277         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
5278         * sysdeps/unix/sysv/linux/ia64: Move directory from
5279         ports/sysdeps/unix/sysv/linux/ia64.
5280         * README: Update listing for ia64-*-linux-gnu.
5281
5282 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
5283             Joseph Myers  <joseph@codesourcery.com>
5284
5285         * Makeconfig (test-name): New variable.
5286         (evaluate-test): Likewise.
5287         * Makerules (do-test-clean): Remove .test-result files.
5288         (common-mostlyclean): Likewise.
5289         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
5290         * scripts/evaluate-test.sh: New file.
5291
5292 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
5293
5294         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
5295         separate $(objpfx)tst-fopenloc-cmp.out and
5296         $(objpfx)tst-fopenloc-mem.out targets.
5297         (tests): Update dependencies.
5298         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
5299         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
5300         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
5301         (tst-rxspencer-no-utf8-ARGS): New variable.
5302         (tst-rxspencer-no-utf8-ENV): Likewise.
5303         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
5304         instead of $(objpfx)tst-rxspencer-mem.
5305         ($(objpfx)tst-rxspencer-mem): Change target to
5306         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
5307         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
5308         * posix/tst-rxspencer-no-utf8.c: New file.
5309
5310         * elf/Makefile ($(objpfx)order.out): Remove rule.
5311         [$(run-built-tests) = yes] (tests): Depend on
5312         $(objpfx)order-cmp.out.
5313         ($(objpfx)order-cmp.out): New rule.
5314         [$(run-built-tests) = yes] (tests): Depend on
5315         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
5316         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
5317         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
5318         $(objpfx)tst-array5-static-cmp.out.
5319         ($(objpfx)tst-array1.out): Remove rule.
5320         ($(objpfx)tst-array1-cmp.out): New rule.
5321         ($(objpfx)tst-array1-static.out): Remove rule.
5322         ($(objpfx)tst-array1-static-cmp.out): New rule.
5323         ($(objpfx)tst-array2.out): Remove rule.
5324         ($(objpfx)tst-array2-cmp.out): New rule.
5325         ($(objpfx)tst-array3.out): Remove rule.
5326         ($(objpfx)tst-array3-cmp.out): New rule.
5327         ($(objpfx)tst-array4.out): Remove rule.
5328         ($(objpfx)tst-array4-cmp.out): New rule.
5329         ($(objpfx)tst-array5.out): Remove rule.
5330         ($(objpfx)tst-array5-cmp.out): New rule.
5331         ($(objpfx)tst-array5-static.out): Remove rule.
5332         ($(objpfx)tst-array5-static-cmp.out): New rule.
5333         [$(run-built-tests) = yes] (tests): Depend on
5334         $(objpfx)order2-cmp.out.
5335         ($(objpfx)order2.out): Remove rule.
5336         ($(objpfx)order2-cmp.out): New rule.
5337         ($(objpfx)tst-initorder.out): Remove rule.
5338         [$(run-built-tests) = yes] (tests): Depend on
5339         $(objpfx)tst-initorder-cmp.out.
5340         ($(objpfx)tst-initorder-cmp.out): New rule.
5341         ($(objpfx)tst-initorder2.out): Remove rule.
5342         [$(run-built-tests) = yes] (tests): Depend on
5343         $(objpfx)tst-initorder2-cmp.out.
5344         ($(objpfx)tst-initorder2-cmp.out): New rule.
5345         [$(run-built-tests) = yes] (tests): Depend on
5346         $(objpfx)tst-unused-dep-cmp.out.
5347         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
5348         ($(objpfx)tst-unused-dep-cmp.out): New rule.
5349         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
5350         on $(objpfx)tst-setvbuf1-cmp.out.
5351         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
5352         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
5353         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
5354         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
5355         ($(objpfx)tst-svc.out): Remove rule.
5356         ($(objpfx)tst-svc-cmp.out): New rule.
5357
5358 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
5359
5360         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
5361         * ctype/ctype.h [__USE_MISC]: Likewise.
5362         * dirent/dirent.h [__USE_MISC]: Likewise.
5363         * grp/grp.h [__USE_MISC]: Likewise.
5364         * io/fcntl.h [__USE_MISC]: Likewise.
5365         * io/sys/stat.h [__USE_MISC]: Likewise.
5366         * libio/stdio.h [__USE_MISC]: Likewise.
5367         * posix/unistd.h [__USE_MISC]: Likewise.
5368         * pwd/pwd.h [__USE_MISC]: Likewise.
5369         * stdlib.h [__USE_MISC]: Likewise.
5370         * string/bits/string2.h [__USE_MISC]: Likewise.
5371         * string/string.h [__USE_MISC]: Likewise.
5372         * time/time.h [__USE_MISC]: Likewise.
5373
5374 2014-02-13  Andreas Schwab  <schwab@suse.de>
5375
5376         [BZ #16574]
5377         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
5378         second answer buffer if it was separately allocated.
5379
5380 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
5381
5382         * sysdeps/mips/math-tests.h: Include <features.h>.
5383         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5384         (ROUNDING_TESTS_long_double): Do not define.
5385         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
5386         (EXCEPTION_TESTS_long_double): Likewise.
5387         * sysdeps/mips/mips64/libm-test-ulps: Update.
5388
5389         * include/features.h (__USE_BSD): Remove macro definitions.
5390         (__USE_SVID): Likewise.
5391         (_BSD_SOURCE): Likewise.
5392         (_SVID_SOURCE): Likewise.
5393         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
5394         from definition of _DEFAULT_SOURCE.
5395         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
5396         [_DEFAULT_SOURCE].
5397         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
5398         * bits/mman.h [__USE_BSD]: Likewise.
5399         * bits/termios.h [__USE_BSD]: Likewise.
5400         * bits/waitstatus.h [__USE_BSD]: Likewise.
5401         * ctype/ctype.h [__USE_SVID]: Likewise.
5402         * dirent/dirent.h [__USE_BSD]: Likewise.
5403         * grp/grp.h [__USE_SVID]: Likewise.
5404         [__USE_BSD]: Likewise.
5405         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
5406         * io/fcntl.h [__USE_BSD]: Likewise.
5407         * io/ftw.h [__USE_BSD]: Likewise.
5408         * io/sys/stat.h [__USE_BSD]: Likewise.
5409         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
5410         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
5411         * libio/stdio.h [__USE_SVID]: Likewise.
5412         [__USE_BSD]: Likewise.
5413         * math/math.h [__USE_SVID]: Likewise.
5414         [__USE_BSD]: Likewise.
5415         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
5416         * misc/bits/syslog.h [__USE_BSD]: Likewise.
5417         * misc/search.h [__USE_SVID]: Likewise.
5418         * misc/sys/mman.h [__USE_BSD]: Likewise.
5419         * misc/sys/syslog.h [__USE_BSD]: Likewise.
5420         * misc/sys/uio.h [__USE_BSD]: Likewise.
5421         * posix/bits/unistd.h [__USE_BSD]: Likewise.
5422         * posix/glob.h [__USE_BSD]: Likewise.
5423         * posix/regex.h [__USE_BSD]: Likewise.
5424         * posix/sys/types.h [__USE_BSD]: Likewise.
5425         [__USE_SVID]: Likewise.
5426         * posix/sys/utsname.h [__USE_SVID]: Likewise.
5427         * posix/sys/wait.h [__USE_BSD]: Likewise.
5428         [__USE_SVID]: Likewise.
5429         * posix/unistd.h [__USE_BSD]: Likewise.
5430         [__USE_SVID]: Likewise.
5431         * pwd/pwd.h [__USE_SVID]: Likewise.
5432         * resolv/netdb.h [__USE_BSD]: Likewise.
5433         * setjmp/setjmp.h [__USE_BSD]: Likewise.
5434         * signal/signal.h [__USE_BSD]: Likewise.
5435         [__USE_SVID]: Likewise.
5436         * socket/sys/socket.h [__USE_BSD]: Likewise.
5437         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
5438         * stdlib/stdlib.h [__USE_BSD]: Likewise.
5439         [__USE_SVID]: Likewise.
5440         * string/bits/string2.h [__USE_BSD]: Likewise.
5441         [__USE_SVID]: Likewise.
5442         * string/bits/string3.h [__USE_BSD]: Likewise.
5443         * string/endian.h [__USE_BSD]: Likewise.
5444         * string/string.h [__USE_SVID]: Likewise.
5445         [__USE_BSD]: Likewise.
5446         * string/strings.h [__USE_BSD]: Likewise.
5447         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
5448         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
5449         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
5450         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
5451         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
5452         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
5453         Likewise.
5454         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
5455         Likewise.
5456         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
5457         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
5458         Likewise.
5459         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
5460         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
5461         Likewise.
5462         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
5463         Likewise.
5464         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
5465         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
5466         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
5467         Likewise.
5468         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
5469         Likewise.
5470         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
5471         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
5472         * termios/termios.h [__USE_BSD]: Likewise.
5473         * time/sys/time.h [__USE_BSD]: Likewise.
5474         * time/time.h [__USE_BSD]: Likewise.
5475         [__USE_SVID]: Likewise.
5476
5477         * Makefile (subdir_targets): Remove subdir_lint.out.
5478
5479         * stdio-common/Makefile (do-tst-unbputc): Remove target.
5480         (do-tst-printf): Likewise.
5481         (tests): Depend directly on $(objpfx)tst-unbputc.out and
5482         $(objpfx)tst-printf.out.
5483
5484         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
5485
5486         * Makerules (check-abi-%): Change target to
5487         $(objpfx)check-abi-%.out.
5488         (check-abi target): Update dependencies.
5489         (check-abi-pattern variable): Redirect output of diff to $@.
5490         (check-abi variable): Likewise.
5491         * elf/Makefile (check-abi): Update dependencies.
5492
5493         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
5494         unused.
5495         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
5496         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
5497         subnormal range.
5498         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
5499         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
5500         value has largest subnormal exponent.
5501         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
5502         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
5503         * sysdeps/aarch64/soft-fp/sfp-machine.h
5504         (_FP_TININESS_AFTER_ROUNDING): New macro.
5505         * sysdeps/alpha/soft-fp/sfp-machine.h
5506         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5507         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5508         Likewise.
5509         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
5510         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5511         * sysdeps/mips/soft-fp/sfp-machine.h
5512         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5513         * sysdeps/powerpc/soft-fp/sfp-machine.h
5514         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5515         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5516         Likewise.
5517         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
5518         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5519         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
5520         (_FP_TININESS_AFTER_ROUNDING): Likewise.
5521         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
5522         Likewise.
5523
5524 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
5525
5526         [BZ #16545]
5527         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
5528         model 1.
5529
5530 2014-02-12  Richard Henderson  <rth@redhat.com>
5531
5532         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
5533         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
5534         * sysdeps/unix/sysv/linux/alpha: Move directory from
5535         ports/sysdeps/unix/sysv/linux/alpha.
5536         * README: Update listing for alpha-*-linux-gnu.
5537
5538 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
5539
5540         * include/features.h: Update comment documenting feature test
5541         macros.
5542         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
5543         _DEFAULT_SOURCE.
5544         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
5545         (_SVID_SOURCE): Likewise.
5546         (_DEFAULT_SOURCE): Update description of default features.
5547         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
5548         with _GNU_SOURCE.
5549         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
5550         (S_ISVTX): Likewise.
5551         * manual/math.texi (Mathematical Constants): Likewise.
5552         * manual/signal.texi (Interrupted Primitives): Likewise.
5553         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
5554         * math/test-matherr.c (_SVID_SOURCE): Do not define.
5555         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
5556         Don't refer to _SVID_SOURCE in warning text.
5557
5558         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5559
5560         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
5561         already defined.
5562         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
5563         * sysdeps/mips/dl-lookup.c: Remove.
5564         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
5565
5566 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
5567
5568         [BZ #16447]
5569         * math/auto-libm-test-in: Add testcase for expl.
5570         * math/auto-libm-test-out: Regenerate.
5571         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
5572         calculation of unsafe.
5573         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
5574
5575 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
5576
5577         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
5578         * sysdeps/unix/sysv/linux/aarch64: Move directory from
5579         ports/sysdeps/unix/sysv/linux/aarch64.
5580         * README: Update listing for aarch64*-*-linux-gnu.
5581
5582 2014-02-11  Will Newton  <will.newton@linaro.org>
5583
5584         * manual/probes.texi (Mathematical Function Probes): Use
5585         "triggered" instead of "hit".
5586
5587         * manual/probes.texi (Internal Probes): Add documentation
5588         of setjmp, longjmp and longjmp_target probes.
5589
5590         * include/stap-probe.h: Add comment about probe argument
5591         format.
5592
5593         * malloc/mtrace.c (attribute_hidden): Remove unused macro
5594         definition.  (tr_where, tr_freehook, tr_mallochook,
5595         tr_reallochook, tr_memalignhook): Use ANSI protoype.
5596
5597 2014-02-11  David S. Miller  <davem@davemloft.net>
5598
5599         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
5600         processing int_tests.
5601
5602 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
5603
5604         * sysdeps/mips: Move directory from ports/sysdeps/mips.
5605         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
5606         * sysdeps/unix/sysv/linux/mips: Move directory from
5607         ports/sysdeps/unix/sysv/linux/mips.
5608         * README: Update listing for mips-*-linux-gnu and
5609         mips64-*-linux-gnu.
5610
5611 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
5612
5613         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
5614         * sysdeps/unix/sysv/linux/m68k: Move directory from
5615         ports/sysdeps/unix/sysv/linux/m68k.
5616         * README: Update listing for m68k-*-linux-gnu.
5617
5618 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
5619
5620         * sysdeps/tile: Move directory from ports/sysdeps/tile.
5621         * sysdeps/unix/sysv/linux/generic: Move directory from
5622         ports/sysdeps/unix/sysv/linux/generic.
5623         * sysdeps/unix/sysv/linux/tile: Move directory from
5624         ports/sysdeps/unix/sysv/linux/tile.
5625         * README: Update listing for tile*-*-linux-gnu.
5626
5627 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
5628
5629         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
5630         __builtin_expect.
5631         * benchtests/bench-memmem.c (simple_memmem): Likewise.
5632         * catgets/open_catalog.c (__open_catalog): Likewise.
5633         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
5634         * debug/confstr_chk.c: Likewise.
5635         * debug/fread_chk.c (__fread_chk): Likewise.
5636         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
5637         * debug/getgroups_chk.c: Likewise.
5638         * debug/mbsnrtowcs_chk.c: Likewise.
5639         * debug/mbsrtowcs_chk.c: Likewise.
5640         * debug/mbstowcs_chk.c: Likewise.
5641         * debug/memcpy_chk.c: Likewise.
5642         * debug/memmove_chk.c: Likewise.
5643         * debug/mempcpy_chk.c: Likewise.
5644         * debug/memset_chk.c: Likewise.
5645         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5646         * debug/strcat_chk.c (__strcat_chk): Likewise.
5647         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
5648         * debug/strncat_chk.c (__strncat_chk): Likewise.
5649         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
5650         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
5651         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
5652         * debug/wcpncpy_chk.c: Likewise.
5653         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5654         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
5655         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
5656         * debug/wcsncpy_chk.c: Likewise.
5657         * debug/wcsnrtombs_chk.c: Likewise.
5658         * debug/wcsrtombs_chk.c: Likewise.
5659         * debug/wcstombs_chk.c: Likewise.
5660         * debug/wmemcpy_chk.c: Likewise.
5661         * debug/wmemmove_chk.c: Likewise.
5662         * debug/wmempcpy_chk.c: Likewise.
5663         * debug/wmemset_chk.c: Likewise.
5664         * dirent/scandirat.c (SCANDIRAT): Likewise.
5665         * dlfcn/dladdr1.c (dladdr1): Likewise.
5666         * dlfcn/dladdr.c (dladdr): Likewise.
5667         * dlfcn/dlclose.c (dlclose_doit): Likewise.
5668         * dlfcn/dlerror.c (__dlerror): Likewise.
5669         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
5670         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
5671         * dlfcn/dlopen.c (dlopen_doit): Likewise.
5672         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
5673         * dlfcn/dlsym.c (dlsym_doit): Likewise.
5674         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
5675         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
5676         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
5677         Likewise.
5678         * elf/dl-conflict.c: Likewise.
5679         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
5680         * elf/dl-dst.h: Likewise.
5681         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
5682         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
5683         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
5684         * elf/dl-init.c (call_init, _dl_init): Likewise.
5685         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
5686         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
5687         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
5688         Likewise.
5689         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
5690         Likewise.
5691         * elf/dl-minimal.c (__libc_memalign): Likewise.
5692         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
5693         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
5694         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
5695         * elf/dl-sym.c (do_sym): Likewise.
5696         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
5697         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
5698         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
5699         * elf/dl-writev.h (_dl_writev): Likewise.
5700         * elf/ldconfig.c (search_dir): Likewise.
5701         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
5702         (dl_main): Likewise.
5703         * elf/setup-vdso.h (setup_vdso): Likewise.
5704         * grp/compat-initgroups.c (compat_call): Likewise.
5705         * grp/fgetgrent.c (fgetgrent): Likewise.
5706         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
5707         * grp/putgrent.c (putgrent): Likewise.
5708         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
5709         Likewise.
5710         * hurd/hurdinit.c: Likewise.
5711         * iconvdata/8bit-gap.c (struct): Likewise.
5712         * iconvdata/ansi_x3.110.c : Likewise.
5713         * iconvdata/big5.c : Likewise.
5714         * iconvdata/big5hkscs.c : Likewise.
5715         * iconvdata/cp1255.c: Likewise.
5716         * iconvdata/cp1258.c : Likewise.
5717         * iconvdata/cp932.c : Likewise.
5718         * iconvdata/euc-cn.c: Likewise.
5719         * iconvdata/euc-jisx0213.c : Likewise.
5720         * iconvdata/euc-jp.c: Likewise.
5721         * iconvdata/euc-jp-ms.c : Likewise.
5722         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
5723         * iconvdata/gb18030.c : Likewise.
5724         * iconvdata/gbbig5.c (const): Likewise.
5725         * iconvdata/gbgbk.c: Likewise.
5726         * iconvdata/gbk.c : Likewise.
5727         * iconvdata/ibm1364.c : Likewise.
5728         * iconvdata/ibm930.c : Likewise.
5729         * iconvdata/ibm932.c: Likewise.
5730         * iconvdata/ibm933.c : Likewise.
5731         * iconvdata/ibm935.c : Likewise.
5732         * iconvdata/ibm937.c : Likewise.
5733         * iconvdata/ibm939.c : Likewise.
5734         * iconvdata/ibm943.c: Likewise.
5735         * iconvdata/iso_11548-1.c: Likewise.
5736         * iconvdata/iso-2022-cn.c : Likewise.
5737         * iconvdata/iso-2022-cn-ext.c : Likewise.
5738         * iconvdata/iso-2022-jp-3.c: Likewise.
5739         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
5740         * iconvdata/iso-2022-kr.c : Likewise.
5741         * iconvdata/iso646.c (gconv_end): Likewise.
5742         * iconvdata/iso_6937-2.c : Likewise.
5743         * iconvdata/iso_6937.c : Likewise.
5744         * iconvdata/iso8859-1.c: Likewise.
5745         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
5746         * iconvdata/shift_jisx0213.c : Likewise.
5747         * iconvdata/sjis.c : Likewise.
5748         * iconvdata/t.61.c : Likewise.
5749         * iconvdata/tcvn5712-1.c : Likewise.
5750         * iconvdata/tscii.c: Likewise.
5751         * iconvdata/uhc.c : Likewise.
5752         * iconvdata/unicode.c (gconv_end): Likewise.
5753         * iconvdata/utf-16.c (gconv_end): Likewise.
5754         * iconvdata/utf-32.c (gconv_end): Likewise.
5755         * iconvdata/utf-7.c (base64): Likewise.
5756         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
5757         * iconv/gconv_close.c (__gconv_close): Likewise.
5758         * iconv/gconv_open.c (__gconv_open): Likewise.
5759         * iconv/gconv_simple.c (internal_ucs4_loop_single)
5760         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
5761         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
5762         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
5763         (ucs4le_internal_loop_single): Likewise.
5764         * iconv/iconv.c (iconv): Likewise.
5765         * iconv/iconv_close.c: Likewise.
5766         * iconv/loop.c (SINGLE): Likewise.
5767         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
5768         * include/atomic.h: Likewise.
5769         * inet/inet6_option.c (option_alloc): Likewise.
5770         * intl/bindtextdom.c (set_binding_values): Likewise.
5771         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
5772         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
5773         * intl/localealias.c (read_alias_file): Likewise.
5774         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
5775         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
5776         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
5777         * libio/fmemopen.c (fmemopen): Likewise.
5778         * libio/iofgets.c (_IO_fgets): Likewise.
5779         * libio/iofgets_u.c (fgets_unlocked): Likewise.
5780         * libio/iofgetws.c (fgetws): Likewise.
5781         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
5782         * libio/iogetdelim.c (_IO_getdelim): Likewise.
5783         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
5784         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
5785         * locale/findlocale.c (_nl_find_locale): Likewise.
5786         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
5787         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
5788         Likewise.
5789         * locale/setlocale.c (setlocale): Likewise.
5790         * login/programs/pt_chown.c (main): Likewise.
5791         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
5792         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
5793         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
5794         (mmap, mmap64, mremap, munmap): Likewise.
5795         * math/e_exp2l.c: Likewise.
5796         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
5797         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
5798         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
5799         * math/s_catan.c (__catan): Likewise.
5800         * math/s_catanf.c (__catanf): Likewise.
5801         * math/s_catanh.c (__catanh): Likewise.
5802         * math/s_catanhf.c (__catanhf): Likewise.
5803         * math/s_catanhl.c (__catanhl): Likewise.
5804         * math/s_catanl.c (__catanl): Likewise.
5805         * math/s_ccosh.c (__ccosh): Likewise.
5806         * math/s_ccoshf.c (__ccoshf): Likewise.
5807         * math/s_ccoshl.c (__ccoshl): Likewise.
5808         * math/s_cexp.c (__cexp): Likewise.
5809         * math/s_cexpf.c (__cexpf): Likewise.
5810         * math/s_cexpl.c (__cexpl): Likewise.
5811         * math/s_clog10.c (__clog10): Likewise.
5812         * math/s_clog10f.c (__clog10f): Likewise.
5813         * math/s_clog10l.c (__clog10l): Likewise.
5814         * math/s_clog.c (__clog): Likewise.
5815         * math/s_clogf.c (__clogf): Likewise.
5816         * math/s_clogl.c (__clogl): Likewise.
5817         * math/s_csin.c (__csin): Likewise.
5818         * math/s_csinf.c (__csinf): Likewise.
5819         * math/s_csinh.c (__csinh): Likewise.
5820         * math/s_csinhf.c (__csinhf): Likewise.
5821         * math/s_csinhl.c (__csinhl): Likewise.
5822         * math/s_csinl.c (__csinl): Likewise.
5823         * math/s_csqrt.c (__csqrt): Likewise.
5824         * math/s_csqrtf.c (__csqrtf): Likewise.
5825         * math/s_csqrtl.c (__csqrtl): Likewise.
5826         * math/s_ctan.c (__ctan): Likewise.
5827         * math/s_ctanf.c (__ctanf): Likewise.
5828         * math/s_ctanh.c (__ctanh): Likewise.
5829         * math/s_ctanhf.c (__ctanhf): Likewise.
5830         * math/s_ctanhl.c (__ctanhl): Likewise.
5831         * math/s_ctanl.c (__ctanl): Likewise.
5832         * math/w_pow.c: Likewise.
5833         * math/w_powf.c: Likewise.
5834         * math/w_powl.c: Likewise.
5835         * math/w_scalb.c (sysv_scalb): Likewise.
5836         * math/w_scalbf.c (sysv_scalbf): Likewise.
5837         * math/w_scalbl.c (sysv_scalbl): Likewise.
5838         * misc/error.c (error_tail): Likewise.
5839         * misc/pselect.c (__pselect): Likewise.
5840         * nis/nis_callback.c (__nis_create_callback): Likewise.
5841         * nis/nis_call.c (__nisfind_server): Likewise.
5842         * nis/nis_creategroup.c (nis_creategroup): Likewise.
5843         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
5844         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
5845         * nis/nis_getservlist.c (nis_getservlist): Likewise.
5846         * nis/nis_lookup.c (nis_lookup): Likewise.
5847         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
5848         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
5849         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
5850         * nis/nis_xdr.c (xdr_endpoint): Likewise.
5851         * nis/nss_compat/compat-grp.c (getgrent_next_file)
5852         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
5853         * nis/nss_compat/compat-initgroups.c (add_group)
5854         (internal_getgrent_r): Likewise.
5855         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
5856         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
5857         * nis/nss_compat/compat-spwd.c (getspent_next_file)
5858         (internal_getspnam_r): Likewise.
5859         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
5860         (_nss_nis_getaliasbyname_r): Likewise.
5861         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
5862         (_nss_nis_getntohost_r): Likewise.
5863         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
5864         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
5865         (_nss_nis_getgrgid_r): Likewise.
5866         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
5867         (internal_nis_gethostent_r, internal_gethostbyname2_r)
5868         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
5869         (_nss_nis_gethostbyname4_r): Likewise.
5870         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
5871         (initgroups_netid): Likewise.
5872         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
5873         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
5874         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
5875         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
5876         (_nss_nis_getprotobynumber_r): Likewise.
5877         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
5878         (_nss_nis_getsecretkey): Likewise.
5879         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
5880         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
5881         (_nss_nis_getpwuid_r): Likewise.
5882         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
5883         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
5884         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
5885         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
5886         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
5887         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
5888         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
5889         Likewise.
5890         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
5891         (_nss_nisplus_getntohost_r): Likewise.
5892         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
5893         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
5894         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
5895         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
5896         Likewise.
5897         * nis/nss_nisplus/nisplus-initgroups.c
5898         (_nss_nisplus_initgroups_dyn): Likewise.
5899         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
5900         (_nss_nisplus_getnetbyaddr_r): Likewise.
5901         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
5902         (_nss_nisplus_getprotobynumber_r): Likewise.
5903         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
5904         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
5905         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
5906         Likewise.
5907         * nis/nss_nisplus/nisplus-service.c
5908         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
5909         (_nss_nisplus_getservbyport_r): Likewise.
5910         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
5911         (_nss_nisplus_getspnam_r): Likewise.
5912         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
5913         Likewise.
5914         * nscd/aicache.c (addhstaiX): Likewise.
5915         * nscd/cache.c (cache_search, prune_cache): Likewise.
5916         * nscd/connections.c (register_traced_file, send_ro_fd)
5917         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
5918         (main_loop_epoll): Likewise.
5919         * nscd/grpcache.c (addgrbyX): Likewise.
5920         * nscd/hstcache.c (addhstbyX): Likewise.
5921         * nscd/initgrcache.c (addinitgroupsX): Likewise.
5922         * nscd/mem.c (gc, mempool_alloc): Likewise.
5923         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
5924         (addinnetgrX): Likewise.
5925         * nscd/nscd-client.h (__nscd_acquire_maplock)
5926         (__nscd_drop_map_ref): Likewise.
5927         * nscd/nscd_getai.c (__nscd_getai): Likewise.
5928         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
5929         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
5930         Likewise.
5931         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
5932         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
5933         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
5934         (__nscd_get_map_ref): Likewise.
5935         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
5936         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
5937         Likewise.
5938         * nscd/pwdcache.c (addpwbyX): Likewise.
5939         * nscd/selinux.c (preserve_capabilities): Likewise.
5940         * nscd/servicescache.c (addservbyX): Likewise.
5941         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
5942         * posix/fnmatch.c (fnmatch): Likewise.
5943         * posix/getopt.c (_getopt_internal_r): Likewise.
5944         * posix/glob.c (glob, glob_in_dir): Likewise.
5945         * posix/wordexp.c (exec_comm_child): Likewise.
5946         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
5947         (getanswer_r, gaih_getanswer_slice): Likewise.
5948         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
5949         * resolv/res_init.c: Likewise.
5950         * resolv/res_mkquery.c (res_nmkquery): Likewise.
5951         * resolv/res_query.c (__libc_res_nquery): Likewise.
5952         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
5953         Likewise.
5954         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
5955         * stdio-common/perror.c (perror): Likewise.
5956         * stdio-common/printf_fp.c (___printf_fp): Likewise.
5957         * stdio-common/tmpnam.c (tmpnam): Likewise.
5958         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5959         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
5960         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
5961         Likewise.
5962         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
5963         * stdlib/putenv.c (putenv): Likewise.
5964         * stdlib/setenv.c (__add_to_environ): Likewise.
5965         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5966         * stdlib/strtol_l.c (INTERNAL): Likewise.
5967         * string/memmem.c (memmem): Likewise.
5968         * string/strerror.c (strerror): Likewise.
5969         * string/strnlen.c (__strnlen): Likewise.
5970         * string/test-memmem.c (simple_memmem): Likewise.
5971         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
5972         * sunrpc/pm_getport.c (__get_socket): Likewise.
5973         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
5974         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
5975         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
5976         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
5977         Likewise.
5978         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
5979         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
5980         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
5981         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
5982         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
5983         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
5984         Likewise.
5985         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
5986         Likewise.
5987         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
5988         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5989         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
5990         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
5991         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
5992         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
5993         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
5994         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
5995         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
5996         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
5997         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
5998         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
5999         Likewise.
6000         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
6001         Likewise.
6002         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
6003         Likewise.
6004         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
6005         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
6006         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
6007         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
6008         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
6009         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
6010         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
6011         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
6012         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
6013         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
6014         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
6015         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
6016         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
6017         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
6018         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
6019         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
6020         Likewise.
6021         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
6022         Likewise.
6023         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
6024         Likewise.
6025         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
6026         Likewise.
6027         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
6028         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
6029         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
6030         Likewise.
6031         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
6032         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
6033         * sysdeps/posix/opendir.c (__opendirat): Likewise.
6034         * sysdeps/posix/sleep.c: Likewise.
6035         * sysdeps/posix/tempname.c: Likewise.
6036         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
6037         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
6038         Likewise.
6039         * sysdeps/powerpc/powerpc32/dl-machine.h
6040         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
6041         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
6042         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
6043         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
6044         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
6045         Likewise.
6046         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
6047         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
6048         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6049         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
6050         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
6051         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
6052         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
6053         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
6054         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6055         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
6056         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
6057         (elf_machine_lazy_rel): Likewise.
6058         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
6059         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
6060         (elf_machine_lazy_rel): Likewise.
6061         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
6062         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
6063         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
6064         * sysdeps/unix/grantpt.c (grantpt): Likewise.
6065         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
6066         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
6067         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
6068         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
6069         Likewise.
6070         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
6071         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
6072         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
6073         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
6074         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
6075         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
6076         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
6077         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
6078         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
6079         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
6080         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
6081         Likewise.
6082         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
6083         (__posix_fallocate64_l64): Likewise.
6084         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
6085         (posix_fallocate): Likewise.
6086         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
6087         Likewise.
6088         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
6089         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
6090         (getifaddrs_internal): Likewise.
6091         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
6092         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
6093         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
6094         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
6095         * sysdeps/unix/sysv/linux/posix_fallocate64.c
6096         (__posix_fallocate64_l64): Likewise.
6097         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
6098         Likewise.
6099         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
6100         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
6101         (__get_clockfreq): Likewise.
6102         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
6103         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
6104         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
6105         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
6106         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
6107         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
6108         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
6109         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
6110         Likewise.
6111         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
6112         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
6113         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
6114         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
6115         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
6116         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
6117         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
6118         Likewise.
6119         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
6120         (posix_fallocate): Likewise.
6121         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
6122         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
6123         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
6124         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
6125         (elf_machine_rela, elf_machine_rela_relative)
6126         (elf_machine_lazy_rel): Likewise.
6127         * time/asctime.c (asctime_internal): Likewise.
6128         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
6129         * time/tzset.c (__tzset_parse_tz): Likewise.
6130         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
6131         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
6132         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
6133         * wcsmbs/wcsmbsload.h: Likewise.
6134
6135         [BZ #15894]
6136         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
6137
6138         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
6139         (arena_get2): Remove THREAD_STATS conditionals.
6140         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
6141         (__malloc_stats, int): Likewise.
6142
6143 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
6144
6145         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
6146         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
6147
6148         * manual/setjmp.texi: Fix typos/grammar errors.
6149
6150         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
6151         Only return early when n is <= 0.  Delete unused return statement.
6152
6153         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
6154         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
6155         * debug/tst-longjmp_chk3.c: New file.
6156
6157         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
6158         (test_main): Replace code with set_fortify_handler call.
6159         * debug/test-strcpy_chk.c: Likewise.
6160         * debug/tst-chk1.c: Likewise.
6161         * debug/tst-longjmp_chk.c: Likewise.
6162         * test-skeleton.c: Include fcntl.h & paths.h
6163         (set_fortify_handler): Define.
6164
6165         * debug/tst-longjmp_chk.c: Add header comment and include
6166         ../test-skeleton.c.
6167         (do_test): Mark static.
6168         (TEST_FUNCTION): Define.
6169
6170         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
6171         (IP_PMTUDISC_INTERFACE): Likewise.
6172         (IP_MULTICAST_IF): Likewise.
6173         (IP_MULTICAST_TTL): Likewise.
6174         (IP_MULTICAST_LOOP): Likewise.
6175         (IP_ADD_MEMBERSHIP): Likewise.
6176         (IP_DROP_MEMBERSHIP): Likewise.
6177         (IP_UNBLOCK_SOURCE): Likewise.
6178         (IP_BLOCK_SOURCE): Likewise.
6179         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
6180         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
6181         (IP_MSFILTER): Likewise.
6182         (MCAST_JOIN_GROUP): Likewise.
6183         (MCAST_BLOCK_SOURCE): Likewise.
6184         (MCAST_UNBLOCK_SOURCE): Likewise.
6185         (MCAST_LEAVE_GROUP): Likewise.
6186         (MCAST_JOIN_SOURCE_GROUP): Likewise.
6187         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
6188         (MCAST_MSFILTER): Likewise.
6189         (IP_MULTICAST_ALL): Likewise.
6190         (IP_UNICAST_IF): Likewise.
6191
6192         * timezone/Makefile: Delete $(have-ksh) check.
6193         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
6194         * timezone/tzselect.ksh: Add +x mode bits.
6195
6196         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
6197         (ANON_INODE_FS_MAGIC): Likewise.
6198         (BDEVFS_MAGIC): Likewise.
6199         (BINFMTFS_MAGIC): Likewise.
6200         (BTRFS_TEST_MAGIC): Likewise.
6201         (CRAMFS_MAGIC_WEND): Likewise.
6202         (DEBUGFS_MAGIC): Likewise.
6203         (ECRYPTFS_SUPER_MAGIC): Likewise.
6204         (EXT3_SUPER_MAGIC): Likewise.
6205         (EXT4_SUPER_MAGIC): Likewise.
6206         (FUTEXFS_SUPER_MAGIC): Likewise.
6207         (HOSTFS_SUPER_MAGIC): Likewise.
6208         (HUGETLBFS_MAGIC): Likewise.
6209         (MINIX3_SUPER_MAGIC): Likewise.
6210         (MTD_INODE_FS_MAGIC): Likewise.
6211         (NILFS_SUPER_MAGIC): Likewise.
6212         (OPENPROM_SUPER_MAGIC): Likewise.
6213         (PIPEFS_MAGIC): Likewise.
6214         (PSTOREFS_MAGIC): Likewise.
6215         (QNX6_SUPER_MAGIC): Likewise.
6216         (RAMFS_MAGIC): Likewise.
6217         (REISERFS_SUPER_MAGIC_STRING): Likewise.
6218         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
6219         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
6220         (SECURITYFS_MAGIC): Likewise.
6221         (SELINUX_MAGIC): Likewise.
6222         (SMACK_MAGIC): Likewise.
6223         (SOCKFS_MAGIC): Likewise.
6224         (SQUASHFS_MAGIC): Likewise.
6225         (STACK_END_MAGIC): Likewise.
6226         (TMPFS_MAGIC): Likewise.
6227         (USBDEVICE_SUPER_MAGIC): Likewise.
6228         (V9FS_MAGIC): Likewise.
6229         (XENFS_SUPER_MAGIC): Likewise.
6230         (CRAMFS_MAGIC): Fix typo in comment.
6231         (EXT2_SUPER_MAGIC): Update comment.
6232         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
6233
6234 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
6235
6236         * sysdeps/arm: Move directory from ports/sysdeps/arm.
6237         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
6238         * sysdeps/unix/sysv/linux/arm: Move directory from
6239         ports/sysdeps/unix/sysv/linux/arm.
6240         * README: Update listing for arm-*-linux-gnueabi.
6241
6242         * README: Remove mention of am33.
6243
6244 2014-02-07  Roland McGrath  <roland@hack.frob.com>
6245
6246         * bits/sigset.h (__sigemptyset): Use a statement expression rather
6247         than the comma operator, to avoid "rhs of comma has no effect"
6248         compiler warnings.
6249         (__sigfillset, __sigandset, __sigorset): Likewise.
6250         * include/signal.h (__sigemptyset): Likewise.
6251         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
6252
6253 2014-02-07  Allan McRae  <allan@archlinux.org>
6254
6255         * version.h (RELEASE): Set to "development".
6256         (VERSION): Set to "2.19.90"
6257         * NEWS: Add 2.20 section.
6258
6259 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
6260
6261         [BZ #16529]
6262         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
6263
6264 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
6265
6266         * manual/contrib.texi: Update entry for Carlos O'Donell,
6267         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
6268
6269 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
6270
6271         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
6272
6273         * sysdeps/unix/sysv/linux/kernel-features.h
6274         [__LINUX_KERNEL_VERSION >= 0x020621]
6275         (__ASSUME_PROC_PID_TASK_COMM): Define.
6276
6277 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6278
6279         [BZ #16398]
6280         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
6281         conversion when destination buffer does not have enough space.
6282         * libio/tst-ftell-partial-wide.c: New test case.
6283         * libio/Makefile (tests): Add tst-ftell-partial-wide.
6284
6285         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
6286         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
6287         Leonard and Allan McRae.
6288
6289 2014-02-04  David S. Miller  <davem@davemloft.net>
6290
6291         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
6292         32-bit.
6293
6294 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6295
6296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
6297         New file
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
6299         New file
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
6301         New file.
6302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
6303         New file.
6304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
6305         New file.
6306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
6307         New file.
6308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
6309         New file.
6310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
6311         New file.
6312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
6313         New file.
6314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
6315         New file.
6316         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
6317         New file.
6318         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
6319         New file.
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
6321         New file.
6322
6323 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6324
6325         * nptl/shlib-versions: Change powerpc*le start to 2.17.
6326         * shlib-versions: Likewise.
6327
6328 2014-02-04  Roland McGrath  <roland@hack.frob.com>
6329             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6330
6331         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
6332         (abilist-pattern): New variable, set to %-le.abilist.
6333
6334         * Makerules (abilist-pattern): New variable.
6335         (vpath): Use $(abilist-pattern) in place of %.abilist.
6336         (check-abi-% pattern rule): Likewise.
6337         (check-abi, update-abi): Likewise.
6338
6339 2014-02-04  Eric Wong  <normalperson@yhbt.net>
6340
6341         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
6342
6343 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
6344
6345         * manual/startup.texi: Add next, previous, and top entries for
6346         the `Program Arguments' and `Environment Variables' nodes.
6347
6348 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
6349
6350         * manual/macros.texi: Add comments before MTASC-safety macros.
6351
6352         * manual/users.texi: Document MTASC-safety properties.
6353
6354         * manual/threads.texi (pthread_key_create, pthread_key_delete)
6355         (pthread_getspecific, pthread_setspecific): Format with
6356         @deftypefun, and add @safety note.
6357         * manual/signal.texi: Move comments that analyze the above
6358         functions to their home place.
6359
6360 2014-02-03  Allan McRae  <allan@archlinux.org>
6361
6362         * po/sl.po: Update Slovenian translation from translation project.
6363
6364 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
6365
6366         * manual/time.texi (timegm): Add missing blank after @c.
6367         Reported by Joseph Myers <joseph@codesourcery.com>.
6368
6369 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
6370
6371         * manual/check-safety.sh: New.
6372         * manual/Makefile ($(objpfx)stamp-summary): Run it.
6373
6374         * manual/terminal.texi: Document MTASC-safety properties.
6375
6376         * manual/filesys.texi: Document MTASC-safety properties.
6377
6378         * manual/errno.texi: Document MTASC-safety properties.
6379
6380         * manual/intro.texi: Document safety identifiers and
6381         conditionals.
6382
6383         * manual/string.texi (wcstok): Fix prototype.
6384         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
6385
6386         * manual/time.texi: Document MTASC-safety properties.
6387
6388         * manual/string.texi: Document MTASC-safety properties.
6389
6390         * manual/threads.texi: Document MTASC-safety properties.
6391
6392         * manual/stdio.texi: Document MTASC-safety properties.
6393
6394         * manual/syslog.texi: Document MTASC-safety properties.
6395
6396         * manual/sysinfo.texi: Document MTASC-safety properties.
6397
6398         * manual/startup.texi: Document MTASC-safety properties.
6399
6400         * manual/socket.texi: Document MTASC-safety properties.
6401
6402         * manual/signal.texi: Document MTASC-safety properties.
6403
6404 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
6405
6406         * manual/setjmp.texi: Document MTASC-safety properties.
6407
6408         * manual/search.texi: Document MTASC-safety properties.
6409
6410         * manual/resource.texi: Document MTASC-safety properties.
6411
6412         * manual/process.texi: Document MTASC-safety properties.
6413
6414         * manual/platform.texi: Document MTASC-safety properties.
6415
6416         * manual/pipe.texi: Document MTASC-safety properties.
6417
6418         * manual/pattern.texi: Document MTASC-safety properties.
6419
6420         * manual/message.texi: Document MTASC-safety properties.
6421
6422         [BZ #12751]
6423         * manual/memory.texi: Document MTASC-safety properties.
6424
6425         * manual/math.texi: Document MTASC-safety properties.
6426
6427         * manual/locale.texi: Document MTASC-safety properties.
6428
6429         * manual/llio.texi: Document MTASC-safety properties.
6430
6431         * manual/libdl.texi: New.
6432
6433         * manual/lang.texi: Document MTASC-safety properties.
6434
6435         * manual/job.texi: Document MTASC-safety properties.
6436
6437         * manual/getopt.texi: Document MTASC-safety properties.
6438
6439         * manual/ctype.texi: Document MTASC-safety properties.
6440
6441 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
6442
6443         [BZ #16046]
6444         * csu/libc-tls.c (static_map): Remove variable.
6445         (__libc_setup_tls): Use main executable's link map for TLS data.
6446         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
6447         casing for LM_ID_BASE and GL(dl_nns).
6448         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
6449         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
6450         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
6451         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
6452         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
6453         member.
6454         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
6455         l_phnum members.
6456
6457 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
6458
6459         * manual/debug.texi: Document MTASC-safety properties.
6460
6461 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
6462
6463         [BZ #16510]
6464         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
6465         of __x86_64__ when disabling x87 inline functions.
6466
6467 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
6468
6469         * manual/charset.texi: Document MTASC-safety properties.
6470
6471         * manual/crypt.texi: Document MTASC-safety properties.
6472
6473         * manual/conf.texi: Document MTASC-safety properties.
6474
6475         * manual/arith.texi: Document MTASC-safety properties.
6476
6477         * manual/argp.texi: Document MTASC-safety properties.
6478
6479         * manual/macros.texi: Introduce macros to document multi
6480         thread, asynchronous signal and asynchronous cancellation
6481         safety properties.
6482         * manual/intro.texi: Introduce the properties themselves.
6483
6484 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6485
6486         * sysdeps/sh/sh4/Makefile: New file.
6487
6488 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
6489
6490         * math/gen-libm-test.pl ($srcdir): New variable.
6491         ($auto_input): Use it.
6492
6493 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
6494
6495         [BZ #16506]
6496         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
6497         access beyond array bounds when parsing netgroups file.
6498
6499         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
6500         the old buffer before realloc.
6501
6502 2014-01-27  Allan McRae  <allan@archlinux.org>
6503
6504         * po/fr.po: Update French translation from translation project.
6505
6506 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6507
6508         * sysdeps/sh/libm-test-ulps: Regenerate.
6509
6510 2014-01-24  David S. Miller  <davem@davemloft.net>
6511
6512         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
6513
6514 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6515
6516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
6517         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
6518
6519 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
6520
6521         [BZ #16474]
6522         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
6523         string pointers after reallocation.
6524
6525 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6526
6527         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
6528         __SH4A__ instead of __SH_FPU_ANY__.
6529
6530 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
6531
6532         * sysdeps/sh/fpu_control.h: New file.
6533         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
6534         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
6535         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
6536         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
6537         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
6538         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
6539         * sysdeps/sh/sys/ucontext.h: Remove.
6540         * sysdeps/sh/sys: Remove directory.
6541
6542 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6543
6544         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
6545         s390/sys/ucontext.h.
6546         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
6547         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
6548
6549 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
6550
6551         [BZ #15605]
6552         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
6553
6554 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6555
6556         [BZ#16431]
6557         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
6558         Adjust the vDSO correctly for internal calls.
6559         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
6560
6561 2014-01-20  Allan McRae  <allan@archlinux.org>
6562
6563         * po/ca.po: Update Catalan translation from translation project.
6564
6565 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
6566
6567         * sysdeps/s390/sotruss-lib.c: New file.
6568
6569 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6570
6571         [BZ#16430]
6572         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
6573         (__GI___gettimeofday): Alias for a different internal symbol to avoid
6574         local calls issues by not having a PLT stub required for IFUNC calls.
6575         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
6576
6577 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
6578
6579         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
6580         * math/test-fpucw-static.c: Likewise.
6581
6582 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
6583
6584         [BZ #16453]
6585         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
6586
6587 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6588
6589         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
6590         implementation for powerpc.
6591
6592 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
6593
6594         [BZ #14782]
6595         * sysdeps/posix/system.c (__libc_system): Do not enable
6596         asynchronous cancellation.
6597
6598 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6599
6600         [BZ #16427]
6601         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
6602         handling only for numbers special also in the IEEE case.
6603
6604 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6605
6606         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6607
6608 2014-01-11  Allan McRae  <allan@archlinux.org>
6609
6610         * po/bg.po: Update Bulgarian translation from translation project.
6611
6612         * po/de.po: Update German translation from translation project.
6613
6614 2014-01-10  Roland McGrath  <roland@hack.frob.com>
6615
6616         * sysdeps/generic/gcc-compat.h: New file.
6617
6618 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
6619
6620         * benchtests/asin-inputs: Correct slow inputs.
6621         * benchtests/acos-inputs: Likewise.
6622
6623 2014-01-10  Allan McRae  <allan@archlinux.org>
6624
6625         * po:sv.po: Update Swedish translation from translation project.
6626
6627         * po/vi.po: Update Vietnamese translation from translation project.
6628
6629         * po/eo.po: Update Esperanto translation from translation project.
6630
6631         * po/cs.po: Update Czech translation from translation project.
6632
6633         * po/nl.po: Update Dutch translation from translation project.
6634
6635         * po/pl.po: Update Polish translation from translation project.
6636
6637         * po/ru.po: Update Russian translation from translation project.
6638
6639         * po/uk.po: Update Ukrainian translation from translation project.
6640
6641 2014-01-08  Brooks Moses  <bmoses@google.com>
6642
6643         * elf/dl-load.c: Fix comment typo.
6644
6645 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
6646
6647         * po/header.pot: Rename to...
6648         * po/pot.header: ... this.
6649         * po/Makefile: Use pot.header.
6650
6651 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
6652             Maxim Kuvyrkov  <maxim@kugelworks.com>
6653
6654         [BZ #16394]
6655         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
6656         SRC and DEST against LEN.
6657
6658 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6659
6660         [BZ #16414]
6661         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
6662         implementation.
6663         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
6664
6665 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6666
6667         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6668
6669 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
6670
6671         [BZ #16408]
6672         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
6673         for large positive arguments.
6674
6675 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
6676
6677         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6678
6679         * math/auto-libm-test-in: Mark various tests with
6680         xfail-rounding:ldbl-128ibm.
6681         * math/auto-libm-test-out: Regenerated.
6682
6683         [BZ #16407]
6684         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
6685         Increase overflow threshold.
6686
6687 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
6688
6689         [BZ #14286]
6690         * stdio-common/vfprintf.c: Check for integer overflow.
6691
6692 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6693
6694         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
6695         the first argument and return value of __tls_get_addr_internal.
6696
6697 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6698
6699         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
6700         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
6701
6702 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
6703
6704         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
6705         * sysdeps/s390/rtld-global-offsets.sym: New file.
6706         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
6707         GLIBC_2.19 symbol.
6708         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
6709         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
6710         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
6711         ... this.
6712         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
6713         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
6714         ... this.
6715         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6716         Regenerate.
6717         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6718         Regenerate.
6719         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
6720         halfs of GPRs for high_gprs contexts.
6721         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
6722         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
6723         field.
6724         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
6725         uc_flags field.
6726         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
6727         64 bit versions:
6728         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
6729         for high GPRs (uc_high_gprs) and for future extensions
6730         (__reserved).
6731         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
6732         for future extensions (__reserved).
6733         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
6734         64 bit versions:
6735         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
6736         SC_HIGHGPRS offset definition.
6737         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
6738         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
6739
6740         * Versions.def: Add GLIBC_2.19 for libpthread.
6741         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
6742         siglongjmp for libpthread with GLIBC_2.19 symver.
6743         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
6744         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
6745         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
6746         * sysdeps/s390/__longjmp.c: New file.
6747         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
6748         * sysdeps/s390/longjmp.c: New file.
6749         * sysdeps/s390/setjmp.S: New file.
6750         * sysdeps/s390/sigjmp.S: New file.
6751         * sysdeps/s390/v1-longjmp.c: New file.
6752         * sysdeps/s390/v1-setjmp.h: New file.
6753         * sysdeps/s390/v1-sigjmp.c: New file.
6754         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
6755         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
6756         GLIBC_2.19 version.
6757         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
6758         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
6759         versioned symbols for ____longjmp_chk.
6760         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
6761         Likewise.
6762         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
6763         Regenerate.
6764         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6765         Regenerate.
6766         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
6767         Regenerate.
6768         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6769         Regenerate.
6770         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
6771         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
6772         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
6773         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
6774         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
6775         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
6776         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
6777         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
6778         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
6779         * sysdeps/s390/rtld-__longjmp.c: New file.
6780         * sysdeps/s390/rtld-setjmp.S: New file.
6781
6782 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
6783
6784         [BZ #16400]
6785         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
6786         Return -__logl (x) for small positive arguments without evaluating
6787         a polynomial.
6788
6789 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
6790
6791         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
6792         Rename to ...
6793         (__ptrace_peeksiginfo_args): ... this.
6794         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6795         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6796         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6797
6798 2014-01-06  Allan McRae  <allan@archlinux.org>
6799
6800         * inet/netinet/in.h: Fix typo in comment.
6801
6802 2014-01-05  Andreas Jaeger  <aj@suse.de>
6803
6804         * sysdeps/i386/fpu/libm-test-ulps: Update.
6805
6806 2014-01-05  Allan McRae  <allan@archlinux.org>
6807
6808         * po/libc.pot: Regenerated.
6809
6810         * malloc/memusagestat.c: Fix gettext call formatting.
6811
6812 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
6813
6814         * nscd/nscd.c: Improve usage() output.
6815
6816 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
6817
6818         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
6819         * sysdeps/unix/sysv/linux/configure: Regenerated.
6820         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
6821         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
6822
6823 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6824
6825         [BZ #16390]
6826         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
6827         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
6828
6829 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6830
6831         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
6832         extra tokens at end of #undef directive.
6833         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
6834         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
6835         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
6836
6837 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
6838
6839         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6840
6841         * math/auto-libm-test-in: Mark various tests with
6842         xfail-rounding:ldbl-128ibm.
6843         * math/auto-libm-test-out: Regenerated.
6844
6845 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
6846
6847         [BZ #16386]
6848         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
6849         numbers with subnormal high part when calculating exponent.
6850
6851         [BZ #16385]
6852         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
6853         fabs.
6854
6855         [BZ #16384]
6856         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
6857         M_LN2l.
6858         (__ieee754_acoshl): Use __log1pl not __log1p.
6859
6860 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
6861
6862         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
6863         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
6864         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
6865         (grow_heap, heap_trim, _int_new_arena, get_free_list)
6866         (reused_arena, arena_get2): Convert to GNU style.
6867         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
6868         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
6869         (memalign_check, __malloc_set_state): Likewise.
6870         * malloc/mallocbug.c (main): Likewise.
6871         * malloc/malloc.c (__malloc_assert, malloc_init_state)
6872         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
6873         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
6874         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
6875         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
6876         (__posix_memalign, malloc_info): Likewise.
6877         * malloc/malloc.h: Likewise.
6878         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
6879         (mallochook, memalignhook, reallochook, mabort): Likewise.
6880         * malloc/mcheck.h: Likewise.
6881         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
6882         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
6883         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
6884         * malloc/morecore.c (__default_morecore): Likewise.
6885         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
6886         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
6887         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
6888         (print_and_abort): Likewise.
6889         * malloc/obstack.h: Likewise.
6890         * malloc/set-freeres.c (__libc_freeres): Likewise.
6891         * malloc/tst-mallocstate.c (main): Likewise.
6892         * malloc/tst-mtrace.c (main): Likewise.
6893         * malloc/tst-realloc.c (do_test): Likewise.
6894
6895 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6896
6897         [BZ #16366]
6898         * nscd/netgroupcache.c (do_notfound): New function.
6899         (addgetnetgrentX): Use it.
6900
6901         [BZ # 16365]
6902         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
6903         NSS_STATUS_NOTFOUND.
6904
6905 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
6906
6907         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
6908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6909
6910 2014-01-01  Allan McRae  <allan@archlinux.org>
6911
6912         * scripts/update-copyrights: Update configure input file suffix.
6913
6914         * NEWS: Update copyright year.
6915         * catgets/gencat.c: Likewise.
6916         * csu/version.c: Likewise.
6917         * debug/catchsegv.sh: Likewise.
6918         * debug/pcprofiledump.c: Likewise.
6919         * debug/xtrace.sh: Likewise.
6920         * elf/ldconfig.c: Likewise.
6921         * elf/ldd.bash.in: Likewise.
6922         * elf/pldd.c: Likewise.
6923         * elf/sotruss.ksh: Likewise.
6924         * elf/sprof.c: Likewise.
6925         * iconv/iconv_prog.c: Likewise.
6926         * iconv/iconvconfig.c: Likewise.
6927         * locale/programs/locale.c: Likewise.
6928         * locale/programs/localedef.c: Likewise.
6929         * login/programs/pt_chown.c: Likewise.
6930         * malloc/memusage.sh: Likewise.
6931         * malloc/memusagestat.c: Likewise.
6932         * malloc/mtrace.pl: Likewise.
6933         * manual/libc.texinfo: Likewise.
6934         * nscd/nscd.c: Likewise.
6935         * nss/getent.c: Likewise.
6936         * nss/makedb.c: Likewise.
6937         * posix/getconf.c: Likewise.
6938         * scripts/test-installation.pl: Likewise.
6939
6940         * All files with FSF copyright notices: Update copyright dates
6941         using scripts/update-copyrights.
6942         * intl/plural.c: Regenerated.
6943         * locale/programs/charmap-kw.h: Likewise.
6944         * locale/programs/locfile-kw.h: Likewise.
6945
6946 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
6947
6948         * sysdeps/unix/sysv/linux/configure: Regenerated.
6949         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
6950         the linux/fanotify.h header.
6951         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
6952         HAVE_LINUX_FANOTIFY_H is defined.
6953
6954 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
6955
6956         * benchtests/cos-inputs: New inputs.
6957         * benchtests/sin-inputs: Likewise.
6958
6959         * benchtests/atan-inputs: New inputs. Fix name of multiple
6960         precision fallback inputs.
6961
6962         * benchtests/atanh-inputs: New inputs.
6963         * benchtests/tanh-inputs: Likewise.
6964
6965         * benchtests/acosh-inputs: New inputs.
6966         * benchtests/asinh-inputs: Likewise.
6967
6968         * benchtests/cosh-inputs: New inputs.
6969         * benchtests/sinh-inputs: Likewise.
6970
6971         * benchtests/acos-inputs: Add more inputs.
6972         * benchtests/asin-inputs: Likewise.
6973
6974 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
6975
6976         [BZ #16375]
6977         * manual/arith.texi: Fix spelling.
6978         * manual/charset.texi: Likewise.
6979         * manual/errno.texi: Likewise.
6980         * manual/filesys.texi: Likewise.
6981         * manual/lang.texi: Likewise.
6982         * manual/llio.texi: Likewise.
6983         * manual/locale.texi: Likewise.
6984         * manual/message.texi: Likewise.
6985         * manual/resource.texi: Likewise.
6986         * manual/search.texi: Likewise.
6987         * manual/setjmp.texi: Likewise.
6988         * manual/stdio.texi: Likewise.
6989         * manual/string.texi: Likewise.
6990         * manual/sysinfo.texi: Likewise.
6991         * manual/time.texi: Likewise.
6992
6993 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
6994
6995         * po/sl.po: New file.
6996
6997 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
6998
6999         * .gitignore: Add core/.gdbinit/.gdb_history.
7000
7001 2013-12-27  Allan McRae  <allan@archlinux.org>
7002
7003         [BZ #16369]
7004         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
7005         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
7006
7007 2013-12-24  Brooks Moses  <bmoses@google.com>
7008
7009         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
7010         all compilers that claim C++98 compliance, not just GCC.
7011         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
7012         Likewise.
7013
7014 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7015
7016         * NEWS: Restore accidentally deleted bug-fix entries.
7017
7018 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
7019             Ondřej Bílka  <neleai@seznam.cz>
7020
7021         [BZ #15073]
7022         * malloc/malloc.c (_int_free): Perform sanity check only if we
7023         have_lock.
7024
7025 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
7026
7027         [BZ #12986]
7028         * manual/stdio.texi (String Input Conversions): Clarify that character
7029         classes are not supported.
7030
7031 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7032
7033         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7034
7035 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
7036
7037         [BZ #16337]
7038         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
7039         Calculate results for small negative arguments directly rather
7040         than using reflection formula with special underflow handling.
7041
7042         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
7043         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
7044         sysdeps/unix/bsd/bsd4.4/syscalls.list.
7045         (fchflags): Likewise.
7046         (revoke): Likewise.
7047         (setlogin): Likewise.
7048         (sigaltstack): Likewise.
7049         (wait4): Likewise.
7050         (sigblock): Remove.
7051         (sigsetmask): Likewise.
7052         (wait3): Likewise.
7053         (waitpid): Likewise.
7054         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
7055         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
7056         file.
7057         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
7058         * sysdeps/unix/bsd/Makefile: ... here.
7059         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
7060         * sysdeps/unix/bsd/Versions: ... here.
7061         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
7062         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
7063         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
7064         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
7065         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
7066         * sysdeps/unix/bsd/sigblock.c: ... here.
7067         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
7068         * sysdeps/unix/bsd/sigsetmask.c: ... here.
7069         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
7070         * sysdeps/unix/bsd/sigvec.c: ... here.
7071         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
7072         * sysdeps/unix/bsd/tcdrain.c: ... here.
7073         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
7074         * sysdeps/unix/bsd/tcgetattr.c: ... here.
7075         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
7076         * sysdeps/unix/bsd/tcsetattr.c: ... here.
7077         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
7078         * sysdeps/unix/bsd/wait.c: ... here.
7079         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
7080         * sysdeps/unix/bsd/wait3.c: ... here.
7081         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
7082         * sysdeps/unix/bsd/waitpid.c: ... here.
7083
7084 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
7085
7086         [BZ #16356]
7087         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
7088         round-to-nearest for [!USE_AS_EXPM1L].
7089         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
7090         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
7091         more tests of exp and exp10.  Expect some exp10 tests to miss
7092         exceptions or fail in directed rounding modes.
7093         * math/auto-libm-test-out: Regenerated.
7094         * math/libm-test.inc (exp10_tonearest_test_data): New array.
7095         (exp10_test_tonearest): New function.
7096         (exp10_towardzero_test_data): New array.
7097         (exp10_test_towardzero): New function.
7098         (exp10_downward_test_data): New array.
7099         (exp10_test_downward): New function.
7100         (exp10_upward_test_data): New array.
7101         (exp10_test_upward): New function.
7102         (main): Call the new functions.
7103         * sysdeps/i386/fpu/libm-test-ulps: Update.
7104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7105
7106 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
7107
7108         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
7109         asinh, atan, atan2, atanh, cbrt, cos and cosh.
7110         * math/auto-libm-test-out: Regenerated.
7111         * math/libm-test.inc (acosh_test_data): Add more tests.
7112         (atanh_test_data): Likewise.
7113         (ceil_test_data): Likewise.
7114         (copysign_test_data): Likewise.
7115         * sysdeps/i386/fpu/libm-test-ulps: Update.
7116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7117
7118         * timezone/checktab.awk: Update from tzcode 2013i.
7119         * timezone/private.h: Likewise.
7120         * timezone/scheck.c: Likewise.
7121         * timezone/tzfile.h: Likewise.
7122         * timezone/tzselect.ksh: Likewise.
7123         * timezone/zdump.c: Likewise.
7124         * timezone/zic.c: Likewise.
7125
7126         * math/auto-libm-test-in: Add tests of cpow.
7127         * math/auto-libm-test-out: Regenerated.
7128         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
7129         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7130         mpc_cc_c.
7131         (func_calc_desc): Add mpc_cc_c union field.
7132         (test_functions): Add cpow.
7133         (special_fill_2pi): New function.
7134         (special_real_inputs): Add 2pi.
7135         (calc_generic_results): Handle mpc_cc_c.
7136         * sysdeps/i386/fpu/libm-test-ulps: Update.
7137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7138
7139         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
7140         csqrt, ctan and ctanh.
7141         * math/auto-libm-test-out: Regenerated.
7142         * math/libm-test.inc (TEST_COND_x86_64): New macro.
7143         (TEST_COND_x86): Likewise.
7144         (ccos_test_data): Use AUTO_TESTS_c_c.
7145         (ccosh_test_data): Likewise.
7146         (cexp_test_data): Likewise.
7147         (clog_test_data): Likewise.
7148         (csqrt_test_data): Likewise.
7149         (ctan_test_data): Likewise.
7150         (ctan_tonearest_test_data): Likewise.
7151         (ctan_towardzero_test_data): Likewise.
7152         (ctan_downward_test_data): Likewise.
7153         (ctan_upward_test_data): Likewise.
7154         (ctanh_test_data): Likewise.
7155         (ctanh_tonearest_test_data): Likewise.
7156         (ctanh_towardzero_test_data): Likewise.
7157         (ctanh_downward_test_data): Likewise.
7158         (ctanh_upward_test_data): Likewise.
7159         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7160         mpc_c_c.
7161         (func_calc_desc): Add mpc_c_c union field.
7162         (FUNC_mpc_c_c): New macro.
7163         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
7164         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
7165         ctanh.
7166         (special_fill_min_subnorm_p120): New function.
7167         (special_real_inputs): Add min_subnorm_p120.
7168         (calc_generic_results): Handle mpc_c_c.
7169         * sysdeps/i386/fpu/libm-test-ulps: Update.
7170         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7171
7172 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
7173
7174         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
7175         (do_sin_slow): New functions.
7176         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
7177         (cslow2, csloww1, csloww2): Use the new functions.
7178
7179         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
7180         Use M to change sign of result instead of X.  Assume X is
7181         positive.
7182         (csloww1): Likewise.
7183         (__sin): Adjust.
7184         (__cos): Adjust.
7185
7186         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
7187         arguments A and DA.
7188         (__sin): Adjust.
7189         (__cos): Likewise.
7190
7191         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
7192         (__cos): Likewise.
7193         (sloww1): Don't adjust sign of DX.
7194         (csloww1): Likewise.
7195         (sloww2): Use X directly and don't adjust sign of DX.
7196         (csloww2): Likewise.
7197
7198 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7199
7200         * math/auto-libm-test-in: Add tests of cabs and carg.
7201         * math/auto-libm-test-out: Regenerated.
7202         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
7203         (carg_test_data): Likewise.
7204         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7205         mpc_c_f.
7206         (func_calc_desc): Add mpc_c_f union field.
7207         (test_functions): Add cabs and carg.
7208         (calc_generic_results): Handle mpc_c_f.
7209
7210         * sysdeps/powerpc/powerpc32/libgcc-compat.S
7211         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
7212         as a macro and a compat symbol.
7213         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
7214         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
7215         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
7216         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
7217         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
7218         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
7219         not use .hidden.
7220         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
7221         Likewise.
7222         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
7223         Likewise.
7224         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
7225         Likewise.
7226         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
7227         Likewise.
7228         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
7229         Likewise.
7230         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
7231         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
7232         from GLIBC_2.3.2.
7233
7234 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7235
7236         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7237
7238 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7239
7240         * manual/texinfo.tex: Update to version 2013-11-26.10 with
7241         trailing whitespace removed.
7242         * scripts/config.guess: Update to version 2013-11-29.
7243         * scripts/config.sub: Update to version 2013-10-01.
7244
7245         * math/auto-libm-test-in: Add tests of sincos.
7246         * math/auto-libm-test-out: Regenerated.
7247         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
7248         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7249         mpfr_f_11.
7250         (func_calc_desc): Add mpfr_f_11 union field.
7251         (test_functions): Add sincos.
7252         (calc_generic_results): Handle mpfr_f_11.
7253         * sysdeps/i386/fpu/libm-test-ulps: Update.
7254         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7255
7256 2013-12-19  Andreas Schwab  <schwab@suse.de>
7257
7258         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
7259         CALL_MCOUNT.
7260         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
7261         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
7262         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
7263
7264 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
7265
7266         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
7267         * sysdeps/i386/fpu/libm-test-ulps: Update.
7268         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7269
7270         [BZ #16293]
7271         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
7272         round-to-nearest mode when using frndint.
7273         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
7274         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
7275         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7276         Likewise.
7277         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
7278         sinh test to fail.
7279         * math/auto-libm-test-out: Regenerated.
7280         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
7281         (TEST_COND_x86): Likewise.
7282         (expm1_tonearest_test_data): New array.
7283         (expm1_test_tonearest): New function.
7284         (expm1_towardzero_test_data): New array.
7285         (expm1_test_towardzero): New function.
7286         (expm1_downward_test_data): New array.
7287         (expm1_test_downward): New function.
7288         (expm1_upward_test_data): New array.
7289         (expm1_test_upward): New function.
7290         (main): Run the new test functions.
7291         * sysdeps/i386/fpu/libm-test-ulps: Update.
7292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7293
7294         * include/features.h: Update comment documenting feature test
7295         macros.  Mention _DEFAULT_SOURCE in comment.
7296         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
7297         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
7298         _BSD_SOURCE and _SVID_SOURCE.
7299         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
7300         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
7301         !_SVID_SOURCE]: Likewise.
7302         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7303         (__USE_POSIX_IMPLICITLY): Define.
7304         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7305         (_POSIX_SOURCE): Undefine and redefine.
7306         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
7307         (_POSIX_C_SOURCE): Likewise.
7308         * manual/creature.texi (_DEFAULT_SOURCE): Document.
7309         (Feature Test Macros): Update documentation of default features.
7310
7311 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
7312
7313         * benchtests/Makefile: Add bench-strtok.
7314         * benchtests/bench-strtok.c: New file: strtok benchtest.
7315
7316 2013-12-19  Allan McRae  <allan@archlinux.org>
7317
7318         * manual/install.texi: Suppress menu for plain text output.
7319         * INSTALL: Regenerated.
7320
7321 2013-12-18  Brooks Moses  <bmoses@google.com>
7322
7323         [BZ #15846]
7324         * misc/getauxval.c: Include errno.h.
7325         (__getauxval): Set errno to ENOENT if the requested type is not
7326         found.
7327         * misc/sys/auxv.h (getauxval): Document that it may set errno;
7328         don't declare with __attribute_const__.
7329         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
7330         * manual/startup.texi: Document that getauxval sets errno.
7331
7332 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7333
7334         * math/auto-libm-test-in: Add tests of jn and yn.
7335         * math/auto-libm-test-out: Regenerated.
7336         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
7337         (yn_test_data): Likewise.
7338         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7339         mpfr_if_f.
7340         (func_calc_desc): Add mpfr_if_f union field.
7341         (FUNC_mpfr_if_f): New macro.
7342         (test_functions): Add jn and yn.
7343         (calc_generic_results): Assert type of second input for
7344         mpfr_ff_f.  Handle mpfr_if_f.
7345         (output_for_one_input_case): Disable all checking for arguments
7346         fitting floating-point types in case of an integer argument.
7347         * sysdeps/i386/fpu/libm-test-ulps: Update.
7348         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7349
7350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7351         Don't expect fegetround reference in libm.so.
7352
7353 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
7354
7355         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
7356         $(config-cflags-nofma).
7357
7358 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
7359
7360         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
7361         * math/auto-libm-test-out: Regenerated.
7362
7363         [BZ #16338]
7364         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
7365         to determine exponent and adjust argument to have exponent of -1.
7366         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
7367         log2.
7368         * math/auto-libm-test-out: Regenerated.
7369         * sysdeps/i386/fpu/libm-test-ulps: Update.
7370         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7371
7372 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
7373
7374         * manual/probes.texi: Remove cases when per-thread arenas are
7375         disabled.
7376
7377 2013-12-18  Andreas Schwab  <schwab@suse.de>
7378
7379         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
7380         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
7381         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
7382         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
7383         * sysdeps/i386/i686/multiarch/Makefile: Update.
7384         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
7385
7386 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7387
7388         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
7389         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
7390
7391 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
7392
7393         [BZ #15968]
7394         Support TZ transition times < 00:00:00.
7395         This is needed for version-3 tz-format files; it supports time
7396         stamps past 2037 for America/Godthab (the only entry in the tz
7397         database for which this change is relevant).
7398         * manual/time.texi (TZ Variable): Document transition times
7399         from -167:59:59 through -00:00:01.
7400         * time/tzset.c (tz_rule): Time of day is now signed.
7401         (__tzset_parse_tz): Parse negative time of day.
7402
7403         Document TZ transition times >= 25:00:00.
7404         * manual/time.texi (TZ Variable): Document transition times from
7405         25:00:00 through 167:59:59.  These are already supported, and this
7406         support will help with version-3 tz-format files.
7407
7408         * manual/time.texi (TZ Variable): Modernize North America example
7409         to reflect current (i.e., 2007-and-later) daylight saving rules.
7410
7411         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
7412
7413 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7414
7415         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
7416         * sysdeps/unix/bsd/bits/stat.h: Likewise.
7417         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
7418         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
7419         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
7420         * sysdeps/unix/bsd/bsdstat.h: Likewise.
7421         * sysdeps/unix/bsd/clock.c: Likewise.
7422         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
7423         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
7424         * sysdeps/unix/bsd/init-posix.c: Likewise.
7425         * sysdeps/unix/bsd/poll.c: Likewise.
7426         * sysdeps/unix/bsd/ptsname.c: Likewise.
7427         * sysdeps/unix/bsd/seekdir.c: Likewise.
7428         * sysdeps/unix/bsd/setegid.c: Likewise.
7429         * sysdeps/unix/bsd/seteuid.c: Likewise.
7430         * sysdeps/unix/bsd/setgid.c: Likewise.
7431         * sysdeps/unix/bsd/setrgid.c: Likewise.
7432         * sysdeps/unix/bsd/setruid.c: Likewise.
7433         * sysdeps/unix/bsd/setsid.c: Likewise.
7434         * sysdeps/unix/bsd/setuid.c: Likewise.
7435         * sysdeps/unix/bsd/sigaction.c: Likewise.
7436         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
7437         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
7438         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
7439         * sysdeps/unix/bsd/telldir.c: Likewise.
7440         * sysdeps/unix/bsd/times.c: Likewise.
7441         * sysdeps/unix/bsd/usleep.c: Likewise.
7442
7443         * misc/Makefile (install-lib): Remove libbsd-compat.a.
7444         ($(objpfx)libbsd-compat.a): Remove rule.
7445
7446         * include/features.h (__FAVOR_BSD): Do not define.
7447         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
7448         features conflicting with POSIX.
7449         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
7450         (_BSD_SOURCE): Remove description of not being a subset of other
7451         feature test macros.
7452         * manual/job.texi (getpgrp): Do not document BSD version.
7453         (getpgid): Do not document by reference to BSD getpgrp.
7454         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
7455         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
7456         * signal/signal.h [__FAVOR_BSD]: Likewise.
7457         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
7458         instead of making contents conditional on [__FAVOR_BSD].
7459         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
7460
7461 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7462
7463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7464
7465 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
7466
7467         [BZ #16314]
7468         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
7469         values below 2**-450, not 2**-500.
7470         * math/auto-libm-test-in: Don't allow spurious underflow from
7471         hypot.
7472         * math/auto-libm-test-out: Regenerated.
7473
7474         [BZ #16316]
7475         [BZ #16330]
7476         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
7477         values of ha and hb and sort them after adjusting subnormal
7478         arguments.
7479         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
7480         Likewise.
7481         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
7482         values of ea and eb and sort them after adjusting subnormal
7483         arguments.
7484         * math/auto-libm-test-in: Do not expect some hypot tests of
7485         subnormals to fail.  Add more hypot tests.
7486         * math/auto-libm-test-out: Regenerated.
7487
7488 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7489
7490         [BZ #13304]
7491         * sysdeps/sh/s_fma.c: New file.
7492         * sysdeps/sh/s_fmaf.c: New file.
7493         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
7494         version.
7495         * sysdeps/sh/Implies: Add sh/soft-fp.
7496
7497 2013-12-16  Roland McGrath  <roland@hack.frob.com>
7498
7499         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
7500         level of indirection to members `objname', `errstring', `malloced'.
7501         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
7502         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
7503         it as the __longjmp argument (just pass 1 instead).
7504         (_dl_catch_error): Initialize C with argument pointers and address of
7505         volatile local ERRCODE rather than copying values out of C at return.
7506
7507 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
7508
7509         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
7510         * math/auto-libm-test-out: Regenerated.
7511         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
7512         (hypot_test_data): Likewise.
7513         (pow_test_data): Likewise.
7514         (pow_tonearest_test_data): Likewise.
7515         * math/gen-auto-libm-tests.c (func_calc_method): Add value
7516         mpfr_ff_f.
7517         (func_calc_desc): Add mpfr_ff_f union field.
7518         (FUNC_mpfr_ff_f): New macro.
7519         (test_functions): Add atan2, hypot and pow.
7520         (special_fill_min): New function.
7521         (special_fill_minus_min): Likewise.
7522         (special_fill_min_subnorm): Likewise.
7523         (special_fill_minus_min_subnorm): Likewise.
7524         (special_real_inputs): Add min, -min, min_subnorm and
7525         -min_subnorm.
7526         (calc_generic_results): Handle mpfr_ff_f.
7527         * sysdeps/i386/fpu/libm-test-ulps: Update.
7528         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7529
7530 2013-12-16  Will Newton  <will.newton@linaro.org>
7531
7532         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
7533         (Aligned Memory Blocks): Add documentation for aligned_alloc
7534         and suggest it as an alternative to posix_memalign.
7535         (Hooks for Malloc): Document __memalign_hook is also called
7536         for aligned_alloc.  (Summary of Malloc): Add summary for
7537         aligned alloc.  Document __memalign_hook is also called
7538         for aligned_alloc.
7539
7540 2013-12-16  Will Newton  <will.newton@linaro.org>
7541
7542         * manual/memory.texi (Malloc Examples): Clarify default
7543         alignment documentation.  Suggest posix_memalign rather
7544         than memalign or valloc.
7545         (Aligned Memory Blocks): Remove suggestion to use memalign
7546         or valloc.  Remove obsolete comment about BSD.
7547         Document memalign errno values and mark the function obsolete.
7548         Document posix_memalign returned error codes.  Mark valloc
7549         as obsolete.  (Hooks for Malloc): __memalign_hook is also
7550         called for posix_memalign and valloc.
7551         (Summary of Malloc): Add posix_memalign to function summary.
7552         __memalign_hook is also called for posix_memalign and valloc.
7553
7554 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
7555
7556         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
7557         TAYLOR_SIN.
7558         (__sin): Adjust.
7559         (__cos): Likewise.
7560         (sloww): Use mynumber union.  Expand ternary operator into
7561         if-else statements.
7562         (cslow): use mynumber union.
7563
7564 2013-12-16  Allan McRae  <allan@archlinux.org>
7565
7566         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
7567         * configure: Regenerated.
7568
7569         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
7570
7571         [BZ #14120]
7572         * configure.ac: Added --enable-maintainer-mode. Check for
7573         autoconf when enabled.
7574         * configure: Regenerated.
7575
7576         * nscd/nscd.service: New file.
7577         * nscd/nscd.tmpfiles: New file.
7578
7579 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
7580
7581         [BZ #12100]
7582         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
7583         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
7584         * sysdeps/x86_64/multiarch/strstr.c: ... here.
7585         (strstr): Add __strstr_sse2_unaligned ifunc.
7586         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
7587         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
7588         (strcasestr): Remove __strcasestr_sse42 ifunc.
7589         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
7590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
7591         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
7592
7593 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
7594
7595         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
7596         * sysdeps/sh/bits/fenv.h: ... here.
7597         * sysdeps/sh/sh4/fpu/bits: Remove directory.
7598
7599 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7600
7601         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
7602
7603         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
7604         hypotf multiarch implementations.
7605         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
7606         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
7607         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
7608         multiarch hypot for PPC64.
7609         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
7610         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
7611         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
7612         multiarch hypotf for PPC64.
7613
7614         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
7615         modff multiarch implementations.
7616         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
7617         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
7618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
7619         multiarch modf for PPC64.
7620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
7621         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
7622         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
7623         multiarch modff for PPC64.
7624
7625         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
7626         and logl multiarch implementations.
7627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
7628         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
7629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
7630         multiarch logb for PPC64.
7631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
7632         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
7633         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
7634         multiarch logb for PPC64.
7635         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
7636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
7637         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
7638         multiarch logb for PPC64.
7639
7640         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
7641         isinff multiarch implementation.
7642         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
7643         file.
7644         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
7645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
7646         multiarch isinf for PPC64.
7647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
7648         file.
7649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
7650         multiarch isinff for PPC64.
7651
7652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
7653         finitef multiarch implementation.
7654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
7655         file.
7656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
7657         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
7658         multiarch finite for PPC64.
7659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
7660         file.
7661         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
7662         multiarch finitef for PPC64.
7663
7664         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
7665         lrint multiarch implementation.
7666         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
7667         file.
7668         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
7669         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
7670         multiarch llrint for PPC64.
7671         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
7672         multiarch lrint for PPC64.
7673
7674         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
7675         copysignf multiarch implementation.
7676         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
7677         file.
7678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
7679         file.
7680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
7681         multiarch copysign for PPC64.
7682         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
7683         multiarch copysignf for PPC64.
7684
7685         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
7686         multiarch implementation.
7687         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
7688         file.
7689         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
7690         file.
7691         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
7692         file.
7693         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
7694         file.
7695         multiarch llround for PPC64.
7696         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
7697         multiarch trunc for PPC64.
7698         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
7699         multiarch truncf for PPC64.
7700
7701         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
7702         multiarch implementation.
7703         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
7704         file.
7705         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
7706         file.
7707         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
7708         file.
7709         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
7710         file.
7711         multiarch llround for PPC64.
7712         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
7713         multiarch round for PPC64.
7714         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
7715         multiarch roundf for PPC64.
7716
7717         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
7718         multiarch implementation.
7719         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
7720         file.
7721         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
7722         file.
7723         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
7724         file.
7725         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
7726         file.
7727         multiarch llround for PPC64.
7728         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
7729         multiarch floor for PPC64.
7730         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
7731         multiarch floorf for PPC64.
7732
7733         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
7734         multiarch implementation.
7735         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
7736         file.
7737         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
7738         file.
7739         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
7740         file.
7741         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
7742         file.
7743         multiarch llround for PPC64.
7744         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
7745         multiarch ceil for PPC64.
7746         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
7747         multiarch ceilf for PPC64.
7748
7749         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
7750         multiarch implementation.
7751         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
7752         file.
7753         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
7754         file.
7755         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
7756         file.
7757         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
7758         multiarch llround for PPC64.
7759         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
7760         multiarch lround for PPC64.
7761
7762         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
7763         multiarch implementation.
7764         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
7765         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
7766         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
7767         file.
7768         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
7769         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
7770         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
7771         multiarch isnan for PPC64.
7772         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
7773         multiarch isnanf for PPC64.
7774
7775         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
7776         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
7777         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
7778         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
7779         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
7780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
7781
7782         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
7783         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
7784         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
7785         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
7786
7787         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
7788         multiarch implementations.
7789         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7790         (__libc_ifunc_impl_list): Likewise.
7791         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
7792         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
7793         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
7794         multiarch stpcpy for PPC64.
7795
7796         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
7797         multiarch implementations.
7798         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7799         (__libc_ifunc_impl_list): Likewise.
7800         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
7801         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
7802         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
7803         multiarch strcpy for PPC64.
7804
7805         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
7806         redefine function name.
7807         (_wordcopy_fwd_dest_aligned): Likewise.
7808         (_wordcopy_bwd_aligned): Likewise.
7809         (_wordcopy_bwd_dest_aligned): Likewise.
7810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
7811         multiarch implementations.
7812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7813         (__libc_ifunc_impl_list): Likewise.
7814         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
7815         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
7816         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
7817         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
7818         multiarch wcscpy for PPC64.
7819
7820         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
7821         multiarch implementations.
7822         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7823         (__libc_ifunc_impl_list): Likewise.
7824         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
7825         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
7826         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
7827         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
7828         multiarch wcscpy for PPC64.
7829
7830         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
7831         multiarch implementations.
7832         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7833         (__libc_ifunc_impl_list): Likewise.
7834         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
7835         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
7836         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
7837         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
7838         multiarch wcsrchr for PPC64.
7839
7840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
7841         multiarch implementations.
7842         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7843         (__libc_ifunc_impl_list): Likewise.
7844         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
7845         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
7846         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
7847         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
7848         multiarch wcschr for PPC64.
7849
7850         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
7851         multiarch implementations.
7852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7853         (__libc_ifunc_impl_list): Likewise.
7854         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
7855         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
7856         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
7857         multiarch strchrnul for PPC64.
7858
7859         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
7860         implementations.
7861         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7862         (__libc_ifunc_impl_list): Likewise.
7863         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
7864         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
7865         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
7866         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
7867         strchr for PPC64.
7868
7869         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
7870         implementations.
7871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7872         (__libc_ifunc_impl_list): Likewise.
7873         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
7874         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
7875         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
7876         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
7877         strncmp for PPC64.
7878
7879         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
7880         multiarch implementations.
7881         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7882         (__libc_ifunc_impl_list): Likewise.
7883         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
7884         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
7885         strncasecmp for PPC64.
7886         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
7887         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
7888         multiarch strncasecmp_l for PPC64.
7889
7890         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
7891         multiarch implementations.
7892         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
7893         (__libc_ifunc_impl_list): Likewise.
7894         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
7895         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
7896         multiarch strcasecmp for PPC64.
7897         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
7898         file.
7899         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
7900         multiarch strcasecmp_l for PPC64.
7901
7902         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
7903         implementations.
7904         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7905         (__libc_ifunc_impl_list): Likewise.
7906         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
7907         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
7908         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
7909         strnlen for PPC64.
7910
7911         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
7912         implementations.
7913         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7914         (__libc_ifunc_impl_list): Likewise.
7915         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
7916         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
7917         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
7918         strlen for PPC64.
7919
7920         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
7921         implementations.
7922         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7923         (__libc_ifunc_impl_list): Likewise.
7924         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
7925         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
7926         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
7927         rawmemrchr for PPC64.
7928
7929         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
7930         implementation.
7931         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7932         (__libc_ifunc_impl_list): Likewise.
7933         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
7934         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
7935         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
7936         memrchr for PPC64.
7937
7938         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
7939         implementation.
7940         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7941         (__libc_ifunc_impl_list): Likewise.
7942         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
7943         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
7944         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
7945         memchr for PPC64.
7946
7947         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
7948         implementation.
7949         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7950         (__libc_ifunc_impl_list): Likewise.
7951         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
7952         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
7953         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
7954         mempcpy for PPC64.
7955
7956         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
7957         avoid cretion of __bzero symbol.
7958         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
7959         Likewise.
7960         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
7961         Likewise.
7962         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
7963         Likewise.
7964         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
7965         multiarch implementations.
7966         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7967         (__libc_ifunc_impl_list): Likewise.
7968         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
7969         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
7970         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
7971         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
7972         bzero for PPC32.
7973         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
7974         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
7975         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
7976         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
7977         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
7978         memset for PPC64.
7979         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
7980
7981         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
7982         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
7983         implementations.
7984         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
7985         (__libc_ifunc_impl_list): Likewise.
7986         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
7987         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
7988         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
7989         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
7990         memcmp for PPC64.
7991
7992         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
7993         multiarch for POWER/PPC64.
7994         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
7995         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
7996         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
7997         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
7998         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
7999         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
8000         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
8001         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
8002         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
8003         memcpy for PPC64.
8004
8005         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
8006         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
8007         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
8008         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
8009         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8010         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
8011         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
8012         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
8013         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
8014         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
8015         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
8016         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
8017         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
8018         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
8019         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
8020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
8021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
8022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
8023         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
8024         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
8025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
8026         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
8027
8028 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8029
8030         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
8031
8032 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
8033
8034         * benchtests/Makefile (bench): Add exp2 and log2.
8035         (LDLIBS-bench-exp2): Add -lm.
8036         (LDLIBS-bench-log2): Likewise.
8037         * benchtests/exp2-inputs: New inputs file.
8038         * benchtests/log2-inputs: New inputs file.
8039         * benchtests/log-inputs: Add new inputs.
8040         * benchtests/tan-inputs: Likewise.
8041
8042 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
8043
8044         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
8045         definition...
8046         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
8047         (csloww2): ... from here.
8048
8049         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
8050         instead of structures.
8051         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
8052         (POLYNOMIAL): Likewise.
8053         (TAYLOR_SLOW): Likewise.
8054         (__sin): Likewise.
8055         (__cos): Likewise.
8056         (slow1): Likewise.
8057         (slow2): Likewise.
8058         (sloww): Likewise.
8059         (sloww1); Likewise.
8060         (sloww2): Likewise.
8061         (bsloww1): Likewise.
8062         (bsloww2): Likewise.
8063         (cslow2): Likewise.
8064         (csloww): Likewise.
8065         (csloww1): Likewise.
8066         (csloww2): Likewise.
8067
8068 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
8069
8070         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
8071         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
8072         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
8073         * malloc/hooks.c (realloc_check): Likewise.
8074
8075         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
8076         * malloc/arena.c: Remove PER_THREAD conditional.
8077         [!PER_THREAD]: Remove code.
8078         (ptmalloc_unlock_all2): Likewise.
8079         (ptmalloc_init): Likewise.
8080         (_int_new_arena): Likewise.
8081         (arena_get2): Likewise.
8082         * malloc/hooks.c (__malloc_get_state): Likewise.
8083         (__malloc_set_state): Likewise.
8084         * malloc/malloc.c: Likewise.
8085         (struct malloc_state): Likewise.
8086         (struct malloc_par): Likewise.
8087         (__libc_realloc): Likewise.
8088         (__libc_mallopt): Likewise.
8089
8090 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8091
8092         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
8093
8094 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
8095
8096         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
8097         macro to a function.  Check for zero perturb_byte.
8098         (_int_malloc, _int_free): Remove zero perturb_byte checks.
8099
8100         * malloc/malloc.c: (force_reg): Remove.
8101         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
8102         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
8103         force_reg by atomic_forced_read.
8104         * malloc/arena.c (ptmalloc_init): Likewise.
8105         * malloc/hooks.c (top_check): Likewise.
8106
8107 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8108
8109         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8110
8111 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
8112
8113         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8114
8115 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
8116
8117         * math/auto-libm-test-in: Add tests of lgamma.
8118         * math/auto-libm-test-out: Regenerated.
8119         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
8120         (M_LOG_2_SQRT_PIl): Likewise.
8121         (lgamma_test_data): Use AUTO_TESTS_f_f1.
8122         * math/gen-auto-libm-tests.c (func_calc_method): Add value
8123         mpfr_f_f1.
8124         (func_calc_desc): Add mpfr_f_f1 union field.
8125         (ARGS1): New macro.
8126         (ARGS2): Likewise.
8127         (ARGS3): Likewise.
8128         (ARGS4): Likewise.
8129         (RET1): Likewise.
8130         (RET2): Likewise.
8131         (CALC): Likewise.
8132         (FUNC): Likewise.
8133         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
8134         (test_functions): Add lgamma.
8135         (calc_generic_results): Handle mpfr_f_f1.
8136         * sysdeps/i386/fpu/libm-test-ulps: Update.
8137         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8138
8139 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8140
8141         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
8142         __mpn_add_n for PowerPC64/POWER7.
8143         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
8144         __mpn_sub_n for PowerPC64/POWER7.
8145
8146         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
8147         __mpn_addmul_1 for PowerPC64.
8148         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
8149         __mpn_submul_1 for PowerPC64.
8150         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
8151         for PowerPC64.
8152         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
8153         for PowerPC64.
8154
8155 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
8156
8157         [BZ #15089]
8158         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
8159
8160 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8161
8162         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
8163
8164         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
8165         add multiarch folders.
8166         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
8167         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
8168         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
8169         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
8170         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
8171         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
8172         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
8173         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
8174         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
8175         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
8176         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
8177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
8178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
8179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
8180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
8181         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
8182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
8183
8184         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8185         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
8186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
8187         New file.
8188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
8189         New file.
8190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
8191         multiarch __ieee754_hypot for PowerPC32.
8192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
8193         New file.
8194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
8195         New file.
8196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
8197         multiarch __ieee754_hypotf for PowerPC32.
8198
8199         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
8200         long_double_symbol only if __logbl is defined.
8201         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
8202         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
8203         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
8204         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
8205         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
8206         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
8207         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
8208         path for implementation.
8209         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
8210         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
8211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
8212         logb, and logbl multiarch implementations for PowerPC32.
8213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
8214         file.
8215         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
8216         file.
8217         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
8218         multiarch logb for PowerPC32.
8219         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
8220         file.
8221         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
8222         file.
8223         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
8224         multiarch logbf for PowerPC32.
8225         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
8226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
8227         file.
8228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
8229         multiarch logbl implementation for PowerPC32.
8230
8231         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
8232         and modff multiarch implementations.
8233         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
8234         New file.
8235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
8236         New file.
8237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
8238         multiarch modf for PowerPC32.
8239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
8240         New file.
8241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
8242         New file.
8243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
8244         multiarch modff for PowerPC32.
8245
8246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
8247         and lrintf multiarch implementations.
8248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
8249         New file.
8250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
8251         New file.
8252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
8253         multiarch lrint for PowerPC32.
8254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
8255         file: multiarch lrintf for PowerPC32.
8256
8257         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
8258         and lroundf multiarch implementations.
8259         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
8260         New file.
8261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
8262         New file.
8263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
8264         New file.
8265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
8266         multiarch lround for PowerPC32.
8267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
8268         file: multiarch lroundf for PowerPC32.
8269
8270         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
8271         copysign and copysignf multiarch implementations.
8272         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
8273         New file.
8274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
8275         New file.
8276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
8277         file: multiarch copysign for PowerPC32.
8278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
8279         file: multiarch copysignf for PowerPC32.
8280
8281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
8282         and truncf multiarch implementations.
8283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
8284         New file.
8285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
8286         file.
8287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
8288         multiarch trunc for PowerPC32.
8289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
8290         New file.
8291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
8292         New file.
8293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
8294         multiarch truncf for PowerPC32.
8295
8296         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
8297         and roundf multiarch implementations.
8298         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
8299         New file.
8300         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
8301         file.
8302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
8303         multiarch round for PowerPC32.
8304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
8305         New file.
8306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
8307         New file.
8308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
8309         multiarch roundf for PowerPC32.
8310
8311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
8312         and floorf multiarch implementations.
8313         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
8314         New file.
8315         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
8316         file.
8317         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
8318         multiarch floor for PowerPC32.
8319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
8320         New file.
8321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
8322         New file.
8323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
8324         multiarch floorf for PowerPC32.
8325
8326         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
8327         and ceilf multiarch implementations.
8328         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
8329         New file.
8330         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
8331         file.
8332         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
8333         multiarch ceil for PowerPC32.
8334         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
8335         New file.
8336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
8337         file.
8338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
8339         multiarch ceilf for PowerPC32.
8340
8341         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
8342         is defined.
8343         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
8344         FINITEF is defined.
8345         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
8346         and finitef multiarch implementations.
8347         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
8348         New file.
8349         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
8350         file.
8351         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
8352         multiarch finite for PowerPC32.
8353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
8354         New file.
8355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
8356         file: multiarch finitef for PowerPC32.
8357
8358         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
8359         and isinff multiarch implementations.
8360         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
8361         file.
8362         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
8363         file.
8364         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
8365         multiarch isinf for PowerPC32.
8366         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
8367         New file.
8368         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
8369         multiarch isinff for PowerPC32.
8370
8371         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
8372         alias when __isnan is defined.
8373         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
8374         and isnanf multiarch implementations.
8375         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
8376         file.
8377         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
8378         file.
8379         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
8380         file.
8381         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
8382         file.
8383         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
8384         multiarch isnan for PowerPC32.
8385         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
8386         New file.
8387         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
8388         New file.
8389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
8390         multiarch isnanf for PowerPC32.
8391
8392         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
8393         and sqrtf multiarch implementations.
8394         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
8395         file.
8396         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
8397         file.
8398         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
8399         multiarch sqrt for PowerPC32.
8400         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
8401         file.
8402         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
8403         file.
8404         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
8405         multiarch sqrtf for PowerPC32.
8406
8407         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
8408         and llroundf multiarch implementations.
8409         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
8410         New file.
8411         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
8412         New file.
8413         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
8414         New file.
8415         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
8416         file: multiarch llround for PowerPC32.
8417         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
8418         file: multiarch llroundf for PowerPC32.
8419
8420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
8421         multiarch PowerPC32 fpu implementations.
8422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
8423         New file.
8424         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
8425         New file.
8426         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
8427         multiarch llrint for PowerPC32.
8428         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
8429         New file.
8430         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
8431         New file.
8432         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
8433         file.
8434
8435         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
8436
8437         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
8438         file.
8439         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
8440         file.
8441         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
8442         file.
8443         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
8444         multiarch wordcopy for PPC32.
8445         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8446         wordcopy objects.
8447         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8448         (__libc_ifunc_impl_list): Likewise.
8449         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
8450         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
8451         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
8452         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
8453         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
8454         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
8455
8456         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
8457         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
8458         file.
8459         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
8460         file.
8461         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
8462         file.
8463         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
8464         multiarch wcscpy for PPC32.
8465         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
8466         multiarch objects.
8467         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8468         (__libc_ifunc_impl_list): Likewise.
8469         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8470         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8471         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
8472         sysdeps/powerpc/power6/wcscpy.c.
8473
8474         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
8475         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
8476         file.
8477         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
8478         file.
8479         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
8480         file.
8481         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
8482         multiarch wcsrchr for PPC32.
8483         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8484         multiarch objects.
8485         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8486         (__libc_ifunc_impl_list): Likewise.
8487         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
8488         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
8489         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
8490         sysdeps/powerpc/power6/wcsrchr.c.
8491
8492         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
8493         file.
8494         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
8495         file.
8496         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
8497         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
8498         multiarch wcschr for PPc32.
8499         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
8500         multiarch objects.
8501         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8502         (__libc_ifunc_impl_list): Likewise.
8503         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
8504         * sysdeps/powerpc/power6/wcschr.c: ... to here.
8505         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
8506         sysdeps/powerpc/power6/wcschr.c.
8507
8508         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
8509         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
8510         file.
8511         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
8512         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
8513         file: multiarch strchr for PPC32.
8514         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
8515         multiarch objects.
8516         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8517         (__libc_ifunc_impl_list): Likewise.
8518
8519         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
8520         name.
8521         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
8522         file.
8523         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
8524         file.
8525         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
8526         multiarch strchrnul for PPC32.
8527         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
8528         multiarch objects.
8529         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8530         (__libc_ifunc_impl_list): Likewise.
8531
8532         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
8533         file.
8534         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
8535         multiarch strncasecmp for PPC32.
8536         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
8537         file.
8538         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
8539         multiarch strncasecmp_l for PPC32.
8540         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
8541         strncasecmp multiarch objects.
8542         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8543         (__libc_ifunc_impl_list): Likewise.
8544
8545         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
8546         file.
8547         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
8548         multiarch strncasecmp for PPC32.
8549         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
8550         New file.
8551         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
8552         multiarch strcasecmp_l for PPC32.
8553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
8554         multiarch objects.
8555         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8556         (__libc_ifunc_impl_list): Likewise.
8557
8558         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
8559         file.
8560         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
8561         file.
8562         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
8563         multiarch strncmp for PPC32.
8564         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
8565         multiarch objects.
8566         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8567         (__libc_ifunc_impl_list): Likewise.
8568
8569         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
8570         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
8571         file.
8572         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
8573         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
8574         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
8575         multiarch objects.
8576         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8577         (__libc_ifunc_impl_list): Likewise.
8578
8579         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
8580         file.
8581         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
8582         file.
8583         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
8584         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
8585         multiarch objects.
8586         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8587         (__libc_ifunc_impl_list): Likewise.
8588
8589         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
8590         file.
8591         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
8592         file.
8593         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
8594         multiarch rawmemchr for PPC32.
8595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
8596         multiarch objects.
8597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8598         (__libc_ifunc_impl_list): Likewise.
8599
8600         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
8601         file.
8602         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
8603         file.
8604         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
8605         file: memrchr multiarch for PPC32.
8606         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
8607         multiarch objects.
8608         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
8609         (__libc_ifunc_impl_list): Likewise.
8610
8611         * string/memchr.c (__memchr): Using macro to redefine symbol name.
8612         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
8613         file.
8614         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
8615         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
8616         multiarch memchr for PPC32.
8617         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
8618         multiarch objects.
8619         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8620         (__libc_ifunc_impl_list): Likewise.
8621
8622         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
8623         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
8624         file.
8625         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
8626         file.
8627         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
8628         file: multiarch mempcpy for PPC32.
8629         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
8630         multiarch objects.
8631         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8632         (__libc_ifunc_impl_list): Likewise.
8633
8634         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
8635         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
8636         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
8637         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
8638         multiarch bzero for PPC32.
8639         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
8640         file.
8641         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
8642         file.
8643         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
8644         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
8645         file: multiarch memset for PPC32.
8646         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
8647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
8648         memset multiarch objects.
8649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8650         (__libc_ifunc_impl_list): Likewise.
8651
8652         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
8653         file.
8654         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
8655         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
8656         memcmp for PPC32.
8657         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
8658         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
8659         multiarch objects.
8660         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8661         (__libc_ifunc_impl_list): Likewise.
8662
8663         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
8664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
8665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
8666         file.
8667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
8668         file.
8669         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
8670         file.
8671         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
8672         multiarch memcpy for PPC32.
8673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
8674         multiarch objects.
8675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
8676         (__libc_ifunc_impl_list): Likewise.
8677
8678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
8679         support multiarch for POWER/PPC32.
8680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
8681         Likewise.
8682         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
8683         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
8684         Implies file to make multiarch folder appers before the fpu and
8685         default folder for power4 configuration.
8686
8687 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
8688
8689         * scripts/bench.pl: Append volatile keyword to type.
8690
8691 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
8692
8693         * sysdeps/sh/sotruss-lib.c: New file.
8694         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
8695
8696 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8697
8698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8699
8700 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
8701
8702         [BZ #6810]
8703         * math/w_tgamma.c: Include <errno.h>.
8704         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
8705         * math/w_tgammaf.c: Include <errno.h>.
8706         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
8707         * math/w_tgammal.c: Include <errno.h>.
8708         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
8709         * math/auto-libm-test-in: Do not allow missing errno on tgamma
8710         underflow.  Add more tgamma tests.
8711         * math/auto-libm-test-out: Regenerated.
8712         * sysdeps/i386/fpu/libm-test-ulps: Update.
8713         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8714
8715         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
8716         sin, sinh, tan, tanh, tgamma, y0 and y1.
8717         * math/auto-libm-test-out: Regenerated.
8718         * math/libm-test.inc (TEST_COND_x86_64): New macro.
8719         (TEST_COND_x86): Likewise.
8720         (M_E2l): Remove macro.
8721         (M_E3l): Likewise.
8722         (M_2_SQRT_PIl): Likewise.
8723         (M_SQRT_PIl): Likewise.
8724         (M_1_DIV_El): Likewise.
8725         (log_test_data): Use AUTO_TESTS_f_f.
8726         (log10_test_data): Likewise.
8727         (log1p_test_data): Likewise.
8728         (log2_test_data): Likewise.
8729         (sin_test_data): Likewise.
8730         (sin_tonearest_test_data): Likewise.
8731         (sin_towardzero_test_data): Likewise.
8732         (sin_downward_test_data): Likewise.
8733         (sin_upward_test_data): Likewise.
8734         (sinh_test_data): Likewise.
8735         (sinh_tonearest_test_data): Likewise.
8736         (sinh_towardzero_test_data): Likewise.
8737         (sinh_downward_test_data): Likewise.
8738         (sinh_upward_test_data): Likewise.
8739         (tan_test_data): Likewise.
8740         (tan_tonearest_test_data): Likewise.
8741         (tan_towardzero_test_data): Likewise.
8742         (tan_downward_test_data): Likewise.
8743         (tan_upward_test_data): Likewise.
8744         (tanh_test_data): Likewise.
8745         (tgamma_test_data): Likewise.
8746         (y0_test_data): Likewise.
8747         (y1_test_data): Likewise.
8748         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
8749         (special_real_inputs): Add pi/4.
8750         * sysdeps/i386/fpu/libm-test-ulps: Update.
8751         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8752
8753 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8754
8755         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
8756         "longjmp_target" static probes.
8757         (__longjmp): Rename to __longjmp_symbol.
8758         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
8759         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
8760         on which longjmp to generate.
8761         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
8762         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
8763         probe.
8764         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8765         (__sigjmp_save): Rename to __sigjmp_save_symbol.
8766         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
8767         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
8768         and __sigjmp_save_symbol based on which sigsetjmp to generated.
8769         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
8770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
8771         __longjmp_symbol based on which __longjmp to generate.
8772         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
8773         probe.
8774         (setjmp): Rename to setjmp_symbol.
8775         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8776         (_setjmp): Rename to _setjmp_symbol.
8777         (__sigsetjmp): Rename to __sigsetjmp_symbol.
8778         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
8779         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
8780         which setjmp to generate.
8781         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
8782         "longjmp_target" static probes.
8783
8784 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
8785
8786         * benchtests/README: Add note about output arguments.
8787         * benchtests/bench-sincos.c: Remove file.
8788         * benchtests/sincos-inputs: New file.
8789         * scripts/bench.pl: Identify output arguments and define
8790         static variables for them.
8791
8792         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
8793
8794         [BZ #15941]
8795         * Makefile (INSTALL): Add install-plain.texi as the primary
8796         dependency.
8797         * manual/install-plain.texi: New file.
8798         * manual/install.texi: Include node directive only for
8799         non-plaintext output.
8800
8801 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
8802
8803         * stdlib/longlong.h: Update from GCC.
8804
8805         [BZ #6807]
8806         [BZ #15901]
8807         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
8808         * math/w_j0f.c (y0f): Likewise.
8809         * math/w_j0l.c (__y0l): Likewise.
8810         * math/w_j1.c (y1): Likewise.
8811         * math/w_j1f.c (y1f): Likewise.
8812         * math/w_j1l.c (__y1l): Likewise
8813         * math/w_jn.c (yn): Likewise.
8814         * math/w_jnf.c (ynf): Likewise.
8815         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
8816         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
8817         value for Bessel function domain errors outside _SVID_ mode.
8818         Adjust sign of return value for yn (negative integer, 0).
8819         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
8820         by zero in return for negative x and set sign appropriately for
8821         negative n.
8822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
8823         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
8824         * math/libm-test.inc (y0_test_data): Add more tests and adjust
8825         expectations in error cases.
8826         (y1_test_data): Likewise.
8827         (yn_test_data): Likewise.
8828         * sysdeps/i386/fpu/libm-test-ulps: Update.
8829         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8830
8831 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8832
8833         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
8834         "64" to "64-v1".  Add "64-v2".
8835         (abi-64-options): Rename to ...
8836         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
8837         (abi-64-condition): Rename to ...
8838         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
8839         (abi-64-ld-soname): Rename to ...
8840         (abi-64-v1-ld-soname): ... this.
8841         (abi-64-v2-options): Define.
8842         (abi-64-v2-condition): Likewise.
8843         (abi-64-v2-ld-soname): Likewise.
8844         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
8845         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
8846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
8847         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
8848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
8849
8850 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8851             Alan Modra  <amodra@gmail.com>
8852
8853         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
8854         New versions for use with the ELFv2 ABI.
8855         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
8856         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
8857         declaration.
8858         (struct La_ppc64v2_retval): Likewise.
8859         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
8860         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
8861         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
8862         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
8863         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
8864         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
8865         Do not save or restore CR.
8866         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
8867         (_dl_profile_resolve): Do no save or restore CR.  Support extended
8868         return values for ELFv2 ABI.  Fix location of FPR return registers.
8869         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
8870         updated values for _CALL_ELF == 2.
8871         (La_regs, La_retval, int_retval): Likewise.
8872
8873 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8874
8875         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
8876         (FRAME_MIN_SIZE_PARM): Likewise.
8877         (FRAME_BACKCHAIN): Likewise.
8878         (FRAME_CR_SAVE): Likewise.
8879         (FRAME_LR_SAVE): Likewise.
8880         (FRAME_TOC_SAVE): Likewise.
8881         (FRAME_PARM_SAVE): Likewise.
8882         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
8883         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
8884         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8885         (call_mcount_parm_offset): New macro.
8886         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
8887         (PROF): Use symbolic stack frame offsets.
8888         (TAIL_CALL_SYSCALL_ERROR): Likewise.
8889         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
8890         Redefine in terms of FRAME_MIN_SIZE.
8891         (_dl_runtime_resolve): Use symbolic stack frame offsets.
8892         (_dl_profile_resolve): Likewise.  Update comment.
8893         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
8894         symbols stack frame offsets.
8895         (__sigsetjmp): Likewise.
8896         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
8897         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
8898         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
8899         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
8900
8901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
8902         (FRAME_BACKCHAIN): Remove.
8903         (FRAME_CR_SAVE): Likewise.
8904         (FRAME_LR_SAVE): Likewise.
8905         (FRAME_COMPILER_DW): Likewise.
8906         (FRAME_LINKER_DW): Likewise.
8907         (FRAME_TOC_SAVE): Likewise.
8908         (FRAME_PARM_SAVE): Likewise.
8909         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
8910         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
8911         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
8912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
8913         (CHECK_SP): Use symbolic stack frame offsets.
8914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
8915         zone" instead of caller's parameter save area for temp storage.
8916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
8917         Likewise.  Also, use symbolic stack frame offsets.
8918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
8919         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
8920         our own stack frame instead of the caller's.
8921         (__socket): Use symbolic stack frame offsets.
8922
8923 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8924             Alan Modra  <amodra@gmail.com>
8925
8926         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
8927         Define.
8928         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
8929         (PPC64_LOCAL_ENTRY_OFFSET): Define.
8930         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
8931         New function.
8932         (elf_machine_fixup_plt): Call it.
8933         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
8934         reloc arguments.
8935         (elf_machine_rela): Update call to elf_machine_plt_conflict.
8936         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8937         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
8938         r2 before calling target.
8939
8940 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8941             Alan Modra  <amodra@gmail.com>
8942
8943         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
8944         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
8945         versions of macros to support ELFv2 ABI.
8946         (LOCALENTRY): New macro.
8947         (ENTRY, EALIGN): Use it.
8948         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
8949         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
8950         fall through into ENTRY entry point.
8951         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
8952         Only define if _CALL_ELF != 2.
8953
8954         (elf_machine_matches_host): Verify ABI version matches.
8955         (RTLD_START): Use LOCALENTRY.
8956         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
8957         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
8958         (PLT_ENTRY_WORDS): New macro.
8959         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
8960         (elf_machine_runtime_setup): Support ELFv2 ABI.
8961         (elf_machine_fixup_plt): Likewise.
8962         (elf_machine_plt_conflict): Likewise.
8963         (resolve_ifunc): Likewise.
8964         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
8965         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
8966         Likewise.
8967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
8968         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
8969         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
8970         (makecontext): Support ELFv2 ABI.
8971         * elf/elf.h (EF_PPC64_ABI): Define.
8972
8973 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
8974
8975         * sysdeps/powerpc/powerpc64/sysdep.h
8976         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
8977         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
8978         (ENTRY) [ASSEMBLER]: ... but instead here ...
8979         (EALIGN) [ASSEMBLER]: ... and here.
8980         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
8981         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
8982         (ENTRY_2) [!ASSEMBLER]: Use it.
8983         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
8984         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
8985         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
8986         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
8987         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
8988         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
8989         Use PPC64_LOAD_FUNCPTR.
8990
8991         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
8992
8993 2013-12-04  Alan Modra  <amodra@gmail.com>
8994
8995         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
8996         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
8997         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
8998         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
8999
9000         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
9001         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
9002         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
9003         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
9004         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
9005         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
9006
9007 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
9008
9009         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
9010         (__makecontext): Fix incorrect CFI when backtracing out of
9011         context created via makecontext.
9012         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
9013         (__setcontext): Fix incorrect CFI during switch to new context.
9014         (__novec_setcontext): Likewise.
9015
9016 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9017
9018         [BZ #4772]
9019         * time/strptime_l.c (__strptime_internal): Allow modifiers
9020         in strptime.
9021         * time/tst-strptime.c (day_tests): Add testcase.
9022
9023 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
9024
9025         * scripts/bench.pl: Skip over blank lines.
9026
9027 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
9028
9029         [BZ #926]
9030         * manual/time.texi (Calendar Time): Clarify what timezone functions
9031         use.
9032
9033 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9034
9035         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9036
9037 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
9038
9039         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
9040         implementation.
9041         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
9042         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
9043         * debug/memset_chk.c (__memset_chk): Likewise.
9044         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
9045         * debug/strncpy_chk.c: Likewise.
9046
9047 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9048
9049         [BZ #15268]
9050         [BZ #15425]
9051         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
9052         (__ieee754_exp): For possibly underflowing results, check size of
9053         result and force underflow exception if required.
9054         * math/auto-libm-test-in: Add more tests of exp.
9055         * math/auto-libm-test-out: Regenerated.
9056         * sysdeps/i386/fpu/libm-test-ulps: Update.
9057         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9058
9059         [BZ #16283]
9060         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
9061         * math/w_exp2f.c (__exp2f): Likewise.
9062         * math/w_exp2l.c (__exp2l): Likewise.
9063         * math/auto-libm-test-in: Do not allow missing errno on exp2
9064         underflow.
9065         * math/auto-libm-test-out: Regenerated.
9066
9067 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
9068
9069         [BZ #16274]
9070         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
9071         handle filename validation.
9072         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
9073         (do_open): Delete.
9074
9075 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
9076
9077         [BZ #6786]
9078         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
9079         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
9080         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
9081         <float.h>.
9082         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
9083         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
9084         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9085         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
9086         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9087         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
9088         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
9089         * math/auto-libm-test-in: Don't allow missing errno from erfc.
9090         Add more erfc tests.
9091         * math/auto-libm-test-out: Regenerated.
9092         * sysdeps/i386/fpu/libm-test-ulps: Update.
9093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9094
9095         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
9096         exp2, expm1, j0 and j1.
9097         * math/auto-libm-test-out: Regenerated.
9098         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
9099         (erfc_test_data): Likewise.
9100         (exp_test_data): Likewise.
9101         (exp_tonearest_test_data): Likewise.
9102         (exp_towardzero_test_data): Likewise.
9103         (exp_downward_test_data): Likewise.
9104         (exp_upward_test_data): Likewise.
9105         (exp10_test_data): Likewise.
9106         (exp2_test_data): Likewise.
9107         (expm1_test_data): Likewise.
9108         (j0_test_data): Likewise.
9109         (j1_test_data): Likewise.
9110         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
9111         (input_flag_type): Add flag_xfail_rounding.
9112         (input_flags): Add xfail-rounding.
9113         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
9114         (output_for_one_input_case): Handle flag_xfail_rounding.
9115         * sysdeps/i386/fpu/libm-test-ulps: Update.
9116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9117
9118 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
9119
9120         [BZ #16289]
9121         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
9122         division by 0.
9123
9124 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9125
9126         [BZ #16195]
9127         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
9128         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
9129         (STAP_PROBE0): New macro.
9130         (STAP_PROBE1): Likewise.
9131         (STAP_PROBE2): Likewise.
9132         (STAP_PROBE3): Likewise.
9133         (STAP_PROBE4): Likewise.
9134
9135 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
9136
9137         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
9138
9139 2013-12-02  Steve Ellcey  <sellcey@mips.com>
9140
9141         * benchtests/Makefile (bench): Add sqrt.
9142         (LDLIBS-bench-sqrt): New.
9143         * benchtests/sqrt-input: New.
9144
9145 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
9146
9147         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
9148         (GAIH_EAI): Likewise.
9149         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
9150         (gaih_inet): Likewise.
9151         (getaddrinfo): Don't use GAIH_EAI.
9152
9153         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
9154         (struct gaih): Remove definition.
9155
9156 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9157
9158         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
9159         Use HERRNOP directly.
9160
9161 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9162
9163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9164
9165 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
9166
9167         * math/gen-auto-libm-tests.c (test_functions): Add more
9168         single-argument functions.
9169         (special_fill_pi_2): New function.
9170         (special_fill_minus_pi_2): Likewise.
9171         (special_fill_pi_6): Likewise.
9172         (special_fill_minus_pi_6): Likewise.
9173         (special_fill_pi_3): Likewise.
9174         (special_fill_2pi_3): Likewise.
9175         (special_fill_e): Likewise.
9176         (special_fill_1_e): Likewise.
9177         (special_fill_e_minus_1): Likewise.
9178         (special_real_inputs): Add more special inputs.
9179         (output_for_one_input_case): Do not require ERANGE on underflow to
9180         zero if round-to-nearest result does not underflow to zero, unless
9181         exact results required.
9182         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
9183         atan, atanh, cbrt, cos and cosh.
9184         * math/auto-libm-test-out: Regenerated.
9185         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
9186         (acos_tonearest_test_data): Likewise.
9187         (acos_towardzero_test_data): Likewise.
9188         (acos_downward_test_data): Likewise.
9189         (acos_upward_test_data): Likewise.
9190         (acosh_test_data): Likewise.
9191         (asin_test_data): Likewise.
9192         (asin_tonearest_test_data): Likewise.
9193         (asin_towardzero_test_data): Likewise.
9194         (asin_upward_test_data): Likewise.
9195         (asinh_test_data): Likewise.
9196         (atan_test_data): Likewise.
9197         (atanh_test_data): Likewise.
9198         (cbrt_test_data): Likewise.
9199         (cos_test_data): Likewise.
9200         (cos_tonearest_test_data): Likewise.
9201         (cos_towardzero_test_data): Likewise.
9202         (cos_downward_test_data): Likewise.
9203         (cos_upward_test_data): Likewise.
9204         (cosh_test_data): Likewise.
9205         (cosh_tonearest_test_data): Likewise.
9206         (cosh_towardzero_test_data): Likewise.
9207         (cosh_downward_test_data): Likewise.
9208         (cosh_upward_test_data): Likewise.
9209         * sysdeps/i386/fpu/libm-test-ulps: Update.
9210         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9211
9212 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
9213
9214         [BZ #6787]
9215         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
9216         * math/w_exp10f.c (__exp10f): Likewise.
9217         * math/w_exp10l.c (__exp10l): Likewise.
9218         * math/libm-test.inc (exp10_test_data): Add more tests and expect
9219         errno settings in existing tests.
9220
9221         [BZ #14032]
9222         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
9223         precision control set to double precision.
9224         * sysdeps/i386/fpu/w_sqrt.c: New file.
9225         * math/auto-libm-test-in: Add more tests.
9226         * math/auto-libm-test-out: Update.
9227
9228         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
9229         (sqrt_test_tonearest): New function.
9230         (sqrt_towardzero_test_data): New variable.
9231         (sqrt_test_towardzero): New function.
9232         (sqrt_downward_test_data): New variable.
9233         (sqrt_test_downward): New function.
9234         (sqrt_upward_test_data): New variable.
9235         (sqrt_test_upward): New function.
9236         (main): Call the new functions.
9237
9238         * math/gen-auto-libm-tests.c: New file.
9239         * math/auto-libm-test-in: Likewise.
9240         * math/auto-libm-test-out: New generated file.
9241         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
9242         variables.
9243         (%beautify): Add generated representations of zero.
9244         (top level): Set $auto_input and call parse_auto_input.
9245         (beautify): Remove trailing "f" from hex float constants.
9246         (parse_args): Handle XFAIL_TEST.
9247         (convert_condition): New function.
9248         (or_value): Likewise.
9249         (or_cond_value): Likewise.
9250         (generate_testfile): Handle AUTO_TESTS_* lines.
9251         (parse_auto_input): New function.
9252         * math/libm-test.inc (XFAIL_TEST): New macro.
9253         (ERRNO_UNCHANGED): Update value.
9254         (ERRNO_EDOM): Likewise.
9255         (ERRNO_ERANGE): Likewise.
9256         (IGNORE_RESULT): Likewise.
9257         (TEST_COND_flt_32): New macro.
9258         (TEST_COND_dbl_64): Likewise.
9259         (TEST_COND_ldbl_96_intel): Likewise.
9260         (TEST_COND_ldbl_96_m68k): Likewise.
9261         (TEST_COND_ldbl_128): Likewise.
9262         (TEST_COND_ldbl_128ibm): Likewise.
9263         (TEST_COND_long32): Likewise.
9264         (TEST_COND_long64): Likewise.
9265         (TEST_COND_before_rounding): Likewise.
9266         (TEST_COND_after_rounding): Likewise.
9267         (enable_test): Handle XFAIL_TEST flag.
9268         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
9269         with finite results.
9270         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
9271         auto-libm-test-out.
9272
9273 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9274             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
9275
9276         [BZ #16214]
9277         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
9278         __tls_get_addr_internal instead of __tls_get_offset in order to
9279         avoid GOT pointer dependency.  Make rtld export
9280         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
9281         __tls_get_addr since we are a __tls_get_offset platform.
9282         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
9283         GOT pointer being set up before.
9284         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
9285
9286 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
9287
9288         * manual/math.texi (Errors in Math Functions): Document accuracy
9289         goals.
9290
9291         [BZ #15004]
9292         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
9293         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
9294         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
9295         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
9296         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
9297         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
9298         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
9299         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
9300         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
9301         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
9302         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
9303         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
9304         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
9305         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
9306         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
9307         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
9308
9309         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
9310         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
9311         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
9312         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
9313         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
9314         Likewise.
9315         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
9316         Likewise.
9317         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
9318         Likewise.
9319         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
9320         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
9321         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
9322         atomic-feupdateenv and flt-rounds.
9323         * sysdeps/powerpc/nofpu/Versions (libc): Add
9324         __atomic_feholdexcept, __atomic_feclearexcept,
9325         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
9326         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
9327         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
9328         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
9329         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
9330         here.
9331         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
9332         Update.
9333
9334         * manual/arith.texi (FP Exceptions): Document that exceptions may
9335         not be raised when matherr is used.
9336         (Math Error Reporting): Document overflow in directed rounding
9337         modes.  Document that errno may not be set when finite values are
9338         returned on overflow.  Document intent to set errno on underflow
9339         only for underflow to zero.
9340
9341         [BZ #16271]
9342         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
9343         round-to-nearest then adjust result for other rounding modes.
9344         * include/fenv.h (fegetround): Use libm_hidden_proto.
9345         * math/fegetround.c (fegetround): Use libm_hidden_def.
9346         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
9347         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
9348         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9349         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
9350         Likewise.
9351         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
9352         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
9353         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
9354         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
9355
9356 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9357
9358         [BZ #16077]
9359         * nss/Versions (libnss_files): Add
9360         _nss_files_gethostbyname3_r.
9361         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
9362         New function.
9363         (HOST_DB_LOOKUP): Remove macro.
9364         (_nss_files_gethostbyname_r): Implement function without the
9365         HOST_DB_LOOKUP macro.
9366         (_nss_files_gethostbyname2_r): Likewise.
9367
9368 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
9369
9370         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
9371
9372 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
9373
9374         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
9375         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
9376         warning.
9377
9378 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9379
9380         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
9381         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
9382         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
9383         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
9384         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
9385         __fe_nomask_env_priv and attribute_hidden.
9386         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
9387         (libc_feupdateenv_test_ppc): Likewise.
9388         (libc_feresetround_ppc): Likewise.
9389         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9390         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
9391         compat_symbol macro.
9392         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9393         (__fe_nomask_env): Likewise.
9394         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
9395
9396 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9397
9398         * string/Makefile: Remove ifunc tests.
9399         * string/test-string.h: Define TEST_IFUNC.
9400         * string/test-bcopy-ifunc.c: Remove.
9401         * string/test-bzero-ifunc.c: Likewise.
9402         * string/test-memccpy-ifunc.c: Likewise.
9403         * string/test-memchr-ifunc.c: Likewise.
9404         * string/test-memcmp-ifunc.c: Likewise.
9405         * string/test-memcpy-ifunc.c: Likewise.
9406         * string/test-memmem-ifunc.c: Likewise.
9407         * string/test-memmove-ifunc.c: Likewise.
9408         * string/test-mempcpy-ifunc.c: Likewise.
9409         * string/test-memrchr-ifunc.c: Likewise.
9410         * string/test-memset-ifunc.c: Likewise.
9411         * string/test-rawmemchr-ifunc.c: Likewise.
9412         * string/test-stpcpy-ifunc.c: Likewise.
9413         * string/test-stpncpy-ifunc.c: Likewise.
9414         * string/test-strcasecmp-ifunc.c: Likewise.
9415         * string/test-strcasestr-ifunc.c: Likewise.
9416         * string/test-strcat-ifunc.c: Likewise.
9417         * string/test-strchr-ifunc.c: Likewise.
9418         * string/test-strchrnul-ifunc.c: Likewise.
9419         * string/test-strcmp-ifunc.c: Likewise.
9420         * string/test-strcpy-ifunc.c: Likewise.
9421         * string/test-strcspn-ifunc.c: Likewise.
9422         * string/test-strlen-ifunc.c: Likewise.
9423         * string/test-strncasecmp-ifunc.c: Likewise.
9424         * string/test-strncat-ifunc.c: Likewise.
9425         * string/test-strncmp-ifunc.c: Likewise.
9426         * string/test-strncpy-ifunc.c: Likewise.
9427         * string/test-strnlen-ifunc.c: Likewise.
9428         * string/test-strpbrk-ifunc.c: Likewise.
9429         * string/test-strrchr-ifunc.c: Likewise.
9430         * string/test-strspn-ifunc.c: Likewise.
9431         * string/test-strstr-ifunc.c: Likewise.
9432
9433 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9434
9435         * benchtests/Makefile: Remove ifunc tests.
9436         * benchtests/bench-string.h: Define TEST_IFUNC.
9437         * benchtests/bench-bcopy-ifunc.c: Remove.
9438         * benchtests/bench-bzero-ifunc.c: Likewise.
9439         * benchtests/bench-memccpy-ifunc.c: Likewise.
9440         * benchtests/bench-memchr-ifunc.c: Likewise.
9441         * benchtests/bench-memcmp-ifunc.c: Likewise.
9442         * benchtests/bench-memcpy-ifunc.c: Likewise.
9443         * benchtests/bench-memmem-ifunc.c: Likewise.
9444         * benchtests/bench-memmove-ifunc.c: Likewise.
9445         * benchtests/bench-mempcpy-ifunc.c: Likewise.
9446         * benchtests/bench-memrchr-ifunc.c: Likewise.
9447         * benchtests/bench-memset-ifunc.c: Likewise.
9448         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
9449         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
9450         * benchtests/bench-stpcpy-ifunc.c: Likewise.
9451         * benchtests/bench-stpncpy-ifunc.c: Likewise.
9452         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
9453         * benchtests/bench-strcasestr-ifunc.c: Likewise.
9454         * benchtests/bench-strcat-ifunc.c: Likewise.
9455         * benchtests/bench-strchr-ifunc.c: Likewise.
9456         * benchtests/bench-strchrnul-ifunc.c: Likewise.
9457         * benchtests/bench-strcmp-ifunc.c: Likewise.
9458         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
9459         * benchtests/bench-strcpy-ifunc.c: Likewise.
9460         * benchtests/bench-strcspn-ifunc.c: Likewise.
9461         * benchtests/bench-strlen-ifunc.c: Likewise.
9462         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
9463         * benchtests/bench-strncat-ifunc.c: Likewise.
9464         * benchtests/bench-strncmp-ifunc.c: Likewise.
9465         * benchtests/bench-strncpy-ifunc.c: Likewise.
9466         * benchtests/bench-strnlen-ifunc.c: Likewise.
9467         * benchtests/bench-strpbrk-ifunc.c: Likewise.
9468         * benchtests/bench-strrchr-ifunc.c: Likewise.
9469         * benchtests/bench-strsep-ifunc.c: Likewise.
9470         * benchtests/bench-strspn-ifunc.c: Likewise.
9471         * benchtests/bench-strstr-ifunc.c: Likewise.
9472
9473 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9474
9475         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
9476
9477 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
9478
9479         * resolv/netdb.h: Use __glibc_reserved instead __unused.
9480         * rt/aio.h: Likewise.
9481         * sysdeps/gnu/bits/utmp.h: Likewise.
9482         * sysdeps/gnu/bits/utmpx.h: Likewise.
9483         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
9484         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
9485         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
9486         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
9487         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
9488         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
9489         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
9490         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
9491         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
9492         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
9493         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
9494         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
9495         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
9496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
9497         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
9498         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
9499         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
9500         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
9501         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
9502         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
9503         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
9504         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
9505         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
9506         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
9507         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
9508         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
9509         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
9510         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
9511         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
9512         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
9513         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
9514         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
9515         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
9516         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
9517         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
9518         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
9519         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
9520         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
9521         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
9522         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
9523         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
9524         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
9525
9526 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
9527
9528         [BZ #16245]
9529         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
9530         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
9531
9532 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
9533
9534         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
9535         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
9536         Likewise.
9537
9538 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9539
9540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
9541         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
9542         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
9543         (__fesetround): Remove define.
9544         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
9545         rounding and exceptions handling.
9546         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
9547         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
9548         (__fe_nomask_env): Likewise.
9549         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
9550         __fegetround instead of fegetround.
9551         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
9552         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
9553
9554 2013-11-21  Roland McGrath  <roland@hack.frob.com>
9555
9556         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
9557         it's there.
9558
9559         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
9560
9561 2013-11-21  Meador Inge  <meadori@codesourcery.com>
9562
9563         [BZ #11157]
9564         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
9565         (encrypt_r): Likewise.
9566         * malloc/obstack.h (obstack_free): Likewise.
9567         * posix/unistd.h (encrypt): Likewise.
9568
9569 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
9570
9571         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
9572         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
9573         DL_CALL_DT_FINI() that call the functions directly.
9574         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
9575         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
9576         * elf/dl-fini.c: Likewise.
9577
9578 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
9579
9580         * malloc/hooks.c (memalign_check): Add alignment rounding.
9581         * malloc/malloc.c (_mid_memalign): New function.
9582         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
9583         Implement by calling _mid_memalign.
9584         * manual/probes.texi (Memory Allocation Probes): Remove
9585         memory_valloc_retry and memory_pvalloc_retry.
9586
9587 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
9588
9589         * locale/programs/locarchive.c (open_archive): Add const
9590         qualifier to ARCHIVEFNAME and copy default fname to
9591         DEFAULT_FNAME.
9592
9593         [BZ #15601]
9594         * libio/tst-widetext.input: Rename Oriya to Odia.
9595         * locale/iso-639.def: Likewise.
9596
9597         * manual/probes.texi (Mathematical Function Probes): Add
9598         documentation for sin, cos, asin and acos probes.
9599         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
9600         (__sin32): Add slowasin probe.
9601         (__cos32): Add slowacos probe.
9602         (__mpsin): Add slowsin probe.
9603         (__mpcos): Add slowcos probe.
9604
9605 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
9606
9607         [BZ #15483]
9608         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
9609         thread-local __sim_exceptions_thread and global
9610         __sim_exceptions_global.
9611         (__sim_disabled_exceptions): Change to thread-local
9612         __sim_disabled_exceptions_thread and global
9613         __sim_disabled_exceptions_global.
9614         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9615         and global __sim_round_mode_global.
9616         (__simulate_exceptions): Use thread-local floating-point state and
9617         set global state from it as needed.
9618         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
9619         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
9620         __sim_round_mode_thread.
9621         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
9622         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
9623         and global __sim_exceptions_global.
9624         (__sim_disabled_exceptions): Change to thread-local
9625         __sim_disabled_exceptions_thread and global
9626         __sim_disabled_exceptions_global.
9627         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
9628         and global __sim_round_mode_global.
9629         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
9630         (SIM_SET_GLOBAL): Likewise.
9631         * sysdeps/powerpc/soft-fp/sfp-machine.h
9632         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
9633         __sim_round_mode_thread.
9634         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
9635         __sim_disabled_exceptions_thread.
9636         (__sim_exceptions): Change to __sim_exceptions_thread.
9637         (__sim_disabled_exceptions): Change to
9638         __sim_disabled_exceptions_thread.
9639         (__sim_round_mode): Change to __sim_round_mode_thread.
9640         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
9641         thread-local floating-point state and set global state from it as
9642         needed.
9643         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
9644         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
9645         (__sim_disabled_exceptions): Remove extern declaration.
9646         (feenableexcept): Use thread-local floating-point state and set
9647         global state from it as needed.
9648         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
9649         extern declaration.
9650         (__sim_disabled_exceptions): Likewise.
9651         (__sim_round_mode): Likewise.
9652         (__fegetenv): Use thread-local floating-point state.
9653         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
9654         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
9655         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
9656         floating-point state and set global state from it as needed.
9657         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
9658         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
9659         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
9660         Likewise.
9661         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
9662         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
9663         Likewise.
9664         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
9665         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
9666         Use __sim_round_mode_thread.
9667         * math/test-fenv-tls.c: New file.
9668         * math/Makefile (tests): Add test-fenv-tls.
9669         ($(objpfx)test-fenv-tls): Depend on
9670         $(common-objpfx)nptl/libpthread.so.
9671
9672 2013-11-19  Andreas Schwab  <schwab@suse.de>
9673
9674         * locale/programs/locale.c (show_info): Decode wordarray elements.
9675         * locale/categories.def (LC_MONETARY): Add element for
9676         _NL_MONETARY_CRNCYSTR.
9677         * locale/C-monetary.c (conversion_rate): New variable.
9678         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
9679         element.
9680
9681 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
9682
9683         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
9684         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
9685
9686 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
9687
9688         * elf/Makefile (tst-auxv): New test.
9689         * elf/tst-auxv.c: New
9690         * elf/rtld.c (dl_main): Adjust AT_EXECFN
9691
9692 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
9693
9694         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
9695         (hidden_proto): Caller changed.
9696         (hidden_tls_proto): New macro.
9697         (libc_hidden_tls_proto): Likewise.
9698         (rtld_hidden_tls_proto): Likewise.
9699         (libm_hidden_tls_proto): Likewise.
9700         (libresolv_hidden_tls_proto): Likewise.
9701         (librt_hidden_tls_proto): Likewise.
9702         (libdl_hidden_tls_proto): Likewise.
9703         (libnss_files_hidden_tls_proto): Likewise.
9704         (libnsl_hidden_tls_proto): Likewise.
9705         (libnss_nisplus_hidden_tls_proto): Likewise.
9706         (libutil_hidden_tls_proto): Likewise.
9707
9708 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
9709
9710         [BZ #10253]
9711         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
9712         (decompose_rpath): Defer expansion to fillin_rpath.
9713         (_dl_init_paths): Pass linkmap to fillin_rpath.
9714
9715 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9716
9717         * benchtests/Makefile: Add strsep.
9718         * benchtests/bench-strsep.c: New file: strsep benchtest.
9719         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
9720
9721 2013-11-18  Andreas Schwab  <schwab@suse.de>
9722
9723         * locale/programs/locale.c (show_info) [case byte]: Check for
9724         '\377' instead of '\177'.
9725         * locale/C-monetary.c (not_available): Always use "\377".
9726         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
9727         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
9728         detect unavailable sign_posn locale elements.
9729         * locale/localeconv.c (__localeconv): For grouping and
9730         mon_grouping handle "\177" and "\377" like no grouping.
9731         (INT_ELEM): New macro.  Use it to set all numeric members.
9732         * locale/programs/ld-monetary.c (monetary_read)
9733         <tok_mon_grouping>: Normalize single -1 to the empty string.
9734         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
9735         Likewise.
9736
9737 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9738
9739         [BZ #16055]
9740         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
9741         when we match (nil).
9742         * stdio-common/tst-sscanf.c (struct test): Add testcase.
9743
9744 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
9745
9746         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
9747         (NO_TEST_INLINE): Update value.
9748         (ERRNO_UNCHANGED): Likewise.
9749         (ERRNO_EDOM): Likewise.
9750         (ERRNO_ERANGE): Likewise.
9751         (IGNORE_RESULT): Likewise.
9752         (check_float_internal): Check signs of NaN results if
9753         TEST_NAN_SIGN used.
9754         (check_complex): Pass TEST_NAN_SIGN flag through to second
9755         check_float_internal call.
9756         (copysign_test_data): Add tests with quiet NaNs as second
9757         argument.  Use TEST_NAN_SIGN.
9758         (fabs_test_data): Add test of negative quiet NaN argument.  Use
9759         TEST_NAN_SIGN.
9760         (signbit_test_data): Add tests of quiet NaN argument.
9761         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
9762
9763         * math/gen-libm-test.pl (show_exceptions): Take extra argument
9764         $ignore_result.
9765         (parse_args): Handle function results specified as IGNORE.
9766         * math/libm-test.inc (IGNORE_RESULT): New macro.
9767         (check_float_internal): Do not check numerical result if flag
9768         IGNORE_RESULT set.
9769         (check_complex): Pass through IGNORE_RESULT to second
9770         check_float_internal call.
9771         (check_int): Do not check numerical result if flag IGNORE_RESULT
9772         set.
9773         (check_long): Likewise.
9774         (check_bool): Likewise.
9775         (check_longlong): Likewise.
9776         (lrint_test_data): Add tests of infinite and NaN arguments.
9777         (lrint_tonearest_test_data): Likewise.
9778         (lrint_towardzero_test_data): Likewise.
9779         (lrint_downward_test_data): Likewise.
9780         (lrint_upward_test_data): Likewise.
9781         (llrint_test_data): Likewise.
9782         (llrint_tonearest_test_data): Likewise.
9783         (llrint_towardzero_test_data): Likewise.
9784         (llrint_downward_test_data): Likewise.
9785         (llrint_upward_test_data): Likewise.
9786         (lround_test_data): Likewise.
9787         (llround_test_data): Likewise.
9788
9789         * math/libm-test.inc (NO_TEST_INLINE): New macro.
9790         (ERRNO_UNCHANGED): Update value.
9791         (ERRNO_EDOM): Likewise.
9792         (ERRNO_ERANGE): Likewise.
9793         (NO_TEST_INLINE_FLOAT): New macro.
9794         (NO_TEST_INLINE_DOUBLE): Likewise.
9795         (enable_test): New function.
9796         (RUN_TEST_f_f): Check enable_test before running test.
9797         (RUN_TEST_2_f): Likewise.
9798         (RUN_TEST_fff_f): Likewise.
9799         (RUN_TEST_c_f): Likewise.
9800         (RUN_TEST_f_f1): Likewise.
9801         (RUN_TEST_fF_f1): Likewise.
9802         (RUN_TEST_fI_f1): Likewise.
9803         (RUN_TEST_ffI_f1): Likewise.
9804         (RUN_TEST_c_c): Likewise.
9805         (RUN_TEST_cc_c): Likewise.
9806         (RUN_TEST_f_i): Likewise.
9807         (RUN_TEST_f_i_tg): Likewise.
9808         (RUN_TEST_ff_i_tg): Likewise.
9809         (RUN_TEST_f_b): Likewise.
9810         (RUN_TEST_f_b_tg): Likewise.
9811         (RUN_TEST_f_l): Likewise.
9812         (RUN_TEST_f_L): Likewise.
9813         (RUN_TEST_fFF_11): Likewise.
9814         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
9815         conditionals.
9816         (cosh_test_data): Likewise.
9817         (exp_test_data): Likewise.
9818         (expm1_test_data): Likewise.
9819         (hypot_test_data): Likewise.
9820         (pow_test_data): Likewise.
9821         (sinh_test_data): Likewise.
9822         (tanh_test_data): Likewise.
9823         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
9824         flags argument.
9825
9826         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
9827         tests with quiet NaN input and output.
9828         (acosh_test_data): Likewise.
9829         (asin_test_data): Likewise.
9830         (asinh_test_data): Likewise.
9831         (atan_test_data): Likewise.
9832         (atanh_test_data): Likewise.
9833         (atan2_test_data): Likewise.
9834         (cbrt_test_data): Likewise.
9835         (cos_test_data): Likewise.
9836         (cosh_test_data): Likewise.
9837         (erf_test_data): Likewise.
9838         (erfc_test_data): Likewise.
9839         (exp_test_data): Likewise.
9840         (exp10_test_data): Likewise.
9841         (exp2_test_data): Likewise.
9842         (expm1_test_data): Likewise.
9843         (hypot_test_data): Likewise.
9844         (j0_test_data): Likewise.
9845         (j1_test_data): Likewise.
9846         (jn_test_data): Likewise.
9847         (lgamma_test_data): Likewise.
9848         (log_test_data): Likewise.
9849         (log10_test_data): Likewise.
9850         (log1p_test_data): Likewise.
9851         (log2_test_data): Likewise.
9852         (pow_test_data): Likewise.
9853         (scalb_test_data): Likewise.
9854         (sin_test_data): Likewise.
9855         (sincos_test_data): Likewise.
9856         (sinh_test_data): Likewise.
9857         (tan_test_data): Likewise.
9858         (tanh_test_data): Likewise.
9859         (tgamma_test_data): Likewise.
9860         (y0_test_data): Likewise.
9861         (y1_test_data): Likewise.
9862         (yn_test_data): Likewise.
9863
9864         [BZ #16167]
9865         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
9866         argument being NaN and avoid computations with second argument in
9867         that case.
9868         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
9869         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
9870         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
9871
9872 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
9873
9874         * locale/iso-639.def: Add Chitwani Tharu (the).
9875
9876 2013-11-14  Andreas Schwab  <schwab@suse.de>
9877
9878         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
9879         word instead of empty string.
9880
9881 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9882
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9884         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
9885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9886         (__fe_nomask_env): Likewise.
9887
9888 2013-11-13  Steve Ellcey  <sellcey@mips.com>
9889
9890         * benchtests/bench-timing.h: Include time.h.
9891
9892 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
9893
9894         [BZ #15997]
9895         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
9896         to 3.4.0 for x32.
9897         * sysdeps/unix/sysv/linux/configure: Regenerated.
9898
9899 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
9900
9901         [BZ #16151]
9902         * stdlib/strtod_l.c (round_and_return): Do not consider
9903         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
9904         exponent one less than half the least subnormal exponent.
9905         * stdlib/test-strtod-round-data: Add more tests.
9906         * stdlib/tst-strtod-round.c (tests): Regenerated.
9907
9908 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9909
9910         [BZ #14143]
9911         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
9912         (__fe_mask_env): Likewise.
9913         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
9914         libm_hidden_proto and add function prototype.
9915         (__fe_mask_env): Add function prototype.
9916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
9917         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
9918         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
9919         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
9920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
9921         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
9922
9923 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9924
9925         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
9926         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
9927
9928 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9929
9930         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
9931         of htab_find_slot().
9932
9933 2013-11-11  David S. Miller  <davem@davemloft.net>
9934
9935         [BZ #16150]
9936         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
9937         symbol in the non-vis3 case in static builds.
9938         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
9939         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
9940         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
9941         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
9942
9943 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
9944
9945         [BZ #387]
9946         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
9947         it is empty.
9948
9949 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9950
9951         * benchtests/Makefile: Add bench-strtod.
9952         * benchtests/bench-strtod.c: New file: strtod benchtest
9953
9954 2013-11-11  Andreas Schwab  <schwab@suse.de>
9955
9956         [BZ #16153]
9957         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
9958         terminating NUL in key length.
9959
9960 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9961
9962         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
9963         Add artificial ODP entry for vDSO symbol for PPC64.
9964         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
9965         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
9966
9967 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
9968
9969         [BZ #15374]
9970         * nss/getent.c (services_keys): Recognize services starting with digit.
9971
9972 2013-11-06  David S. Miller  <davem@davemloft.net>
9973
9974         [BZ #15985]
9975         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
9976         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
9977
9978 2013-11-06  Will Newton  <will.newton@linaro.org>
9979
9980         * manual/memory.texi (Malloc Examples): Remove register
9981         keyword from examples.
9982
9983 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
9984
9985         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
9986
9987 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
9988
9989         [BZ #6981]
9990         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
9991         depending on [__GCC_IEC_559 > 0].
9992         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
9993         depending on [__GCC_IEC_559_COMPLEX > 0].
9994
9995 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
9996
9997         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
9998         to iso-639.def.
9999
10000 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
10001
10002         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
10003
10004 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
10005
10006         [BZ #16112]
10007         * malloc/malloc (malloc_info): Do not handle first bin as
10008         special case.
10009
10010 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
10011
10012         * locale/iso-639.def: Add Central Nahuatl (nhn).
10013
10014 2013-11-01  Bruno Haible  <bruno@clisp.org>
10015
10016         [BZ #7003]
10017         * manual/math.texi (BSD Random): Specify range upper bound as
10018         in POSIX.
10019
10020 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
10021
10022         * locale/iso-639.def: Add Meadow Mari (mhr).
10023
10024 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
10025
10026         [BZ #14752], [BZ #15763]
10027         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
10028         Validate name.
10029         * rt/tst_shm.c: Add test for escaping directory.
10030
10031 2013-10-31  Andreas Schwab  <schwab@suse.de>
10032
10033         [BZ #15917]
10034         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
10035         followed by 'x' as part of digit sequence.
10036         * stdio-common/tst-sscanf.c (double_tests2): New tests.
10037
10038 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
10039
10040         [BZ #16037]
10041         * configure.ac: allow GNU Make 4.0 and greater.
10042         * configure: Regenerated.
10043
10044 2013-10-30  Will Newton  <will.newton@linaro.org>
10045
10046         [BZ #16038]
10047         * malloc/hooks.c (memalign_check): Limit alignment to the
10048         maximum representable power of two.
10049         * malloc/malloc.c (__libc_memalign): Likewise.
10050         * malloc/tst-memalign.c (do_test): Add test for very
10051         large alignment values.
10052         * malloc/tst-posix_memalign.c (do_test): Likewise.
10053
10054 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10055
10056         [BZ #11087]
10057         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
10058         (munmap_chunk): Likewise.
10059         (mremap_chunk): Likewise.
10060
10061 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
10062
10063         [BZ #15799]
10064         * stdlib/div.c (div): Remove obsolete code.
10065         * stdlib/ldiv.c (ldiv): Likewise.
10066         * stdlib/lldiv.c (lldiv): Likewise.
10067
10068 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
10069
10070         [BZ #16071]
10071         * nss/nss_files/files-XXX.c (get_contents_ret): New
10072         enumerator.
10073         (get_contents): New function.
10074         (internal_getent): Use it.  Expand size of LINEBUFLEN.
10075
10076 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
10077
10078         * configure.in: Moved to ...
10079         * configure.ac: ... here. Change reference to configure.in
10080         to configure.ac.
10081         * sysdeps/arm/preconfigure.ac: ... here.
10082         configure.in to configure.ac.
10083         * sysdeps/gnu/configure.in: Moved to ...
10084         * sysdeps/gnu/configure.ac: ... here.
10085         * sysdeps/i386/configure.in: Moved to ...
10086         * sysdeps/i386/configure.ac: ... here.
10087         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
10088         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
10089         * sysdeps/mach/configure.in: Moved to ...
10090         * sysdeps/mach/configure.ac: ... here.
10091         * sysdeps/mach/hurd/configure.in: Moved to ...
10092         * sysdeps/mach/hurd/configure.ac: ... here.
10093         * sysdeps/powerpc/configure.in: Moved to ...
10094         * sysdeps/powerpc/configure.ac: ... here.
10095         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
10096         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
10097         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
10098         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
10099         * sysdeps/s390/s390-32/configure.in: Moved to ...
10100         * sysdeps/s390/s390-32/configure.ac: ... here.
10101         * sysdeps/s390/s390-64/configure.in: Moved to ...
10102         * sysdeps/s390/s390-64/configure.ac: ... here.
10103         * sysdeps/sh/configure.in: Moved to ...
10104         * sysdeps/sh/configure.ac: ... here.
10105         * sysdeps/sparc/configure.in: Moved to ...
10106         * sysdeps/sparc/configure.ac: ... here.
10107         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
10108         * sysdeps/unix/sysv/linux/configure.ac: ... here.
10109         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
10110         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
10111         * sysdeps/x86_64/configure.in: Moved to ...
10112         * sysdeps/x86_64/configure.ac: ... here.
10113         * sysdeps/x86_64/preconfigure.in: Moved to ...
10114         * sysdeps/x86_64/preconfigure.ac: ... here.
10115         * aclocal.m4: Change reference to configure.in to configure.ac.
10116         * config.h.in: Likewise.
10117         * manual/install.texi: Likewise.
10118         * manual/maint.texi: Likewise.
10119         * Makefile: Likewise.
10120         * malloc/Makefile: Likewise.
10121         * nscd/Makefile: Likewise.
10122         * Makeconfig: Change reference to configure.in and
10123         preconfigure.in to configure.ac and preconfigure.ac
10124         respectively.
10125         * INSTALL: Regenerated.
10126         * configure: Likewise.
10127         * sysdeps/gnu/configure: Likewise.
10128         * sysdeps/i386/configure: Likewise.
10129         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
10130         * sysdeps/mach/configure: Likewise.
10131         * sysdeps/mach/hurd/configure: Likewise.
10132         * sysdeps/powerpc/configure: Likewise.
10133         * sysdeps/powerpc/powerpc32/configure: Likewise.
10134         * sysdeps/powerpc/powerpc64/configure: Likewise.
10135         * sysdeps/s390/s390-32/configure: Likewise.
10136         * sysdeps/s390/s390-64/configure: Likewise.
10137         * sysdeps/sh/configure: Likewise.
10138         * sysdeps/sparc/configure: Likewise.
10139         * sysdeps/unix/sysv/linux/configure: Likewise.
10140         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
10141         * sysdeps/x86_64/configure: Likewise.
10142         * sysdeps/x86_64/preconfigure: Likewise.
10143
10144 2013-10-29  Andreas Schwab  <schwab@suse.de>
10145
10146         * stdio-common/Makefile (tst-swscanf-ENV): Define.
10147
10148 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10149
10150         * benchtests/pow-inputs: Add new inputs.
10151
10152         * benchtests/exp-inputs: Add new inputs.
10153
10154         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
10155         conditional check for return value.
10156         (__cos32): Likewise.
10157
10158 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10159
10160         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
10161         to provide a boost for large inputs with word alignment.
10162         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
10163         implementation based on optimized PPC64 strcpy.
10164         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
10165         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
10166         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
10167         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
10168
10169 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10170
10171         [BZ #2801]
10172         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
10173
10174 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10175
10176         [BZ #14876]
10177         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
10178         * time/tst-strptime.c (day_tests): Add testcase.
10179
10180 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
10181
10182         [BZ #14029]
10183         * manual/pattern.texi: Acknowledge that fnmatch can fail.
10184
10185 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
10186
10187         [BZ #16074]
10188         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
10189         MAP_FAILED on error.
10190
10191 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10192
10193         [BZ #16072]
10194         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
10195         heap for large requests.
10196
10197 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
10198
10199         [BZ #9954]
10200         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
10201         result if the result has no associated interface.
10202         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
10203         interface for all 127.X.Y.Z addresses.
10204
10205 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
10206
10207         * locale/iso-639.def: Add Ligurian (lij)
10208
10209 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
10210
10211         [BZ #15825]
10212         * sunrpc/rpc_main.c: Document rpcgen -5.
10213
10214 2013-10-19  Michael Stahl  <mstahl@redhat.com>
10215
10216         * elf/rtld.c (do_preload): Print the reason why preloading failed.
10217
10218 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10219
10220         [BZ #10278]
10221         * posix/glob.c: Match only directories when trailing slash is present.
10222         * posix/tst-gnuglob.c (my_opendir): Do not open files.
10223         (main): Add testcase.
10224
10225 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
10226
10227         [BZ #15670]
10228         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
10229
10230 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
10231
10232         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
10233         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
10234         AUTH_DES and cindex for FIPS 140-2.
10235         (DES Encryption): Add cindex FIPS 46-3.
10236
10237         * locale/locarchive.h (struct locarhandle): Add fname.
10238         * locale/programs/localedef.c (main): Pass ARGV[remaining]
10239         if an optional argument was specified to --list-archive,
10240         otherwise NULL.
10241         * locale/programs/locarchive.c (show_archive_content): Take new
10242         argument fname and pass it via ah.fname to open_archive.
10243         * locale/programs/localedef.h: Update decl.
10244         (open_archive): If AH->fname is non-null, open that file
10245         rather than the default file name, and don't ignore ENOENT.
10246         (create_archive): Set AH.fname to NULL.
10247         (delete_locales_from_archive): Likewise.
10248         (add_locales_to_archive): Likewise.
10249         * locale/programs/locfile.c (write_all_categories): Likewise.
10250
10251 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
10252             Aldy Hernandez  <aldyh@redhat.com>
10253
10254         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
10255         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
10256         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
10257         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
10258         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
10259         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
10260         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
10261         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
10262         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
10263         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
10264         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
10265         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
10266         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
10267         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
10268         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
10269         Likewise.
10270         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
10271         Likewise.
10272         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
10273         Likewise.
10274         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
10275         Likewise.
10276         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
10277         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
10278         Likewise.
10279         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
10280         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
10281         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
10282         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
10283         Likewise.
10284         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
10285         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
10286         * sysdeps/powerpc/preconfigure: Likewise.
10287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
10288         Likewise.
10289         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
10290         Replace contents of file by #include of <fenv_libc.h>.
10291         * sysdeps/powerpc/soft-fp/sfp-machine.h
10292         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
10293         and <sys/prctl.h>.
10294         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
10295         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
10296         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
10297         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
10298         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
10299         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
10300         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
10301         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
10302         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
10303         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
10304         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
10305         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
10306         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
10307         Allow copysignl PLT reference to be missing.
10308
10309 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
10310             Joseph Myers  <joseph@codesourcery.com
10311
10312         [BZ #15948]
10313         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
10314         single character.
10315         (add_to_tablewc): Assert sequence of wide characters is nonempty.
10316
10317 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
10318
10319         * elf/tst-tls-dlinfo.c: Don't include tls.h.
10320         * elf/tst-tls1.c: Likewise.
10321         * elf/tst-tls10.h: Likewise.
10322         * elf/tst-tls14.c: Likewise.
10323         * elf/tst-tls2.c: Likewise.
10324         * elf/tst-tls3.c: Likewise.
10325         * elf/tst-tls4.c: Likewise.
10326         * elf/tst-tls5.c: Likewise.
10327         * elf/tst-tls6.c: Likewise.
10328         * elf/tst-tls7.c: Likewise.
10329         * elf/tst-tls8.c: Likewise.
10330         * elf/tst-tls9.c: Likewise.
10331         * elf/tst-tlsmod1.c: Likewise.
10332         * elf/tst-tlsmod13.c: Likewise.
10333         * elf/tst-tlsmod13a.c: Likewise.
10334         * elf/tst-tlsmod14a.c: Likewise.
10335         * elf/tst-tlsmod16a.c: Likewise.
10336         * elf/tst-tlsmod16b.c: Likewise.
10337         * elf/tst-tlsmod2.c: Likewise.
10338         * elf/tst-tlsmod3.c: Likewise.
10339         * elf/tst-tlsmod4.c: Likewise.
10340         * elf/tst-tlsmod5.c: Likewise.
10341         * elf/tst-tlsmod6.c: Likewise.
10342
10343 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
10344
10345         [BZ #12486]
10346         * malloc/malloc.c: remove checks for statistics.
10347
10348 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10349
10350         [BZ #15277]
10351         * inet/inet_net.c (inet_network): Detect additional invalid strings.
10352         * inet/tst-network.c: Add testcase.
10353
10354 2013-10-17  Andreas Schwab  <schwab@suse.de>
10355
10356         [BZ #15218]
10357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
10358         to determine canonical name.
10359
10360 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
10361
10362         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
10363         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
10364         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
10365         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
10366         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
10367         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
10368         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
10369         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
10370         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
10371         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
10372         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
10373         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
10374         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
10375         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
10376         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
10377         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
10378         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
10379         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
10380         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
10381         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
10382         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
10383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
10384         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
10385         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
10386         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
10387         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
10388         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
10389         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
10390         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
10391         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
10392         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
10393         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
10394         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
10395         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
10396         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
10397         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
10398         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
10399         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
10400         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
10401         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
10402         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
10403         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
10404         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
10405         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
10406         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
10407         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
10408         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
10409         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
10410         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
10411         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
10412         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
10413         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
10414         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
10415         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
10416         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10417         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
10418         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
10419         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
10420
10421 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
10422
10423         [BZ #16041]
10424         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
10425         make result into a quiet NaN.
10426
10427 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
10428
10429         * soft-fp/adddf3.c: Fix horizontal whitespace.
10430         * soft-fp/addsf3.c: Likewise.
10431         * soft-fp/addtf3.c: Likewise.
10432         * soft-fp/divdf3.c: Likewise.
10433         * soft-fp/divsf3.c: Likewise.
10434         * soft-fp/divtf3.c: Likewise.
10435         * soft-fp/double.h: Likewise.
10436         * soft-fp/eqdf2.c: Likewise.
10437         * soft-fp/eqsf2.c: Likewise.
10438         * soft-fp/eqtf2.c: Likewise.
10439         * soft-fp/extenddftf2.c: Likewise.
10440         * soft-fp/extended.h: Likewise.
10441         * soft-fp/extendsfdf2.c: Likewise.
10442         * soft-fp/extendsftf2.c: Likewise.
10443         * soft-fp/extendxftf2.c: Likewise.
10444         * soft-fp/fixdfdi.c: Likewise.
10445         * soft-fp/fixdfsi.c: Likewise.
10446         * soft-fp/fixdfti.c: Likewise.
10447         * soft-fp/fixsfdi.c: Likewise.
10448         * soft-fp/fixsfsi.c: Likewise.
10449         * soft-fp/fixsfti.c: Likewise.
10450         * soft-fp/fixtfdi.c: Likewise.
10451         * soft-fp/fixtfsi.c: Likewise.
10452         * soft-fp/fixtfti.c: Likewise.
10453         * soft-fp/fixunsdfdi.c: Likewise.
10454         * soft-fp/fixunsdfsi.c: Likewise.
10455         * soft-fp/fixunsdfti.c: Likewise.
10456         * soft-fp/fixunssfdi.c: Likewise.
10457         * soft-fp/fixunssfsi.c: Likewise.
10458         * soft-fp/fixunssfti.c: Likewise.
10459         * soft-fp/fixunstfdi.c: Likewise.
10460         * soft-fp/fixunstfsi.c: Likewise.
10461         * soft-fp/fixunstfti.c: Likewise.
10462         * soft-fp/floatdidf.c: Likewise.
10463         * soft-fp/floatdisf.c: Likewise.
10464         * soft-fp/floatditf.c: Likewise.
10465         * soft-fp/floatsidf.c: Likewise.
10466         * soft-fp/floatsisf.c: Likewise.
10467         * soft-fp/floatsitf.c: Likewise.
10468         * soft-fp/floattidf.c: Likewise.
10469         * soft-fp/floattisf.c: Likewise.
10470         * soft-fp/floattitf.c: Likewise.
10471         * soft-fp/floatundidf.c: Likewise.
10472         * soft-fp/floatundisf.c: Likewise.
10473         * soft-fp/floatunditf.c: Likewise.
10474         * soft-fp/floatunsidf.c: Likewise.
10475         * soft-fp/floatunsisf.c: Likewise.
10476         * soft-fp/floatunsitf.c: Likewise.
10477         * soft-fp/floatuntidf.c: Likewise.
10478         * soft-fp/floatuntisf.c: Likewise.
10479         * soft-fp/floatuntitf.c: Likewise.
10480         * soft-fp/fmadf4.c: Likewise.
10481         * soft-fp/fmasf4.c: Likewise.
10482         * soft-fp/fmatf4.c: Likewise.
10483         * soft-fp/gedf2.c: Likewise.
10484         * soft-fp/gesf2.c: Likewise.
10485         * soft-fp/getf2.c: Likewise.
10486         * soft-fp/ledf2.c: Likewise.
10487         * soft-fp/lesf2.c: Likewise.
10488         * soft-fp/letf2.c: Likewise.
10489         * soft-fp/muldf3.c: Likewise.
10490         * soft-fp/mulsf3.c: Likewise.
10491         * soft-fp/multf3.c: Likewise.
10492         * soft-fp/negdf2.c: Likewise.
10493         * soft-fp/negsf2.c: Likewise.
10494         * soft-fp/negtf2.c: Likewise.
10495         * soft-fp/op-1.h: Likewise.
10496         * soft-fp/op-2.h: Likewise.
10497         * soft-fp/op-4.h: Likewise.
10498         * soft-fp/op-8.h: Likewise.
10499         * soft-fp/op-common.h: Likewise.
10500         * soft-fp/quad.h: Likewise.
10501         * soft-fp/single.h: Likewise.
10502         * soft-fp/soft-fp.h: Likewise.
10503         * soft-fp/sqrtdf2.c: Likewise.
10504         * soft-fp/sqrtsf2.c: Likewise.
10505         * soft-fp/sqrttf2.c: Likewise.
10506         * soft-fp/subdf3.c: Likewise.
10507         * soft-fp/subsf3.c: Likewise.
10508         * soft-fp/subtf3.c: Likewise.
10509         * soft-fp/truncdfsf2.c: Likewise.
10510         * soft-fp/trunctfdf2.c: Likewise.
10511         * soft-fp/trunctfsf2.c: Likewise.
10512         * soft-fp/trunctfxf2.c: Likewise.
10513         * soft-fp/unorddf2.c: Likewise.
10514         * soft-fp/unordsf2.c: Likewise.
10515         * soft-fp/unordtf2.c: Likewise.
10516
10517 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
10518
10519         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
10520         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
10521
10522 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
10523
10524         * elf/dl-libc.c: Clear initfini list after freeing.
10525
10526 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
10527
10528         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
10529         * soft-fp/addsf3.c: Likewise.
10530         * soft-fp/addtf3.c: Likewise.
10531         * soft-fp/divdf3.c: Likewise.
10532         * soft-fp/divsf3.c: Likewise.
10533         * soft-fp/divtf3.c: Likewise.
10534         * soft-fp/double.h: Likewise.
10535         * soft-fp/eqdf2.c: Likewise.
10536         * soft-fp/eqsf2.c: Likewise.
10537         * soft-fp/eqtf2.c: Likewise.
10538         * soft-fp/extenddftf2.c: Likewise.
10539         * soft-fp/extended.h: Likewise.
10540         * soft-fp/extendsfdf2.c: Likewise.
10541         * soft-fp/extendsftf2.c: Likewise.
10542         * soft-fp/extendxftf2.c: Likewise.
10543         * soft-fp/fixdfdi.c: Likewise.
10544         * soft-fp/fixdfsi.c: Likewise.
10545         * soft-fp/fixdfti.c: Likewise.
10546         * soft-fp/fixsfdi.c: Likewise.
10547         * soft-fp/fixsfsi.c: Likewise.
10548         * soft-fp/fixsfti.c: Likewise.
10549         * soft-fp/fixtfdi.c: Likewise.
10550         * soft-fp/fixtfsi.c: Likewise.
10551         * soft-fp/fixtfti.c: Likewise.
10552         * soft-fp/fixunsdfdi.c: Likewise.
10553         * soft-fp/fixunsdfsi.c: Likewise.
10554         * soft-fp/fixunsdfti.c: Likewise.
10555         * soft-fp/fixunssfdi.c: Likewise.
10556         * soft-fp/fixunssfsi.c: Likewise.
10557         * soft-fp/fixunssfti.c: Likewise.
10558         * soft-fp/fixunstfdi.c: Likewise.
10559         * soft-fp/fixunstfsi.c: Likewise.
10560         * soft-fp/fixunstfti.c: Likewise.
10561         * soft-fp/floatdidf.c: Likewise.
10562         * soft-fp/floatdisf.c: Likewise.
10563         * soft-fp/floatditf.c: Likewise.
10564         * soft-fp/floatsidf.c: Likewise.
10565         * soft-fp/floatsisf.c: Likewise.
10566         * soft-fp/floatsitf.c: Likewise.
10567         * soft-fp/floattidf.c: Likewise.
10568         * soft-fp/floattisf.c: Likewise.
10569         * soft-fp/floattitf.c: Likewise.
10570         * soft-fp/floatundidf.c: Likewise.
10571         * soft-fp/floatundisf.c: Likewise.
10572         * soft-fp/floatunsidf.c: Likewise.
10573         * soft-fp/floatunsisf.c: Likewise.
10574         * soft-fp/floatuntidf.c: Likewise.
10575         * soft-fp/floatuntisf.c: Likewise.
10576         * soft-fp/floatuntitf.c: Likewise.
10577         * soft-fp/fmadf4.c: Likewise.
10578         * soft-fp/fmasf4.c: Likewise.
10579         * soft-fp/fmatf4.c: Likewise.
10580         * soft-fp/gedf2.c: Likewise.
10581         * soft-fp/gesf2.c: Likewise.
10582         * soft-fp/getf2.c: Likewise.
10583         * soft-fp/ledf2.c: Likewise.
10584         * soft-fp/lesf2.c: Likewise.
10585         * soft-fp/letf2.c: Likewise.
10586         * soft-fp/muldf3.c: Likewise.
10587         * soft-fp/mulsf3.c: Likewise.
10588         * soft-fp/multf3.c: Likewise.
10589         * soft-fp/negdf2.c: Likewise.
10590         * soft-fp/negsf2.c: Likewise.
10591         * soft-fp/negtf2.c: Likewise.
10592         * soft-fp/op-1.h: Likewise.
10593         * soft-fp/op-2.h: Likewise.
10594         * soft-fp/op-4.h: Likewise.
10595         * soft-fp/op-8.h: Likewise.
10596         * soft-fp/op-common.h: Likewise.
10597         * soft-fp/quad.h: Likewise.
10598         * soft-fp/single.h: Likewise.
10599         * soft-fp/soft-fp.h: Likewise.
10600         * soft-fp/sqrtdf2.c: Likewise.
10601         * soft-fp/sqrtsf2.c: Likewise.
10602         * soft-fp/sqrttf2.c: Likewise.
10603         * soft-fp/subdf3.c: Likewise.
10604         * soft-fp/subsf3.c: Likewise.
10605         * soft-fp/subtf3.c: Likewise.
10606         * soft-fp/truncdfsf2.c: Likewise.
10607         * soft-fp/trunctfdf2.c: Likewise.
10608         * soft-fp/trunctfsf2.c: Likewise.
10609         * soft-fp/trunctfxf2.c: Likewise.
10610         * soft-fp/unorddf2.c: Likewise.
10611         * soft-fp/unordsf2.c: Likewise.
10612         * soft-fp/unordtf2.c: Likewise.
10613
10614 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
10615
10616         [BZ #15672]
10617         * misc/error.c (error_tail): Fix possible buffer overflow.
10618
10619 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
10620
10621         [BZ #13028]
10622         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
10623         address.
10624
10625 2013-10-14  P. J. McDermott  <pj@pehjota.net>
10626
10627         [BZ #832]
10628         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
10629         testing pipefail option.
10630
10631 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10632
10633         * soft-fp/double.h: Indent preprocessor directives inside #if.
10634         * soft-fp/extended.h: Likewise.
10635         * soft-fp/op-2.h: Likewise.
10636         * soft-fp/op-4.h: Likewise.
10637         * soft-fp/op-common.h: Likewise.
10638         * soft-fp/quad.h: Likewise.
10639         * soft-fp/single.h: Likewise.
10640         * soft-fp/soft-fp.h: Likewise.
10641
10642 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
10643
10644         * iconv/iconv_prog.c: Fix typos.
10645         * stdio-common/psiginfo-data.h: Likewise.
10646
10647 2013-10-12   Reuben Thomas <rrt@sc3d.org>
10648
10649         [BZ #15764]
10650         * locale/setlocale.c: Fix typo.
10651
10652 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
10653
10654         [BZ #16036]
10655         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
10656         signaling NaN arguments.
10657         * soft-fp/unordsf2.c (__unordsf2): Likewise.
10658         * soft-fp/unordtf2.c (__unordtf2): Likewise.
10659
10660         [BZ #14910]
10661         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
10662         unordered operands.
10663         * soft-fp/gesf2.c (__gesf2): Likewise.
10664         * soft-fp/getf2.c (__getf2): Likewise.
10665         * soft-fp/ledf2.c (__ledf2): Likewise.
10666         * soft-fp/lesf2.c (__lesf2): Likewise.
10667         * soft-fp/letf2.c (__letf2): Likewise.
10668
10669         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
10670         * soft-fp/eqsf2.c (__eqsf2): Likewise.
10671         * soft-fp/eqtf2.c (__eqtf2): Likewise.
10672         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
10673         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
10674         * soft-fp/fixdfti.c (__fixdfti): Likewise.
10675         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
10676         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
10677         * soft-fp/fixsfti.c (__fixsfti): Likewise.
10678         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
10679         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
10680         * soft-fp/fixtfti.c (__fixtfti): Likewise.
10681         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
10682         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
10683         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
10684         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
10685         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
10686         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
10687         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
10688         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
10689         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
10690         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
10691         * soft-fp/floatdisf.c (__floatdisf): Likewise.
10692         * soft-fp/floatsisf.c (__floatsisf): Likewise.
10693         * soft-fp/floattidf.c (__floattidf): Likewise.
10694         * soft-fp/floattisf.c (__floattisf): Likewise.
10695         * soft-fp/floattitf.c (__floattitf): Likewise.
10696         * soft-fp/floatundidf.c (__floatundidf): Likewise.
10697         * soft-fp/floatundisf.c (__floatundisf): Likewise.
10698         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
10699         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
10700         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
10701         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
10702         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
10703         * soft-fp/gesf2.c (__gesf2): Likewise.
10704         * soft-fp/getf2.c (__getf2): Likewise.
10705         * soft-fp/ledf2.c (__ledf2): Likewise.
10706         * soft-fp/lesf2.c (__lesf2): Likewise.
10707         * soft-fp/letf2.c (__letf2): Likewise.
10708
10709         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
10710         Undefine and redefine.
10711         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
10712         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
10713         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
10714         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
10715         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10716         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
10717         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10718         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
10719         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10720         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
10721         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10722         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
10723         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10724         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
10725         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
10726
10727         [BZ #16032]
10728         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
10729         without decrementing exponent if mantissa >= that for the
10730         denominator, not >.
10731         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
10732         denominator, not >.  Decrement exponent in < case instead of
10733         incrementing in >= case.
10734         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
10735         without decrementing exponent if mantissa >= that for the
10736         denominator, not >.
10737
10738         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
10739         computing saturated result for unsigned overflow.
10740
10741 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
10742             Jeff Law  <law@redhat.com>
10743
10744         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
10745         (atan2Mp): Add systemtap probe marker.
10746         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
10747         (__ieee754_log): Add systemtap probe marker.
10748         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
10749         (atanMp): Add systemtap probe marker.
10750         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
10751         (tanMp): Add systemtap probe marker.
10752         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
10753         (__slowexp): Add systemtap probe marker.
10754         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
10755         (__slowpow): Add systemtap probe marker.
10756         * manual/probes.texi: Document probes.
10757
10758 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
10759
10760         [BZ #15362]
10761         * libio/fileops.c (_IO_new_file_write): Return count of bytes
10762         written.
10763         (_IO_new_file_xsputn): Don't return EOF if nothing has been
10764         written.
10765         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
10766         written to buffer but not flushed.
10767         * libio/iofwrite_u.c:  Likewise.
10768         * libio/iopadn.c:  Return bytes returned even if EOF was
10769         encountered.
10770         * libio/iowpadn.c:  Likewise.
10771         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
10772         if _IO_padn does not write the whole buffer.
10773         [!COMPILE_WPRINTF] (PAD): Likewise.
10774
10775 2013-10-10  David S. Miller  <davem@davemloft.net>
10776
10777         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
10778         directory block.
10779
10780 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10781
10782         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
10783         instead of FSF address.
10784         * soft-fp/fixdfti.c: Likewise.
10785         * soft-fp/fixsfti.c: Likewise.
10786         * soft-fp/fixtfti.c: Likewise.
10787         * soft-fp/fixunsdfti.c: Likewise.
10788         * soft-fp/fixunssfti.c: Likewise.
10789         * soft-fp/fixunstfti.c: Likewise.
10790         * soft-fp/floattidf.c: Likewise.
10791         * soft-fp/floattisf.c: Likewise.
10792         * soft-fp/floattitf.c: Likewise.
10793         * soft-fp/floatuntidf.c: Likewise.
10794         * soft-fp/floatuntisf.c: Likewise.
10795         * soft-fp/floatuntitf.c: Likewise.
10796         * soft-fp/trunctfxf2.c: Likewise.
10797
10798         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
10799         * soft-fp/fixdfti.c: Likewise.
10800         * soft-fp/fixsfti.c: Likewise.
10801         * soft-fp/fixtfti.c: Likewise.
10802         * soft-fp/fixunsdfti.c: Likewise.
10803         * soft-fp/fixunssfti.c: Likewise.
10804         * soft-fp/fixunstfti.c: Likewise.
10805         * soft-fp/floattidf.c: Likewise.
10806         * soft-fp/floattisf.c: Likewise.
10807         * soft-fp/floattitf.c: Likewise.
10808         * soft-fp/floatuntidf.c: Likewise.
10809         * soft-fp/floatuntisf.c: Likewise.
10810         * soft-fp/floatuntitf.c: Likewise.
10811         * soft-fp/trunctfxf2.c: Likewise.
10812
10813 2013-10-10  David S. Miller  <davem@davemloft.net>
10814
10815         * sysdeps/sparc/fpu/libm-test-ulps: Update.
10816
10817 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
10818
10819         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
10820         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
10821         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
10822         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
10823         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
10824         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
10825         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
10826
10827         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
10828         for NaNs before doing comparisons on argument.
10829         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
10830         Likewise.
10831
10832 2013-10-10  Will Newton  <will.newton@linaro.org>
10833
10834         * malloc/hooks.c (memalign_check): Ensure the value of bytes
10835         passed to _int_memalign does not overflow.
10836
10837 2013-10-10  Torvald Riegel  <triegel@redhat.com>
10838
10839         * scripts/bench.pl: Add include-sources directive.
10840         * benchtests/README: Update documentation.
10841
10842 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
10843
10844         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
10845         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
10846         instead of FP_INIT_ROUNDMODE.
10847         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
10848         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
10849
10850         [BZ #16034]
10851         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
10852         copy class of input value.
10853         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
10854         not handle exceptions.
10855         * soft-fp/negsf2.c (__negsf2): Likewise.
10856         * soft-fp/negtf2.c (__negtf2): Likewise.
10857         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
10858
10859 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
10860
10861         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
10862         semicolon.  From Linux kernel.
10863
10864 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
10865
10866         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
10867
10868 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
10869
10870         [BZ #156]
10871         * manual/socket.texi: Added statement about buffer
10872         for gethostbyname2_r.
10873
10874 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
10875
10876         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
10877         Use .p2align directive instead, throughout.
10878         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
10879         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
10880         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10881         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
10882         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
10883         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
10884         * sysdeps/x86_64/strchr.S: Likewise.
10885         * sysdeps/x86_64/strrchr.S: Likewise.
10886
10887 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10888
10889         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
10890
10891         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
10892
10893         * sysdeps/generic/math_private.h (__mpsin1): Remove
10894         declaration.
10895         (__mpcos1): Likewise.
10896         (__mpsin): New argument __range_reduce.
10897         (__mpcos): Likewise.
10898         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
10899         (slow): Use __mpsin and __mpcos.
10900         (slow1): Likewise.
10901         (slow2): Likewise.
10902         (sloww): Likewise.
10903         (sloww1): Likewise.
10904         (sloww2): Likewise.
10905         (bsloww): Likewise.
10906         (bsloww1): Likewise.
10907         (bsloww2): Likewise.
10908         (cslow2): Likewise.
10909         (csloww): Likewise.
10910         (csloww1): Likewise.
10911         (csloww2): Likewise.
10912         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
10913         range_reduce.  Merge in __mpsin1.
10914         (__mpcos): Likewise.
10915         (__mpsin1): Remove.
10916         (__mpcos1): Likewise.
10917
10918 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
10919
10920         * locale/loadlocale.c (_nl_intern_locale_data): Use
10921         LOCFILE_ALIGNED_P.
10922         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
10923         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
10924         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
10925         obstack data is appropriately aligned.
10926         (obstack_int32_grow_fast): Likewise.
10927         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
10928         * locale/programs/locfile.c (add_locale_uint32): Likewise.
10929         (add_locale_uint32_array): Likewise.
10930
10931 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10932
10933         * benchtests/Makefile: Remove ARGLIST and RET variables.
10934         ($(objpfx)bench-%.c): Pass only function name to the script.
10935         * benchtests/README: Update documentation.
10936         * benchtests/acos-inputs: Add new directives.
10937         * benchtests/acosh-inputs: Likewise.
10938         * benchtests/asin-inputs: Likewise.
10939         * benchtests/asinh-inputs: Likewise.
10940         * benchtests/atan-inputs: Likewise.
10941         * benchtests/atanh-inputs: Likewise.
10942         * benchtests/cos-inputs: Likewise.
10943         * benchtests/cosh-inputs: Likewise.
10944         * benchtests/exp-inputs: Likewise.
10945         * benchtests/log-inputs: Likewise.
10946         * benchtests/pow-inputs: Likewise.
10947         * benchtests/rint-inputs: Likewise.
10948         * benchtests/sin-inputs: Likewise.
10949         * benchtests/sinh-inputs: Likewise.
10950         * benchtests/tan-inputs: Likewise.
10951         * benchtests/tanh-inputs: Likewise.
10952         * scripts/bench.pl: Add support for new directives.
10953
10954 2013-10-07  Alan Modra  <amodra@gmail.com>
10955
10956         * README: Fix careless merge.
10957
10958 2013-10-05  Alan Modra  <amodra@gmail.com>
10959
10960         * NEWS: Mention powerpc64le support and bugs fixed.
10961         * README: Both big-endian and little-endian powerpc64 supported.
10962
10963 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10964
10965         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
10966         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
10967         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
10968         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
10969
10970 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
10971
10972         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
10973         match prototype.
10974
10975 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
10976
10977         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
10978         Move -mhard-float appending from
10979         ports/sysdeps/powerpc/powerpc32/Makefile.
10980         [$(with-fp) = yes] (ASFLAGS): Likewise.
10981         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
10982         * sysdeps/powerpc/nofpu: Move directory from
10983         ports/sysdeps/powerpc/nofpu.
10984         * sysdeps/powerpc/soft-fp: Move directory from
10985         ports/sysdeps/powerpc/soft-fp.
10986         * sysdeps/powerpc/powerpc32/405: Move directory from
10987         ports/sysdeps/powerpc/powerpc32/405.
10988         * sysdeps/powerpc/powerpc32/440: Move directory from
10989         ports/sysdeps/powerpc/powerpc32/440.
10990         * sysdeps/powerpc/powerpc32/464: Move directory from
10991         ports/sysdeps/powerpc/powerpc32/464.
10992         * sysdeps/powerpc/powerpc32/476: Move directory from
10993         ports/sysdeps/powerpc/powerpc32/476.
10994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
10995         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
10996         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
10997         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
10998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
10999         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
11000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
11001         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
11002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
11003         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
11004         * README: Update for powerpc-*-linux-gnu software floating point
11005         support in libc.
11006
11007         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
11008         case to powerpc/powerpc32*.
11009         * sysdeps/unix/sysv/linux/configure: Regenerated.
11010
11011         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
11012         (_FPU_MASK_OM): Define as 0x04.
11013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
11014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
11015         0x00c10080.
11016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
11017         0x0000003c.
11018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
11019
11020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
11021         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11022         getcontext_e500.
11023         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
11024         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
11025         setcontext_e500.
11026         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
11027         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
11028         and setcontext_e500.
11029
11030 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
11031
11032         * locale/iso-3166.def: Update iso-1366.def and related occurrences
11033
11034 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
11035
11036         * manual/threads.texi (Default Thread Attributes): Fix typo.
11037
11038 2013-10-04  Will Newton  <will.newton@linaro.org>
11039
11040         * malloc/Makefile: Add tst-memalign.
11041         * malloc/tst-memalign.c: New file.
11042
11043         * malloc/tst-posix_memalign.c: Add comments.
11044         (do_test): Add comments and call free on all potentially
11045         allocated pointers. Add space after cast.
11046
11047         * malloc/tst-pvalloc.c: Add comments.
11048         (do_test): Add comments and call free on all potentially
11049         allocated pointers. Remove duplicate check for NULL pointer.
11050         Add space after cast.
11051
11052         * malloc/tst-valloc.c: Add comments.
11053         (do_test): Add comments and call free on all potentially
11054         allocated pointers. Remove duplicate check for NULL pointer.
11055         Add space after cast.
11056
11057 2013-10-04  Alan Modra  <amodra@gmail.com>
11058
11059         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11060         Use stdint types in rather than __attribute__((mode())).
11061         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11062
11063 2013-10-04  Alan Modra  <amodra@gmail.com>
11064
11065         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
11066         Correct handling of unaligned relocs for little-endian.
11067         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
11068
11069 2013-10-04  Alan Modra  <amodra@gmail.com>
11070
11071         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
11072         * configure: Regenerate.
11073         * nptl/shlib-versions: Powerpc*le starts at 2.18.
11074         * shlib-versions: Likewise.
11075
11076 2013-10-04  Alan Modra  <amodra@gmail.com>
11077
11078         * string/tester.c (test_memrchr): Increment reported test cycle.
11079
11080 2013-10-04  Alan Modra  <amodra@gmail.com>
11081
11082         * string/test-memcpy.c (do_one_test): When reporting errors, print
11083         string address and don't overrun end of string.
11084
11085 2013-10-04  Alan Modra  <amodra@gmail.com>
11086
11087         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
11088         insrdi.  Make better use of reg selection to speed exit slightly.
11089         Schedule entry path a little better.  Remove useless "are we done"
11090         checks on entry to main loop.  Handle wrapping around zero address.
11091         Correct main loop count.  Handle single left-over word from main
11092         loop inline rather than by using loop_small.  Remove extra word
11093         case in loop_small caused by wrong loop count.  Add little-endian
11094         support.
11095         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
11096         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
11097         cache hint.
11098         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
11099         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
11100         support.  Avoid rlwimi.
11101         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
11102
11103 2013-10-04  Alan Modra  <amodra@gmail.com>
11104
11105         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
11106         insrdi.  Formatting.
11107         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
11108         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
11109         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
11110         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
11111         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
11112         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
11113
11114 2013-10-04  Alan Modra  <amodra@gmail.com>
11115
11116         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
11117         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
11118         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
11119         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
11120         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
11121         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
11122         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
11123         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
11124         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
11125         use of regs.  Use power7 mtocrf.  Tidy function tails.
11126
11127 2013-10-04  Alan Modra  <amodra@gmail.com>
11128
11129         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
11130         Formatting.  Consistently use rXXX register defines or rN defines.
11131         Use early exit labels that avoid restoring unused non-volatile regs.
11132         Make cr field use more consistent with rWORDn compares.  Rename
11133         regs used as shift registers for unaligned loop, using rN defines
11134         for short lifetime/multiple use regs.
11135         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
11136         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
11137         addi 1,1,64 to pop stack frame.  Simplify return value code.
11138         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
11139
11140 2013-10-04  Alan Modra  <amodra@gmail.com>
11141
11142         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
11143         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
11144         rather than rlwimi.
11145         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
11146         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
11147         little-endian support.  Correct typos.
11148         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
11149         rather than rlwimi.
11150         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
11151         in loop and entry code to keep "and." results.
11152         (strchr): Add little-endian support.  Comment.  Move cntlzd
11153         earlier in tail.
11154         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
11155
11156 2013-10-04  Alan Modra  <amodra@gmail.com>
11157
11158         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
11159         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
11160         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
11161         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
11162
11163 2013-10-04  Alan Modra  <amodra@gmail.com>
11164
11165         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
11166         (rTMP): Define as r11.
11167         (strcmp): Add little-endian support.  Optimise tail.
11168         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
11169         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
11170         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
11171         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
11172         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
11173         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
11174         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
11175
11176 2013-10-04  Alan Modra  <amodra@gmail.com>
11177
11178         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
11179         little-endian support.  Remove unnecessary "are we done" tests.
11180         Handle "s" wrapping around zero and extremely large "size".
11181         Correct main loop count.  Handle single left-over word from main
11182         loop inline rather than by using small_loop.  Correct comments.
11183         Delete "zero" tail, use "end_max" instead.
11184         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
11185
11186 2013-10-04  Alan Modra  <amodra@gmail.com>
11187
11188         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
11189         support.  Don't branch over align.
11190         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
11191         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
11192         support.  Rearrange tmp reg use to suit.  Comment.
11193         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
11194
11195 2013-10-04  Alan Modra  <amodra@gmail.com>
11196
11197         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
11198
11199 2013-10-04  Alan Modra  <amodra@gmail.com>
11200
11201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
11202         conditional form of branch and link when obtaining pc.
11203         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
11204
11205 2013-10-04  Alan Modra  <amodra@gmail.com>
11206
11207         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
11208         HIWORD/LOWORD.
11209         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
11210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
11211
11212 2013-10-04  Alan Modra  <amodra@gmail.com>
11213
11214         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
11215         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
11216         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
11217         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
11218         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
11219         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
11220         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
11221         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
11222         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
11223         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
11224
11225 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11226             Alistair Popple <alistair@ozlabs.au.ibm.com>
11227             Alan Modra <amodra@gmail.com>
11228
11229         [BZ #15723]
11230         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
11231         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
11232         _dl_hwcap access for little-endian.
11233         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
11234         destroy vmx regs when saving unaligned.
11235         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
11236         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
11237         destroy vmx regs when saving unaligned.
11238
11239 2013-10-04  Alan Modra  <amodra@gmail.com>
11240
11241         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
11242         Don't use a union to pack hi/low value.
11243
11244 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11245
11246         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
11247         for little-endian.
11248         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
11249         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
11250         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
11251         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
11252         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
11253
11254 2013-10-04  Alan Modra  <amodra@gmail.com>
11255
11256         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
11257         constants to usual value for .cst8 section, and remove redundant
11258         high address load.
11259         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
11260         constant for 0x1p52.  Load little-endian words of double from
11261         correct stack offsets.
11262
11263 2013-10-04  Alan Modra  <amodra@gmail.com>
11264
11265         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
11266         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
11267         words of double from correct stack offsets.
11268         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
11269         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
11270         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
11271         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
11272         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
11273         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
11274         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
11275         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
11276         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
11277         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
11278         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
11279         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
11280         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
11281         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
11282         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
11283         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
11284         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
11285
11286 2013-10-04  Alan Modra  <amodra@gmail.com>
11287
11288         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
11289         64-bit int/double union.
11290         (_FPU_SETCW): Likewise.
11291         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
11292         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
11293
11294 2013-10-04  Alan Modra  <amodra@gmail.com>
11295
11296         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
11297         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
11298
11299 2013-10-04  Alan Modra  <amodra@gmail.com>
11300
11301         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
11302         use vector int constants.
11303         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
11304
11305 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11306
11307         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
11308         array with long long.
11309         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
11310         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
11311         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
11312         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
11313         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
11314         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
11315         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
11316         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
11317         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
11318         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
11319         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
11320         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
11321         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
11322
11323 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
11324
11325         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
11326         (__signbit): Likewise.  Correct for little-endian.
11327         (__signbitl): Call __signbit.
11328         (lrint): Correct for little-endian.
11329         (lrintf): Call lrint.
11330
11331 2013-10-04  Alan Modra  <amodra@gmail.com>
11332
11333         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
11334         union 32-bit int array member with 64-bit int array.
11335         (t515, tm256): Double rather than long double.
11336         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
11337
11338 2013-10-04  Alan Modra  <amodra@gmail.com>
11339
11340         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
11341         Delete.
11342         (IEEE854_LONG_DOUBLE_BIAS): Delete.
11343         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
11344         version of math_ldbl.h.
11345
11346 2013-10-04  Alan Modra  <amodra@gmail.com>
11347
11348         [BZ #15734], [BZ #15735]
11349         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
11350         all uses of ieee875 long double macros and unions.  Simplify test
11351         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
11352         ldbl_extract_mantissa value for ix,iy exponents.  Properly
11353         normalize after ldbl_extract_mantissa, and don't add hidden bit
11354         already handled.  Don't treat low word of ieee854 mantissa like
11355         low word of IBM long double and mask off bit when testing for
11356         zero.
11357         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
11358         all uses of ieee875 long double macros and unions.  Simplify tests
11359         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
11360         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
11361         two1022, instead use their values.  Recognise that tests for large
11362         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
11363         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
11364         Rewrite all uses of ieee875 long double macros and unions.  Simplify
11365         test for 0.0L and nan.  Correct negation.
11366         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
11367         ieee875 long double macros and unions.  Correct output for large
11368         magnitude x.  Correct absolute value calculation.
11369         (__erfcl): Likewise.
11370         * math/libm-test.inc: Add tests for errors discovered in IBM long
11371         double versions of fmodl, remainderl, erfl and erfcl.
11372
11373 2013-10-04  Alan Modra  <amodra@gmail.com>
11374
11375         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
11376         all uses of ieee854 long double macros and unions.  Simplify tests
11377         for long doubles that are fully specified by the high double.
11378         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
11379         Likewise.
11380         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
11381         Remove dead code too.
11382         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
11383         (__ieee754_ynl): Likewise.
11384         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
11385         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
11386         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
11387         Remove dead code too.
11388         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
11389         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
11390         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
11391         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
11392         Simplify.
11393         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
11394         Simplify.
11395         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
11396         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
11397         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
11398         Comment on variable precision.
11399         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
11400         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
11401         Likewise.
11402         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
11403         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
11404         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
11405         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
11406         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
11407
11408 2013-10-04  Alan Modra  <amodra@gmail.com>
11409
11410         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
11411         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
11412         all uses of ieee854 long double macros and unions.
11413         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
11414         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
11415         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
11416         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
11417         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
11418         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
11419         Likewise.
11420         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
11421         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
11422         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
11423         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
11424         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
11425         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
11426         Simplify sign and nan test too.
11427         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
11428         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
11429         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
11430         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
11431         Likewise.
11432         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
11433         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
11434         Likewise.
11435         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
11436         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
11437         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
11438         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
11439         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
11440         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
11441
11442 2013-10-04  Alan Modra  <amodra@gmail.com>
11443
11444         * stdio-common/printf_size.c (__printf_size): Don't use
11445         union ieee854_long_double in fpnum union.
11446         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
11447         signbit macro to retrieve sign from long double.
11448         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
11449         retrieve sign from long double.
11450         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
11451         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
11452         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
11453         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
11454         * math/test-misc.c (main): Don't use union ieee854_long_double.
11455
11456 2013-10-04  Alan Modra  <amodra@gmail.com>
11457
11458         [BZ #15680]
11459         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
11460         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
11461         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
11462         calculation.  Remove unnecessary test for denormal exponent.
11463         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
11464         Correct handling of denormals.  Avoid undefined shift behaviour.
11465         Correct normalisation of low mantissa when low double is denormal.
11466         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
11467         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
11468         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
11469         Correct normalisation of low mantissa.  Test for overflow of high
11470         mantissa and normalise.
11471         (ldbl_nearbyint): Use more readable constant for two52.
11472         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
11473         (__mpn_construct_long_double): Fix test for overflow of high
11474         mantissa and correct normalisation.  Avoid undefined shift.
11475
11476 2013-10-04  Alan Modra  <amodra@gmail.com>
11477
11478         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
11479         (union ibm_extended_long_double): Define as an array of ieee754_double.
11480         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
11481         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
11482         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
11483         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
11484         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
11485         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
11486         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
11487         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
11488         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
11489         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
11490         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
11491
11492 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
11493
11494         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
11495         page size instead of calling getpagesize.
11496
11497         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
11498         (LOCFILE_ALIGN_MASK): Likewise.
11499         (LOCFILE_ALIGN_UP): Likewise.
11500         (LOCFILE_ALIGNED_P): Likewise.
11501         * locale/programs/ld-collate.c (collate_output): Use the new
11502         macros instead of __alignof__ (int32_t).
11503         * locale/weight.h (findidx): Likewise.
11504
11505 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
11506
11507         [BZ #431]
11508         * manual/string.texi: Fix strncat and wcsncat.
11509
11510 2013-10-03  Brooks Moses  <bmoses@google.com>
11511
11512         [BZ #15915]
11513         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
11514         * Makerules: ...here, and adjust associated comments.
11515
11516 2013-10-02  Will Newton  <will.newton@linaro.org>
11517
11518         * malloc/Makefile: Add tst-pvalloc.
11519         * malloc/tst-pvalloc.c: New file.
11520
11521 2013-10-02  Will Newton  <will.newton@linaro.org>
11522
11523         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
11524         improve test coverage.
11525
11526 2013-10-02  Will Newton  <will.newton@linaro.org>
11527
11528         * malloc/Makefile: Add tst-posix_memalign.
11529         * malloc/tst-posix_memalign.c: New file.
11530
11531 2013-10-01  Eric Blake  <eblake@redhat.com>
11532
11533         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
11534         Use __THROWNL rather than __THROW on static functions.
11535
11536 2013-09-30  Petr Machata  <pmachata@redhat.com>
11537
11538         * elf/elf.h (R_AARCH64_ABS16): New macro.
11539         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
11540         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
11541         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
11542         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
11543         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
11544         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
11545         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
11546         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
11547         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
11548         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
11549         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
11550         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
11551         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
11552         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
11553         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
11554         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
11555         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
11556         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
11557         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
11558         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
11559         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
11560         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
11561         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
11562         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
11563         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
11564         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
11565         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
11566         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
11567         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
11568         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
11569         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
11570         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
11571         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
11572         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
11573         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
11574         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
11575         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
11576         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
11577         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
11578         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
11579         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
11580         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
11581         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
11582         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
11583         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
11584         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
11585         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
11586         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
11587         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
11588         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
11589         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
11590         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
11591         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
11592         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
11593         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
11594         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
11595         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
11596         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
11597         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
11598         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
11599         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
11600         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
11601         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
11602         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
11603         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
11604         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
11605         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
11606         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
11607         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
11608         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
11609         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
11610         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
11611         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
11612         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
11613         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
11614         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
11615         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
11616         (R_AARCH64_TLSDESC_LDR): Likewise.
11617         (R_AARCH64_TLSDESC_ADD): Likewise.
11618         (R_AARCH64_TLSDESC_CALL): Likewise.
11619
11620 2013-09-30  Andreas Schwab  <schwab@suse.de>
11621
11622         [BZ #15048]
11623         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
11624         the nss database lookup.
11625         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11626         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
11627
11628 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
11629
11630         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
11631
11632 2013-09-28  P. J. McDermott  <pj@pehjota.net>
11633
11634         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
11635         ${Bash-specific parameter/pattern/string} parameter expansion.
11636         * sysdeps/unix/make-syscalls.sh: Likewise.
11637
11638 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
11639
11640         * sysdeps/sh/stackguard-macros.h: New file.
11641
11642 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
11643
11644         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
11645         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
11646         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
11647         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
11648         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
11649         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
11650
11651 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11652
11653         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
11654         Fix thread ID register.
11655
11656 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
11657
11658         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
11659         [POSIX || UNIX98]: Require rather than permitting all symbols from
11660         <time.h>.
11661         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
11662         element of struct sched_param.
11663         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
11664         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
11665         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
11666         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
11667         constant.
11668
11669 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
11670
11671         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
11672         argument calculation.
11673
11674 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11675
11676         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
11677         Expect macro.
11678         [POSIX] (pthread_attr_t): Do not require type.
11679         [POSIX] (pthread_cond_t): Likewise.
11680         [POSIX] (pthread_condattr_t): Likewise.
11681         [POSIX] (pthread_key_t): Likewise.
11682         [POSIX] (pthread_mutex_t): Likewise.
11683         [POSIX] (pthread_mutexattr_t): Likewise.
11684         [POSIX] (pthread_once_t): Likewise.
11685         [POSIX] (pthread_t): Likewise.
11686         [POSIX-based standards] (pthread_atfork): Expect function.
11687
11688 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
11689             Richard Sandiford  <richard@codesourcery.com>
11690
11691         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
11692         (swap_endianness_p): New extern variable.
11693         (set_big_endian): New inline function.
11694         (maybe_swap_uint32): Likewise.
11695         (maybe_swap_uint32_array): Likewise.
11696         (maybe_swap_uint32_obstack): Likewise.
11697         * locale/programs/locfile.c: Include <stdbool.h>.
11698         (swap_endianness_p): New variable.
11699         (add_locale_uint32): Call maybe_swap_uint32.
11700         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
11701         (write_locale_data): Call maybe_swap_uint32_array.
11702         * locale/programs/ld-collate.c (obstack_int32_grow): Call
11703         maybe_swap_uint32.
11704         (obstack_int32_grow_fast): Likewise.
11705         (output_weightwc): Call maybe_swap_uint32_obstack.
11706         (collate_output): Likewise.
11707         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
11708         (OPT_LITTLE_ENDIAN): Likewise.
11709         (options): Add --little-endian and --big-endian options.
11710         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
11711         * locale/programs/locarchive.c: Include "locfile.h".
11712         (GET): New macro.
11713         (SET): Likewise.
11714         (INC): Likewise.
11715         (create_archive): Use the new macros to access fields of
11716         structures directly mapped from or written to locale archives.
11717         (oldlocrecentcmp): Likewise.
11718         (enlarge_archive): Likewise.
11719         (insert_name): Likewise.
11720         (add_alias): Likewise.
11721         (add_locale): Likewise.
11722         (delete_locales_from_archive): Likewise.
11723         (show_archive_content): Likewise.
11724         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
11725         locale data.
11726
11727 2013-09-24  Roland McGrath  <roland@hack.frob.com>
11728
11729         * manual/freemanuals.texi: Updated from (newly) canonical copy at
11730         http://www.gnu.org/doc/freemanuals.texi.
11731         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
11732
11733 2013-09-24  Will Newton  <will.newton@linaro.org>
11734
11735         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
11736         macro.
11737
11738 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
11739
11740         * locale/hashval.h (compute_hashval): Interpret bytes of key as
11741         unsigned char.
11742
11743 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
11744
11745         * manual/threads.texi (POSIX Threads): Fix a typo.
11746
11747 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11748
11749         [BZ #14547]
11750         * string/tst-strcoll-overflow.c: New test case.
11751         * string/Makefile (xtests): Add tst-strcoll-overflow.
11752         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
11753         cache if string sizes may cause integer overflow.
11754
11755         [BZ #14547]
11756         * string/strcoll_l.c (coll_seq): New members rule, idx,
11757         save_idx and back_us.
11758         (get_next_seq_nocache): New function.
11759         (do_compare_nocache): New function.
11760         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
11761         when malloc fails.
11762
11763 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
11764
11765         [BZ #15754]
11766         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
11767         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
11768         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
11769
11770         [BZ #15754]
11771         * elf/Makefile (tests): Add tst-ptrguard1.
11772         (tests-static): Add tst-ptrguard1-static.
11773         (tst-ptrguard1-ARGS): Define.
11774         (tst-ptrguard1-static-ARGS): Define.
11775         * elf/tst-ptrguard1.c: New file.
11776         * elf/tst-ptrguard1-static.c: New file.
11777         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
11778         * sysdeps/i386/stackguard-macros.h: Likewise.
11779         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
11780         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
11781         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
11782         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
11783         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
11784         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
11785
11786 2013-09-23  Hector Marco  <hecmargi@upv.es>
11787             Ismael Ripoll  <iripoll@disca.upv.es>
11788             Carlos O'Donell  <carlos@redhat.com>
11789
11790         [BZ #15754]
11791         * sysdeps/generic/stackguard-macros.h: Define
11792         __pointer_chk_guard_local and POINTER_CHK_GUARD.
11793         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
11794         Define __pointer_chk_guard_local.
11795         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
11796         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
11797
11798 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
11799
11800         [BZ #15859]
11801         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
11802
11803 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
11804
11805         * include/string.h (__ffs): Declare as hidden.
11806         * string/ffs.c (__ffs): Define as hidden.
11807         * sysdeps/i386/ffs.c (__ffs): Likewise.
11808         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
11809         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
11810         * sysdeps/s390/ffs.c (__ffs): Likewise.
11811         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
11812
11813 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
11814
11815         * NEWS: Mention malloc probes.
11816
11817         * malloc/arena.c (new_heap): New memory_heap_new probe.
11818         (grow_heap): New memory_heap_more probe.
11819         (shrink_heap): New memory_heap_less probe.
11820         (heap_trim): New memory_heap_free probe.
11821         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
11822         (systrim): New memory_sbrk_less probe.
11823         * manual/probes.texi: Document them.
11824
11825         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
11826         * manual/probes.texi: Document it.
11827
11828         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
11829         (__libc_realloc): Add memory_realloc_retry probe.
11830         (__libc_memalign): Add memory_memalign_retry probe.
11831         (__libc_valloc): Add memory_valloc_retry probe.
11832         (__libc_pvalloc): Add memory_pvalloc_retry probe.
11833         (__libc_calloc): Add memory_calloc_retry probe.
11834         * manual/probes.texi: Document them.
11835
11836         * malloc/arena.c (get_free_list): Add probe
11837         memory_arena_reuse_free_list.
11838         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
11839         and memory_arena_reuse.
11840         (arena_get2) [!PER_THREAD]: Likewise.
11841         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
11842         memory_arena_reuse_realloc.
11843         * manual/probes.texi: Document them.
11844
11845         * malloc/malloc.c (__libc_free): Add
11846         memory_mallopt_free_dyn_thresholds probe.
11847         (__libc_mallopt): Add multiple memory_mallopt probes.
11848         * manual/probes.texi: Document them.
11849
11850         * malloc/malloc.c: Include stap-probe.h.
11851         (__libc_mallopt): Add memory_mallopt probe.
11852         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
11853         * manual/probes.texi: New.
11854         * manual/Makefile (chapters): Add probes.
11855         * manual/threads.texi: Set next node.
11856
11857 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
11858
11859         [BZ #15963, #13985]
11860         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
11861         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
11862         Add `Chinese' to `nan' entry name.
11863
11864 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11865
11866         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
11867         (POLYNOMIAL): Likewise.
11868         (TAYLOR_SINCOS): Likewise.
11869         (TAYLOR_SLOW): Likewise.
11870         (__sin): Use TAYLOR_SINCOS.
11871         (__cos): Likewise.
11872         (slow): Use TAYLOR_SLOW.
11873         (sloww): Likewise.
11874         (bsloww): Likewise.
11875         (csloww): Likewise.
11876
11877 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
11878
11879         * stdlib/strtod_l.c: Fix buffer overrun.
11880
11881 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11882
11883         * benchtests/Makefile (bench): Add sincos.
11884         * benchtests/bench-sincos.c: New file.
11885
11886         * math/libm-test.inc (cos_test_data): New test inputs.
11887         (sin_test_data): Likewise.
11888
11889         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
11890         macro.
11891         (__sin): Use it.
11892         (__cos): Likewise.
11893         (slow1): Likewise.
11894         (slow2): Likewise.
11895         (sloww1): Likewise.
11896         (sloww2): Likewise.
11897         (bsloww1): Likewise.
11898         (bsloww2): Likewise.
11899         (cslow2): Likewise.
11900         (csloww1): Likewise.
11901         (csloww2): Likewise.
11902
11903         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
11904         function.
11905         (__sin): Use it.
11906         (__cos): Likewise.
11907
11908         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
11909         gotos.
11910         (__cos): Likewise.
11911
11912 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
11913
11914         * config.h.in (HAVE_MIPS_NAN2008): New macro.
11915         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
11916         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
11917         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
11918         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
11919         * elf/cache.c (print_entry): Handle the new cache flags.
11920
11921 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11922             Aldy Hernandez  <aldyh@redhat.com>
11923
11924         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
11925         Change condition to [_SOFT_FLOAT].
11926         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
11927         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
11928         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
11929         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
11930         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
11931         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
11932         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
11933         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
11934         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
11935         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
11936         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
11937         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
11938         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
11939         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
11940         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
11941         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
11942         declaration.
11943
11944 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
11945
11946         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
11947         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11948         (__longjmp): Use LOAD_GP to load saved GPRs.
11949         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
11950         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
11951         (__sigsetjmp): Use SAVE_GP to save GPRs.
11952
11953         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
11954         Do not append -msoft-float.
11955         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
11956
11957 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11958
11959         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
11960
11961 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
11962
11963         [BZ #15966]
11964         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
11965         (_FPU_GETCW): Use initial "__" on variable and field names but not
11966         on macro parameter name.
11967         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
11968         parentheses around reference to macro parameter.
11969
11970 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
11971
11972         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
11973         prototype.
11974         (ctype_startup): Use uint32_t in cast and sizeof for
11975         ctype->charnames.
11976
11977 2013-09-11  Jia Liu  <proljc@gmail.com>
11978
11979         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
11980         __daddr_t_defined.
11981         [__FreeBSD__]: Likewise.
11982
11983 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
11984
11985         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
11986         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
11987         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
11988         (strchr): Remove __strchr_sse42 ifunc selection.
11989         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
11990         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
11991
11992 2013-09-11  Will Newton  <will.newton@linaro.org>
11993
11994         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
11995         parameter to RES. Remove hardcoded 1000 value.
11996         * benchtests/bench-skeleton.c (main): Pass RES parameter
11997         to TIMING_INIT and multiply result by 1000.
11998
11999 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12000
12001         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12002
12003 2013-09-11  Andreas Schwab  <schwab@suse.de>
12004
12005         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
12006         if not defined.
12007         (O_TMPFILE) [__USE_GNU]: Define.
12008         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
12009         Define.
12010
12011 2013-09-11  Will Newton  <will.newton@linaro.org>
12012
12013         [BZ #15857]
12014         * malloc/malloc.c (__libc_memalign): Check the value of bytes
12015         does not overflow.
12016
12017 2013-09-11  Will Newton  <will.newton@linaro.org>
12018
12019         [BZ #15856]
12020         * malloc/malloc.c (__libc_valloc): Check the value of bytes
12021         does not overflow.
12022
12023 2013-09-11  Will Newton  <will.newton@linaro.org>
12024
12025         [BZ #15855]
12026         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
12027         does not overflow.
12028
12029 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
12030
12031         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
12032         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
12033         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
12034         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
12035         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
12036
12037 2013-09-10  Allan McRae  <allan@archlinux.org>
12038
12039         [BZ #15748]
12040         * manual/arith.texi (Parsing of Floats): Clarify
12041         cross-reference.
12042
12043         [BZ #15849]
12044         * manual/install.texi (Running make install): Mention
12045         --enable-pt-chown.
12046         * INSTALL: Regenerated.
12047
12048 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
12049
12050         * csu/init-first.c (_init): Remove the !SHARED condition around
12051         FPU control word initialization.
12052         * elf/dl-support.c (_dl_fpu_control): New variable.
12053         (_dl_aux_init) <AT_FPUCW>: Initialize it.
12054         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
12055         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
12056         * math/test-fpucw-static.c: New file.
12057         * math/test-fpucw-ieee.c: New file.
12058         * math/test-fpucw-ieee-static.c: New file.
12059         * math/Makefile (tests): Add `test-fpucw-ieee' and
12060         `$(tests-static)'.
12061         (tests-static): New variable.
12062         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
12063         dependency to...
12064         [($(build-shared),yes)]
12065         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
12066         ... this.
12067         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
12068         New dependency.
12069
12070 2013-09-09  Allan McRae  <allan@archlinux.org>
12071
12072         [BZ #15939]
12073         * manual/string.texi (Collation Functions): Fix typo in
12074         strcoll example.
12075         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
12076
12077         [BZ #15893]
12078         * stdlib/isomac.c (get_null_defines): Fix memory leak.
12079
12080         [BZ #15892]
12081         * libio/memstream.c (open_memstream): Fix memory leak.
12082         * libio/wmemstream.c (open_wmemstream): Likewise.
12083
12084         [BZ #15895]
12085         * nscd/netgroupcache.c: Fix nesting of ifdefs.
12086
12087 2013-09-09  Will Newton  <will.newton@linaro.org>
12088
12089         * malloc/Makefile: Add tst-realloc to tests.
12090         * malloc/tst-realloc.c: New file.
12091
12092 2013-09-09  Allan McRae  <allan@archlinux.org>
12093
12094         [BZ #15844]
12095         * COPYING: Update from GNU website to fix FSF address.
12096         * COPYING.LIB: Likewise.
12097
12098 2013-09-06  David S. Miller  <davem@davemloft.net>
12099
12100         * po/zh_TW.po: Update Chinese (traditional) translation from
12101         translation project.
12102
12103 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
12104             Joseph Myers  <joseph@codesourcery.com>
12105
12106         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
12107         "localeinfo.h".
12108         (obstack_chunk_alloc): New macro.
12109         (obstack_chunk_free): Likewise.
12110         (record_offset): New function.
12111         (init_locale_data): Likewise.
12112         (align_locale_data): Likewise.
12113         (add_locale_empty): Likewise.
12114         (add_locale_raw_data): Likewise.
12115         (add_locale_raw_obstack): Likewise.
12116         (add_locale_string): Likewise.
12117         (add_locale_wstring): Likewise.
12118         (add_locale_uint32): Likewise.
12119         (add_locale_uint32_array): Likewise.
12120         (add_locale_char): Likewise.
12121         (start_locale_structure): Likewise.
12122         (end_locale_structure): Likewise.
12123         (start_locale_prelude): Likewise.
12124         (end_locale_prelude): Likewise.
12125         (write_locale_data): Take locale_file structure rather than an
12126         iovec.
12127         * locale/programs/locfile.h: Include "obstack.h".
12128         (struct locale_file): Change to store locale file contents instead
12129         of header.
12130         (init_locale_data): New prototype.
12131         (align_locale_data): Likewise.
12132         (add_locale_empty): Likewise.
12133         (add_locale_raw_data): Likewise.
12134         (add_locale_raw_obstack): Likewise.
12135         (add_locale_string): Likewise.
12136         (add_locale_wstring): Likewise.
12137         (add_locale_uint32): Likewise.
12138         (add_locale_uint32_array): Likewise.
12139         (add_locale_char): Likewise.
12140         (start_locale_structure): Likewise.
12141         (end_locale_structure): Likewise.
12142         (start_locale_prelude): Likewise.
12143         (end_locale_prelude): Likewise.
12144         (write_locale_data): Update prototype.
12145         * locale/programs/3level.h (struct TABLE): Remove result field.
12146         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
12147         Use new locale_file interface.
12148         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
12149         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
12150         * locale/programs/ld-address.c (address_output): Use new
12151         locale_file interface.
12152         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
12153         NO_ADD_LOCALE.
12154         (collate_finish): Don't call collseq_table_finalize.
12155         (collate_output): Use new locale_file interface.
12156         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
12157         in file.
12158         (NO_FINALIZE): Change to NO_ADD_LOCALE.
12159         (TABLE): Move defines earlier in file.
12160         (ELEMENT): Likewise.
12161         (DEFAULT): Likewise.
12162         (wctrans_table_add): Move macro and inline function earlier in
12163         file.
12164         (struct wctype_table): Move type earlier in file.
12165         (add_locale_wctype_table): New static prototype.
12166         (struct locale_ctype_t): Use logical types instead of struct iovec
12167         pointers for members.
12168         (ctype_output): Use new locale_file interface.
12169         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
12170         new locale_file interface.
12171         (allocate_arrays): Update for use of new locale_file interface.
12172         * locale/programs/ld-identification.c (identification_output): Use
12173         new locale_file interface.
12174         * locale/programs/ld-measurement.c (measurement_output): Likewise.
12175         * locale/programs/ld-messages.c (messages_output): Likewise.
12176         * locale/programs/ld-monetary.c (monetary_output): Likewise.
12177         * locale/programs/ld-name.c (name_output): Likewise.
12178         * locale/programs/ld-numeric.c (numeric_output): Likewise.
12179         * locale/programs/ld-paper.c (paper_output): Likewise.
12180         * locale/programs/ld-telephone.c (telephone_output): Likewise.
12181         * locale/programs/ld-time.c (time_output): Likewise.
12182
12183 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12184
12185         * benchtests/Makefile: Add memrchr benchmark.
12186         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
12187         benchmark as memrchr.
12188         * benchtests/bench-memrchr-ifunc.c: New file.
12189         * benchtests/bench-memrchr.c: New file.
12190
12191 2013-09-06   Will Newton  <will.newton@linaro.org>
12192
12193         * benchtests/Makefile (string-bench): Add memcpy.
12194
12195 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
12196             Cong Wang  <amwang@redhat.com>
12197
12198         [BZ #15850]
12199         * sysdeps/unix/sysv/linux/bits/in.h
12200         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
12201         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
12202         before __USE_KERNEL_IPV6_DEFS uses.
12203         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
12204         IPPROTO_BEETPH.
12205         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
12206         sockaddr_in6, or ipv6_mreq.
12207
12208 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12209
12210         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
12211         memory access for final bytes in some large inputs.
12212         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
12213
12214 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12215
12216         * string/test-memrchr.c: New file.
12217         * string/test-memrchr-ifunc.c: New file.
12218         * string/Makefile: Add new memrchr testcase.
12219
12220 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
12221
12222         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
12223         fanotify_init returns EPERM.
12224
12225 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12226
12227         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
12228         errors.
12229         (top level): Treat second token from macro or constant entries for
12230         allowed headers as allowed.
12231         * include/complex.h: Condition internal declarations on
12232         [!_ISOMAC].
12233         * include/fenv.h: Condition include of <stdbool.h> and internal
12234         declarations on [!_ISOMAC].
12235
12236 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
12237
12238         [BZ #15923]
12239         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
12240
12241 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
12242
12243         * configure.in (--enable-versioning): Remove configure option.
12244         (libc_cv_asm_symver_directive): Remove configure test.
12245         (libc_cv_ld_version_script_option): Likewise.
12246         (VERSIONING): Remove variable and AC_SUBST.
12247         (DO_VERSIONING): Remove AC_DEFINE.
12248         * configure: Regenerated.
12249         * config.h.in (DO_VERSIONING): Remove macro.
12250         * Makerules [$(versioning) = yes]: Change conditionals to
12251         [$(build-shared) = yes].
12252         * config.make.in (versioning): Remove variable.
12253         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
12254         [$(build-shared) = yes].
12255         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
12256         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
12257         * elf/Makefile [$(versioning) = yes]: Change conditionals to
12258         [$(build-shared) = yes].
12259         * extra-lib.mk [$(versioning) = yes]: Likewise.
12260         * hurd/Makefile [$(versioning) = yes]: Likewise.
12261         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
12262         [SHARED].
12263         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
12264         [SHARED].
12265         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12266         [SHARED && !NO_HIDDEN].
12267         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
12268         [SHARED].
12269         [SHARED && DO_VERSIONING]: Likewise..
12270         * libio/Makefile [$(versioning) = yes]: Change conditionals to
12271         [$(build-shared) = yes].
12272         * manual/install.texi (--disable-versioning): Remove
12273         documentation.
12274         * INSTALL: Regenerated.
12275         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
12276         to [SHARED].
12277         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
12278         [$(build-shared) = yes].
12279         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
12280         * sysdeps/i386/i686/multiarch/strstr-c.c
12281         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
12282         [SHARED && !NO_HIDDEN].
12283         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
12284         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
12285         * sysdeps/powerpc/powerpc32/dl-machine.c
12286         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
12287         * sysdeps/powerpc/powerpc32/sysdep.h
12288         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
12289         to [SHARED && PIC && !NO_HIDDEN].
12290         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
12291         conditional to [SHARED].
12292
12293 2013-09-04   Will Newton  <will.newton@linaro.org>
12294
12295         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
12296         * benchtests/bench-string.h: Include bench-timing.h instead
12297         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
12298         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
12299         call to HP_TIMING_DIFF_INIT.
12300         * benchtests/bench-memccpy.c: Use bench-timing.h macros
12301         instead of hp-timing.h macros.
12302         * benchtests/bench-memchr.c: Likewise.
12303         * benchtests/bench-memcmp.c: Likewise.
12304         * benchtests/bench-memcpy.c: Likewise.
12305         * benchtests/bench-memmem.c: Likewise.
12306         * benchtests/bench-memmove.c: Likewise.
12307         * benchtests/bench-memset.c: Likewise.
12308         * benchtests/bench-rawmemchr.c: Likewise.
12309         * benchtests/bench-strcasecmp.c: Likewise.
12310         * benchtests/bench-strcasestr.c: Likewise.
12311         * benchtests/bench-strcat.c: Likewise.
12312         * benchtests/bench-strchr.c: Likewise.
12313         * benchtests/bench-strcmp.c: Likewise.
12314         * benchtests/bench-strcpy.c: Likewise.
12315         * benchtests/bench-strcpy_chk.c: Likewise.
12316         * benchtests/bench-strlen.c: Likewise.
12317         * benchtests/bench-strncasecmp.c: Likewise.
12318         * benchtests/bench-strncat.c: Likewise.
12319         * benchtests/bench-strncmp.c: Likewise.
12320         * benchtests/bench-strncpy.c: Likewise.
12321         * benchtests/bench-strnlen.c: Likewise.
12322         * benchtests/bench-strpbrk.c: Likewise.
12323         * benchtests/bench-strrchr.c: Likewise.
12324         * benchtests/bench-strspn.c: Likewise.
12325         * benchtests/bench-strstr.c: Likewise.
12326
12327 2013-09-04  Will Newton  <will.newton@linaro.org>
12328
12329         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
12330
12331 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
12332
12333         [BZ #15427]
12334         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
12335         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
12336         * math/libm-test.inc (lgamma_test_data): Add more tests.
12337         * sysdeps/i386/fpu/libm-test-ulps: Update.
12338         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12339
12340 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
12341
12342         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
12343         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
12344         Add ifunc.
12345         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
12346         Add strcmp-sse2-unaligned
12347         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
12348
12349 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12350
12351         * Versions.def (libc): Add GLIBC_2.19.
12352
12353 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
12354
12355         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
12356         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
12357
12358 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
12359
12360         [BZ #14155]
12361         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
12362         intermediate calculations in recurrence.
12363         (__ieee754_ynf): Likewise.
12364         * math/libm-test.inc (jn_test_data): Do not allow spurious
12365         underflow exception.  Add more tests.
12366         (yn_test_data): Add more tests.
12367         * sysdeps/i386/fpu/libm-test-ulps: Update.
12368         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12369
12370 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
12371
12372         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
12373
12374 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12375
12376         * csu/init-first.c: Fix then/than typos.
12377         * locale/programs/ld-collate.c: Likewise.
12378         * locale/programs/linereader.h: Likewise.
12379         * manual/charset.texi: Likewise.
12380         * manual/filesys.texi: Likewise.
12381         * manual/stdio.texi: Likewise.
12382         * manual/string.texi: Likewise.
12383         * stdlib/fmtmsg.c: Likewise.
12384         * sysdeps/i386/stpncpy.S: Likewise.
12385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
12386         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
12387         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
12388         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
12389
12390 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
12391
12392         * elf/dl-open.c: Fix typos.
12393         * iconvdata/gbbig5.c: Likewise.
12394         * iconvdata/iso-2022-jp.c: Likewise.
12395         * iconv/gconv_int.h: Likewise.
12396         * iconv/loop.c: Likewise.
12397         * nis/rpcsvc/nis.h: Likewise.
12398         * resolv/ns_name.c: Likewise.
12399         * stdio-common/vfscanf.c: Likewise.
12400         * streams/stropts.h: Likewise.
12401         * sunrpc/rpc_thread.c: Likewise.
12402         * sysdeps/i386/strpbrk.S: Likewise.
12403         * sysdeps/ieee754/k_standard.c: Likewise.
12404         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
12405         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
12406         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
12407         * sysdeps/mach/hurd/profil.c: Likewise.
12408         * sysdeps/s390/dl-procinfo.h: Likewise.
12409         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
12410         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
12411         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
12412         * sysdeps/x86_64/dl-trampoline.S: Likewise.
12413         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
12414
12415 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
12416
12417         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
12418         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
12419
12420 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
12421
12422         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
12423         aix specific files.
12424         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
12425         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
12426         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
12427         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
12428         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
12429         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
12430         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
12431         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
12432
12433 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12434             Roland McGrath  <roland@hack.frob.com>
12435
12436         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
12437         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
12438
12439 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12440
12441         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
12442         __executable_start symbol instead of _start.
12443
12444 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
12445
12446         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
12447         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
12448         Move macros to...
12449         * sysdeps/gnu/ldsodefs.h: ... this new file.
12450
12451         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
12452         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
12453         instead of ELFOSABI_LINUX.
12454
12455         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
12456         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
12457         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
12458         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
12459         Likewise.
12460         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
12461         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
12462         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
12463         Likewise.
12464         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
12465         (ibm_extended_long_double): Add ieee_nan member.
12466         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
12467         (do_test): New function.
12468
12469         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
12470         TEST_TRUNC.
12471         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
12472         functions, renamed from truncdfsf_test, trunctfsf_test,
12473         trunctfdf_test.
12474         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
12475         functions.
12476         (do_test): Run all these.
12477
12478 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
12479
12480         * argp/argp-help.c: Fix typos.
12481         * argp/argp-parse.c: Likewise.
12482         * debug/backtracesyms.c: Likewise.
12483         * elf/elf.h: Likewise.
12484         * malloc/malloc.c: Likewise.
12485         * nis/nis_print.c: Likewise.
12486         * resolv/res_comp.c: Likewise.
12487         * stdlib/stdlib.h: Likewise.
12488         * sunrpc/clnt_tcp.c: Likewise.
12489         * sunrpc/clnt_udp.c: Likewise.
12490         * sunrpc/clnt_unix.c: Likewise.
12491         * sysdeps/unix/bsd/ptsname.c: Likewise.
12492         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
12493         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
12494         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
12495         Likewise.
12496         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
12497         Likewise.
12498         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
12499         Likewise.
12500         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
12501
12502 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
12503
12504         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
12505         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
12506
12507 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
12508
12509         [BZ #15897]
12510         * dlfcn/Makefile (tests): Add bug-dl-leaf.
12511         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
12512         ($(objpfx)bug-dl-leaf): New rule.
12513         ($(objpfx)bug-dl-leaf.so): Likewise.
12514         ($(objpfx)bug-dl-leaf.out): Likewise.
12515         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
12516         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
12517         * dlfcn/bug-dl-leaf.c: New test.
12518         * dlfcn/bug-dl-leaf-lib.c: Likewise.
12519         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
12520         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
12521         (dlclose): Likewise.
12522         (dlmopen): Likewise.
12523
12524 2013-08-27  Roland McGrath  <roland@hack.frob.com>
12525
12526         * include/netdb.h [!_ISOMAC]:
12527         Don't include <tls.h>.
12528         (h_errno, __libc_h_errno): Move declaration and macros out of
12529         [_LIBC_REENTRANT].
12530
12531         * include/resolv.h [_RESOLV_H_]:
12532         Don't include <tls.h>.
12533         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
12534         * resolv/res_libc.c: Don't include <tls.h>.
12535         (_res): Use __attribute__ ((nocommon)) in place of
12536         __attribute__ ((section (".bss"))).
12537
12538         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
12539         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
12540
12541         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
12542
12543         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
12544         only under [SIOCGIFCONF && SIOCGIFNETMASK].
12545
12546         * resolv/res_mkquery.c: Include <sys/time.h>.
12547
12548         * inet/ifreq.c: Moved to ...
12549         * sysdeps/unix/ifreq.c: ... here.
12550         * inet/ifreq.c: New file, true stub version.
12551
12552         * socket/sa_len.c: New file.
12553         * socket/Makefile (aux): Add it.
12554         * sysdeps/unix/sysv/linux/Makefile
12555         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
12556         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
12557         and #include <socket/sa_len.c>.
12558         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
12559         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
12560
12561         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
12562         * bits/socket.h: ... here.
12563
12564         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
12565         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
12566         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
12567
12568 2013-08-27  Andreas Schwab  <schwab@suse.de>
12569
12570         [BZ #15736]
12571         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
12572         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
12573         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
12574         * string/test-strcasecmp.c (test_main): Run tests in several
12575         locales.
12576         * string/test-strncasecmp.c (test_main): Likewise.
12577
12578         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
12579         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
12580         to __strcasecmp_nonascii and __strncasecmp_nonascii.
12581         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
12582         (__strncasecmp_ssse3) [PIC]: Likewise.
12583
12584 2013-08-26  Roland McGrath  <roland@hack.frob.com>
12585
12586         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
12587
12588         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
12589         instead of explicitly declaring xdecrypt.
12590         * nis/nss_nis/nis-publickey.c: Likewise.
12591
12592 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12593
12594         [BZ #15890]
12595         * nscd/aicache.c: Include res_hconf.h.
12596         (addhstaiX): Initialize res_hconf.
12597
12598 2013-08-26  Andreas Schwab  <schwab@suse.de>
12599
12600         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
12601         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
12602
12603 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
12604
12605         * nscd/aicache.c (addhstaiX): Fix indentation.
12606
12607 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
12608
12609         * configure.ac: Quote $build_pt_chown test.
12610         * configure: Regenerated.
12611
12612 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
12613
12614         [BZ #15532]
12615         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
12616         * math/s_cexpf.c (__cexpf): Likewise.
12617         * math/s_cexpl.c (__cexpl): Likewise.
12618         * math/libm-test.inc (cexp_test_data): Correct expected return
12619         value for NaN + i0.  Add another test.
12620
12621 2013-08-22  David S. Miller  <davem@davemloft.net>
12622
12623         * po/ca.po: Update Catalan translation from translation project.
12624         * po/uk.po: Add Ukrainian translations from translation project.
12625
12626 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
12627
12628         [BZ #15797]
12629         * math/s_fdim.c (__fdim): Check for infinite arguments if result
12630         is infinite, not alongside NaN test.
12631         * math/s_fdimf.c (__fdimf): Likewise.
12632         * math/s_fdiml.c (__fdiml): Likewise.
12633         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
12634         errno is unchanged.
12635
12636 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
12637
12638         * argp/argp-help.c: Fix typos.
12639         * crypt/speeds.c: Likewise.
12640         * csu/check_fds.c: Likewise.
12641         * elf/dl-load.c: Likewise.
12642         * elf/dl-open.c: Likewise.
12643         * elf/reldep3.c: Likewise.
12644         * elf/reldep.c: Likewise.
12645         * elf/sprof.c: Likewise.
12646         * iconv/iconv_charmap.c: Likewise.
12647         * iconv/skeleton.c: Likewise.
12648         * iconv/strtab.c: Likewise.
12649         * io/lockf64.c: Likewise.
12650         * libio/libioP.h: Likewise.
12651         * resolv/gai_notify.c: Likewise.
12652         * resolv/ns_name.c: Likewise.
12653         * resolv/ns_samedomain.c: Likewise.
12654         * resolv/res_send.c: Likewise.
12655         * stdlib/random.c: Likewise.
12656         * sunrpc/rpc/xdr.h: Likewise.
12657         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
12658         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
12659         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
12660         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
12661         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
12662         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
12663         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
12664         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
12665         * sysdeps/mach/hurd/check_fds.c: Likewise.
12666         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
12667         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
12668         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
12669         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
12670         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
12671         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
12672         * sysdeps/pthread/aio_notify.c: Likewise.
12673         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
12674         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
12675         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
12676         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
12677         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
12678
12679 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12680
12681         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
12682         version if bit_Slow_SSE4_2 is set.
12683         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
12684         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
12685
12686 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12687
12688         [BZ #15867]
12689         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
12690         trampoline stack frame information.
12691         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
12692         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
12693         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
12694         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
12695         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
12696         * sysdeps/unix/sysv/linux/powerpc/init-first.c
12697         (_libc_vdso_platform_setup): Initialize the signal trampolines.
12698         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
12699         sa_flags value.
12700         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
12701         interrupting a syscall and set with option SA_SIGINFO.
12702
12703 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12704
12705         [BZ #15531]
12706         * math/s_cproj.c (__cproj): Only return an infinity if one part of
12707         argument is infinite.
12708         * math/s_cprojf.c (__cprojf): Likewise.
12709         * math/s_cprojl.c (__cprojl): Likewise.
12710         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
12711         * math/libm-test.inc (cproj_test_data): Add more tests.
12712
12713         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
12714
12715         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
12716         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
12717         size.  Use __ffs to determine corresponding shift.
12718
12719 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
12720             Roland McGrath  <roland@hack.frob.com>
12721
12722         * Makefile (INSTALL): Remove trailing blank lines from output of
12723         makeinfo.
12724
12725 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12726
12727         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
12728         Align 32 bit compat elf_greg to 8 bytes.
12729
12730 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
12731
12732         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
12733
12734 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
12735
12736         * string/strcoll_l.c (coll_seq): New structure.
12737         (get_next_seq_cached): New function.
12738         (get_next_seq): New function.
12739         (do_compare): New function.
12740         (STRCOLL): Use GNU style definition.  Simplify implementation
12741         by using get_next_seq, get_next_seq_cached and do_compare.
12742
12743 2013-08-16  Florian Weimer  <fweimer@redhat.com>
12744
12745         [BZ #14699]
12746         CVE-2013-4237
12747         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
12748         member.
12749         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
12750         member.
12751         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
12752         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
12753         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
12754         conditional.
12755         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
12756         GETDENTS_64BIT_ALIGNED.
12757         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
12758         * manual/filesys.texi (Reading/Closing Directory): Document
12759         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
12760         strongly.
12761         * manual/conf.texi (Limits for Files): Add portability note to
12762         NAME_MAX, PATH_MAX.
12763         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
12764
12765 2013-08-13  Andreas Schwab  <schwab@suse.de>
12766
12767         [BZ #15749]
12768         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
12769         of fabs.
12770         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
12771         LDBL_MAX_EXP >= 16384]: Add tests for it.
12772
12773 2013-08-12  David S. Miller  <davem@davemloft.net>
12774
12775         * version.h (RELEASE): Set to "development".
12776         (VERSION): Set to "2.18.90".
12777         * NEWS: Add 2.19 section.
12778
12779 2013-08-03  David S. Miller  <davem@davemloft.net>
12780
12781         * po/ko.po: Update Korean translation from translation project.
12782
12783 2013-08-01  David S. Miller  <davem@davemloft.net>
12784
12785         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
12786         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
12787         Bilka.
12788
12789 2013-07-30  David S. Miller  <davem@davemloft.net>
12790
12791         * po/fr.po: Update French translation from translation project.
12792
12793 2013-07-28  David S. Miller  <davem@davemloft.net>
12794
12795         * po/cs.po: Update Czech translation from translation project.
12796
12797         * po/sv.po: Update Swedish translation from translation project.
12798
12799 2013-07-27  David S. Miller  <davem@davemloft.net>
12800
12801         * po/eo.po: Update Esperanto translation from translation project.
12802
12803         * po/vi.po: Update Vietnamese translation from translation project.
12804
12805         * po/de.po: Update German translation from translation project.
12806
12807 2013-07-26  David S. Miller  <davem@davemloft.net>
12808
12809         * po/bg.po: Update Bulgarian translation from translation project.
12810
12811         * po/nl.po: Update Dutch translation from translation project.
12812         * po/pl.po: Update Polish translation from translation project.
12813         * po/ru.po: Update Russian translation from translation project.
12814
12815 2013-07-24  David S. Miller  <davem@davemloft.net>
12816
12817         * po/libc.pot: Update.
12818
12819 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12820
12821         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
12822         variable page size.
12823         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
12824         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
12825         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
12826
12827 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
12828
12829         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
12830
12831 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12832             Andreas Schwab  <schwab@suse.de>
12833             Roland McGrath  <roland@hack.frob.com>
12834             Joseph Myers  <joseph@codesourcery.com>
12835             Carlos O'Donell  <carlos@redhat.com>
12836
12837         [BZ #15755]
12838         * config.h.in: Define HAVE_PT_CHOWN.
12839         * config.make.in (build-pt-chown): New variable.
12840         * configure.in (--enable-pt_chown): New configure option.
12841         * configure: Regenerate.
12842         * login/Makefile: Include Makeconfig.  Build pt_chown only if
12843         build-pt-chown is enabled.
12844         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
12845         pt_chown to fix pty ownership.
12846         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
12847         CLOSE_ALL_FDS.
12848         * manual/install.texi (Configuring and compiling): Mention
12849         --enable-pt_chown. Add @findex for grantpt.
12850         * INSTALL: Regenerate.
12851
12852 2013-07-20  David S. Miller  <davem@davemloft.net>
12853
12854         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
12855         difference between 32-bit and 64-bit.
12856
12857 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
12858
12859         [BZ #15711]
12860         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
12861         Avoid system header dependency with -ffreestanding.
12862         ($(objpfx)bits/syscall%d): Likewise.
12863
12864 2013-07-13  David S. Miller  <davem@davemloft.net>
12865
12866         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
12867         underflows from atanl/atan2l due to bug 15319.
12868         (casinh_test_data): Likewise.
12869
12870 2013-07-07  David S. Miller  <davem@davemloft.net>
12871
12872         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
12873
12874 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
12875
12876         * sysdeps/i386/fpu/libm-test-ulps: Update.
12877         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12878
12879 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
12880
12881         * configure.in (--enable-lock-elision): Fix message text.
12882         * INSTALL: Regenerate.
12883         * configure: Regenerate.
12884
12885 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12886
12887         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12888
12889 2013-07-03  Andreas Jaeger  <aj@suse.de>
12890
12891         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
12892         define.
12893         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
12894         (ptrace_peeksiginfo_args): Add.
12895         (__ptrace_peeksiginfo_flags): Add.
12896         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
12897         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
12898         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
12899
12900 2013-07-03  Allan McRae  <allan@archlinux.org>
12901
12902         * sysdeps/i386/fpu/libm-test-ulps: Update.
12903
12904 2013-07-02  David S. Miller  <davem@davemloft.net>
12905
12906         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12907
12908 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
12909
12910         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
12911
12912 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12913
12914         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
12915         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12916
12917 2013-07-02  Andi Kleen <ak@linux.intel.com>
12918
12919         * config.h.in (ENABLE_LOCK_ELISION): Add.
12920         * configure.in (--enable-lock-elision): Add option.
12921         * manual/install.texi: Document --enable lock elision.
12922         * configure: Regenerate
12923         * INSTALL: Regenerate.
12924
12925 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
12926
12927         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
12928         SSE4.2 strcasecmp for libc.a.
12929         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
12930
12931 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
12932
12933         [BZ #13304]
12934         * soft-fp/op-common.h (_FP_FMA): New macro.
12935         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
12936         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
12937         (_FP_MUL_MEAT_1_imm): ... here.
12938         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
12939         (_FP_MUL_MEAT_1_wide): ... here.
12940         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
12941         (_FP_MUL_MEAT_1_hard): ... here.
12942         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
12943         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
12944         (_FP_MUL_MEAT_2_wide): ... here.
12945         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
12946         (_FP_MUL_MEAT_2_wide_3mul): ... here.
12947         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
12948         (_FP_MUL_MEAT_2_gmp): ... here.
12949         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
12950         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
12951         (_FP_MUL_MEAT_4_wide): ... here.
12952         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
12953         (_FP_MUL_MEAT_4_gmp): ... here.
12954         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
12955         (_FP_WFRACBITS_DW_S): Likewise.
12956         (_FP_WFRACXBITS_DW_S): Likewise.
12957         (_FP_HIGHBIT_DW_S): Likewise.
12958         (FP_FMA_S): Likewise.
12959         (_FP_FRAC_HIGH_DW_S): Likewise.
12960         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
12961         (_FP_WFRACBITS_DW_D): Likewise.
12962         (_FP_WFRACXBITS_DW_D): Likewise.
12963         (_FP_HIGHBIT_DW_D): Likewise.
12964         (FP_FMA_D): Likewise.
12965         (_FP_FRAC_HIGH_DW_D): Likewise.
12966         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
12967         (_FP_WFRACBITS_DW_E): Likewise.
12968         (_FP_WFRACXBITS_DW_E): Likewise.
12969         (_FP_HIGHBIT_DW_E): Likewise.
12970         (FP_FMA_E): Likewise.
12971         (_FP_FRAC_HIGH_DW_E): Likewise.
12972         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
12973         (_FP_WFRACBITS_DW_Q): Likewise.
12974         (_FP_WFRACXBITS_DW_Q): Likewise.
12975         (_FP_HIGHBIT_DW_Q): Likewise.
12976         (FP_FMA_Q): Likewise.
12977         (_FP_FRAC_HIGH_DW_Q): Likewise.
12978         * soft-fp/fmasf4.c: New file.
12979         * soft-fp/fmadf4.c: Likewise.
12980         * soft-fp/fmatf4.c: Likewise.
12981
12982 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
12983
12984         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
12985         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
12986         Silvermont.
12987         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
12988         macro.
12989         (index_Slow_SSE4_2): Likewise.
12990         (index_Prefer_PMINUB_for_stringop): Likewise.
12991         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
12992         bit_Slow_SSE4_2 is set.
12993         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
12994         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
12995
12996 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12997
12998         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
12999         rtld_global._dl_hwcap2.
13000         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
13001         POWER8.
13002         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
13003         POWER8 feature descriptions defined in _dl_hwcap2.
13004         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
13005         string handling for POWER8 feature bits.
13006         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
13007         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
13008         _dl_powerpc_cap_flags.
13009         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
13010         * sysdeps/powerpc/rtld-global-offsets.sym
13011         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
13012         _dl_hwcap2 in the rtld_global_ro structure.
13013
13014 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13015
13016         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
13017         hardware capabilities in support of AT_HWCAP2.
13018         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
13019         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
13020         GLRO(dl_hwcap2).
13021         (_dl_show_auxv): Add support for calling _dl_procinfo to display
13022         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
13023         explicitly the unknown a_type display mechanism is used.
13024         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
13025         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
13026         struct member.
13027         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
13028         to macro prototype for AT_HWCAP2 support.
13029         * sysdeps/i386/dl-procinfo.h: Likewise.
13030         * sysdeps/s390/dl-procinfo.h: Likewise.
13031         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
13032         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
13033         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
13034         return -1 for unknown a_type display fallback.
13035         * sysdeps/sparc/dl-procinfo.h: Likewise.
13036         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
13037         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
13038
13039 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
13040
13041         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
13042         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
13043
13044 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
13045
13046         [BZ #12492]
13047         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
13048         mprotect making __stack_prot writable.
13049
13050 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
13051             Joseph Myers  <joseph@codesourcery.com>
13052
13053         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
13054         as being properly aligned.
13055
13056 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
13057
13058         * dlfcn/modstatic5.c: New file.
13059         * dlfcn/tststatic5.c: New file.
13060         * dlfcn/Makefile (tests): Add tststatic5.
13061         (tests-static): Likewise.
13062         (modules-names): Add modstatic5.
13063         (tststatic5-ENV): New variable.
13064         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
13065
13066         [BZ #15022]
13067         * elf/dl-support.c (_dl_main_map): New variable.
13068         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
13069         (_dl_nns, _dl_load_adds): Set to 1.
13070         (_dl_initial_searchlist): Refer to _dl_main_map.
13071         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
13072         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
13073         call to _dl_get_origin.
13074         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
13075         around call_map.
13076         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
13077         * dlfcn/modstatic3.c: New file.
13078         * dlfcn/tststatic3.c: New file.
13079         * dlfcn/tststatic4.c: New file.
13080         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
13081         (tests-static): Likewise.
13082         (modules-names): Add modstatic3.
13083         (tststatic3-ENV, tststatic4-ENV): New variables.
13084         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
13085         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
13086
13087 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
13088
13089         * configure.in (CC): Require GCC version 4.4 or later.
13090         * configure: Regenerated.
13091         * manual/install.texi (Tools for Compilation): Update GCC version
13092         requirement.
13093         * INSTALL: Regenerated.
13094
13095 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13096
13097         [BZ #15674]
13098         * string/test-memcmp.c (check2): New.
13099         (main): Call check2.
13100
13101         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
13102
13103 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
13104
13105         [BZ #15022]
13106         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
13107         over to...
13108         (dl_open_worker) [!SHARED]: ... here.
13109
13110 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13111
13112         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
13113
13114 2013-06-25  Richard Henderson  <rth@redhat.com>
13115
13116         * locale/programs/locarchive.c: Include <libc-internal.h>
13117
13118 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
13119
13120         * manual/texinfo.tex: Update to version 2013-06-21.17, with
13121         trailing whitespace removed.
13122
13123 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13124
13125         [BZ #10283]
13126         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
13127         * locale/programs/locarchive.c: Include libc-mmap.h.
13128         (prepare_address_space): Take two new outputs (the mmap base and len).
13129         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
13130         values.
13131         (create_archive): Declare new mmap base and len values for
13132         prepare_address_space, and store the result in ah.
13133         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
13134         (enlarge_archive): If ah->mmap_base is not NULL, use that and
13135         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13136         Declare new mmap base and len values for
13137         prepare_address_space, and store the result in new_ah.
13138         (open_archive): Declare new mmap base and len values for
13139         prepare_address_space, and store the result in ah.
13140         (close_archive): If ah->mmap_base is not NULL, use that and
13141         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
13142         * sysdeps/generic/libc-mmap.h: New file.
13143
13144 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
13145
13146         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
13147         (ALIGN_UP): Likewise.
13148         (PTR_ALIGN_DOWN): Likewise.
13149         (PTR_ALIGN_UP): Likewise.
13150
13151 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13152
13153         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
13154         entry mapped to PPC_PLATFORM_POWER8.
13155         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
13156         POWER8.
13157         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
13158         (_dl_string_platform): Add case for exporting platform position for
13159         POWER8.
13160         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
13161         search path to sysdeps/powerpc/powerpc32/power8 directory.
13162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
13163         search path to sysdeps/powerpc/powerpc64/power8 directory.
13164         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
13165         power7 directories.
13166         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
13167         power7 directories.
13168
13169 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
13170
13171         * INSTALL: Regenerate.
13172
13173         * nscd/connections.c (nscd_init): Fix comment.
13174
13175 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
13176
13177         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
13178
13179         [BZ #15667]
13180         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
13181         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
13182
13183 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13184
13185         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
13186         DL_DST_REQ_STATIC.
13187         (DL_DST_REQ_STATIC): Remove macro.
13188
13189 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
13190
13191         [BZ #7006]
13192         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
13193         with a shift of 0 bits.
13194
13195 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
13196
13197         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
13198         $(tststatic-ENV).
13199
13200 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
13201
13202         [BZ #15655]
13203         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
13204
13205 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13206
13207         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
13208         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
13209         accepts -fno-tree-loop-distribute-patterns.
13210         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
13211         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
13212         recursive call.
13213         * string/memset.c (memset): Likewise.
13214         * string/test-memmove.c (simple_memmove): Disable loop transformation
13215         to library calls.
13216         * string/test-memset.c (simple_memset): Likewise.
13217         * benchtests/bench-memmove.c (simple_memmove): Likewise.
13218         * benchtests/bench-memset.c (simple_memset): Likewise.
13219         * configure: Regenerated.
13220
13221 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
13222
13223         * math/test-misc.c (main): Ignore fesetround failure when failures
13224         of subsequent rounding tests would be ignored.
13225
13226         [BZ #15654]
13227         * math/fedisblxcpt.c (fedisableexcept): Return 0.
13228         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
13229         * math/fegetenv.c (__fegetenv): Return 0.
13230         * math/fegetexcept.c (fegetexcept): Return 0.
13231         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
13232         FE_TONEAREST.
13233         * math/feholdexcpt.c (feholdexcept): Return 0.
13234         * math/fesetenv.c (__fesetenv): Return 0.
13235         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
13236         argument FE_TONEAREST.
13237         * math/feupdateenv.c (__feupdateenv): Return 0.
13238         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
13239
13240 2013-06-18  Roland McGrath  <roland@hack.frob.com>
13241
13242         * elf/rtld-Rules (rtld-compile-command.S): New variable.
13243         (rtld-compile-command.s, rtld-compile-command.c): New variables.
13244         ($(objpfx)rtld-%.os rules): Use them.
13245
13246 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13247
13248         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
13249         fields.
13250
13251 2013-06-17  Roland McGrath  <roland@hack.frob.com>
13252
13253         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
13254         length of target pattern, then descending length of dependency pattern.
13255         * configure.in (AWK): Require gawk 3.1.2 or newer.
13256         * manual/install.texi (Tools for Compilation): Say that we do.
13257         * configure: Regenerated.
13258
13259         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
13260         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
13261         * scripts/sysd-rules.awk: ... this new script.
13262         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
13263         than a glob-style pattern.
13264
13265 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
13266
13267         * math/test-misc.c (main): Do not treat incorrectly rounded
13268         conversions as failure unless ROUNDING_TESTS passes.
13269
13270 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
13271
13272         [BZ #15631]
13273         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
13274         restore exception state around main square root computation, then
13275         check for inexactness explicitly.
13276
13277         * math/libm-test.inc (fma_test_data): Add another test.
13278
13279 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
13280
13281         * manual/threads.texi (Non-POSIX Extensions): New document
13282         node.  Document pthread_getattr_default_np and
13283         pthread_setattr_default_np.
13284
13285         * Versions.def (libpthread): Add GLIBC_2.18.
13286         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
13287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
13288         Likewise.
13289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
13290         Likewise.
13291         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
13292         Likewise.
13293         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
13294         Likewise.
13295         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
13296         Likewise.
13297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
13298         Likewise.
13299         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
13300         Likewise.
13301         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
13302         Likewise.
13303         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
13304         Likewise.
13305
13306 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
13307
13308         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13309         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
13310
13311 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
13312             H.J. Lu  <hjl.tools@gmail.com>
13313
13314         [BZ #15627]
13315         * sysdeps/x86_64/rtld-memset.c: Remove file.
13316         * sysdeps/x86_64/rtld-memset.S: New file.
13317
13318 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
13319
13320         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
13321         (test_in_one_mode): Take arguments for whether the rounding mode
13322         is supported for each floating-point type.
13323         (do_test): Pass new arguments to test_in_one_mode using
13324         ROUNDING_TESTS.
13325
13326 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13327
13328         * posix/tst-waitid.c (do_test): Distinguish different instances of
13329         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
13330         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
13331         before entering the kernel for waitpid.
13332
13333 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13334
13335         * NEWS: Fix note on clock function precision.  Text by Roland
13336         McGrath.
13337
13338 2013-06-13  Roland McGrath  <roland@hack.frob.com>
13339
13340         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
13341         it into place only when and if the sanity check passes.
13342
13343 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
13344
13345         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
13346         output for whether conversion result is exact.  Take argument
13347         indicating whether type is IBM long double.
13348         (round_for_all): Change need_exact field to ibm_ld.
13349         * stdlib/tst-strtod-round.c (struct exactness): New type.
13350         (struct test): Change bool ld_ok field to struct exactness exact.
13351         (TEST): Update all definitions for change to field.
13352         (tests): Regenerate array contents.
13353         (test_in_one_mode): Take pointer to new field instead of old ld_ok
13354         field value.  Check for IBM long double here.
13355         (do_test): Update calls to test_in_one_mode.
13356
13357 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
13358
13359         [BZ #12515]
13360         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
13361         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
13362
13363 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13364
13365         [BZ #15605]
13366         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
13367         generated by the compiler on loop optimizations.
13368         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
13369         general definitions.
13370
13371 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
13372
13373         * math/bug-nextafter.c: Include <math-tests.h>.
13374         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13375         the relevant type.
13376         * math/bug-nexttoward.c: Include <math-tests.h>.
13377         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13378         the relevant type.
13379         * math/test-misc.c: Include <math-tests.h>.
13380         (main): Only test for exceptions if EXCEPTION_TESTS is true for
13381         the relevant type.
13382
13383 2013-06-12  Andreas Jaeger  <aj@suse.de>
13384
13385         * po/ia.po: Update Interlingua translation from translation
13386         project.
13387
13388 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13389
13390         * include/fenv.h: Include stdbool.h.
13391         (struct rm_ctx): New structure.
13392         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
13393         Define macro.
13394         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
13395         (SET_RESTORE_ROUNDF): Likewise.
13396         (SET_RESTORE_ROUNDL): Likewise.
13397         (SET_RESTORE_ROUND_NOEX): Likewise.
13398         (SET_RESTORE_ROUND_NOEXF): Likewise.
13399         (SET_RESTORE_ROUND_NOEXL): Likewise.
13400         (SET_RESTORE_ROUND_53BIT): Likewise.
13401         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
13402         (libc_feresetround_noexf_ctx): Likewise.
13403         (libc_feresetround_noexl_ctx): Likewise.
13404         (libc_feholdsetround_53bit_ctx): Likewise.
13405         (libc_feresetround_53bit_ctx): Likewise.
13406         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
13407         (libc_feholdexcept_setround_sse_ctx): New function.
13408         (libc_fesetenv_sse_ctx): Likewise.
13409         (libc_feupdateenv_sse_ctx): Likewise.
13410         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
13411         (libc_feholdexcept_setround_387_ctx): Likewise.
13412         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
13413         (libc_feholdsetround_387_prec_ctx): Likewise.
13414         (libc_feholdsetround_387_ctx): Likewise.
13415         (libc_feholdsetround_387_53bit_ctx): Likewise.
13416         (libc_feholdsetround_sse_ctx): Likewise.
13417         (libc_feresetround_sse_ctx): Likewise.
13418         (libc_feresetround_387_ctx): Likewise.
13419         (libc_feupdateenv_387_ctx): Likewise.
13420         (libc_feholdexcept_setroundf_ctx): Define macro.
13421         (libc_fesetenvf_ctx): Likewise.
13422         (libc_feupdateenvf_ctx): Likewise.
13423         (libc_feholdsetroundf_ctx): Likewise.
13424         (libc_feresetroundf_ctx): Likewise.
13425         (libc_feholdexcept_setround_ctx): Likewise.
13426         (libc_fesetenv_ctx): Likewise.
13427         (libc_feupdateenv_ctx): Likewise.
13428         (libc_feholdsetround_ctx): Likewise.
13429         (libc_feresetround_ctx): Likewise.
13430         (libc_feholdexcept_setroundl_ctx): Likewise.
13431         (libc_feupdateenvl_ctx): Likewise.
13432         (libc_feholdsetroundl_ctx): Likewise.
13433         (libc_feresetroundl_ctx): Likewise.
13434         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
13435         (libc_feresetround_53bit_ctx): Likewise.
13436
13437 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13438
13439         * locale/iso-639.def: Convert to UTF-8.
13440
13441 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
13442
13443         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
13444         (EXCEPTION_TESTS_double): Likewise.
13445         (EXCEPTION_TESTS_long_double): Likewise.
13446         (EXCEPTION_TESTS): Likewise.
13447         * math/libm-test.inc (test_exceptions): Only test exceptions if
13448         EXCEPTION_TESTS (FLOAT).
13449
13450 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13451
13452         * benchtests/Makefile (string-bench): Add strcpy_chk and
13453         stpcpy_chk.
13454         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
13455         * benchtests/bench-stpcpy_chk.c: New file.
13456         * benchtests/bench-strcpy_chk-ifunc.c: New file.
13457         * benchtests/bench-strcpy_chk.c: New file.
13458         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
13459         code.
13460         (do_test): Likewise.
13461
13462 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
13463
13464         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
13465         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
13466         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
13467         with tabs where appropriate.
13468         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
13469         dl-procinfo.h.
13470         [PPC_PLATFORM_PPC440]: Likewise.
13471         [PPC_PLATFORM_PPC464]: Likewise.
13472         [PPC_PLATFORM_PPC476]: Likewise.
13473         (_dl_string_platform): Add support for detecting ppc405, ppc440,
13474         ppc464, and ppc476 platform strings merging from ports/
13475         dl-procinfo.h.
13476
13477 2013-06-11  Andreas Schwab  <schwab@suse.de>
13478
13479         [BZ #14991]
13480         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
13481         (from_ucs4_idx): Regenerate.
13482         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
13483         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
13484         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
13485         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
13486         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
13487         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
13488         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
13489         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
13490         from FROM_LOOP and TO_LOOP specific macros.
13491         (BODY): Handle combining characters.
13492         * iconvdata/BIG5HKSCS.irreversible: Update.
13493         * iconvdata/BIG5HKSCS.precomposed: New file.
13494         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
13495         characters.
13496         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
13497
13498 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13499
13500         * include/sys/time.h: Fix indentation and add copyright header.
13501
13502         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
13503         (do_test): Likewise.
13504         * string/test-memchr.c (do_one_test): Likewise.
13505         (do_test): Likewise.
13506         * string/test-memcmp.c (do_one_test): Likewise.
13507         (do_test): Likewise.
13508         * string/test-memcpy.c (do_one_test): Likewise.
13509         (do_test): Likewise.
13510         * string/test-memmem.c (do_one_test): Likewise.
13511         (do_test): Likewise.
13512         (do_random_tests): Likewise.
13513         * string/test-memmove.c (do_one_test): Likewise.
13514         (do_test): Likewise.
13515         * string/test-memset.c (do_one_test): Likewise.
13516         (do_test): Likewise.
13517         * string/test-rawmemchr.c (do_one_test): Likewise.
13518         (do_test): Likewise.
13519         * string/test-strcasecmp.c (do_one_test): Likewise.
13520         (do_test): Likewise.
13521         * string/test-strcasestr.c (do_one_test): Likewise.
13522         (do_test): Likewise.
13523         * string/test-strcat.c (do_one_test): Likewise.
13524         (do_test): Likewise.
13525         * string/test-strchr.c (do_one_test): Likewise.
13526         (do_test): Likewise.
13527         * string/test-strcmp.c (do_one_test): Likewise.
13528         (do_test): Likewise.
13529         * string/test-strcpy.c (do_one_test): Likewise.
13530         (do_test): Likewise.
13531         * string/test-string.h: Likewise.
13532         (test_init): Likewise.
13533         * string/test-strlen.c (do_one_test): Likewise.
13534         (do_test): Likewise.
13535         * string/test-strncasecmp.c (do_one_test): Likewise.
13536         (do_test): Likewise.
13537         * string/test-strncat.c (do_one_test): Likewise.
13538         (do_test): Likewise.
13539         * string/test-strncmp.c (do_one_test): Likewise.
13540         (do_test_limit): Likewise.
13541         (do_test): Likewise.
13542         * string/test-strncpy.c (do_one_test): Likewise.
13543         (do_test): Likewise.
13544         * string/test-strnlen.c (do_one_test): Likewise.
13545         (do_test): Likewise.
13546         * string/test-strpbrk.c (do_one_test): Likewise.
13547         (do_test): Likewise.
13548         * string/test-strrchr.c (do_one_test): Likewise.
13549         (do_test): Likewise.
13550         * string/test-strspn.c (do_one_test): Likewise.
13551         (do_test): Likewise.
13552         * string/test-strstr.c (do_one_test): Likewise.
13553         (do_test): Likewise.
13554
13555         * benchtests/Makefile (string-bench): Add string benchmarks.
13556         * benchtests/bench-bcopy-ifunc.c: New file.
13557         * benchtests/bench-bcopy.c: New file.
13558         * benchtests/bench-bzero-ifunc.c: New file.
13559         * benchtests/bench-bzero.c: New file.
13560         * benchtests/bench-memccpy-ifunc.c: New file.
13561         * benchtests/bench-memccpy.c: New file.
13562         * benchtests/bench-memchr-ifunc.c: New file.
13563         * benchtests/bench-memchr.c: New file.
13564         * benchtests/bench-memcmp-ifunc.c: New file.
13565         * benchtests/bench-memcmp.c: New file.
13566         * benchtests/bench-memmem-ifunc.c: New file.
13567         * benchtests/bench-memmem.c: New file.
13568         * benchtests/bench-memmove-ifunc.c: New file.
13569         * benchtests/bench-memmove.c: New file.
13570         * benchtests/bench-mempcpy-ifunc.c: New file.
13571         * benchtests/bench-mempcpy.c: New file.
13572         * benchtests/bench-memset-ifunc.c: New file.
13573         * benchtests/bench-memset.c: New file.
13574         * benchtests/bench-rawmemchr-ifunc.c: New file.
13575         * benchtests/bench-rawmemchr.c: New file.
13576         * benchtests/bench-stpcpy-ifunc.c: New file.
13577         * benchtests/bench-stpcpy.c: New file.
13578         * benchtests/bench-stpncpy-ifunc.c: New file.
13579         * benchtests/bench-stpncpy.c: New file.
13580         * benchtests/bench-strcasecmp-ifunc.c: New file.
13581         * benchtests/bench-strcasecmp.c: New file.
13582         * benchtests/bench-strcasestr-ifunc.c: New file.
13583         * benchtests/bench-strcasestr.c: New file.
13584         * benchtests/bench-strcat-ifunc.c: New file.
13585         * benchtests/bench-strcat.c: New file.
13586         * benchtests/bench-strchr-ifunc.c: New file.
13587         * benchtests/bench-strchr.c: New file.
13588         * benchtests/bench-strchrnul-ifunc.c: New file.
13589         * benchtests/bench-strchrnul.c: New file.
13590         * benchtests/bench-strcmp-ifunc.c: New file.
13591         * benchtests/bench-strcmp.c: New file.
13592         * benchtests/bench-strcpy-ifunc.c: New file.
13593         * benchtests/bench-strcpy.c: New file.
13594         * benchtests/bench-strcspn-ifunc.c: New file.
13595         * benchtests/bench-strcspn.c: New file.
13596         * benchtests/bench-strlen-ifunc.c: New file.
13597         * benchtests/bench-strlen.c: New file.
13598         * benchtests/bench-strncasecmp-ifunc.c: New file.
13599         * benchtests/bench-strncasecmp.c: New file.
13600         * benchtests/bench-strncat-ifunc.c: New file.
13601         * benchtests/bench-strncat.c: New file.
13602         * benchtests/bench-strncmp-ifunc.c: New file.
13603         * benchtests/bench-strncmp.c: New file.
13604         * benchtests/bench-strncpy-ifunc.c: New file.
13605         * benchtests/bench-strncpy.c: New file.
13606         * benchtests/bench-strnlen-ifunc.c: New file.
13607         * benchtests/bench-strnlen.c: New file.
13608         * benchtests/bench-strpbrk-ifunc.c: New file.
13609         * benchtests/bench-strpbrk.c: New file.
13610         * benchtests/bench-strrchr-ifunc.c: New file.
13611         * benchtests/bench-strrchr.c: New file.
13612         * benchtests/bench-strspn-ifunc.c: New file.
13613         * benchtests/bench-strspn.c: New file.
13614         * benchtests/bench-strstr-ifunc.c: New file.
13615         * benchtests/bench-strstr.c: New file.
13616
13617         * benchtests/Makefile: Disable parallel execution of targets.
13618         (string-bench): Add memcpy.
13619         (benchset): New variable to store a list of benchmark sets.
13620         (bench-func): Renamed from bench.
13621         (bench-set): New target.
13622         (bench): Depend on bench-func and bench-set.
13623         * benchtests/README: Add section on benchmark sets.
13624         * benchtests/bench-memcpy-ifunc.c: New file.
13625         * benchtests/bench-memcpy.c: New file.
13626         * benchtests/bench-string.h: New file.
13627
13628 2013-06-11  Andreas Schwab  <schwab@suse.de>
13629
13630         [BZ #15577]
13631         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
13632         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
13633         values in the triple.
13634         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
13635         terminator in the group key.
13636
13637 2013-06-11  Andreas Jaeger  <aj@suse.de>
13638
13639         * po/zh_TW.po: Update Chinese (traditional) translation from
13640         translation project.
13641
13642 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13643
13644         * include/time.h (__clock_gettime): Add libc_hidden_proto.
13645         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
13646         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
13647         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
13648         (clock_getcpuclockid): Likewise.
13649         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
13650         Add weak_alias and libc_hidden_def.
13651         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
13652         * rt/clock_gettime.c (clock_gettime): Rename to
13653         __clock_gettime.  Add weak_alias and libc_hidden_def.
13654         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
13655         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
13656         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
13657         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
13658         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
13659         Likewise.
13660         * rt/clock_settime.c (clock_settime): Rename to
13661         __clock_settime.  Add weak_alias and libc_hidden_def.
13662         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
13663
13664 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
13665
13666         * mach/err_boot.sub: Remove trailing whitespace.
13667         * mach/err_ipc.sub: Likewise.
13668         * mach/err_mach.sub: Likewise.
13669
13670         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
13671         (ROUNDING_TESTS_double): Likewise.
13672         (ROUNDING_TESTS_long_double): Likewise.
13673         (ROUNDING_TESTS): Likewise.
13674         * math/libm-test.inc: Include <math-tests.h>.
13675         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
13676         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
13677         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
13678         (IF_ROUND_INIT_FE_UPWARD): Likewise.
13679
13680 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13681
13682         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
13683         of assigning.
13684
13685 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
13686
13687         * sysdeps/gnu/errlist.awk: Do not generate space at end of
13688         otherwise empty TRANS lines.
13689         * sysdeps/gnu/errlist.c: Regenerated.
13690
13691         * catgets/gencat.c (error_print): Use (void) in function
13692         definition.
13693         * crypt/crypt_util.c (__init_des): Likewise.
13694         * crypt/speeds.c (Stop): Likewise.
13695         (main): Likewise.
13696         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
13697         * inet/ruserpass.c (token): Likewise.
13698         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
13699         * intl/localealias.c (extend_alias_table): Likewise.
13700         * intl/plural-exp.c (init_germanic_plural): Likewise.
13701         * libio/fcloseall.c (__fcloseall): Likewise.
13702         * libio/genops.c (_IO_flush_all): Likewise.
13703         (_IO_flush_all_linebuffered): Likewise.
13704         (_IO_cleanup): Likewise.
13705         (_IO_iter_begin): Likewise.
13706         (_IO_iter_end): Likewise.
13707         (_IO_list_lock): Likewise.
13708         (_IO_list_unlock): Likewise.
13709         (_IO_list_resetlock): Likewise.
13710         * libio/getchar.c (getchar): Likewise.
13711         * libio/getchar_u.c (getchar_unlocked): Likewise.
13712         * libio/getwchar.c (getwchar): Likewise.
13713         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
13714         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
13715         * login/getpt.c (__getpt): Likewise.
13716         * login/tst-utmp.c (main): Likewise.
13717         * malloc/hooks.c (__malloc_check_init): Likewise.
13718         * malloc/malloc.c (__malloc_stats): Likewise.
13719         * malloc/mtrace.c (tr_break): Likewise.
13720         (mtrace): Likewise.
13721         (muntrace): Likewise.
13722         * misc/fstab.c (endfsent): Likewise.
13723         * misc/getclktck.c (__getclktck): Likewise.
13724         * misc/getdtsz.c (__getdtablesize): Likewise.
13725         * misc/gethostid.c (gethostid): Likewise.
13726         * misc/getpagesize.c (__getpagesize): Likewise.
13727         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
13728         (__get_nprocs): Likewise.
13729         (__get_phys_pages): Likewise.
13730         (__get_avphys_pages): Likewise.
13731         * misc/getttyent.c (getttyent): Likewise.
13732         (setttyent): Likewise.
13733         (endttyent): Likewise.
13734         * misc/getusershell.c (getusershell): Likewise.
13735         (endusershell): Likewise.
13736         (setusershell): Likewise.
13737         (initshells): Likewise.
13738         * misc/hsearch.c (__hdestroy): Likewise.
13739         * misc/sync.c (sync): Likewise.
13740         * misc/syslog.c (closelog_internal): Likewise.
13741         (closelog): Likewise.
13742         * misc/ttyslot.c (ttyslot): Likewise.
13743         * misc/vhangup.c (vhangup): Likewise.
13744         * posix/fork.c (__fork): Likewise.
13745         * posix/getegid.c (__getegid): Likewise.
13746         * posix/geteuid.c (__geteuid): Likewise.
13747         * posix/getgid.c (__getgid): Likewise.
13748         * posix/getpid.c (__getpid): Likewise.
13749         * posix/getppid.c (__getppid): Likewise.
13750         * posix/getuid.c (__getuid): Likewise.
13751         * posix/pause.c (pause): Likewise.
13752         * posix/setpgrp.c (setpgrp): Likewise.
13753         * posix/setsid.c (__setsid): Likewise.
13754         * posix/test-vfork.c (noop): Likewise.
13755         * resolv/gethnamaddr.c (_endhtent): Likewise.
13756         (_gethtent): Likewise.
13757         (ht_endhostent): Likewise.
13758         (gethostent): Likewise.
13759         (dns_service): Likewise.
13760         * stdlib/drand48.c (drand48): Likewise.
13761         * stdlib/lrand48.c (lrand48): Likewise.
13762         * stdlib/mrand48.c (mrand48): Likewise.
13763         * stdlib/rand.c (rand): Likewise.
13764         * stdlib/random.c (__random): Likewise.
13765         * stdlib/setenv.c (clearenv): Likewise.
13766         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
13767         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
13768         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
13769         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
13770         (__get_nprocs): Likewise.
13771         (__get_phys_pages): Likewise.
13772         (__get_avphys_pages): Likewise.
13773         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
13774         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
13775         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
13776         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
13777         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
13778         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
13779         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
13780         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
13781         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
13782         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
13783         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
13784         * sysdeps/mach/hurd/sync.c (sync): Likewise.
13785         * sysdeps/posix/clock.c (clock): Likewise.
13786         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
13787         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
13788         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
13789         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
13790         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
13791         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
13792         (__get_nprocs_conf): Likewise.
13793         (__get_phys_pages): Likewise.
13794         (__get_avphys_pages): Likewise.
13795         * time/clock.c (clock): Likewise.
13796         * time/tzset.c (__tzname_max): Likewise.
13797
13798 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
13799
13800         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
13801         (__bswap_32): Do not use "register".
13802         * crypt/crypt.c (_ufc_doit_r): Likewise.
13803         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
13804         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
13805         * gmon/gmon.c (__monstartup): Likewise.
13806         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
13807         * hurd/hurdmalloc.c (more_memory): Likewise.
13808         (malloc): Likewise.
13809         (free): Likewise.
13810         (realloc): Likewise.
13811         (malloc_fork_prepare): Likewise.
13812         (malloc_fork_parent): Likewise.
13813         (malloc_fork_child): Likewise.
13814         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
13815         (_svcauth_des): Likewise.
13816         * inet/inet_lnaof.c (inet_lnaof): Likewise.
13817         * inet/inet_net.c (inet_network): Likewise.
13818         * inet/inet_netof.c (inet_netof): Likewise.
13819         * inet/rcmd.c (__validuser2_sa): Likewise.
13820         * io/fts.c (fts_open): Likewise.
13821         (fts_load): Likewise.
13822         (fts_close): Likewise.
13823         (fts_read): Likewise.
13824         (fts_children): Likewise.
13825         (fts_build): Likewise.
13826         (fts_stat): Likewise.
13827         (fts_sort): Likewise.
13828         (fts_alloc): Likewise.
13829         (fts_lfree): Likewise.
13830         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
13831         (_IO_file_xsgetn): Likewise.
13832         (_IO_file_xsgetn_mmap): Likewise.
13833         * libio/iofopncook.c (_IO_cookie_read): Likewise.
13834         (_IO_cookie_write): Likewise.
13835         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
13836         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
13837         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
13838         * malloc/obstack.c (_obstack_begin): Likewise.
13839         (_obstack_begin_1): Likewise.
13840         (_obstack_newchunk): Likewise.
13841         (_obstack_allocated_p): Likewise.
13842         (obstack_free): Likewise.
13843         (_obstack_memory_used): Likewise.
13844         * misc/getttyent.c (getttynam): Likewise.
13845         (getttyent): Likewise.
13846         (skip): Likewise.
13847         (value): Likewise.
13848         * misc/getusershell.c (initshells): Likewise.
13849         * misc/syslog.c (__vsyslog_chk): Likewise.
13850         * misc/ttyslot.c (ttyslot): Likewise.
13851         * nis/nis_hash.c (__nis_hash): Likewise.
13852         * posix/fnmatch_loop.c (FCT): Likewise.
13853         * posix/getconf.c (print_all): Likewise.
13854         (main): Likewise.
13855         * posix/getopt.c (exchange): Likewise.
13856         * posix/glob.c (globfree): Likewise.
13857         (prefix_array): Likewise.
13858         (__glob_pattern_type): Likewise.
13859         * resolv/arpa/nameser.h (NS_GET16): Likewise.
13860         (NS_GET32): Likewise.
13861         (NS_PUT16): Likewise.
13862         (NS_PUT32): Likewise.
13863         * resolv/gethnamaddr.c (getanswer): Likewise.
13864         (gethostbyname2): Likewise.
13865         (gethostbyaddr): Likewise.
13866         (_gethtent): Likewise.
13867         (_gethtbyname2): Likewise.
13868         (_gethtbyaddr): Likewise.
13869         * resolv/ns_print.c (dst_s_get_int16): Likewise.
13870         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
13871         * resolv/res_init.c (__res_vinit): Likewise.
13872         (net_mask): Likewise.
13873         * resolv/res_mkquery.c (outchar): Likewise.
13874         (PRINT): Likewise.
13875         * stdio-common/printf_fp.c (outchar): Likewise.
13876         (PRINT): Likewise.
13877         * stdio-common/printf_fphex.c (outchar): Likewise.
13878         (PRINT): Likewise.
13879         * stdio-common/printf_size.c (outchar): Likewise.
13880         (PRINT): Likewise.
13881         * stdio-common/test_rdwr.c (main): Likewise.
13882         * stdio-common/tfformat.c (matches): Likewise.
13883         * stdio-common/vfprintf.c (outchar): Likewise.
13884         (printf_unknown): Likewise.
13885         (buffered_vfprintf): Likewise.
13886         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
13887         * stdio-common/xbug.c (AppendToBuffer): Likewise.
13888         (ReadFile): Likewise.
13889         * stdlib/qsort.c (SWAP): Likewise.
13890         (_quicksort): Likewise.
13891         * stdlib/setenv.c (__add_to_environ): Likewise.
13892         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
13893         * stdlib/strtol_l.c (__strtol_l): Likewise.
13894         * stdlib/tst-strtod.c (main): Likewise.
13895         * stdlib/tst-strtol.c (main): Likewise.
13896         * stdlib/tst-strtoll.c (main): Likewise.
13897         * string/bits/string2.h (__strcmp_cc): Likewise.
13898         (__strcmp_cg): Likewise.
13899         (__strcspn_c1): Likewise.
13900         (__strcspn_c2): Likewise.
13901         (__strcspn_c3): Likewise.
13902         (__strspn_c1): Likewise.
13903         (__strspn_c2): Likewise.
13904         (__strspn_c3): Likewise.
13905         (__strsep_1c): Likewise.
13906         (__strsep_2c): Likewise.
13907         (__strsep_3c): Likewise.
13908         * string/memccpy.c (__memccpy): Likewise.
13909         * string/stpcpy.c (__stpcpy): Likewise.
13910         * string/strcmp.c (strcmp): Likewise.
13911         * string/strrchr.c (strrchr): Likewise.
13912         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
13913         Likewise.
13914         * sysdeps/mach/hurd/getcwd.c
13915         (_hurd_canonicalize_directory_name_internal): Likewise.
13916         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
13917         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
13918         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
13919         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
13920         Likewise, in both definitions.
13921         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
13922         definitions.
13923         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
13924         64] (__bswap_64): Likewise.
13925         * time/test_time.c (main): Likewise.
13926         * time/tzfile.c (__tzfile_read): Likewise.
13927         (__tzfile_compute): Likewise.
13928         * time/tzset.c (__tzset_parse_tz): Likewise.
13929         (tzset_internal): Likewise.
13930         (compute_change): Likewise.
13931         * wcsmbs/wcscat.c (__wcscat): Likewise.
13932         * wcsmbs/wcschr.c (wcschr): Likewise.
13933         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
13934         * wcsmbs/wcscspn.c (wcscspn): Likewise.
13935         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
13936         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
13937         * wcsmbs/wcsspn.c (wcsspn): Likewise.
13938         * wcsmbs/wcsstr.c (wcsstr): Likewise.
13939         * wcsmbs/wmemchr.c (wmemchr): Likewise.
13940         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
13941         * wcsmbs/wmemset.c (wmemset): Likewise.
13942
13943 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
13944
13945         * scripts/config.guess: Update to version 2013-05-16.
13946         * scripts/config.sub: Update to version 2013-04-24.
13947         * scripts/install-sh: Update to version 2011-11-20.07.
13948         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
13949         * scripts/move-if-change: Update to version 2012-01-06 07:23.
13950
13951 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
13952
13953         * debug/fgetws_u_chk.c: Fix leading whitespaces.
13954         * elf/sln.c: Likewise.
13955         * hurd/hurd/ioctl.h: Likewise.
13956         * hurd/hurdmalloc.c: Likewise.
13957         * hurd/xattr.c: Likewise.
13958         * include/shlib-compat.h: Likewise.
13959         * inet/ruserpass.c: Likewise.
13960         * libio/iofgets_u.c: Likewise.
13961         * libio/iofgetws_u.c: Likewise.
13962         * locale/programs/ld-identification.c: Likewise.
13963         * locale/programs/ld-time.c: Likewise.
13964         * mach/msg-destroy.c: Likewise.
13965         * nss/nss_files/files-netgrp.c: Likewise.
13966         * resolv/res_data.c: Likewise.
13967         * soft-fp/op-1.h: Likewise.
13968         * soft-fp/op-2.h: Likewise.
13969         * soft-fp/op-4.h: Likewise.
13970         * soft-fp/op-common.h: Likewise.
13971         * stdio-common/printf_fphex.c: Likewise.
13972         * stdlib/strtod_l.c: Likewise.
13973         * sunrpc/rpc/clnt.h: Likewise.
13974         * sysdeps/generic/framestate.c: Likewise.
13975         * sysdeps/i386/bsd-_setjmp.S: Likewise.
13976         * sysdeps/i386/bsd-setjmp.S: Likewise.
13977         * sysdeps/i386/__longjmp.S: Likewise.
13978         * sysdeps/i386/setjmp.S: Likewise.
13979         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
13980         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
13981         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
13982         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
13983         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
13984         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
13985         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
13986         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
13987         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
13988         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13989         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
13990         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
13991         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
13992         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
13993         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
13994         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
13995         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
13996         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
13997         * sysdeps/ieee754/support.c: Likewise.
13998         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13999         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
14000         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
14001         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
14002         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
14003         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
14004         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
14005         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
14006         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
14007         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
14008         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
14009         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
14010         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
14011         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
14012         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
14013         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
14014         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
14015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
14016
14017 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
14018
14019         * posix/transbug.c: Remove executable mode.
14020
14021 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
14022
14023         * crypt/speeds.c: Remove trailing whitespace.
14024         * dlfcn/default.c: Likewise.
14025         * elf/ifuncdep2.c: Likewise.
14026         * elf/ifuncmain1.c: Likewise.
14027         * elf/ifuncmain1vis.c: Likewise.
14028         * elf/testobj.h: Likewise.
14029         * elf/tst-stackguard1.c: Likewise.
14030         * gmon/sys/gmon.h: Likewise.
14031         * hurd/hurdmsg.c: Likewise.
14032         * hurd/new-fd.c: Likewise.
14033         * hurd/ports-get.c: Likewise.
14034         * iconvdata/ibm1008_420.c: Likewise.
14035         * inet/tst-getni1.c: Likewise.
14036         * inet/tst-getni2.c: Likewise.
14037         * libio/ioungetc.c: Likewise.
14038         * libio/wfiledoalloc.c: Likewise.
14039         * manual/libm-err-tab.pl: Likewise.
14040         * math/w_dremf.c: Likewise.
14041         * misc/ftruncate.c: Likewise.
14042         * posix/bug-glob2.c: Likewise.
14043         * posix/tst-pcre.c: Likewise.
14044         * posix/wait4.c: Likewise.
14045         * resolv/README: Likewise.
14046         * resolv/res_debug.h: Likewise.
14047         * resolv/tst-inet_ntop.c: Likewise.
14048         * setjmp/bug269-setjmp.c: Likewise.
14049         * soft-fp/extended.h: Likewise.
14050         * soft-fp/op-1.h: Likewise.
14051         * soft-fp/op-2.h: Likewise.
14052         * soft-fp/op-4.h: Likewise.
14053         * soft-fp/op-8.h: Likewise.
14054         * soft-fp/testit.c: Likewise.
14055         * stdio-common/bug16.c: Likewise.
14056         * stdlib/random.c: Likewise.
14057         * sunrpc/rpcsvc/rquota.x: Likewise.
14058         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
14059         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
14060         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
14061         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
14062         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
14063         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
14064         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
14065         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
14066         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
14067         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
14068         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
14069         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14070         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14071         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14072         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14073         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14074         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14075         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
14076         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14077         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14078         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14079         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14080         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14081         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
14082         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
14083         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
14084         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
14085         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
14086         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
14087         * sysdeps/ieee754/s_lib_version.c: Likewise.
14088         * sysdeps/mach/hurd/check_fds.c: Likewise.
14089         * sysdeps/mach/hurd/getsockname.c: Likewise.
14090         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
14091         * sysdeps/mach/hurd/recvfrom.c: Likewise.
14092         * sysdeps/powerpc/bits/link.h: Likewise.
14093         * sysdeps/powerpc/dl-procinfo.c: Likewise.
14094         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
14095         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
14096         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
14097         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
14098         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
14099         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
14100         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
14101         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
14102         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
14103         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
14104         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
14105         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
14106         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
14107         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
14108         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
14109         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
14110         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
14111         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
14112         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
14113         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
14114         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
14115         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
14116         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
14117         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
14118         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
14119         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
14120         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
14121         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
14122         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
14123         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
14124         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
14125         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
14126         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
14127         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
14128         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
14129         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
14130         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
14131         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
14132         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
14133         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
14134         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
14135         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
14136         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
14137         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
14138         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
14139         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
14140         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
14141         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
14142         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
14143         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
14144         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
14145         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
14146         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
14147         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
14148         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
14149         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
14150         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
14151         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
14152         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
14153         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
14154         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
14155         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
14156         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
14157         * sysdeps/powerpc/sysdep.h: Likewise.
14158         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
14159         * sysdeps/s390/s390-64/sub_n.S: Likewise.
14160         * sysdeps/sh/dl-trampoline.S: Likewise.
14161         * sysdeps/sh/memset.S: Likewise.
14162         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
14163         * sysdeps/sh/strlen.S: Likewise.
14164         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
14165         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
14166         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
14167         * sysdeps/sparc/sparc32/rem.S: Likewise.
14168         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
14169         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
14170         * sysdeps/sparc/sparc32/strchr.S: Likewise.
14171         * sysdeps/sparc/sparc32/udiv.S: Likewise.
14172         * sysdeps/sparc/sparc32/urem.S: Likewise.
14173         * sysdeps/sparc/sparc64/add_n.S: Likewise.
14174         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
14175         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
14176         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
14177         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
14178         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
14179         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
14180         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
14181         * sysdeps/unix/bsd/times.c: Likewise.
14182         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
14183         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
14184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
14185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
14186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
14187         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
14188         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
14189         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
14190         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
14191         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
14192         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
14193         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
14194         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
14195         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
14196         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
14197         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
14198         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
14199         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
14200         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
14201         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
14202         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
14203         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
14204         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
14205         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
14206         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
14207         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
14208         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
14209         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
14210         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
14211         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
14212         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
14213         * sysdeps/x86_64/strcspn.S: Likewise.
14214
14215 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
14216
14217         * locale/C-translit.h: Revert #include <stdint.h> because this is a
14218         generated file.  Regenerate properly from gen-translit.pl.
14219         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
14220         locale/C-translit.h.
14221
14222 2013-06-05  Andreas Schwab  <schwab@suse.de>
14223
14224         [BZ #15100]
14225         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
14226         week as 6 instead of -1.
14227         * time/tst-strptime.c (day_tests): Add test case.
14228
14229 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
14230
14231         * sysdeps/generic/math_private.h
14232         (libc_feholdexcept_setround_53bit): Replace with
14233         libc_feholdsetround_53bit.
14234         (libc_feupdateenv_53bit): Replace with
14235         libc_feresetround_53bit.
14236         (SET_RESTORE_ROUND_53BIT): Adjust.
14237
14238 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14239
14240         * string/test-strchrnul.c: Add copyright header.
14241
14242         * posix/tst-getaddrinfo4.c: Increase test timeout.
14243
14244 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
14245
14246         [BZ #15536]
14247         * math/libm-test.inc (MAX_EXP): Remove
14248         (MIN_EXP): Define.
14249         (ulp): Use MIN_EXP - MANT_DIG.
14250         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
14251
14252 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
14253
14254         * po/be.po: Revert last change.
14255         * po/zh_CN.po: Likewise.
14256         * po/header.pot: Likewise.
14257
14258 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
14259
14260         * Makefile ($(common-objpfx)linkobj/libc.so): Define
14261         link-libc-deps to empty as target-specific variable.
14262         * Makerules (link-libc-args): New variable.
14263         (libc-for-link): Likewise.
14264         (link-libc-deps): Likewise.
14265         (lib%.so): Depend on $(link-libc-deps).  Link with
14266         $(link-libc-args).
14267         (build-module): Link with $(link-libc-args).
14268         (build-module-asneeded): Likewise.
14269         (build-module-helper-objlist): Filter out $(link-libc-deps) from
14270         list of objects.
14271         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
14272         target-specific variable.
14273         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
14274         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
14275         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
14276         libc.
14277         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
14278         libc and ld.so.
14279         ($(objpfx)libpcprofile.so): Likewise.
14280         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
14281         libc_nonshared.a.
14282         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
14283         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
14284         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
14285         $(link-libc-deps).
14286         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
14287         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
14288         * login/Makefile ($(objpfx)libutil.so): Likewise.
14289         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
14290         * math/Makefile ($(objpfx)libm.so): Likewise.
14291         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
14292         $(objpfx)libnsl.so): Define libc-for-link as target-specific
14293         variable instead of depending directly on libc.
14294         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
14295         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
14296         $(link-libc-deps).
14297         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
14298         libc.
14299         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
14300         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
14301         ($(objpfx)libanl.so): Likewise.
14302         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
14303         ld.so.
14304         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
14305         $(link-libc-deps).
14306         * sysdeps/i386/fpu/Makefile: Remove file.
14307         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
14308         ($(objpfx)libm.so): Remove dependency on ld.so.
14309
14310 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
14311
14312         [BZ # 15553]
14313         * nis/yp_xdr.c (XDRMAXNAME): Define.
14314         (XDRMAXRECORD): Define.
14315         (xdr_domainname): Use XDRMAXNAME.
14316         (xdr_mapname): Likewise.
14317         (xdr_peername): Likewise.
14318         (xdr_keydat): Use XDRMAXRECORD.
14319         (xdr_valdat): Likewise.
14320
14321 2013-05-30  Jeff Law  <law@redhat.com>
14322
14323         [BZ #14256]
14324         * manual/errno.texi (ESTALE): Update to account for more than
14325         just NFS file systems.
14326         * sysdeps/gnu/errlist.c: Regenerated.
14327
14328 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
14329
14330         [BZ #15465]
14331         * elf/Makefile (tests): Add tst-null-argv.
14332         (modules-names):  Add tst-null-argv-lib.
14333         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
14334         (tst-null-argv-ENV): Set environment for tst-null-argv.
14335         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
14336         (RTLD_PROGNAME): New macro.
14337         * elf/tst-null-argv.c: New test case.
14338         * elf/tst-null-argv-lib.c: Library for test case.
14339         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
14340         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
14341         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
14342         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
14343         * elf/dl-init.c (call_init): Likewise.
14344         (_dl_init): Likewise.
14345         * elf/dl-load.c (print_search_path): Likewise.
14346         (_dl_map_object): Likewise.
14347         * elf/dl-lookup.c (do_lookup_x): Likewise.
14348         (add_dependency): Likewise.
14349         (_dl_lookup_symbol_x): Likewise.
14350         (_dl_debug_bindings): Likewise.
14351         * elf/dl-open.c (_dl_show_scope): Likewise.
14352         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
14353         * elf/dl-version.c (match_symbol): Likewise.
14354         (_dl_check_map_versions): Likewise.
14355         * elf/rtld.c (dl_main): Likewise.
14356         (print_unresolved): Use RTLD_PROGNAME.
14357         (print_missing_version): Likewise.
14358         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
14359         (elf_machine_rela): Likewise.
14360         * sysdeps/powerpc/powerpc32/dl-machine.c
14361         (__process_machine_rela): Likewise.
14362         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
14363         Likewise.
14364         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
14365         Likewise.
14366         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
14367         Likewise.
14368         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
14369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
14370         Likewise.
14371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
14372         Likewise.
14373         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
14374
14375 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
14376
14377         * po/be.po: Add descriptive title.
14378         * po/zh_CN.po: Likewise.
14379         * po/header.pot: Likewise.
14380
14381 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
14382
14383         * locale/programs/locarchive.c (create_archive): Inlucde fname in
14384         error message.
14385         (enlarge_archive): Likewise.
14386
14387 2013-05-28  Ben North  <ben@redfrontdoor.org>
14388
14389         * manual/arith.texi (frexp): It is the magnitude of the return
14390         value which lies in [0.5, 1), not the return value itself.
14391
14392 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14393
14394         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14395
14396 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
14397
14398         * stdio-common/bug26.c (main): Correct fscanf template.
14399
14400         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
14401         declare _dl_skip_args.
14402
14403         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
14404         Don't declare.
14405
14406         * manual/platform.texi: Add missing @end deftypefun.
14407
14408 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14409
14410         [BZ #15529]
14411         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
14412         bit of mantissa of 2^16382.
14413         * math/libm-test.inc (hypot_test_data): Add more tests.
14414
14415         * math/libm-test.inc: Add drem and pow10 to list of tested
14416         functions.
14417         (pow10_test): New function.
14418         (drem_test): Likewise.
14419         (drem_test_tonearest): Likewise.
14420         (drem_test_towardzero): Likewise.
14421         (drem_test_downward): Likewise.
14422         (drem_test_upward): Likewise.
14423         (main): Call the new functions.
14424
14425         * math/libm-test.inc (finite_test_data): Remove.
14426         (finite_test): Run tests from isfinite_test_data.
14427         (gamma_test_data): Remove.
14428         (gamma_test): Run tests from lgamma_test_data.
14429         * sysdeps/i386/fpu/libm-test-ulps: Update.
14430         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14431
14432 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14433
14434         * manual/platform.texi: Add PowerPC PPR function set documentation.
14435         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
14436         implementation.
14437
14438 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
14439
14440         * math/libm-test.inc (MAX_EXP): Define.
14441         (ULPDIFF): Define.
14442         (ulp): New function.
14443         (check_float_internal): Use ULPDIFF.
14444         (cpow_test): Disable failing test.
14445         (check_ulp): Test ulp() implemetnation.
14446         (main): Call check_ulp before starting tests.
14447
14448 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
14449
14450         * math/gen-libm-test.pl (generate_testfile): Do not handle
14451         START_DATA and END_DATA.
14452         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
14453         END_DATA.
14454         (acos_tonearest_test_data): Likewise.
14455         (acos_towardzero_test_data): Likewise.
14456         (acos_downward_test_data): Likewise.
14457         (acos_upward_test_data): Likewise.
14458         (acosh_test_data): Likewise.
14459         (asin_test_data): Likewise.
14460         (asin_tonearest_test_data): Likewise.
14461         (asin_towardzero_test_data): Likewise.
14462         (asin_downward_test_data): Likewise.
14463         (asin_upward_test_data): Likewise.
14464         (asinh_test_data): Likewise.
14465         (atan_test_data): Likewise.
14466         (atanh_test_data): Likewise.
14467         (atan2_test_data): Likewise.
14468         (cabs_test_data): Likewise.
14469         (cacos_test_data): Likewise.
14470         (cacosh_test_data): Likewise.
14471         (carg_test_data): Likewise.
14472         (casin_test_data): Likewise.
14473         (casinh_test_data): Likewise.
14474         (catan_test_data): Likewise.
14475         (catanh_test_data): Likewise.
14476         (cbrt_test_data): Likewise.
14477         (ccos_test_data): Likewise.
14478         (ccosh_test_data): Likewise.
14479         (ceil_test_data): Likewise.
14480         (cexp_test_data): Likewise.
14481         (cimag_test_data): Likewise.
14482         (clog_test_data): Likewise.
14483         (clog10_test_data): Likewise.
14484         (conj_test_data): Likewise.
14485         (copysign_test_data): Likewise.
14486         (cos_test_data): Likewise.
14487         (cos_tonearest_test_data): Likewise.
14488         (cos_towardzero_test_data): Likewise.
14489         (cos_downward_test_data): Likewise.
14490         (cos_upward_test_data): Likewise.
14491         (cosh_test_data): Likewise.
14492         (cosh_tonearest_test_data): Likewise.
14493         (cosh_towardzero_test_data): Likewise.
14494         (cosh_downward_test_data): Likewise.
14495         (cosh_upward_test_data): Likewise.
14496         (cpow_test_data): Likewise.
14497         (cproj_test_data): Likewise.
14498         (creal_test_data): Likewise.
14499         (csin_test_data): Likewise.
14500         (csinh_test_data): Likewise.
14501         (csqrt_test_data): Likewise.
14502         (ctan_test_data): Likewise.
14503         (ctan_tonearest_test_data): Likewise.
14504         (ctan_towardzero_test_data): Likewise.
14505         (ctan_downward_test_data): Likewise.
14506         (ctan_upward_test_data): Likewise.
14507         (ctanh_test_data): Likewise.
14508         (ctanh_tonearest_test_data): Likewise.
14509         (ctanh_towardzero_test_data): Likewise.
14510         (ctanh_downward_test_data): Likewise.
14511         (ctanh_upward_test_data): Likewise.
14512         (erf_test_data): Likewise.
14513         (erfc_test_data): Likewise.
14514         (exp_test_data): Likewise.
14515         (exp_tonearest_test_data): Likewise.
14516         (exp_towardzero_test_data): Likewise.
14517         (exp_downward_test_data): Likewise.
14518         (exp_upward_test_data): Likewise.
14519         (exp10_test_data): Likewise.
14520         (exp2_test_data): Likewise.
14521         (expm1_test_data): Likewise.
14522         (fabs_test_data): Likewise.
14523         (fdim_test_data): Likewise.
14524         (finite_test_data): Likewise.
14525         (floor_test_data): Likewise.
14526         (fma_test_data): Likewise.
14527         (fma_towardzero_test_data): Likewise.
14528         (fma_downward_test_data): Likewise.
14529         (fma_upward_test_data): Likewise.
14530         (fmax_test_data): Likewise.
14531         (fmin_test_data): Likewise.
14532         (fmod_test_data): Likewise.
14533         (fpclassify_test_data): Likewise.
14534         (frexp_test_data): Likewise.
14535         (gamma_test_data): Likewise.
14536         (hypot_test_data): Likewise.
14537         (ilogb_test_data): Likewise.
14538         (isfinite_test_data): Likewise.
14539         (isgreater_test_data): Likewise.
14540         (isgreaterequal_test_data): Likewise.
14541         (isinf_test_data): Likewise.
14542         (isless_test_data): Likewise.
14543         (islessequal_test_data): Likewise.
14544         (islessgreater_test_data): Likewise.
14545         (isnan_test_data): Likewise.
14546         (isnormal_test_data): Likewise.
14547         (issignaling_test_data): Likewise.
14548         (isunordered_test_data): Likewise.
14549         (j0_test_data): Likewise.
14550         (j1_test_data): Likewise.
14551         (jn_test_data): Likewise.
14552         (ldexp_test_data): Likewise.
14553         (lgamma_test_data): Likewise.
14554         (lrint_test_data): Likewise.
14555         (lrint_tonearest_test_data): Likewise.
14556         (lrint_towardzero_test_data): Likewise.
14557         (lrint_downward_test_data): Likewise.
14558         (lrint_upward_test_data): Likewise.
14559         (llrint_test_data): Likewise.
14560         (llrint_tonearest_test_data): Likewise.
14561         (llrint_towardzero_test_data): Likewise.
14562         (llrint_downward_test_data): Likewise.
14563         (llrint_upward_test_data): Likewise.
14564         (log_test_data): Likewise.
14565         (log10_test_data): Likewise.
14566         (log1p_test_data): Likewise.
14567         (log2_test_data): Likewise.
14568         (logb_test_data): Likewise.
14569         (logb_downward_test_data): Likewise.
14570         (lround_test_data): Likewise.
14571         (llround_test_data): Likewise.
14572         (modf_test_data): Likewise.
14573         (nearbyint_test_data): Likewise.
14574         (nextafter_test_data): Likewise.
14575         (nexttoward_test_data): Likewise.
14576         (pow_test_data): Likewise.
14577         (pow_tonearest_test_data): Likewise.
14578         (pow_towardzero_test_data): Likewise.
14579         (pow_downward_test_data): Likewise.
14580         (pow_upward_test_data): Likewise.
14581         (remainder_test_data): Likewise.
14582         (remainder_tonearest_test_data): Likewise.
14583         (remainder_towardzero_test_data): Likewise.
14584         (remainder_downward_test_data): Likewise.
14585         (remainder_upward_test_data): Likewise.
14586         (remquo_test_data): Likewise.
14587         (rint_test_data): Likewise.
14588         (rint_tonearest_test_data): Likewise.
14589         (rint_towardzero_test_data): Likewise.
14590         (rint_downward_test_data): Likewise.
14591         (rint_upward_test_data): Likewise.
14592         (round_test_data): Likewise.
14593         (scalb_test_data): Likewise.
14594         (scalbn_test_data): Likewise.
14595         (scalbln_test_data): Likewise.
14596         (signbit_test_data): Likewise.
14597         (sin_test_data): Likewise.
14598         (sin_tonearest_test_data): Likewise.
14599         (sin_towardzero_test_data): Likewise.
14600         (sin_downward_test_data): Likewise.
14601         (sin_upward_test_data): Likewise.
14602         (sincos_test_data): Likewise.
14603         (sinh_test_data): Likewise.
14604         (sinh_tonearest_test_data): Likewise.
14605         (sinh_towardzero_test_data): Likewise.
14606         (sinh_downward_test_data): Likewise.
14607         (sinh_upward_test_data): Likewise.
14608         (sqrt_test_data): Likewise.
14609         (tan_test_data): Likewise.
14610         (tan_tonearest_test_data): Likewise.
14611         (tan_towardzero_test_data): Likewise.
14612         (tan_downward_test_data): Likewise.
14613         (tan_upward_test_data): Likewise.
14614         (tanh_test_data): Likewise.
14615         (tgamma_test_data): Likewise.
14616         (trunc_test_data): Likewise.
14617         (y0_test_data): Likewise.
14618         (y1_test_data): Likewise.
14619         (yn_test_data): Likewise.
14620         (significand_test_data): Likewise.
14621
14622         * math/gen-libm-test.pl (@functions): Remove variable.
14623         (generate_testfile): Don't handle START and END lines.
14624         * math/libm-test.inc (START): New macro.
14625         (END): Likewise.
14626         (END_COMPLEX): Likewise.
14627         (acos_test): Use END macro without arguments.
14628         (acos_test_tonearest): Likewise.
14629         (acos_test_towardzero): Likewise.
14630         (acos_test_downward): Likewise.
14631         (acos_test_upward): Likewise.
14632         (acosh_test): Likewise.
14633         (asin_test): Likewise.
14634         (asin_test_tonearest): Likewise.
14635         (asin_test_towardzero): Likewise.
14636         (asin_test_downward): Likewise.
14637         (asin_test_upward): Likewise.
14638         (asinh_test): Likewise.
14639         (atan_test): Likewise.
14640         (atanh_test): Likewise.
14641         (atan2_test): Likewise.
14642         (cabs_test): Likewise.
14643         (cacos_test): Use END_COMPLEX macro without arguments.
14644         (cacosh_test): Likewise.
14645         (carg_test): Use END macro without arguments.
14646         (casin_test): Use END_COMPLEX macro without arguments.
14647         (casinh_test): Likewise.
14648         (catan_test): Likewise.
14649         (catanh_test): Likewise.
14650         (cbrt_test): Use END macro without arguments.
14651         (ccos_test): Use END_COMPLEX macro without arguments.
14652         (ccosh_test): Likewise.
14653         (ceil_test): Use END macro without arguments.
14654         (cexp_test): Use END_COMPLEX macro without arguments.
14655         (cimag_test): Use END macro without arguments.
14656         (clog_test): Use END_COMPLEX macro without arguments.
14657         (clog10_test): Likewise.
14658         (conj_test): Likewise.
14659         (copysign_test): Use END macro without arguments.
14660         (cos_test): Likewise.
14661         (cos_test_tonearest): Likewise.
14662         (cos_test_towardzero): Likewise.
14663         (cos_test_downward): Likewise.
14664         (cos_test_upward): Likewise.
14665         (cosh_test): Likewise.
14666         (cosh_test_tonearest): Likewise.
14667         (cosh_test_towardzero): Likewise.
14668         (cosh_test_downward): Likewise.
14669         (cosh_test_upward): Likewise.
14670         (cpow_test): Use END_COMPLEX macro without arguments.
14671         (cproj_test): Likewise.
14672         (creal_test): Use END macro without arguments.
14673         (csin_test): Use END_COMPLEX macro without arguments.
14674         (csinh_test): Likewise.
14675         (csqrt_test): Likewise.
14676         (ctan_test): Likewise.
14677         (ctan_test_tonearest): Likewise.
14678         (ctan_test_towardzero): Likewise.
14679         (ctan_test_downward): Likewise.
14680         (ctan_test_upward): Likewise.
14681         (ctanh_test): Likewise.
14682         (ctanh_test_tonearest): Likewise.
14683         (ctanh_test_towardzero): Likewise.
14684         (ctanh_test_downward): Likewise.
14685         (ctanh_test_upward): Likewise.
14686         (erf_test): Use END macro without arguments.
14687         (erfc_test): Likewise.
14688         (exp_test): Likewise.
14689         (exp_test_tonearest): Likewise.
14690         (exp_test_towardzero): Likewise.
14691         (exp_test_downward): Likewise.
14692         (exp_test_upward): Likewise.
14693         (exp10_test): Likewise.
14694         (exp2_test): Likewise.
14695         (expm1_test): Likewise.
14696         (fabs_test): Likewise.
14697         (fdim_test): Likewise.
14698         (finite_test): Likewise.
14699         (floor_test): Likewise.
14700         (fma_test): Likewise.
14701         (fma_test_towardzero): Likewise.
14702         (fma_test_downward): Likewise.
14703         (fma_test_upward): Likewise.
14704         (fmax_test): Likewise.
14705         (fmin_test): Likewise.
14706         (fmod_test): Likewise.
14707         (fpclassify_test): Likewise.
14708         (frexp_test): Likewise.
14709         (gamma_test): Likewise.
14710         (hypot_test): Likewise.
14711         (ilogb_test): Likewise.
14712         (isfinite_test): Likewise.
14713         (isgreater_test): Likewise.
14714         (isgreaterequal_test): Likewise.
14715         (isinf_test): Likewise.
14716         (isless_test): Likewise.
14717         (islessequal_test): Likewise.
14718         (islessgreater_test): Likewise.
14719         (isnan_test): Likewise.
14720         (isnormal_test): Likewise.
14721         (issignaling_test): Likewise.
14722         (isunordered_test): Likewise.
14723         (j0_test): Likewise.
14724         (j1_test): Likewise.
14725         (jn_test): Likewise.
14726         (ldexp_test): Likewise.
14727         (lgamma_test): Likewise.
14728         (lrint_test): Likewise.
14729         (lrint_test_tonearest): Likewise.
14730         (lrint_test_towardzero): Likewise.
14731         (lrint_test_downward): Likewise.
14732         (lrint_test_upward): Likewise.
14733         (llrint_test): Likewise.
14734         (llrint_test_tonearest): Likewise.
14735         (llrint_test_towardzero): Likewise.
14736         (llrint_test_downward): Likewise.
14737         (llrint_test_upward): Likewise.
14738         (log_test): Likewise.
14739         (log10_test): Likewise.
14740         (log1p_test): Likewise.
14741         (log2_test): Likewise.
14742         (logb_test): Likewise.
14743         (logb_test_downward): Likewise.
14744         (lround_test): Likewise.
14745         (llround_test): Likewise.
14746         (modf_test): Likewise.
14747         (nearbyint_test): Likewise.
14748         (nextafter_test): Likewise.
14749         (nexttoward_test): Likewise.
14750         (pow_test): Likewise.
14751         (pow_test_tonearest): Likewise.
14752         (pow_test_towardzero): Likewise.
14753         (pow_test_downward): Likewise.
14754         (pow_test_upward): Likewise.
14755         (remainder_test): Likewise.
14756         (remainder_test_tonearest): Likewise.
14757         (remainder_test_towardzero): Likewise.
14758         (remainder_test_downward): Likewise.
14759         (remainder_test_upward): Likewise.
14760         (remquo_test): Likewise.
14761         (rint_test): Likewise.
14762         (rint_test_tonearest): Likewise.
14763         (rint_test_towardzero): Likewise.
14764         (rint_test_downward): Likewise.
14765         (rint_test_upward): Likewise.
14766         (round_test): Likewise.
14767         (scalb_test): Likewise.
14768         (scalbn_test): Likewise.
14769         (scalbln_test): Likewise.
14770         (signbit_test): Likewise.
14771         (sin_test): Likewise.
14772         (sin_test_tonearest): Likewise.
14773         (sin_test_towardzero): Likewise.
14774         (sin_test_downward): Likewise.
14775         (sin_test_upward): Likewise.
14776         (sincos_test): Likewise.
14777         (sinh_test): Likewise.
14778         (sinh_test_tonearest): Likewise.
14779         (sinh_test_towardzero): Likewise.
14780         (sinh_test_downward): Likewise.
14781         (sinh_test_upward): Likewise.
14782         (sqrt_test): Likewise.
14783         (tan_test): Likewise.
14784         (tan_test_tonearest): Likewise.
14785         (tan_test_towardzero): Likewise.
14786         (tan_test_downward): Likewise.
14787         (tan_test_upward): Likewise.
14788         (tanh_test): Likewise.
14789         (tgamma_test): Likewise.
14790         (trunc_test): Likewise.
14791         (y0_test): Likewise.
14792         (y1_test): Likewise.
14793         (yn_test): Likewise.
14794         (significand_test): Likewise.
14795
14796 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
14797
14798         [BZ #15381]
14799         * libio/genops.c (_IO_no_init): Initialize wide struct info.
14800
14801 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
14802
14803         [BZ #14894]
14804         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
14805         __ppc_mdoio and __ppc_mdoom.
14806         * manual/platform.texi: Document new functions __ppc_yield,
14807         __ppc_mdoio and __ppc_mdoom.
14808
14809 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
14810
14811         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
14812         (main): Mention "tls" pseudo-hwcap is legacy.
14813         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
14814
14815 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14816
14817         * math/gen-libm-test.pl (parse_args): Output only string of
14818         arguments as text for test name, not full call or descriptions of
14819         tests for extra outputs.
14820         (generate_testfile): Do not pass function name to parse_args.
14821         Generate this_func variable from START.
14822         * math/libm-test.inc (struct test_f_f_data): Rename test_name
14823         field to arg_str.
14824         (struct test_ff_f_data): Likewise.
14825         (test_ff_f_data_nexttoward): Likewise.
14826         (struct test_fi_f_data): Likewise.
14827         (struct test_fl_f_data): Likewise.
14828         (struct test_if_f_data): Likewise.
14829         (struct test_fff_f_data): Likewise.
14830         (struct test_c_f_data): Likewise.
14831         (struct test_f_f1_data): Likewise.  Remove field extra_name.
14832         (struct test_fF_f1_data): Likewise.
14833         (struct test_ffI_f1_data): Likewise.
14834         (struct test_c_c_data): Rename test_name field to arg_str.
14835         (struct test_cc_c_data): Likewise.
14836         (struct test_f_i_data): Likewise.
14837         (struct test_ff_i_data): Likewise.
14838         (struct test_f_l_data): Likewise.
14839         (struct test_f_L_data): Likewise.
14840         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
14841         and extra2_name.
14842         (COMMON_TEST_SETUP): New macro.
14843         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
14844         (COMMON_TEST_CLEANUP): Likewise.
14845         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
14846         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
14847         macros.
14848         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
14849         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
14850         macros.
14851         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
14852         (RUN_TEST_fff_f): Take argument string.  Call new setup and
14853         cleanup macros.
14854         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
14855         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
14856         macros.
14857         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
14858         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
14859         macros.
14860         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
14861         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
14862         cleanup macros.
14863         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
14864         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
14865         cleanup macros.
14866         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
14867         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
14868         cleanup macros.
14869         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
14870         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
14871         macros.
14872         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
14873         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
14874         macros.
14875         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
14876         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
14877         macros.
14878         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
14879         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
14880         cleanup macros.
14881         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
14882         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
14883         cleanup macros.
14884         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
14885         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
14886         macros.
14887         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
14888         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
14889         cleanup macros.
14890         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
14891         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
14892         macros.
14893         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
14894         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
14895         macros.
14896         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
14897         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
14898         cleanup macros.
14899         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
14900
14901 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
14902
14903         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
14904         to _sifields.sigfault.
14905         (si_addr_lsb): Define new macro.
14906         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
14907         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
14908         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
14909
14910 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
14911
14912         [BZ #15441]
14913         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
14914         returns -1.
14915         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
14916         null return -1.
14917         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
14918         loading the domain.
14919
14920 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
14921
14922         * math/gen-libm-test.pl (parse_args): Do not include expected
14923         result in test name.
14924         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
14925         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14926         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14927         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
14928         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14929         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14930
14931 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
14932
14933         * benchtests/Makefile: Sort function entries.
14934
14935         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
14936         tanh, asinh, acosh, atanh.
14937         * benchtests/acos-inputs: New file.
14938         * benchtests/acosh-inputs: New file.
14939         * benchtests/asin-inputs: New file.
14940         * benchtests/asinh-inputs: New file.
14941         * benchtests/atanh-inputs: New file.
14942         * benchtests/cosh-inputs: New file.
14943         * benchtests/log-inputs: New file.
14944         * benchtests/sinh-inputs: New file.
14945         * benchtests/tanh-inputs: New file.
14946
14947 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
14948
14949         [BZ #15339]
14950         * posix/tst-getaddrinfo4.c: New test.
14951         * posix/Makefile (tests): Add it.
14952
14953 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14954
14955         [BZ #15339]
14956         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
14957         when no services were used.
14958         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
14959         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
14960
14961 2013-05-21  Andreas Schwab  <schwab@suse.de>
14962
14963         [BZ #15014]
14964         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
14965         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
14966         successful.
14967         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
14968         redundant variable declarations and reallocation of buffer when
14969         parsing as IPv6 address.  Always set NSS status when called from
14970         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
14971         buffer too small.  Correct computation of needed size.
14972         * nss/Makefile (tests): Add test-digits-dots.
14973         * nss/test-digits-dots.c: New test.
14974
14975 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14976
14977         * benchtests/Makefile: Remove instructions for adding
14978         benchmark tests.
14979         * benchtests/README: New file to explain how to execute and
14980         enhance the benchmark tests.
14981
14982 2013-05-21  Andreas Schwab  <schwab@suse.de>
14983
14984         [BZ #15493]
14985         * setjmp/Makefile (tests): Add tst-sigsetjmp.
14986         * setjmp/tst-sigsetjmp.c: New test.
14987
14988 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14989
14990         * sysdeps/x86_64/memset.S (memset): New implementation.
14991         (__bzero): Likewise.
14992         (__memset_tail): New function.
14993
14994 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
14995
14996         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
14997         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
14998         __memcpy_sse2_unaligned ifunc selection.
14999         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
15000         Add memcpy-sse2-unaligned.S.
15001         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
15002         Add: __memcpy_sse2_unaligned.
15003
15004 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
15005
15006         [BZ #15490]
15007         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
15008         math_force_eval before restoring floating-point envrionment.
15009         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
15010         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
15011         Likewise.
15012         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
15013         <math_private.h>.
15014         (__nearbyintl): Use math_force_eval before restoring
15015         floating-point environment.
15016         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
15017
15018         * math/gen-libm-test.pl (special_functions): Remove.
15019         (parse_args): Don't handle TEST_extra.  Handle functions with no
15020         return value.
15021         * math/libm-test.inc (struct test_sincos_data): Replace with
15022         struct test_fFF_11_data.
15023         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
15024         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
15025         (sincos_test_data): Change element type to struct
15026         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
15027         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
15028         RUN_TEST_LOOP_sincos.
15029         * math/README.libm-test: Don't mention special handling of
15030         individual functions.
15031         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
15032         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
15033         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
15034         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
15035         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
15036         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15037
15038         * math/gen-libm-test.pl (get_variable): Remove function.
15039         (parse_args): Don't show pointer parameters to call in test
15040         names.  Use "extra output N" in test names for extra outputs
15041         rather than naming variables.
15042
15043 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
15044
15045         [BZ #15488]
15046         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
15047         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
15048         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
15049         double tests.
15050         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
15051         disable.
15052         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
15053         check_long_double.
15054
15055         * math/gen-libm-test.pl (@tests): Remove variable.
15056         ($count): Likewise.
15057         (new_test): Remove function.
15058         (show_exceptions): New function.
15059         (special_functions): Use show_exceptions instead of new_test.
15060         (parse_args): Likewise.
15061         (generate_testfile): Pass only function name in generated call to
15062         print_max_error or print_complex_max_error.
15063         (get_ulps): Do not handle complex tests specially.
15064         (output_test): Rename to ...
15065         (get_all_ulps_for_test): ... this.  Return a string rather than
15066         printing to a file.  Require ulps to be present.
15067         (output_ulps): Generate arrays rather than #defines.
15068         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
15069         (struct ulp_data): New type.
15070         (BUILD_COMPLEX_ULP): Remove macro.
15071         (compare_ulp_data): New function.
15072         (find_ulps): Likewise.
15073         (find_test_ulps): Likewise.
15074         (find_function_ulps): Likewise.
15075         (find_complex_function_ulps): Likewise.
15076         (print_max_error): Determine allowed ulps using
15077         find_function_ulps.
15078         (print_complex_max_error): Determine allowed ulps using
15079         find_complex_function_ulps.
15080         (check_float_internal): Determine max ulps using find_test_ulps.
15081         (check_float): Do not take max_ulp parameter.  Update call to
15082         check_float_internal.
15083         (check_complex): Likewise.
15084         (check_int): Do not take max_ulp parameter.
15085         (check_long): Likewise.
15086         (check_bool): Likewise.
15087         (check_longlong): Likewise.
15088         (struct test_f_f_data): Remove max_ulp field.
15089         (struct test_ff_f_data): Likewise.
15090         (struct test_ff_f_data_nexttoward): Likewise.
15091         (struct test_fi_f_data): Likewise.
15092         (struct test_fl_f_data): Likewise.
15093         (struct test_if_f_data): Likewise.
15094         (struct test_fff_f_data): Likewise.
15095         (struct test_c_f_data): Likewise.
15096         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
15097         (struct test_fF_f1_data): Likewise.
15098         (struct test_ffI_f1_data): Likewise.
15099         (struct test_c_c_data): Remove max_ulp field.
15100         (struct test_cc_c_data): Likewise.
15101         (struct test_f_i_data): Likewise.
15102         (struct test_ff_i_data): Likewise.
15103         (struct test_f_l_data): Likewise.
15104         (struct test_f_L_data): Likewise.
15105         (struct test_sincos_data): Likewise.
15106         (RUN_TEST_f_f): Do not handle ulps.
15107         (RUN_TEST_LOOP_f_f): Likewise.
15108         (RUN_TEST_2_f): Likewise.
15109         (RUN_TEST_LOOP_2_f): Likewise.
15110         (RUN_TEST_fff_f): Likewise.
15111         (RUN_TEST_LOOP_fff_f): Likewise.
15112         (RUN_TEST_c_f): Likewise.
15113         (RUN_TEST_LOOP_c_f): Likewise.
15114         (RUN_TEST_f_f1): Likewise.
15115         (RUN_TEST_LOOP_f_f1): Likewise.
15116         (RUN_TEST_fF_f1): Likewise.
15117         (RUN_TEST_LOOP_fF_f1): Likewise.
15118         (RUN_TEST_fI_f1): Likewise.
15119         (RUN_TEST_LOOP_fI_f1): Likewise.
15120         (RUN_TEST_ffI_f1): Likewise.
15121         (RUN_TEST_LOOP_ffI_f1): Likewise.
15122         (RUN_TEST_c_c): Likewise.
15123         (RUN_TEST_LOOP_c_c): Likewise.
15124         (RUN_TEST_cc_c): Likewise.
15125         (RUN_TEST_LOOP_cc_c): Likewise.
15126         (RUN_TEST_f_i): Likewise.
15127         (RUN_TEST_LOOP_f_i): Likewise.
15128         (RUN_TEST_f_i_tg): Likewise.
15129         (RUN_TEST_LOOP_f_i_tg): Likewise.
15130         (RUN_TEST_ff_i_tg): Likewise.
15131         (RUN_TEST_LOOP_ff_i_tg): Likewise.
15132         (RUN_TEST_f_b): Likewise.
15133         (RUN_TEST_LOOP_f_b): Likewise.
15134         (RUN_TEST_f_b_tg): Likewise.
15135         (RUN_TEST_LOOP_f_b_tg): Likewise.
15136         (RUN_TEST_f_l): Likewise.
15137         (RUN_TEST_LOOP_f_l): Likewise.
15138         (RUN_TEST_f_L): Likewise.
15139         (RUN_TEST_LOOP_f_L): Likewise.
15140         (RUN_TEST_sincos): Likewise.
15141         (RUN_TEST_LOOP_sincos): Likewise.
15142
15143 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
15144
15145         [BZ #15480]
15146         [BZ #15485]
15147         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
15148         main case of finite arguments, set rounding mode to FE_TONEAREST
15149         and discard exceptions.
15150         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
15151         exceptions.
15152         (remainder_tonearest_test_data): New variable.
15153         (remainder_test_tonearest): New function.
15154         (remainder_towardzero_test_data): New variable.
15155         (remainder_test_towardzero): New function.
15156         (remainder_downward_test_data): New variable.
15157         (remainder_test_downward): New function.
15158         (remainder_upward_test_data): New variable.
15159         (remainder_test_upward): New function.
15160         (main): Call the new test functions.
15161
15162         * math/libm-test.inc (struct test_f_f1_data): Remove field
15163         extra_init.
15164         (struct test_fF_f1_data): Likewise.
15165         (struct test_ffI_f1_data): Likewise.
15166         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
15167         based on value of EXTRA_EXPECTED.
15168         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
15169         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
15170         EXTRA_VAR based on value of EXTRA_EXPECTED.
15171         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
15172         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
15173         EXTRA_VAR based on value of EXTRA_EXPECTED.
15174         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
15175         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
15176         EXTRA_VAR based on value of EXTRA_EXPECTED.
15177         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
15178         * math/gen-libm-test.pl (parse_args): Don't output initializers
15179         for extra output values.
15180
15181         * math/libm-test.inc (check_int): Expect result to be exactly
15182         equal to expected value and do not handle ulps.
15183         (check_long): Likewise.
15184         (check_longlong): Likewise.
15185
15186         * math/libm-test.inc (ceil_test_data): Test for "inexact"
15187         exceptions.
15188         (cimag_test_data): Likewise.
15189         (conj_test_data): Likewise.
15190         (copysign_test_data): Likewise.
15191         (cproj_test_data): Likewise.
15192         (creal_test_data): Likewise.
15193         (fabs_test_data): Likewise.
15194         (fdim_test_data): Likewise.
15195         (finite_test_data): Likewise.
15196         (floor_test_data): Likewise.
15197         (fmax_test_data): Likewise.
15198         (fmin_test_data): Likewise.
15199         (fmod_test_data): Likewise.
15200         (fpclassify_test_data): Likewise.
15201         (frexp_test_data): Likewise.
15202         (ilogb_test_data): Likewise.
15203         (isfinite_test_data): Likewise.
15204         (isgreater_test_data): Likewise.
15205         (isgreaterequal_test_data): Likewise.
15206         (isinf_test_data): Likewise.
15207         (isless_test_data): Likewise.
15208         (islessequal_test_data): Likewise.
15209         (islessgreater_test_data): Likewise.
15210         (isnan_test_data): Likewise.
15211         (isnormal_test_data): Likewise.
15212         (issignaling_test_data): Likewise.
15213         (isunordered_test_data): Likewise.
15214         (ldexp_test_data): Likewise.
15215         (lrint_test_data): Likewise.
15216         (lrint_test_data) [TEST_FLOAT]: Disable one test.
15217         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
15218         (lrint_tonearest_test_data): Test for "inexact" exceptions.
15219         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15220         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
15221         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15222         test input.
15223         (lrint_towardzero_test_data): Test for "inexact" exceptions.
15224         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15225         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
15226         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
15227         that test input.
15228         (lrint_downward_test_data): Test for "inexact" exceptions.
15229         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15230         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
15231         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
15232         test input.
15233         (lrint_upward_test_data): Test for "inexact" exceptions.
15234         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
15235         test input.
15236         (llrint_test_data): Test for "inexact" exceptions.
15237         (llrint_test_data) [TEST_FLOAT]: Disable one test.
15238         (llrint_tonearest_test_data): Test for "inexact" exceptions.
15239         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
15240         (llrint_towardzero_test_data): Test for "inexact" exceptions.
15241         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
15242         (llrint_downward_test_data): Test for "inexact" exceptions.
15243         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
15244         (llrint_upward_test_data): Test for "inexact" exceptions.
15245         (logb_test_data): Likewise.
15246         (logb_downward_test_data): Likewise.
15247         (nextafter_test_data): Likewise.
15248         (nexttoward_test_data): Likewise.
15249         (remainder_test_data): Likewise.
15250         (remquo_test_data): Likewise.
15251         (scalbn_test_data): Likewise.
15252         (scalbln_test_data): Likewise.
15253         (signbit_test_data): Likewise.
15254         (sqrt_test_data): Likewise.
15255         (significand_test_data): Likewise.
15256
15257 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
15258
15259         [BZ #15424]
15260         * benchtests/bench-modf.c (struct args): Mark arg0 as
15261         volatile.
15262         * scripts/bench.pl: Mark members of struct args as volatile.
15263
15264 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15265
15266         [BZ # 15497]
15267         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
15268         negative infinity on POWER6 or lower.
15269         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
15270
15271 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
15272
15273         [BZ #15442]
15274         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
15275         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
15276         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
15277         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
15278         (_FP_SETQNAN): New macro.
15279         (_FP_SETQNAN_SEMIRAW): Likewise.
15280         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
15281         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
15282         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
15283         (FP_EXTEND): Use _FP_FRAC_SNANP.
15284         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
15285         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
15286         into account.
15287         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15288         New macro.
15289         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
15290         Likewise.
15291
15292 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15293
15294         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
15295         with DIVIDE_BY_ZERO_EXCEPTION.
15296         (gamma_test_data): Likewise.
15297         (lgamma_test_data): Likewise.
15298         (log_test_data): Likewise.
15299         (log10_test_data): Likewise.
15300         (log2_test_data): Likewise.
15301         (tgamma_test_data): Likewise.
15302
15303         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
15304         (acos_test_tonearest): Likewise.
15305         (acos_test_towardzero): Likewise.
15306         (acos_test_downward): Likewise.
15307         (acos_test_upward): Likewise.
15308         (acosh_test): Likewise.
15309         (asin_test): Likewise.
15310         (asin_test_tonearest): Likewise.
15311         (asin_test_towardzero): Likewise.
15312         (asin_test_downward): Likewise.
15313         (asin_test_upward): Likewise.
15314         (asinh_test): Likewise.
15315         (atan_test): Likewise.
15316         (atanh_test): Likewise.
15317         (atan2_test): Likewise.
15318         (cabs_test): Likewise.
15319         (cacos_test): Likewise.
15320         (cacosh_test): Likewise.
15321         (casin_test): Likewise.
15322         (casinh_test): Likewise.
15323         (catan_test): Likewise.
15324         (catanh_test): Likewise.
15325         (cbrt_test): Likewise.
15326         (ccos_test): Likewise.
15327         (ccosh_test): Likewise.
15328         (cexp_test): Likewise.
15329         (clog_test): Likewise.
15330         (clog10_test): Likewise.
15331         (cos_test): Likewise.
15332         (cos_test_tonearest): Likewise.
15333         (cos_test_towardzero): Likewise.
15334         (cos_test_downward): Likewise.
15335         (cos_test_upward): Likewise.
15336         (cosh_test): Likewise.
15337         (cosh_test_tonearest): Likewise.
15338         (cosh_test_towardzero): Likewise.
15339         (cosh_test_downward): Likewise.
15340         (cosh_test_upward): Likewise.
15341         (cpow_test): Likewise.
15342         (csin_test): Likewise.
15343         (csinh_test): Likewise.
15344         (csqrt_test): Likewise.
15345         (ctan_test): Likewise.
15346         (ctan_test_tonearest): Likewise.
15347         (ctan_test_towardzero): Likewise.
15348         (ctan_test_downward): Likewise.
15349         (ctan_test_upward): Likewise.
15350         (ctanh_test): Likewise.
15351         (ctanh_test_tonearest): Likewise.
15352         (ctanh_test_towardzero): Likewise.
15353         (ctanh_test_downward): Likewise.
15354         (ctanh_test_upward): Likewise.
15355         (erf_test): Likewise.
15356         (erfc_test): Likewise.
15357         (exp_test): Likewise.
15358         (exp_test_tonearest): Likewise.
15359         (exp_test_towardzero): Likewise.
15360         (exp_test_downward): Likewise.
15361         (exp_test_upward): Likewise.
15362         (exp10_test): Likewise.
15363         (exp2_test): Likewise.
15364         (expm1_test): Likewise.
15365         (fmod_test): Likewise.
15366         (gamma_test): Likewise.
15367         (hypot_test): Likewise.
15368         (j0_test): Likewise.
15369         (j1_test): Likewise.
15370         (jn_test): Likewise.
15371         (lgamma_test): Likewise.
15372         (log_test): Likewise.
15373         (log10_test): Likewise.
15374         (log1p_test): Likewise.
15375         (log2_test): Likewise.
15376         (logb_test_downward): Likewise.
15377         (pow_test): Likewise.
15378         (pow_test_tonearest): Likewise.
15379         (pow_test_towardzero): Likewise.
15380         (pow_test_downward): Likewise.
15381         (pow_test_upward): Likewise.
15382         (remainder_test): Likewise.
15383         (remquo_test): Likewise.
15384         (sin_test): Likewise.
15385         (sin_test_tonearest): Likewise.
15386         (sin_test_towardzero): Likewise.
15387         (sin_test_downward): Likewise.
15388         (sin_test_upward): Likewise.
15389         (sincos_test): Likewise.
15390         (sinh_test): Likewise.
15391         (sinh_test_tonearest): Likewise.
15392         (sinh_test_towardzero): Likewise.
15393         (sinh_test_downward): Likewise.
15394         (sinh_test_upward): Likewise.
15395         (sqrt_test): Likewise.
15396         (tan_test): Likewise.
15397         (tan_test_tonearest): Likewise.
15398         (tan_test_towardzero): Likewise.
15399         (tan_test_downward): Likewise.
15400         (tan_test_upward): Likewise.
15401         (tanh_test): Likewise.
15402         (tgamma_test): Likewise.
15403         (y0_test): Likewise.
15404         (y1_test): Likewise.
15405         (yn_test): Likewise.
15406
15407         * math/gen-libm-test.pl (adjust_arg): Remove function.
15408         (special_function): Remove argument $in_func.  Only handle
15409         generating output for tables of tests, not inside functions.
15410         (parse_args): Likewise.
15411         (generate_testfile): Remove variable $in_func.  Update call to
15412         parse_args.
15413         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
15414         (MINUS_ZERO_INIT): Rename macro to minus_zero.
15415         (PLUS_INFTY_INIT): Rename macro to plus_infty.
15416         (MINUS_INFTY_INIT): Rename macro to minus_infty.
15417         (QNAN_VALUE_INIT): Rename macro to qnan_value.
15418         (MAX_VALUE_INIT): Rename macro to max_value.
15419         (MIN_VALUE_INIT): Rename macro to min_value.
15420         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
15421         (plus_zero): Remove variable.
15422         (minus_zero): Likewise.
15423         (plus_infty): Likewise.
15424         (minus_infty): Likewise.
15425         (qnan_value): Likewise.
15426         (max_value): Likewise.
15427         (min_value): Likewise.
15428         (min_subnorm_value): Likewise.
15429
15430 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
15431
15432         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
15433         uint64_t or uint32_t usage.
15434         * crypt/sha256-block.c: Likewise.
15435         * crypt/sha256-crypt.c: Likewise.
15436         * crypt/sha256.c: Likewise.
15437         * crypt/sha512-block.c: Likewise.
15438         * crypt/sha512-crypt.c: Likewise.
15439         * crypt/sha512.c: Likewise.
15440         * debug/backtrace-tst.c: Likewise.
15441         * debug/pcprofiledump.c: Likewise.
15442         * elf/cache.c: Likewise.
15443         * elf/dl-cache.c: Likewise.
15444         * elf/dl-misc.c: Likewise.
15445         * elf/dl-profile.c: Likewise.
15446         * elf/dl-support.c: Likewise.
15447         * elf/ldconfig.c: Likewise.
15448         * elf/sprof.c: Likewise.
15449         * iconv/dummy-repertoire.c: Likewise.
15450         * iconv/iconv_charmap.c: Likewise.
15451         * iconv/skeleton.c: Likewise.
15452         * iconvdata/8bit-generic.c: Likewise.
15453         * iconvdata/cp737.h: Likewise.
15454         * iconvdata/cp775.h: Likewise.
15455         * iconvdata/ibm1008.h: Likewise.
15456         * iconvdata/ibm1025.h: Likewise.
15457         * iconvdata/ibm1046.h: Likewise.
15458         * iconvdata/ibm1097.h: Likewise.
15459         * iconvdata/ibm1112.h: Likewise.
15460         * iconvdata/ibm1122.h: Likewise.
15461         * iconvdata/ibm1123.h: Likewise.
15462         * iconvdata/ibm1124.h: Likewise.
15463         * iconvdata/ibm1129.h: Likewise.
15464         * iconvdata/ibm1130.h: Likewise.
15465         * iconvdata/ibm1132.h: Likewise.
15466         * iconvdata/ibm1133.h: Likewise.
15467         * iconvdata/ibm1137.h: Likewise.
15468         * iconvdata/ibm1140.h: Likewise.
15469         * iconvdata/ibm1141.h: Likewise.
15470         * iconvdata/ibm1142.h: Likewise.
15471         * iconvdata/ibm1143.h: Likewise.
15472         * iconvdata/ibm1144.h: Likewise.
15473         * iconvdata/ibm1145.h: Likewise.
15474         * iconvdata/ibm1146.h: Likewise.
15475         * iconvdata/ibm1147.h: Likewise.
15476         * iconvdata/ibm1148.h: Likewise.
15477         * iconvdata/ibm1149.h: Likewise.
15478         * iconvdata/ibm1153.h: Likewise.
15479         * iconvdata/ibm1154.h: Likewise.
15480         * iconvdata/ibm1155.h: Likewise.
15481         * iconvdata/ibm1156.h: Likewise.
15482         * iconvdata/ibm1157.h: Likewise.
15483         * iconvdata/ibm1158.h: Likewise.
15484         * iconvdata/ibm1160.h: Likewise.
15485         * iconvdata/ibm1161.h: Likewise.
15486         * iconvdata/ibm1162.h: Likewise.
15487         * iconvdata/ibm1163.h: Likewise.
15488         * iconvdata/ibm1164.h: Likewise.
15489         * iconvdata/ibm1166.h: Likewise.
15490         * iconvdata/ibm1167.h: Likewise.
15491         * iconvdata/ibm12712.h: Likewise.
15492         * iconvdata/ibm1390.h: Likewise.
15493         * iconvdata/ibm1399.h: Likewise.
15494         * iconvdata/ibm16804.h: Likewise.
15495         * iconvdata/ibm4517.h: Likewise.
15496         * iconvdata/ibm4899.h: Likewise.
15497         * iconvdata/ibm4909.h: Likewise.
15498         * iconvdata/ibm4971.h: Likewise.
15499         * iconvdata/ibm5347.h: Likewise.
15500         * iconvdata/ibm803.h: Likewise.
15501         * iconvdata/ibm856.h: Likewise.
15502         * iconvdata/ibm901.h: Likewise.
15503         * iconvdata/ibm902.h: Likewise.
15504         * iconvdata/ibm9030.h: Likewise.
15505         * iconvdata/ibm9066.h: Likewise.
15506         * iconvdata/ibm921.h: Likewise.
15507         * iconvdata/ibm922.h: Likewise.
15508         * iconvdata/ibm9448.h: Likewise.
15509         * iconvdata/isiri-3342.h: Likewise.
15510         * iconvdata/jis0201.h: Likewise.
15511         * include/link.h: Likewise.
15512         * include/netdb.h: Likewise.
15513         * inet/check_native.c: Likewise.
15514         * inet/check_pf.c: Likewise.
15515         * inet/getipv4sourcefilter.c: Likewise.
15516         * inet/getnameinfo.c: Likewise.
15517         * inet/getsourcefilter.c: Likewise.
15518         * inet/htonl.c: Likewise.
15519         * inet/setipv4sourcefilter.c: Likewise.
15520         * inet/setsourcefilter.c: Likewise.
15521         * inet/test-inet6_opt.c: Likewise.
15522         * inet/tst-network.c: Likewise.
15523         * locale/C-collate.c: Likewise.
15524         * locale/C-ctype.c: Likewise.
15525         * locale/C-time.c: Likewise.
15526         * locale/C-translit.h: Likewise.
15527         * locale/loadarchive.c: Likewise.
15528         * locale/programs/3level.h: Likewise.
15529         * locale/programs/charmap.c: Likewise.
15530         * locale/programs/charmap.h: Likewise.
15531         * locale/programs/ld-address.c: Likewise.
15532         * locale/programs/ld-collate.c: Likewise.
15533         * locale/programs/ld-ctype.c: Likewise.
15534         * locale/programs/ld-identification.c: Likewise.
15535         * locale/programs/ld-measurement.c: Likewise.
15536         * locale/programs/ld-messages.c: Likewise.
15537         * locale/programs/ld-monetary.c: Likewise.
15538         * locale/programs/ld-name.c: Likewise.
15539         * locale/programs/ld-numeric.c: Likewise.
15540         * locale/programs/ld-paper.c: Likewise.
15541         * locale/programs/ld-telephone.c: Likewise.
15542         * locale/programs/ld-time.c: Likewise.
15543         * locale/programs/linereader.c: Likewise.
15544         * locale/programs/locale.c: Likewise.
15545         * locale/programs/locarchive.c: Likewise.
15546         * locale/programs/locfile.h: Likewise.
15547         * locale/programs/repertoire.c: Likewise.
15548         * locale/programs/simple-hash.c: Likewise.
15549         * locale/programs/simple-hash.h: Likewise.
15550         * malloc/memusage.c: Likewise.
15551         * malloc/memusagestat.c: Likewise.
15552         * nis/nis_defaults.c: Likewise.
15553         * nis/nis_hash.c: Likewise.
15554         * nis/nis_print.c: Likewise.
15555         * nis/nis_xdr.c: Likewise.
15556         * nscd/connections.c: Likewise.
15557         * nscd/hstcache.c: Likewise.
15558         * nscd/nscd_gethst_r.c: Likewise.
15559         * nscd/nscd_getserv_r.c: Likewise.
15560         * nscd/nscd_helper.c: Likewise.
15561         * nscd/servicescache.c: Likewise.
15562         * nss/makedb.c: Likewise.
15563         * nss/nss_db/db-XXX.c: Likewise.
15564         * nss/nss_db/db-initgroups.c: Likewise.
15565         * nss/nss_db/db-netgrp.c: Likewise.
15566         * nss/nss_files/files-network.c: Likewise.
15567         * nss/nss_files/files-parse.c: Likewise.
15568         * posix/bug-regex5.c: Likewise.
15569         * posix/fnmatch_loop.c: Likewise.
15570         * posix/regcomp.c: Likewise.
15571         * posix/regexec.c: Likewise.
15572         * posix/tst-rfc3484-2.c: Likewise.
15573         * posix/tst-rfc3484-3.c: Likewise.
15574         * posix/tst-rfc3484.c: Likewise.
15575         * resolv/nss_dns/dns-canon.c: Likewise.
15576         * resolv/nss_dns/dns-network.c: Likewise.
15577         * resolv/res_init.c: Likewise.
15578         * resolv/res_mkquery.c: Likewise.
15579         * resolv/tst-aton.c: Likewise.
15580         * stdlib/cxa_atexit.c: Likewise.
15581         * stdlib/cxa_finalize.c: Likewise.
15582         * stdlib/gen-fpioconst.c: Likewise.
15583         * stdlib/strtol_l.c: Likewise.
15584         * string/tst-endian.c: Likewise.
15585         * sunrpc/auth_des.c: Likewise.
15586         * sunrpc/clnt_udp.c: Likewise.
15587         * sunrpc/rtime.c: Likewise.
15588         * sunrpc/svcauth_des.c: Likewise.
15589         * sunrpc/xdr.c: Likewise.
15590         * sunrpc/xdr_intXX_t.c: Likewise.
15591         * sunrpc/xdr_rec.c: Likewise.
15592         * sysdeps/generic/ldconfig.h: Likewise.
15593         * sysdeps/generic/ldsodefs.h: Likewise.
15594         * sysdeps/generic/memusage.h: Likewise.
15595         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
15596         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
15597         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
15598         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15599         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
15600         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15601         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
15602         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
15603         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
15604         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
15605         * sysdeps/posix/getaddrinfo.c: Likewise.
15606         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
15607         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
15608         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
15609         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
15610         * sysdeps/powerpc/test-gettimebase.c: Likewise.
15611         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
15612         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
15613         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
15614         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
15615         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
15616         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
15617         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
15618         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
15619         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
15620         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
15621         * sysdeps/x86_64/dl-tls.h: Likewise.
15622         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
15623         * time/alt_digit.c: Likewise.
15624         * time/era.c: Likewise.
15625         * wcsmbs/tst-c16c32-1.c: Likewise.
15626
15627 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15628
15629         * math/libm-test.inc (struct test_sincos_data): New type.
15630         (RUN_TEST_LOOP_sincos): New macro.
15631         (sincos_test_data): New variable.
15632         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
15633
15634 2013-05-16  Richard Henderson  <rth@redhat.com>
15635
15636         * math/atest-exp2.c (LIMB64): New macro.
15637         (CONSTSZ): New macro.
15638         (mp_exp1, mp_exp_m1, mp_log2): New variables.
15639         (hexdig): Move ...
15640         (print_mpn_fp): ... to function scope.
15641         (read_mpn_hex): Remove.
15642         (get_log2): Remove.
15643         (exp2_mpn): Use mp_log2.
15644         (main): Use mp_exp1.
15645
15646 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
15647
15648         * math/libm-test.inc: Remove comment about not testing "inexact"
15649         exceptions.
15650         (INEXACT_EXCEPTION): New macro.
15651         (NO_INEXACT_EXCEPTION): Likewise.
15652         (INVALID_EXCEPTION_OK): Update value.
15653         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
15654         (OVERFLOW_EXCEPTION_OK): Likewise.
15655         (UNDERFLOW_EXCEPTION_OK): Likewise.
15656         (IGNORE_ZERO_INF_SIGN): Likewise.
15657         (ERRNO_UNCHANGED): Likewise.
15658         (ERRNO_EDOM): Likewise.
15659         (ERRNO_ERANGE): Likewise.
15660         (test_exceptions): Handle testing "inexact" exceptions.
15661         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
15662         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
15663         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
15664         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
15665         INEXACT_EXCEPTION.
15666         (rint_towardzero_test_data): Likewise.
15667         (rint_downward_test_data): Likewise.
15668         (rint_upward_test_data): Likewise.
15669
15670         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
15671         with OVERFLOW_EXCEPTION.
15672         (exp10_test_data): Likewise.
15673         (exp2_test_data): Likewise.
15674         (expm1_test_data): Likewise.
15675         (lgamma_test_data): Likewise.
15676         (pow_test_data): Likewise.
15677         (tgamma_test_data): Likewise.
15678         (yn_test_data): Remove duplicate test of overflow.
15679
15680         * math/libm-test.inc (struct test_cc_c_data): New type.
15681         (RUN_TEST_LOOP_cc_c): New macro.
15682         (cpow_test_data): New variable.
15683         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
15684
15685         * math/libm-test.inc (struct test_f_L_data): New type.
15686         (RUN_TEST_LOOP_f_L): New macro.
15687         (llrint_test_data): New variable.
15688         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
15689         (llrint_tonearest_test_data): New variable.
15690         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
15691         (llrint_towardzero_test_data): New variable.
15692         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
15693         (llrint_downward_test_data): New variable.
15694         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
15695         (llrint_upward_test_data): New variable.
15696         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
15697         (llround_test_data): New variable.
15698         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
15699
15700 2013-05-13  Peter Collingbourne  <pcc@google.com>
15701
15702         * math/atest-exp2.c (get_log2): Remove const attribute.
15703
15704 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15705
15706         * math/libm-test.inc (struct test_f_l_data): New type.
15707         (RUN_TEST_LOOP_f_l): New macro.
15708         (lrint_test_data): New variable.
15709         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
15710         (lrint_tonearest_test_data): New variable.
15711         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
15712         (lrint_towardzero_test_data): New variable.
15713         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
15714         (lrint_downward_test_data): New variable.
15715         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
15716         (lrint_upward_test_data): New variable.
15717         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
15718         (lround_test_data): New variable.
15719         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
15720
15721 2013-05-15  Peter Collingbourne  <pcc@google.com>
15722
15723         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
15724         (EXTRACT_WORDS64) Use where appropriate.
15725         (INSERT_WORDS64) Likewise.
15726
15727         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
15728         constraints with x constraints.
15729         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
15730
15731         * malloc/obstack.c (_obstack_compat): Add initializer.
15732
15733 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
15734
15735         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
15736         si_trapno and add si_addr_lsb to _sifields.sigfault.
15737         (si_trapno): Remove macro.
15738         (si_addr_lsb): Define new macro.
15739         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
15740
15741 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
15742
15743         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
15744         instead of TEST_f_l.
15745         (llrint_test_tonearest): Likewise.
15746         (llrint_test_towardzero): Likewise.
15747         (llrint_test_downward): Likewise.
15748         (llrint_test_upward): Likewise.
15749         (llround_test): Likewise.
15750
15751         * math/libm-test.inc (struct test_f_i_data): Add comment.
15752         (RUN_TEST_LOOP_f_b): New macro.
15753         (RUN_TEST_LOOP_f_b_tg): Likewise.
15754         (finite_test_data): New variable.
15755         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
15756         (isfinite_test_data): New variable.
15757         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15758         (isinf_test_data): New variable.
15759         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15760         (isnan_test_data): New variable.
15761         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15762         (isnormal_test_data): New variable.
15763         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15764         (issignaling_test_data): New variable.
15765         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15766         (signbit_test_data): New variable.
15767         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
15768
15769         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
15770         with INVALID_EXCEPTION.
15771         (acosh_test_data): Likewise.
15772         (asin_test_data): Likewise.
15773         (atanh_test_data): Likewise.
15774         (fmod_test_data): Likewise.
15775         (log_test_data): Likewise.
15776         (log10_test_data): Likewise.
15777         (log2_test_data): Likewise.
15778         (pow_test_data): Likewise.
15779         (sqrt_test_data): Likewise.
15780         (y0_test_data): Likewise.
15781         (y1_test_data): Likewise.
15782         (yn_test_data): Likewise.
15783
15784         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
15785         function contents.
15786
15787         * math/libm-test.inc (struct test_ff_i_data): New type.
15788         (RUN_TEST_LOOP_ff_i_tg): New macro.
15789         (isgreater_test_data): New variable.
15790         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15791         (isgreaterequal_test_data): New variable.
15792         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15793         (isless_test_data): New variable.
15794         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15795         (islessequal_test_data): New variable.
15796         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15797         (islessgreater_test_data): New variable.
15798         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15799         (isunordered_test_data): New variable.
15800         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
15801
15802 2013-05-14  David S. Miller  <davem@davemloft.net>
15803
15804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
15805
15806 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
15807
15808         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
15809
15810         * math/libm-test.inc (struct test_fF_f1_data): Change type of
15811         extra_test to int.
15812         (struct test_f_i_data): Change type of max_ulp to int.
15813
15814         * math/libm-test.inc (test_ffI_f1_data): New type.
15815         (RUN_TEST_LOOP_ffI_f1): New macro.
15816         (remquo_test_data): New variable.
15817         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
15818
15819         * setjmp/tst-setjmp-fp.c: New file.
15820         * setjmp/Makefile (tests): Add tst-setjmp-fp.
15821         (link-libm): New variable.
15822         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
15823
15824         * math/libm-test.inc (struct test_f_i_data): New type.
15825         (RUN_TEST_LOOP_f_i): New macro.
15826         (RUN_TEST_LOOP_f_i_tg): Likewise.
15827         (fpclassify_test_data): New variable.
15828         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
15829         (ilogb_test_data): New variable.
15830         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
15831
15832         * math/libm-test.inc (scalbln_test): Correct function name in END
15833         call.
15834
15835         * math/libm-test.inc (struct test_f_f1_data): Add comment.
15836         (RUN_TEST_LOOP_fI_f1): New macro.
15837         (frexp_test_data): New variable.
15838         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
15839
15840         * math/libm-test.inc (struct test_fF_f1_data): New type.
15841         (RUN_TEST_LOOP_fF_f1): New macro.
15842         (modf_test_data): New variable.
15843         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
15844
15845         * math/libm-test.inc (struct test_f_f1_data): New type.
15846         (RUN_TEST_LOOP_f_f1): New macro.
15847         (gamma_test_data): New variable.
15848         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15849         (lgamma_test_data): New variable.
15850         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
15851
15852 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
15853
15854         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
15855         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
15856         (main): Comment "tls" pseudo-hwcap.
15857
15858 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
15859
15860         * math/libm-test.inc (struct test_fl_f_data): New type.
15861         (RUN_TEST_LOOP_fl_f): New variable.
15862         (scalbln_test_data): New variable.
15863         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
15864
15865         * math/libm-test.inc (struct test_fi_f_data): New type.
15866         (RUN_TEST_LOOP_fi_f): New macro.
15867         (ldexp_test_data): New variable.
15868         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
15869         (scalbn_test_data): New variable.
15870         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
15871
15872         * math/libm-test.inc (struct test_c_f_data): New type.
15873         (RUN_TEST_LOOP_c_f): New macro.
15874         (cabs_test_data): New variable.
15875         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
15876         (carg_test_data): New variable.
15877         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
15878         (cimag_test_data): New variable.
15879         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
15880         (creal_test_data): New variable.
15881         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
15882
15883         * math/libm-test.inc (struct test_if_f_data): New type.
15884         (RUN_TEST_LOOP_if_f): New macro.
15885         (jn_test_data): New variable.
15886         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
15887         (yn_test_data): New variable.
15888         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
15889
15890         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
15891
15892 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
15893
15894         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
15895         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
15896
15897 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
15898
15899         * benchtests/Makefile (CPPFLAGS-nonlib): Add
15900         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
15901         (bench-deps): Add bench-timing.h.
15902         * benchtests-bench-skeleton.c: Include bench-timing.h.
15903         (main): Use TIMING_* macros instead of clock_gettime.
15904         * benchtests/bench-timing.h: New file.
15905
15906         [BZ #14582]
15907         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
15908         Renamed from _LIB_VERSION.
15909         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
15910
15911 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
15912
15913         * math/libm-test.inc (struct test_fff_f_data): New type.
15914         (RUN_TEST_LOOP_fff_f): New macro.
15915         (fma_test_data): New variable.
15916         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
15917         (fma_towardzero_test_data): New variable.
15918         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
15919         (fma_downward_test_data): New variable.
15920         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
15921         (fma_upward_test_data): New variable.
15922         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
15923
15924         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
15925         (struct test_c_c_data): New type.
15926         (RUN_TEST_LOOP_c_c): New macro.
15927         (cacos_test_data): New variable.
15928         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
15929         (cacosh_test_data): New variable.
15930         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
15931         (casin_test_data): New variable.
15932         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
15933         (casinh_test_data): New variable.
15934         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
15935         (catan_test_data): New variable.
15936         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
15937         (catanh_test_data): New variable.
15938         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
15939         (ccos_test_data): New variable.
15940         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
15941         (ccosh_test_data): New variable.
15942         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
15943         (cexp_test_data): New variable.
15944         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
15945         (clog_test_data): New variable.
15946         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
15947         (clog10_test_data): New variable.
15948         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
15949         (conj_test_data): New variable.
15950         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
15951         (cproj_test_data): New variable.
15952         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
15953         (csin_test_data): New variable.
15954         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
15955         (csinh_test_data): New variable.
15956         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
15957         (csqrt_test_data): New variable.
15958         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
15959         (ctan_test_data): New variable.
15960         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
15961         (ctan_tonearest_test_data): New variable.
15962         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15963         (ctan_towardzero_test_data): New variable.
15964         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15965         (ctan_downward_test_data): New variable.
15966         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15967         (ctan_upward_test_data): New variable.
15968         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15969         (ctanh_test_data): New variable.
15970         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
15971         (ctanh_tonearest_test_data): New variable.
15972         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
15973         (ctanh_towardzero_test_data): New variable.
15974         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
15975         (ctanh_downward_test_data): New variable.
15976         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
15977         (ctanh_upward_test_data): New variable.
15978         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
15979         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
15980         of BUILD_COMPLEX.
15981
15982         * math/libm-test.inc (struct test_ff_f_data): New type.
15983         (struct test_ff_f_data_nexttoward): Likewise.
15984         (RUN_TEST_LOOP_2_f): New macro.
15985         (RUN_TEST_LOOP_ff_f): Likewise.
15986         (atan2_test_data): New variable.
15987         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
15988         (copysign_test_data): New variable.
15989         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
15990         (fdim_test_data): New variable.
15991         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
15992         (fmax_test_data): New variable.
15993         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
15994         (fmin_test_data): New variable.
15995         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
15996         (fmod_test_data): New variable.
15997         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
15998         (hypot_test_data): New variable.
15999         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
16000         (nextafter_test_data): New variable.
16001         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
16002         (nexttoward_test_data): New variable.
16003         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
16004         (pow_test_data): New variable.
16005         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
16006         (pow_tonearest_test_data): New variable.
16007         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
16008         (pow_towardzero_test_data): New variable.
16009         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
16010         (pow_downward_test_data): New variable.
16011         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
16012         (pow_upward_test_data): New variable.
16013         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
16014         (remainder_test_data): New variable.
16015         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
16016         (scalb_test_data): New variable.
16017         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
16018         * sysdeps/i386/fpu/libm-test-ulps: Update.
16019
16020 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
16021
16022         * math/libm-test.inc (fma_test): Use max_value instead of local
16023         variable fltmax.
16024         (nextafter_test): Likewise.
16025
16026         * math/libm-test.inc (acos_towardzero_test_data): New variable.
16027         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16028         (acos_downward_test_data): New variable.
16029         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16030         (acos_upward_test_data): New variable.
16031         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16032         (acosh_test_data): New variable.
16033         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
16034         (asin_test_data): New variable.
16035         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
16036         (asin_tonearest_test_data): New variable.
16037         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16038         (asin_towardzero_test_data): New variable.
16039         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16040         (asin_downward_test_data): New variable.
16041         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16042         (asin_upward_test_data): New variable.
16043         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16044         (asinh_test_data): New variable.
16045         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
16046         (atan_test_data): New variable.
16047         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
16048         (atanh_test_data): New variable.
16049         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
16050         (cbrt_test_data): New variable.
16051         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
16052         (ceil_test_data): New variable.
16053         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
16054         (cos_test_data): New variable.
16055         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
16056         (cos_tonearest_test_data): New variable.
16057         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16058         (cos_towardzero_test_data): New variable.
16059         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16060         (cos_downward_test_data): New variable.
16061         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16062         (cos_upward_test_data): New variable.
16063         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16064         (cosh_test_data): New variable.
16065         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
16066         (cosh_tonearest_test_data): New variable.
16067         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16068         (cosh_towardzero_test_data): New variable.
16069         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16070         (cosh_downward_test_data): New variable.
16071         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16072         (cosh_upward_test_data): New variable.
16073         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16074         (erf_test_data): New variable.
16075         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
16076         (erfc_test_data): New variable.
16077         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
16078         (exp_test_data): New variable.
16079         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
16080         (exp_tonearest_test_data): New variable.
16081         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16082         (exp_towardzero_test_data): New variable.
16083         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16084         (exp_downward_test_data): New variable.
16085         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16086         (exp_upward_test_data): New variable.
16087         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16088         (exp10_test_data): New variable.
16089         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
16090         (exp2_test_data): New variable.
16091         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
16092         (expm1_test_data): New variable.
16093         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
16094         (fabs_test_data): New variable.
16095         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
16096         (floor_test_data): New variable.
16097         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
16098         (j0_test_data): New variable.
16099         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
16100         (j1_test_data): New variable.
16101         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
16102         (log_test_data): New variable.
16103         (log_test): Run tests with RUN_TEST_LOOP_f_f.
16104         (log10_test_data): New variable.
16105         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
16106         (log1p_test_data): New variable.
16107         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
16108         (log2_test_data): New variable.
16109         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
16110         (logb_test_data): New variable.
16111         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
16112         (logb_downward_test_data): New variable.
16113         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16114         (nearbyint_test_data): New variable.
16115         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
16116         (rint_test_data): New variable.
16117         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
16118         (rint_tonearest_test_data): New variable.
16119         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16120         (rint_towardzero_test_data): New variable.
16121         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16122         (rint_downward_test_data): New variable.
16123         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16124         (rint_upward_test_data): New variable.
16125         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16126         (round_test_data): New variable.
16127         (round_test): Run tests with RUN_TEST_LOOP_f_f.
16128         (sin_test_data): New variable.
16129         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
16130         (sin_tonearest_test_data): New variable.
16131         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16132         (sin_towardzero_test_data): New variable.
16133         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16134         (sin_downward_test_data): New variable.
16135         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16136         (sin_upward_test_data): New variable.
16137         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16138         (sinh_test_data): New variable.
16139         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
16140         (sinh_tonearest_test_data): New variable.
16141         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16142         (sinh_towardzero_test_data): New variable.
16143         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16144         (sinh_downward_test_data): New variable.
16145         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16146         (sinh_upward_test_data): New variable.
16147         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16148         (sqrt_test_data): New variable.
16149         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
16150         (tan_test_data): New variable.
16151         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
16152         (tan_tonearest_test_data): New variable.
16153         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16154         (tan_towardzero_test_data): New variable.
16155         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
16156         (tan_downward_test_data): New variable.
16157         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
16158         (tan_upward_test_data): New variable.
16159         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
16160         (tanh_test_data): New variable.
16161         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
16162         (tgamma_test_data): New variable.
16163         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
16164         (trunc_test_data): New variable.
16165         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
16166         (y0_test_data): New variable.
16167         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
16168         (y1_test_data): New variable.
16169         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
16170         (significand_test_data): New variable.
16171         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
16172
16173 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
16174
16175         [BZ #12387]
16176         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
16177
16178 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
16179
16180         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
16181
16182 2013-05-10  Andreas Jaeger  <aj@suse.de>
16183
16184         [BZ #15448]
16185         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
16186         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
16187
16188 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16189
16190         * math/gen-libm-test.pl (adjust_arg): New function.
16191         (special_functions): Handle generating output in both functions
16192         and arrays.
16193         (parse_args): Likewise.
16194         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
16195         $in_func argument to parse_args.
16196         * math/libm-test.inc (struct test_f_f_data): New type.
16197         (IF_ROUND_INIT_): New macro.
16198         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
16199         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
16200         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
16201         (IF_ROUND_INIT_FE_UPWARD): Likewise.
16202         (ROUND_RESTORE_): Likewise.
16203         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
16204         (ROUND_RESTORE_FE_TONEAREST): Likewise.
16205         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
16206         (ROUND_RESTORE_FE_UPWARD): Likewise.
16207         (RUN_TEST_LOOP_f_f): New macro.
16208         (acos_test_data): New variable.
16209         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
16210         (acos_tonearest_test_data): New variable.
16211         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
16212
16213 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16214
16215         * benchtests/bench-skeleton.c (startup): Fix coding style.
16216
16217 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
16218
16219         [BZ #6809]
16220         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
16221         negative infinity argument.
16222         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
16223         negative infinity argument.
16224         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
16225         negative infinity argument.
16226         * math/libm-test.inc (tgamma_test): Expect errno to be set for
16227         domain errors.
16228
16229 2013-05-10  Florian Weimer  <fweimer@redhat.com>
16230
16231         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
16232         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
16233         * iconv/iconv_prog.c (main): Likewise.
16234         * locale/programs/charmap-dir.c (charmap_readdir)
16235         (fopen_uncompressed): Likewise.
16236         * locale/programs/locfile.c (siblings_uncached)
16237         (write_locale_data): Use lstat64 instead of lstat.
16238         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
16239         stat.
16240
16241 2013-05-10  Andreas Jaeger  <aj@suse.de>
16242
16243         [BZ #15395]
16244         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
16245         localization.
16246         Include <locale.h>.
16247
16248 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
16249
16250         * elf/dl-close.c (_dl_close_worker): Add comments.
16251
16252 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
16253
16254         [BZ #15359]
16255         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
16256         high part of pi/2.
16257         (__ieee754_rem_pio2l): Update comments.
16258
16259         [BZ #15429]
16260         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
16261         high part of pi/2.
16262         (__ieee754_rem_pio2l): Update comments.
16263
16264         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
16265         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
16266
16267         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
16268         M_PI_4l.
16269
16270         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
16271         (M_PI_34_LOG10El): Likewise.
16272         (M_PI2_LOG10El): Likewise.
16273         (M_PI4_LOG10El): Likewise.
16274         (M_PI_LOG10El): Likewise.
16275
16276 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16277
16278         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16279
16280 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
16281
16282         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
16283         (MINUS_ZERO_INIT): Likewise.
16284         (PLUS_INFTY_INIT): Likewise.
16285         (MINUS_INFTY_INIT): Likewise.
16286         (QNAN_VALUE_INIT): Likewise.
16287         (MAX_VALUE_INIT): Likewise.
16288         (MIN_VALUE_INIT): Likewise.
16289         (MIN_SUBNORM_VALUE_INIT): Likewise.
16290         (plus_zero): Initialize with PLUS_ZERO_INIT.
16291         (minus_zero): Initialize with MINUS_ZERO_INIT.
16292         (plus_infty): Initialize with PLUS_INFTY_INIT.
16293         (minus_infty): Initialize with MINUS_INFTY_INIT.
16294         (qnan_value): Initialize with QNAN_VALUE_INIT.
16295         (max_value): Initialize with MAX_VALUE_INIT.
16296         (min_value): Initialize with MIN_VALUE_INIT.
16297         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
16298
16299         * math/libm-test.inc (RUN_TEST_if_f): New macro.
16300         (jn_test): Use TEST_if_f instead of TEST_ff_f.
16301         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
16302         (yn_test): Use TEST_if_f instead of TEST_ff_f.
16303
16304         * math/libm-test.inc (RUN_TEST_f_f): New macro.
16305         (RUN_TEST_2_f): Likewise.
16306         (RUN_TEST_ff_f): Likewise.
16307         (RUN_TEST_fi_f): Likewise.
16308         (RUN_TEST_fl_f): Likewise.
16309         (RUN_TEST_fff_f): Likewise.
16310         (RUN_TEST_c_f): Likewise.
16311         (RUN_TEST_f_f1): Likewise.
16312         (RUN_TEST_fF_f1): Likewise.
16313         (RUN_TEST_fI_f1): Likewise.
16314         (RUN_TEST_ffI_f1): Likewise.
16315         (RUN_TEST_c_c): Likewise.
16316         (RUN_TEST_cc_c): Likewise.
16317         (RUN_TEST_f_i): Likewise.
16318         (RUN_TEST_f_i_tg): Likewise.
16319         (RUN_TEST_ff_i_tg): Likewise.
16320         (RUN_TEST_f_b): Likewise.
16321         (RUN_TEST_f_b_tg): Likewise.
16322         (RUN_TEST_f_l): Likewise.
16323         (RUN_TEST_f_L): Likewise.
16324         (RUN_TEST_sincos): Likewise.
16325         * math/gen-libm-test.pl (new_test): Take new argument to indicate
16326         whether to show exceptions.  Do not include ");\n" in return
16327         value.
16328         (special_functions): Output call to RUN_TEST_sincos instead of
16329         check_float calls.  Update calls to new_test.
16330         (parse_args): Output call to single RUN_TEST_* macro instead of
16331         check_* calls and other assignments.  Update calls to new_test.
16332
16333         [BZ #2546]
16334         [BZ #2560]
16335         [BZ #5159]
16336         [BZ #15426]
16337         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
16338         input to result for tgamma overflow.
16339         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
16340         (gamma_coeff): New variable.
16341         (NCOEFF): New macro.
16342         (gamma_positive): New function.
16343         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
16344         underflow here.  Use gamma_positive instead of exp (lgamma) for
16345         other arguments.
16346         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
16347         (gamma_coeff): New variable.
16348         (NCOEFF): New macro.
16349         (gammaf_positive): New function.
16350         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
16351         underflow here.  Use gamma_positive instead of exp (lgamma) for
16352         other arguments.
16353         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
16354         (gamma_coeff): New variable.
16355         (NCOEFF): New macro.
16356         (gammal_positive): New function.
16357         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
16358         underflow here.  Use gamma_positive instead of exp (lgamma) for
16359         other arguments.
16360         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
16361         (gamma_coeff): New variable.
16362         (NCOEFF): New macro.
16363         (gammal_positive): New function.
16364         (__ieee754_gammal_r): Handle positive infinity, overflow and
16365         underflow here.  Handle NaN the same as positive infinity.  Remove
16366         check x < 0xffffffff for negative integers.  Use gamma_positive
16367         instead of exp (lgamma) for other arguments.
16368         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
16369         (gamma_coeff): New variable.
16370         (NCOEFF): New macro.
16371         (gammal_positive): New function.
16372         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
16373         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
16374         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
16375         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
16376         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
16377         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
16378         * sysdeps/generic/math_private.h (__gamma_productf): New
16379         prototype.
16380         (__gamma_product): Likewise.
16381         (__gamma_productl): Likewise.
16382         * math/Makefile (libm-calls): Add gamma_product.
16383         * math/libm-test.inc (tgamma_test): Add more tests.
16384         * sysdeps/i386/fpu/libm-test-ulps: Update.
16385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16386
16387 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
16388
16389         * benchtests/bench-skeleton.c (main): Preheat CPU.
16390
16391 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
16392
16393         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
16394
16395 2013-05-07  Roland McGrath  <roland@hack.frob.com>
16396
16397         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
16398         and _dl_skip_args_internal.
16399
16400 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
16401
16402         * manual/message.texi (Message Translation): Talk about users.
16403         Message to key mapping impacts design.
16404
16405 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16406
16407         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
16408
16409         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
16410
16411         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
16412         * sysdeps/wordsize-64/glob64.c: ... here.
16413
16414         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
16415         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
16416         New macros.
16417
16418         * debug/getlogin_r_chk.c: Moved to ...
16419         * login/getlogin_r_chk.c: ... here.
16420         * debug/Makefile (routines): Move getlogin_r_chk to ...
16421         * login/Makefile (routines): ... here.
16422         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
16423         * login/Versions (libc: GLIBC_2.4): ... here.
16424
16425         * io/poll.c (__poll): Renamed from poll.
16426         Add libc_hidden_def.
16427         (poll): Define as weak alias.
16428
16429         * debug/ptsname_r_chk.c: Moved to ...
16430         * login/ptsname_r_chk.c: ... here.
16431         * debug/Makefile (routines): Move ptsname_r_chk to ...
16432         * login/Makefile (routines): ... here.
16433         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
16434         * login/Versions (libc: GLIBC_2.4): ... here.
16435
16436         * posix/getlogin.c: Moved to ...
16437         * login/getlogin.c: ... here.
16438         * posix/getlogin_r.c: Moved to ...
16439         * login/getlogin_r.c: ... here.
16440         * posix/getlogin_r.c: Moved to ...
16441         * login/getlogin_r.c: ... here.
16442         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
16443         * login/Makefile (routines): ... here.
16444         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
16445         * login/Versions (libc: GLIBC_2.0): ... here.
16446
16447         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
16448         (setrlimit): Define as weak alias.
16449
16450         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
16451         Call __ names for open, ftruncate, and close.
16452         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
16453         (truncate): Define as weak alias.
16454
16455 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
16456
16457         * math/gen-libm-test.pl (parse_args): Initialize x before each
16458         test of frexp, modf and remquo.
16459
16460         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
16461         test signgam value.
16462
16463 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16464
16465         [BZ #15418]
16466         [BZ #15419]
16467         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
16468         internal tests.
16469         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
16470
16471 2013-05-06  Roland McGrath  <roland@hack.frob.com>
16472
16473         * elf/dl-writev.h: New file.
16474         * elf/dl-misc.c: Include it.
16475         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
16476         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
16477
16478 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
16479
16480         * math/libm-test.inc (noXFails): Remove variable.
16481         (noXPasses): Likewise.
16482         (BUILD_COMPLEX_INT): Remove macro.
16483         (print_screen): Remove xfail argument.
16484         (print_screen_max_error): Likewise.
16485         (update_stats): Likewise.
16486         (print_max_error): Likewise.  Update calls to other affected
16487         functions.
16488         (print_complex_max_error): Likewise.
16489         (test_single_exception): Update calls to print_screen.
16490         (test_single_errno): Likewise.
16491         (check_float_internal): Remove xfail argument.  Update calls to
16492         other affected functions.
16493         (check_float): Likewise.
16494         (check_complex): Likewise.
16495         (check_int): Likewise.
16496         (check_long): Likewise.
16497         (check_bool): Likewise.
16498         (check_longlong): Likewise.
16499         (main): Don't print noXFails and noXPasses.
16500         * math/gen-libm-test.pl (top level): Don't mention expected
16501         failure handling in comment.
16502         (new_test): Don't handle expected failures.
16503         (parse_args): Don't mention expected failure handling in comment.
16504         (generate_testfile): Don't handle expected failures.
16505         (parse_ulps): Likewise.
16506         (print_ulps_file): Likewise.
16507         (get_failure): Remove function.
16508         (output_test): Don't handle expected failures.
16509         * make/README.libm-test: Don't mention expected failure handling.
16510
16511         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
16512         (minus_zero): Likewise.
16513         (plus_infty): Likewise.
16514         (minus_infty): Likewise.
16515         (qnan_value): Likewise.
16516         (max_value): Likewise.
16517         (min_value): Likewise.
16518         (min_subnorm_value): Likewise.
16519         (initialize): Do not initialize those variables dynamically.
16520
16521 2013-05-03  Roland McGrath  <roland@hack.frob.com>
16522
16523         * io/open.c (__open_2): Moved to ...
16524         * io/open_2.c: ... this new file.
16525         * io/open64.c (__open64_2): Moved to ...
16526         * io/open64_2.c: ... this new file.
16527         * io/openat.c (__openat_2): Moved to ...
16528         * io/openat_2.c: ... this new file.
16529         * io/openat64.c (__openat64_2): Moved to ...
16530         * io/openat64_2.c: ... this new file.
16531         * io/Makefile (routines): Add them.
16532         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
16533         * sysdeps/unix/sysv/linux/open_2.c: File removed.
16534         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
16535         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
16536         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
16537         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
16538         (__openat64): Add hidden_ver.
16539         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
16540         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
16541
16542         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
16543         Separately conditionalize setting of GLRO(dl_sysinfo) so
16544         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
16545         as well, but the actual setting is only under [NEED_DL_SYSINFO].
16546
16547 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16548
16549         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
16550         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
16551         definition.
16552         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
16553         * sysdeps/unix/sysv/linux/powerpc/init-first.c
16554         (_libc_vdso_platform_setup): Add __vdso_time initialization.
16555         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
16556         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
16557
16558 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
16559
16560         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
16561         test signgam value.
16562
16563         * math/libm-test.inc (hypot_test): Do not use
16564         IGNORE_ZERO_INF_SIGN.
16565
16566 2013-05-03  Andreas Jaeger  <aj@suse.de>
16567
16568         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
16569         Linux 3.9.
16570         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
16571         (PF_MAX): Adjust for VSOCK change.
16572
16573 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16574
16575         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16576
16577 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
16578
16579         [BZ #15264]
16580         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
16581         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
16582         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
16583
16584 2013-05-02  David S. Miller  <davem@davemloft.net>
16585
16586         * sysdeps/sparc/fpu/libm-test-ulps: Update.
16587
16588 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
16589
16590         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
16591
16592 2013-05-01  Roland McGrath  <roland@hack.frob.com>
16593
16594         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
16595
16596 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
16597
16598         [BZ #14952]
16599         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
16600         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16601         Use __attribute__ ((__gnu_inline__)).
16602         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
16603         Don't use __attribute__ ((__gnu_inline__)).
16604
16605 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
16606
16607         [BZ #15423]
16608         * math/s_catan.c (__catan): Handle small real or imaginary part of
16609         input specially to avoid spurious underflow.
16610         * math/s_catanf.c (__catanf): Likewise.
16611         * math/s_catanh.c (__catanh): Likewise.
16612         * math/s_catanhf.c (__catanhf): Likewise.
16613         * math/s_catanhl.c (__catanhl): Likewise.
16614         * math/s_catanl.c (__catanl): Likewise.
16615         * math/libm-test.inc (catan_test): Add more tests.
16616         (catanh_test): Likewise.
16617         * sysdeps/i386/fpu/libm-test-ulps: Update.
16618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16619
16620 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16621
16622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16623
16624 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
16625
16626         [BZ #15416]
16627         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
16628         accurately for denominator in atan2.
16629         * math/s_catanf.c (__catanf): Likewise.
16630         * math/s_catanh.c (__catanh): Likewise.
16631         * math/s_catanhf.c (__catanhf): Likewise.
16632         * math/s_catanhl.c (__catanhl): Likewise.
16633         * math/s_catanl.c (__catanl): Likewise.
16634         * math/libm-test.inc (catan_test): Add more tests.
16635         (catanh_test): Likewise.
16636         * sysdeps/i386/fpu/libm-test-ulps: Update.
16637         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16638
16639 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
16640
16641         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
16642
16643         * benchtests/Makefile (bench): Remove slow benchmarks.
16644         * benchtests/atan-inputs: Add slow benchmark inputs.
16645         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
16646         (BENCH_FUNC): Accept variant offset.
16647         (VARIANT): Define.
16648         * benchtests/bench-skeleton.c (main): Run benchmark for each
16649         variant.
16650         * benchtests/cos-inputs: Add slow benchmark inputs.
16651         * benchtests/exp-inputs: Likewise.
16652         * benchtests/pow-inputs: Likewise.
16653         * benchtests/sin-inputs: Likewise.
16654         * benchtests/slowatan-inputs: Remove.
16655         * benchtests/slowatan.c: Remove.
16656         * benchtests/slowcos-inputs: Remove.
16657         * benchtests/slowcos.c: Remove.
16658         * benchtests/slowexp-inputs: Remove.
16659         * benchtests/slowexp.c: Remove.
16660         * benchtests/slowpow-inputs: Remove.
16661         * benchtests/slowpow.c: Remove.
16662         * benchtests/slowsin-inputs: Remove.
16663         * benchtests/slowsin.c: Remove.
16664         * benchtests/slowtan-inputs: Remove.
16665         * benchtests/slowtan.c: Remove.
16666         * benchtests/tan-inputs: Add slow benchmark inputs.
16667         * scripts/bench.pl: Parse comments and directives.
16668
16669         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
16670         in CPPFLAGS.
16671         ($(objpfx)bench-%.c): Remove *-ITER.
16672         * benchtests/bench-modf.c: Remove definition of ITER.
16673         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
16674         (main): Loop for DURATION seconds instead of fixed number of
16675         iterations.
16676         * scripts/bench.pl: Don't expect iterations in parameters.
16677
16678 2013-04-29  Roland McGrath  <roland@hack.frob.com>
16679
16680         * io/fchdir.c (__fchdir): Renamed from fchdir.
16681         (fchdir): Define as weak alias.
16682
16683 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16684
16685         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
16686         (ERRNO_EDOM): Likewise.
16687         (ERRNO_ERANGE): Likewise.
16688         (noErrnoTests): New variable.
16689         (init_max_error): Set errno to 0.
16690         (test_single_errno): New function.
16691         (test_errno): Likewise.
16692         (check_float_internal): Call test_errno.  Set errno to 0.
16693         (check_complex): Refer to errno tests in comment.
16694         (check_int): Call test_errno.  Set errno to 0.
16695         (check_long): Likewise.
16696         (check_bool): Likewise.
16697         (check_longlong): Likewise.
16698         (cos_test): Use ERRNO_* flags for errno tests instead of
16699         check_int.
16700         (expm1_test): Likewise.
16701         (fmod_test): Likewise.
16702         (ilogb_test): Likewise.
16703         (lgamma_test): Likewise.
16704         (pow_test): Likewise.
16705         (remainder_test): Likewise.
16706         (sin_test): Likewise.
16707         (tan_test): Likewise.
16708         (yn_test): Likewise.
16709         (initialize): Set errno to 0.
16710         (main): Print number of errno tests.
16711         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
16712
16713 2013-04-29  Andreas Jaeger  <aj@suse.de>
16714
16715         [BZ #15084]
16716         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
16717         and RES_USEVC.
16718
16719         [BZ #15085]
16720         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
16721         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
16722         unimplemented.
16723
16724         [BZ #15380]
16725         * stdlib/random.c (__initstate): Return NULL if
16726         __initstate fails.
16727
16728         [BZ #15086]
16729         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
16730         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
16731         RES_SNGLKUPREOP.
16732
16733 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16734
16735         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16736
16737 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
16738
16739         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
16740         of individual tests.
16741         (casin_test): Likewise.
16742         (casinh_test): Likewise.
16743
16744 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
16745
16746         [BZ #15409]
16747         * math/s_catan.c (__catan): Handle arguments with large real or
16748         imaginary part separately without squaring.
16749         * math/s_catanf.c (__catanf): Likewise.
16750         * math/s_catanh.c (__catanh): Likewise.
16751         * math/s_catanhf.c (__catanhf): Likewise.
16752         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16753         and redefine.
16754         (__catanhl): Handle arguments with large real or imaginary part
16755         separately without squaring.
16756         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
16757         and redefine.
16758         (__catanl): Handle arguments with large real or imaginary part
16759         separately without squaring.
16760         * math/libm-test.inc (catan_test): Add more tests.
16761         (catanh_test): Likewise.
16762         * sysdeps/i386/fpu/libm-test-ulps: Update.
16763         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16764
16765 2013-04-27  Andreas Jaeger  <aj@suse.de>
16766
16767         [BZ #15007]
16768         * stdlib/stdlib.h: Update guards for qecvt.
16769         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
16770         <stdlib.h>.
16771
16772 2013-04-27  Allan McRae  <allan@archlinux.org>
16773
16774         * sysdeps/i386/fpu/libm-test-ulps: Update.
16775
16776 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
16777
16778         [BZ #15406]
16779         * math/s_catan.c: Include <float.h>.
16780         (__catan): Ensure underflow exception occurs for underflowed
16781         result.
16782         * math/s_catanf.c: Include <float.h>.
16783         (__catanf): Ensure underflow exception occurs for underflowed
16784         result.
16785         * math/s_catanh.c: Include <float.h>.
16786         (__catanh): Ensure underflow exception occurs for underflowed
16787         result.
16788         * math/s_catanhf.c: Include <float.h>.
16789         (__catanhf): Ensure underflow exception occurs for underflowed
16790         result.
16791         * math/s_catanhl.c: Include <float.h>.
16792         (__catanhl): Ensure underflow exception occurs for underflowed
16793         result.
16794         * math/s_catanl.c: Include <float.h>.
16795         (__catanl): Ensure underflow exception occurs for underflowed
16796         result.
16797         * math/libm-test.inc (catan_test): Add more tests.
16798         (catanh_test): Likewise.
16799
16800         [BZ #15405]
16801         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
16802         underflowed result.
16803         * math/s_ccoshf.c (__ccoshf): Likewise.
16804         * math/s_ccoshl.c (__ccoshl): Likewise.
16805         * math/s_csin.c (__csin): Likewise.
16806         * math/s_csinf.c (__csinf): Likewise.
16807         * math/s_csinh.c (__csinh): Likewise.
16808         * math/s_csinhf.c (__csinhf): Likewise.
16809         * math/s_csinhl.c (__csinhl): Likewise.
16810         * math/s_csinl.c (__csinl): Likewise.
16811         * math/libm-test.inc (ccos_test): Add more tests.
16812         (ccosh_test): Likewise.
16813         (csin_test): Likewise.
16814         (csinh_test): Likewise.
16815
16816 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16817
16818         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
16819         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
16820         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
16821         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
16822         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
16823         powerpc/power5+/fpu folders.
16824         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
16825
16826
16827 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
16828
16829         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16830
16831 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
16832
16833         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
16834         additions to variable.
16835         [$(config-machine) = x86_64] (modules-names): Likewise.
16836         ($(objpfx)tst-audit3): Remove dependency.
16837         ($(objpfx)tst-audit3.out): Likewise.
16838         ($(objpfx)tst-audit4): Likewise.
16839         ($(objpfx)tst-audit4.out): Likewise.
16840         ($(objpfx)tst-audit5): Likewise.
16841         ($(objpfx)tst-audit5.out): Likewise.
16842         ($(objpfx)tst-audit6): Likewise.
16843         ($(objpfx)tst-audit6.out): Likewise.
16844         ($(objpfx)tst-audit7): Likewise.
16845         ($(objpfx)tst-audit7.out): Likewise.
16846         (tst-audit3-ENV): Remove variable.
16847         (tst-audit4-ENV): Likewise.
16848         (tst-audit5-ENV): Likewise.
16849         (tst-audit6-ENV): Likewise.
16850         (tst-audit7-ENV): Likewise.
16851         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
16852         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
16853         addition to variable.
16854         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
16855         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
16856         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
16857         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
16858         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
16859         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
16860         tst-audit3, tst-audit4 and tst-audit5.
16861         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
16862         tst-audit6 and tst-audit7.
16863         [$(subdir) = elf] (modules-names): Add audit modules for those
16864         tests.
16865         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
16866         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
16867         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
16868         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
16869         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
16870         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
16871         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
16872         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
16873         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
16874         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
16875         [$(subdir) = elf] (tst-audit3-ENV): New variable.
16876         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
16877         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
16878         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
16879         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
16880         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
16881         Likewise.
16882         [$(subdir) = elf && $(config-cflags-avx) = yes]
16883         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
16884         [$(subdir) = elf && $(config-cflags-avx) = yes]
16885         (CFLAGS-tst-auditmod4a.c): Likewise.
16886         [$(subdir) = elf && $(config-cflags-avx) = yes]
16887         (CFLAGS-tst-auditmod4b.c): Likewise.
16888         [$(subdir) = elf && $(config-cflags-avx) = yes]
16889         (CFLAGS-tst-auditmod6b.c): Likewise.
16890         [$(subdir) = elf && $(config-cflags-avx) = yes]
16891         (CFLAGS-tst-auditmod6c.c): Likewise.
16892         [$(subdir) = elf && $(config-cflags-avx) = yes]
16893         (CFLAGS-tst-auditmod7b.c): Likewise.
16894         * elf/tst-audit3.c: Move to ...
16895         * sysdeps/x86_64/tst-audit3.c: ... here.
16896         * elf/tst-audit4.c: Move to ...
16897         * sysdeps/x86_64/tst-audit4.c: ... here.
16898         * elf/tst-audit5.c: Move to ...
16899         * sysdeps/x86_64/tst-audit5.c: ... here.
16900         * elf/tst-audit6.c: Move to ...
16901         * sysdeps/x86_64/tst-audit6.c: ... here.
16902         * elf/tst-audit7.c: Move to ...
16903         * sysdeps/x86_64/tst-audit7.c: ... here.
16904         * elf/tst-auditmod3a.c: Move to ...
16905         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
16906         * elf/tst-auditmod3b.c: Move to ...
16907         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
16908         * elf/tst-auditmod4a.c: Move to ...
16909         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
16910         * elf/tst-auditmod4b.c: Move to ...
16911         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
16912         * elf/tst-auditmod5a.c: Move to ...
16913         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
16914         * elf/tst-auditmod5b.c: Move to ...
16915         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
16916         * elf/tst-auditmod6a.c: Move to ...
16917         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
16918         * elf/tst-auditmod6b.c: Move to ...
16919         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
16920         * elf/tst-auditmod6c.c: Move to ...
16921         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
16922         * elf/tst-auditmod7a.c: Move to ...
16923         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
16924         * elf/tst-auditmod7b.c: Move to ...
16925         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
16926
16927 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
16928
16929         [BZ #15366]
16930         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
16931         define unconditionally.
16932         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
16933         define unconditionally.
16934         (INT8_C, INT16_C, etc.): Likewise.
16935
16936 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
16937
16938         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
16939         __ehdr_start with hidden visibility.
16940
16941         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
16942
16943 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
16944
16945         * math/libm-test.inc (cos_test): Use accurate hex constants.
16946         (sincost_test): Likewise.
16947
16948 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
16949
16950         * math/libm-test.inc (catan_test): Add more tests.
16951         (catanh_test): Likewise.
16952
16953         * math/s_catanf.c (__catanf): Use suffixed floating-point
16954         constants.
16955         * math/s_catanhf.c (__catanhf): Likewise.
16956         * math/s_catanhl.c (__catanhl): Likewise.
16957         * math/s_catanl.c (__catanl): Likewise.
16958
16959         [BZ #15394]
16960         * math/s_catan.c (__catan): Calculate imaginary part of result
16961         with log1p not log unless computing log of number close to 0.
16962         * math/s_catanf.c (__catanf): Likewise.
16963         * math/s_catanl.c (__catanl): Likewise.
16964         * math/s_catanh.c (__catanh): Calculate real part of result with
16965         log1p not log unless computing log of number close to 0.
16966         * math/s_catanhf.c (__catanhf): Likewise.
16967         * math/s_catanhl.c (__catanhl): Likewise.
16968         * math/libm-test.inc (catan_test): Add more tests.
16969         (catanh_test): Likewise.
16970         * sysdeps/i386/fpu/libm-test-ulps: Update.
16971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16972
16973 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16974
16975         * benchtests/Makefile: Mention files in which fast and slow
16976         paths of math functions are implemented.
16977
16978 2013-04-23  Roland McGrath  <roland@hack.frob.com>
16979
16980         * sysdeps/posix/timespec_get.c: New file.
16981
16982 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16983
16984         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
16985         POWER.
16986         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
16987         for POWER.
16988         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
16989         powerpc/power5/fpu folders.
16990         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
16991         * benchtests/Makefile: Add modf testcase.
16992         * benchtests/bench-modf.c: New file: Benchmark test for mo
16993
16994 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
16995
16996         [BZ #14888]
16997         * time/Makefile (tests): Add tst-strptime-whitespace.
16998         * time/strptime_l.c (get_number): Use ISSPACE.
16999         (__strptime_internal): Likewise.
17000         * time/tst-strptime-whitespace.c: New test case.
17001
17002 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
17003
17004         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
17005         member.
17006         (_nss_files_init): Set it here.
17007
17008 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
17009
17010         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
17011         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
17012         unsigned.
17013
17014 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
17015
17016         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
17017
17018 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
17019
17020         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
17021         size just once.
17022
17023 2013-04-21  David S. Miller  <davem@davemloft.net>
17024
17025         * po/ru.po: Update Russion translation from translation project.
17026
17027 2013-04-17  Adam Conrad  <adconrad@0c3.net>
17028
17029         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
17030         and setfsgid.
17031
17032 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
17033
17034         * configure.in: Remove i386 configure warning. Remove i386 case.
17035         * configure: Regenerate.
17036         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
17037         Add example to error message.
17038         * sysdeps/i386/configure: Regenerate.
17039
17040 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
17041
17042         * benchtests/Makefile (bench): Add cos, tan, slowcos and
17043         slowtan.
17044         * benchtests/cos-inputs: New file.
17045         * benchtests/slowcos-inputs: New file.
17046         * benchtests/slowcos.c: New file.
17047         * benchtests/slowtan-inputs: New file.
17048         * benchtests/slowtan.c: New file.
17049         * benchtests/tan-inputs: New file.
17050
17051 2013-04-16  Roland McGrath  <roland@hack.frob.com>
17052
17053         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
17054         considered kosher.
17055
17056 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17057
17058         * benchtests/Makefile: Include cppflags-iterator.mk to add
17059         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
17060
17061         * Makefile.in (bench-clean): New target.
17062         * benchtests/Makefile (bench-clean): Likewise.
17063
17064 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
17065
17066         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
17067
17068 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
17069
17070         * stdio-common/tstdiomisc.c: Fix coding-style violation.
17071
17072 2013-04-15  Andreas Schwab  <schwab@suse.de>
17073
17074         * nscd/grpcache.c (cache_addgr): Properly check for short write.
17075         * nscd/initgrcache.c (addinitgroupsX): Likewise.
17076         * nscd/pwdcache.c (cache_addpw): Likewise.
17077         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
17078         more than recsize.
17079
17080 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17081
17082         * benchtests/Makefile (bench): Write all output to
17083         bench-out.tmp together.
17084
17085 2013-04-15  Andreas Schwab  <schwab@suse.de>
17086
17087         * nscd/nscd.c (main): Don't fork again after closing files.
17088
17089 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17090
17091         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
17092
17093         * benchtests/Rules (bench-deps): Collect dependencies into a
17094         single variable.  Add Makefile to dependencies.
17095         ($(objpfx)bench-%.c): Depend on bench-deps.
17096
17097 2013-04-12  Roland McGrath  <roland@hack.frob.com>
17098             Xavier Roche  <roche+kml2@exalead.com>
17099
17100         [BZ #15361]
17101         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
17102         just that it's a file descriptor.
17103         * manual/llio.texi (Synchronizing AIO Operations): Update description
17104         for EBADF error from aio_fsync.
17105
17106 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17107
17108         * Rules (bench): Move target definition...
17109         * benchtests/Makefile: ... here.
17110
17111 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
17112
17113         * math/libm-test.inc (cos_test): Fix PI/2 test.
17114         (sincos_test): Likewise.
17115         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
17116         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
17117
17118 2013-04-11  Andreas Schwab  <schwab@suse.de>
17119
17120         [BZ #13988]
17121         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
17122         accept exponent character only when digits were seen.
17123         * stdio-common/Makefile (tests): Add bug26.
17124         * stdio-common/bug26.c: New file.
17125
17126         [BZ #14293]
17127         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
17128         non-freeable.
17129
17130 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17131
17132         * Makeconfig (rtld-prefix): Define built linker prefix.
17133         * Rules (run-bench): Use it.
17134         * math/Makefile (run-regen-ulps): Likewise.
17135
17136         * Rules (bench): Remove eval.
17137
17138 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
17139             Roland McGrath  <roland@hack.frob.com>
17140             Ondrej Bilka  <neleai@seznam.cz>
17141
17142         [BZ #15346]
17143         * time/getdate.c: Include ctype.h and alloca.h.
17144         (__getdate_r): Trim leading and trailing spaces of input.
17145         * time/tst-getdate.c (tests): Add tests with leading and
17146         trailing spaces.
17147
17148 2013-04-08  Roland McGrath  <roland@hack.frob.com>
17149
17150         [BZ #14280]
17151         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
17152         when computing value.
17153
17154 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17155
17156         * math/README.libm-test (How can I generate "libm-test-ulps"?):
17157         Use testrun.sh to run libm tests.
17158
17159         [BZ #15309]
17160         * elf/dl-open.c (dl_open_worker): memset all of seen array.
17161
17162 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
17163
17164         [BZ #15264]
17165         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
17166
17167 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17168
17169         * Makefile.in (regen-ulps): New target.
17170         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
17171         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
17172         [ifneq (no,$(PERL)] (regen-ulps): New target.
17173         [ifeq (no,$(PERL)] (regen-ulps): New target.
17174         * math/libm-test.inc (ulps_file_name): Define.
17175         (output_dir): New variable.
17176         (options): Add "output-dir" option.
17177         (parse_opt): Handle 'o' case.
17178         (main): If output_dir is non-NULL use it as a prefix
17179         otherwise use "".
17180         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
17181
17182 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17183
17184         [BZ #10060, #10062]
17185         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
17186         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
17187         fail configure if __sync_val_compare_and_swap is not inlined.
17188         * sysdeps/i386/configure: Regenerate.
17189         * configure.in: Build for i686 when configured for i386.
17190         * configure: Regenerate.
17191         * README: Remove i386 reference.
17192
17193 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
17194
17195         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
17196         * sysdeps/s390/s390-64/sysdep.h: Likewise.
17197
17198 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
17199
17200         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
17201         (lmsnanval): New variables.
17202         (F): Add conversion tests.
17203         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
17204         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
17205
17206         * stdio-common/tstdiomisc.c (F): Properly collect individual
17207         tests' results.
17208
17209         [BZ #14686, #15336]
17210         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
17211         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
17212         Instead, use input NaN values or generate a qNaN by arithmetic
17213         operation.  Also fix bugs to comply with the standard.
17214         * math/libm-test.inc (remainder_test): Add more tests.
17215
17216         [BZ #15335, #15342]
17217         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
17218         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
17219         input NaN values or generate a qNaN by arithmetic operation.
17220
17221         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
17222         unreachable code.
17223
17224         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
17225         definitions.
17226
17227 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
17228
17229         [BZ #14478]
17230         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
17231         underflowed result.
17232         * math/s_cexpf.c (__cexpf): Likewise.
17233         * math/s_cexpl.c (__cexpl): Likewise.
17234         * math/libm-test.inc (cexp_test): Add more tests.
17235
17236 2013-04-03  Andreas Schwab  <schwab@suse.de>
17237
17238         [BZ #15330]
17239         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
17240         order arrays from heap if bigger than alloca cutoff.
17241
17242 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
17243
17244         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
17245         (SNAN_TESTS_double): Refer to GCC PR56831.
17246         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
17247         GCC PR56828.
17248
17249 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
17250
17251         * Rules (bench): Move bench.out after the run is complete.
17252
17253         * Rules (bench): Echo currently running benchmark.
17254
17255         * benchtests/Makefile (bench): Add atan and slowatan.
17256         * benchtests/atan-inputs: New file.
17257         * benchtests/slowatan-inputs: New file.
17258         * benchtests/slowatan.c: New file.
17259
17260         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
17261         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
17262         its value.
17263
17264         [BZ #15305]
17265         * sysdeps/unix/sysv/linux/kernel-features.h
17266         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
17267         __ASSUME_XFS_RESTRICTED_CHOWN.
17268         * sysdeps/unix/sysv/linux/pathconf.c
17269         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
17270         Save and restore errno.
17271
17272 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
17273
17274         [BZ #15327]
17275         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
17276         arguments using __kernel_casinh.
17277         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
17278         arguments using __kernel_casinhf.
17279         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
17280         arguments using __kernel_casinhl.
17281         * math/libm-test.inc (cacosh_test): Add more tests.
17282         * sysdeps/i386/fpu/libm-test-ulps: Update.
17283         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17284
17285 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
17286
17287         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
17288         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
17289
17290         * bench/Makefile (bench): Add sin and slowsin.
17291         * benchtests/sin-inputs: New file.
17292         * benchtests/slowsin-inputs: New file.
17293         * benchtests/slowsin.c: New file.
17294
17295         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
17296         (bench): Add slowexp and slowpow.
17297         (exp-ITER): Increase iterations.
17298         (pow-ITER): Likewise.
17299         * benchtests/exp-inputs: Change input.
17300         * benchtests/pow-inputs: Likewise.
17301         * benchtests/slowexp-inputs: New file.
17302         * benchtests/slowexp.c: New file.
17303         * benchtests/slowpow-inputs: New file.
17304         * benchtests/slowpow.c: New file.
17305
17306 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17307
17308         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
17309         instructions.
17310         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
17311         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
17312         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
17313         * benchtests/Makefile: Add rint benchtest.
17314         * benchtests/rint-inputs: Input for rint benchtest.
17315
17316 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
17317
17318         * Versions.def (libm): Add GLIBC_2.18.
17319         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
17320         hidden libm prototypes.
17321         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
17322         * math/Makefile (libm-calls): Add s_issignaling.
17323         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
17324         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
17325         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
17326         declaration.
17327         * math/math.h [__USE_GNU] (issignaling): New macro.
17328         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
17329         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
17330         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
17331         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
17332         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
17333         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
17334         * manual/arith.texi (issignaling): New section.
17335         * manual/libm-err-tab.pl (@all_functions): Update comment.
17336         * math/gen-libm-test.pl (parse_args): Apply special handling for
17337         issignaling.
17338         * math/libm-test.inc (print_float, issignaling_test): New
17339         functions.
17340         (check_float_internal): Add issignaling checks.
17341         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
17342         default definition.
17343         * sysdeps/powerpc/math-tests.h: New file.
17344         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
17345         tests.
17346         * math/test-snan.c (TEST_FUNC): Likewise.
17347
17348 2013-03-30  David S. Miller  <davem@davemloft.net>
17349
17350         * po/de.po: Update from translation team.
17351
17352 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
17353
17354         [BZ #10357]
17355         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17356         imaginary part less than 1.0 and real part less than 0.5
17357         specially.
17358         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17359         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17360         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
17361         (cacos_test): Add more tests.
17362         (casin_test): Likewise.
17363         (casinh_test): Likewise.
17364         * sysdeps/i386/fpu/libm-test-ulps: Update.
17365         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17366
17367 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
17368
17369         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
17370         ONE with its value.
17371
17372         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
17373         (__pow_mp): Replace ONE and MONE with their values.
17374         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17375         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
17376         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17377         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
17378         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17379         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17380
17381         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
17382
17383         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
17384         (__pow_mp): Replace ZERO and MZERO with their values.
17385         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17386         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17387         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
17388         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
17389         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17390         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
17391         (__sqr): Likewise.
17392
17393         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
17394
17395         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
17396
17397 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17398
17399         * include/stdlib.h [!SHARED] (__call_tls_dtors):
17400         Declare with __attribute__ ((weak)).
17401         * stdlib/exit.c (__libc_atexit) [!SHARED]:
17402         Call __call_tls_dtors only if it's not NULL.
17403
17404 2013-03-28  Roland McGrath  <roland@hack.frob.com>
17405
17406         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
17407         didn't do it already, then set _dl_phdr and _dl_phnum based on the
17408         magic __ehdr_start linker symbol if it's defined.
17409         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
17410         them up here if it was already done.
17411
17412         * elf/dl-support.c (_dl_phdr): Make pointer to const.
17413         (_dl_aux_init): Use const in cast when setting it.
17414         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
17415         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
17416         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
17417
17418         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
17419         Declare them here.
17420         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
17421         * csu/libc-tls.c: Nor here.
17422         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
17423
17424         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
17425         (__libc_message): Never call vsyslog.
17426
17427 2013-03-28  Alan Modra  <amodra@gmail.com>
17428
17429         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
17430         Define as empty.
17431         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
17432         Likewise.
17433
17434 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17435
17436         [BZ #15214]
17437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
17438         underflow.
17439         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17440
17441 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17442
17443         [BZ #15304]
17444         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
17445         Don't add gid passed as argument.
17446
17447         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
17448
17449 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
17450
17451         [BZ #15307]
17452         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17453         imaginary part between 1.0 and 1.5 and real part less than 0.5
17454         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.
17462
17463 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
17464
17465         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
17466         constants.
17467         (norm): Likewise.
17468         (denorm): Likewise.
17469         (__dbl_mp): Likewise.
17470         (add_magnitudes): Likewise.
17471         (sub_magnitudes): Likewise.
17472         (__add): Likewise.
17473         (__sub): Likewise.
17474         (__mul): Likewise.
17475         (__sqr): Likewise.
17476         (__inv): Likewise.
17477         (__dvd): Likewise.
17478
17479         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
17480         commented code.
17481         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
17482         (__dubcos): Likewise.
17483         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
17484         (__ieee754_acos): Likewise.
17485         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
17486         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
17487         (__exp1): Likewise.
17488         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
17489         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
17490         (log1): Likewise.
17491         (my_log2): Likewise.
17492         (checkint): Likewise.
17493         * sysdeps/ieee754/dbl-64/e_remainder.c
17494         (__ieee754_remainder): Likewise.
17495         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
17496         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
17497         (bsloww): Likewise.
17498         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
17499
17500         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17501         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
17502         MANTISSA_STORE_T to store computations on mantissa.  Use
17503         macros for rounding and division.
17504         (denorm): Likewise.
17505         (__dbl_mp): Likewise.
17506         (add_magnitudes): Likewise.
17507         (sub_magnitudes): Likewise.
17508         (__mul): Likewise.
17509         (__sqr): Likewise.
17510         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17511         powers of two in terms of TWOPOW macro.
17512         (mp_no): Make type of mantissa as MANTISSA_T.
17513         [!RADIXI]: Define RADIXI.
17514         [!TWO52]: Define TWO52.
17515         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17516
17517 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17518
17519         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
17520         llroundl symbol when building for PPC32.
17521
17522 2013-03-24  Mark H Weaver  <mhw@netris.org>
17523
17524         * manual/arith.texi (Normalization Functions): Fix prototypes for
17525         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
17526
17527 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17528
17529         [BZ #13889]
17530         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
17531         high value to check if expl overflow.
17532         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
17533         to check for underflow and overflow.
17534         * math/libm-test.inc: Add exp test.
17535
17536 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
17537
17538         [BZ #11120]
17539         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
17540         with NOT_IN_libc.
17541
17542 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17543
17544         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
17545         symbol.
17546
17547 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
17548
17549         * math/gen-libm-test.pl (parse_args, special_functions): Properly
17550         wrap blocks consisting of several statements.
17551
17552         * sysdeps/generic/math-tests.h: New file.
17553         * sysdeps/i386/fpu/math-tests.h: Likewise.
17554         * math/test-snan.c: Include it.
17555         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
17556
17557 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17558
17559         [BZ #15285]
17560         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
17561         (__ieee754_j0l): Do not improve calculations using cos of twice
17562         input for inputs above LDBL_MAX / 2.0L.
17563         (__ieee754_y0l): Likewise.
17564         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
17565         (__ieee754_j1l): Do not improve calculations using cos of twice
17566         input for inputs above LDBL_MAX / 2.0L.
17567         (__ieee754_y1l): Likewise.
17568         * math/libm-test.inc (j0_test): Add another test.
17569         (j1_test): Likewise.
17570         (y0_test): Likewise.
17571         (y1_test): Likewise.
17572         * sysdeps/i386/fpu/libm-test-ulps: Update.
17573
17574 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17575
17576         * Rules ($(objpfx)bench-%.c): Include code from a C source
17577         file.
17578
17579 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
17580
17581         [BZ #15287]
17582         * math/k_casinh.c (__kernel_casinh): Handle arguments with
17583         imaginary part 1.0 and real part less than 0.5 specially.
17584         * math/k_casinhf.c (__kernel_casinhf): Likewise.
17585         * math/k_casinhl.c (__kernel_casinhl): Likewise.
17586         * math/libm-test.inc (cacos_test): Add more tests.
17587         (casin_test): Likewise.
17588         (casinh_test): Likewise.
17589         * sysdeps/i386/fpu/libm-test-ulps: Update.
17590         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17591
17592 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
17593
17594         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
17595         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
17596
17597 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
17598
17599         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
17600         * config.make.in (config-cflags-sse4): Remove variable.
17601         (config-cflags-avx): Likewise.
17602         (config-cflags-sse2avx): Likewise.
17603         (config-cflags-novzeroupper): Likewise.
17604         (config-asflags-i686): Likewise.
17605         (have-mfma4): Likewise.
17606         (have-as-vis3): Likewise.
17607         (MIG): Likewise.
17608         * configure.in (MIG): Do not AC_SUBST.
17609         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
17610         (libc_cv_cc_sse4): Do not AC_SUBST.
17611         (libc_cv_cc_avx): Likewise.
17612         (libc_cv_cc_sse2avx): Likewise.
17613         (libc_cv_cc_novzeroupper): Likewise.
17614         (libc_cv_cc_fma4): Likewise.
17615         (libc_cv_as_i686): Likewise.
17616         (libc_cv_sparc_as_vis3): Likewise.
17617         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
17618         LIBC_CONFIG_VAR.
17619         (config-asflags-i686): Likewise.
17620         (config-cflags-avx): Likewise.
17621         (config-cflags-sse2avx): Likewise.
17622         (have-mfma4): Likewise.
17623         (config-cflags-novzeroupper): Likewise.
17624         * sysdeps/mach/configure.in (MIG): Likewise.
17625         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
17626         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
17627         LIBC_CONFIG_VAR.
17628         (config-cflags-avx): Likewise.
17629         (config-cflags-sse2avx): Likewise.
17630         (have-mfma4): Likewise.
17631         (config-cflags-novzeroupper): Likewise.
17632         * configure: Regenerated.
17633         * sysdeps/i386/configure: Likewise.
17634         * sysdeps/mach/configure: Likewise.
17635         * sysdeps/sparc/configure: Likewise.
17636         * sysdeps/x86_64/configure: Likewise.
17637
17638 2013-03-20  Roland McGrath  <roland@hack.frob.com>
17639
17640         [BZ #14812]
17641         * locale/programs/localedef.c (options): Put N_ translation marker
17642         on argument names, not just descriptions.
17643
17644 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17645
17646         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
17647
17648 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
17649
17650         [BZ #14176]
17651         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
17652
17653 2013-03-19  Roland McGrath  <roland@hack.frob.com>
17654
17655         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
17656         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
17657         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
17658         [!BEFORE_ABORT] (before_abort): New function.
17659         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
17660         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
17661         (writev_for_fatal): New function.
17662         (WRITEV_FOR_FATAL): New macro; call that.
17663         (backtrace_and_maps): New function.
17664         (BEFORE_ABORT): New macro; call that.
17665         (struct str_list): Type removed.
17666         (__libc_message, __libc_fatal): Functions removed.
17667         Include <sysdeps/posix/libc_fatal.c> instead.
17668
17669 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
17670
17671         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
17672         constants.
17673         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
17674         double constants.
17675
17676 2013-03-19  Andreas Schwab  <schwab@suse.de>
17677
17678         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
17679         * sysdeps/gnu/configure: Regenerate.
17680
17681         * configure.in: Substitute libc_cv_rtlddir.
17682         * configure: Regenerate.
17683         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
17684         * Makeconfig (rtlddir, inst_rtlddir): New variables.
17685         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
17686         * elf/Makefile (install-others, CFLAGS-interp.c)
17687         (ldso_install, common-ldd-rewrite): Likewise.
17688         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
17689         $(inst_slibdir)/$(rtld-installed-name).
17690         * scripts/rellns-sh: Add -p option.
17691         * Makerules (make-shlib-link): Use rellns-sh to get relative name
17692         for source.
17693
17694 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
17695
17696         * manual/nptl.texi: Renamed to ...
17697         * manual/threads.texi: ... this.
17698         * manual/Makefile (chapters): Update.
17699
17700 2013-03-18  Roland McGrath  <roland@hack.frob.com>
17701
17702         [BZ #14812]
17703         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
17704         on argument names, not just descriptions.
17705         * malloc/memusagestat.c (options): Likewise.
17706         * nss/getent.c (options): Likewise.
17707
17708 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
17709
17710         [BZ #14812]
17711         * iconv/iconv_prog.c (options): Put N_ translation marker
17712         on argument names, not just descriptions.
17713         * iconv/iconvconfig.c (options): Likewise.
17714
17715 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
17716
17717         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
17718         implementation which is faster on all x86_64 architectures.
17719         Tested on AMD, Intel Nehalem, SNB, IVB.
17720         * sysdeps/x86_64/strnlen.S: Likewise.
17721
17722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
17723         Remove all multiarch strlen and strnlen versions.
17724         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17725         Remove strlen and strnlen related parts.
17726
17727         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
17728         Inline strlen part.
17729         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
17730
17731         * sysdeps/x86_64/multiarch/strlen.S: Remove.
17732         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
17733         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
17734         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
17735         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
17736         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
17737
17738 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
17739
17740         * manual/memory.texi (Malloc Tunable Parameters):
17741         Sort parameters alphabetically. Add comments for missing entries.
17742
17743 2013-03-17  David S. Miller  <davem@davemloft.net>
17744
17745         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17746
17747 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
17748
17749         [BZ #15283]
17750         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
17751         for arguments at most half maximum finite value.
17752         * math/libm-test.inc (j0_test): Add more tests.
17753         (j1_test): Likewise.
17754         (y0_test): Likewise.
17755         (y1_test): Likewise.
17756         * sysdeps/i386/fpu/libm-test-ulps: Update.
17757         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17758
17759         [BZ #14155]
17760         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
17761         1 / x and functions P and Q for arguments above 0x1p256L.
17762         (__ieee754_y0l): Likewise.
17763         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17764         (__ieee754_y1l): Likewise.
17765         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
17766         (j1_test): Likewise.
17767         (y0_test): Likewise.
17768         (y1_test): Likewise.
17769
17770 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
17771
17772         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
17773         variable.
17774
17775 2013-03-15  Roland McGrath  <roland@hack.frob.com>
17776
17777         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
17778         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
17779         zero since it's initialized to EXEC_PAGESIZE.
17780
17781         * sysdeps/unix/sysv/linux/ldsodefs.h
17782         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
17783         * sysdeps/generic/ldsodefs.h: ... here.
17784
17785 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
17786
17787         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
17788
17789         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
17790         math/test-snan.c.
17791         * math/test-snan.c: Renamed from
17792         sysdeps/powerpc/fpu/test-powerpc-snan.c.
17793         * math/Makefile (tests): Add test-snan.
17794         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
17795         test-powerpc-snan.
17796
17797         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
17798         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
17799         functions.
17800         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
17801         __builtin_nan family of functions.
17802         * math/libm-test.inc (initialize): Initialize qnan_value with
17803         __builtin_nan family of functions.
17804         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
17805         Remove variables.
17806         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
17807         Remove functions.
17808         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
17809         storage class.  Initialize qNaN_var and sNaN_var with
17810         __builtin_nan and __builtin_nans families of functions,
17811         respectively.
17812
17813         * math/libm-test.inc (acosh_test): Also test with qNaN input.
17814         (sqrt_test): Remove duplicate test with qNaN input.
17815         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
17816         (round_test, signbit_test, significand_test): Note missing +/-Inf
17817         as well as qNaN tests.
17818
17819         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
17820         qNaN_var.  Fix a few strings, too.
17821         * math/libm-test.inc (nan_value): Rename to qnan_value.
17822         * math/gen-libm-test.pl (%beautify): Adjust to that.
17823         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
17824         * math/test-misc.c (main): Likewise.
17825         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
17826         to __qnan_bytes, and __qnan_union, respectively.
17827         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
17828         Likewise.
17829         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
17830         and lqnanval, respectively.
17831         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
17832         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
17833         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
17834         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
17835
17836         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
17837         * math/test-misc.c (main) [__x86_64__]: Enable test for long
17838         doubles.
17839
17840         * math/test-misc.c (main): Fix copy'n'pastos.
17841         * misc/tst-efgcvt.c (special): Likewise.
17842
17843         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
17844         Remove declarations.
17845
17846 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17847
17848         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
17849         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
17850         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
17851         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
17852
17853 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17854
17855         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
17856         macro to return vdso values correctly in IFUNC implementations.
17857         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
17858         Optimization by using IFUNC.
17859
17860 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17861             Richard Henderson  <rth@redhat.com>
17862             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17863
17864         * Makefile.in (bench): New target.
17865         * NEWS: Mention the benchmark framework.
17866         * Rules (bench): Likewise.
17867         (binaries-bench): Generate binaries for functions to
17868         benchmark.
17869         * benchtests/Makefile: New makefile for benchmark tests.
17870         * benchtests/bench-skeleton.c: New skeleton file for benchmark
17871         programs.
17872         * benchtests/exp-inputs: New input file for EXP function.
17873         * benchtests/pow-inputs: New input file for POW function.
17874         * scripts/bench.pl: New script to generate source files for
17875         benchmark programs.
17876
17877 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
17878
17879         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
17880         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
17881         computations on mantissa.  Use macros for rounding and
17882         division.
17883         (denorm): Likewise.
17884         (__dbl_mp): Likewise.
17885         (add_magnitudes): Likewise.
17886         (sub_magnitudes): Likewise.
17887         (__mul): Likewise.
17888         (__sqr): Likewise.
17889         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
17890         powers of two in terms of TWOPOW macro.
17891         (mp_no): Make type of mantissa as MANTISSA_T.
17892         [!RADIXI]: Define RADIXI.
17893         [!TWO52]: Define TWO52.
17894         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
17895
17896         * manual/nptl.texi (cindex): Modify threads to pthreads.
17897
17898 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
17899
17900         * sysdeps/x86_64/preconfigure: Regenerated.
17901
17902 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
17903
17904         [BZ #14155]
17905         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
17906         0x1p28 and above.
17907         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
17908         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
17909         0x1p28 and above.
17910         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
17911         * math/libm-test.inc (j0_test): Do not allow one spurious
17912         underflow exception.
17913         (y1_test): Likewise.
17914
17915 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
17916
17917         * manual/Makefile (chapters): Add nptl.
17918         * manual/debug.texi (Debugging Support): Add link to Threads
17919         chapter.
17920         * manual/nptl.texi: New file.
17921
17922         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
17923
17924 2013-03-14  Petr Baudis  <pasky@ucw.cz>
17925
17926         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
17927         for non-NULL pointer before the memory validity test. Pointed
17928         out by Holger Brunck <holger.brunck@keymile.com>.
17929
17930 2013-03-13  Andreas Schwab  <schwab@suse.de>
17931
17932         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
17933         instead of .os.
17934
17935 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
17936
17937         * timezone/zic.c: Update from tzcode 2013b.
17938
17939 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
17940
17941         * manual/install.texi (Configuring and compiling):
17942         Mention i686 and i586.
17943         * INSTALL: Regenerate.
17944
17945 2013-03-12  Roland McGrath  <roland@hack.frob.com>
17946
17947         * sysdeps/init_array/elf-init.c: New file.
17948         * csu/elf-init.c
17949         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
17950         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
17951
17952         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
17953         __gmon_start__ as global, but as static with a .preinit_array pointer.
17954         * sysdeps/init_array/gmon-start.c: New file.  Use that.
17955         * sysdeps/init_array/crti.S: New file, empty except for comments.
17956         * sysdeps/init_array/crtn.S: Likewise.
17957
17958 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
17959
17960         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
17961         definining bcopy.
17962         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17963         Remove Prefer_SSE_for_memop.
17964         * sysdeps/x86_64/multiarch/init-arch.h: Remove
17965         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
17966         HAS_PREFER_SSE_FOR_MEMOP.
17967         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17968         memset-x86-64.
17969         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
17970         Remove bzero, memset ifunc support.
17971         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
17972         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
17973         * sysdeps/x86_64/multiarch/memset.S: Likewise.
17974         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
17975
17976 2013-03-11  Andreas Schwab  <schwab@suse.de>
17977
17978         [BZ #15234]
17979         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
17980         by SHLIB_COMPAT.
17981         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
17982         (GLIBC_2.16): Remove pthread_atfork.
17983
17984 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
17985
17986         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
17987         (ptestcases.h): Likewise.
17988
17989 2013-03-08  Roland McGrath  <roland@hack.frob.com>
17990
17991         * Makeconfig ($(common-objpfx)config.status): Depend on
17992         sysdeps/*/preconfigure{,.in} too.
17993
17994 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
17995
17996         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
17997         (__free_hook): Use void * instead of __malloc_ptr_t.
17998         (__malloc_hook): Likewise.
17999         (__realloc_hook): Likewise.
18000         (__memalign_hook): Likewise.
18001         (__after_morecore_hook): Likewise.
18002         * malloc/arena.c (save_malloc_hook): Likewise.
18003         (save_free_hook): Likewise.
18004         * malloc/hooks.c (malloc_hook_ini): Likewise.
18005         (realloc_hook_ini): Likewise.
18006         (memalign_hook_ini): Likewise.
18007         * malloc/malloc.c (malloc_hook_ini): Likewise.
18008         (realloc_hook_ini): Likewise.
18009         (memalign_hook_ini): Likewise.
18010         (__free_hook): Likewise.
18011         (__malloc_hook): Likewise.
18012         (__realloc_hook): Likewise.
18013         (__memalign_hook): Likewise.
18014         (__libc_malloc): Likewise.
18015         (__libc_free): Likewise.
18016         (__libc_realloc): Likewise.
18017         (__libc_memalign): Likewise.
18018         (__libc_valloc): Likewise.
18019         (__libc_pvalloc): Likewise.
18020         (__libc_calloc): Likewise.
18021         (__posix_memalign): Likewise.
18022         * malloc/morecore.c (__sbrk): Likewise.
18023         (__default_morecore): Likewise.
18024
18025         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
18026
18027         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
18028         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
18029         __malloc_ptrdiff_t.
18030
18031         * malloc/malloc.h (__malloc_size_t): Remove macro.
18032         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
18033         __malloc_size_t.
18034         (old_memalign_hook): Likewise.
18035         (old_realloc_hook): Likewise.
18036         (struct hdr): Likewise.
18037         (flood): Likewise.
18038         (mallochook): Likewise.
18039         (memalignhook): Likewise.
18040         (reallochook): Likewise.
18041         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
18042         (tr_old_realloc_hook): Likewise.
18043         (tr_old_memalign_hook): Likewise.
18044         (tr_mallochook): Likewise.
18045         (tr_reallochook): Likewise.
18046         (tr_memalignhook): Likewise.
18047
18048 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18049
18050         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
18051         default_ldbl_pack and using as default implementation.
18052         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
18053         implementation.
18054         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
18055         redundant definition.
18056         (ldbl_insert_mantissa): Likewise.
18057         (ldbl_canonicalize): Likewise.
18058         (ldbl_nearbyint): Likewise.
18059         (ldbl_pack): Rename to ldbl_pack_ppc.
18060         (ldbl_unpack): Rename to ldbl_unpack_ppc.
18061         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
18062         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
18063
18064 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
18065
18066         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
18067         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
18068         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
18069         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
18070         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
18071         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
18072         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
18073         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
18074
18075 2013-03-07  Andreas Jaeger  <aj@suse.de>
18076
18077         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
18078         bits/mman-linux.h.
18079
18080 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
18081
18082         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
18083         Include mpa.h and declare __MPEXP.
18084         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
18085         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18086         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18087         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
18088         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18089         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
18090         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
18091
18092         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
18093         (__slowpow): Use long double EXPL and LOGL functions to
18094         compute POW.
18095         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
18096         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18097         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
18098         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
18099         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
18100         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
18101
18102         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
18103         intermediate variable to calculate exponent.
18104         (__sqr): Likewise.
18105         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
18106         Likewise.
18107         (__sqr): Likewise.
18108
18109         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
18110         [!NO__SQR]: Define __sqr.
18111         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
18112         and NO__SQR.  Remove all code except __mul and __sqr.  Include
18113         sysdeps/ieee754/dbl-64/mpa.c.
18114         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
18115
18116         [BZ #12723]
18117         * posix/Makefile (tests): Add tst-pathconf.
18118         * posix/tst-pathconf.c: New test case.
18119         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
18120         _PC_PIPE_BUF.
18121         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
18122
18123 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
18124
18125         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
18126
18127 2013-03-06  Andreas Jaeger  <aj@suse.de>
18128
18129         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
18130         definition via __MAP_ANONYMOUS.
18131
18132         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
18133         it's not part of Linux headers.
18134
18135         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
18136         (MAP_HUGE_MASK): Define.
18137
18138         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18139         Define.
18140         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18141         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18142         Define.
18143         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18144         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
18145         Define.
18146         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18147         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
18148         Define.
18149         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
18150
18151         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
18152         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
18153         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
18154         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
18155         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
18156         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
18157
18158         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
18159         Handle f2fs.
18160
18161         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
18162         Handle f2fs and efivarfs.
18163
18164         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
18165         f2fs.
18166
18167         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
18168         (EFIVARFS_MAGIC): Add.
18169         (F2FS_LINK_MAX): Add.
18170
18171 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
18172
18173         * stdio-common/vfprintf.c: Replace __builtin_expect with
18174         __glibc_unlikely.
18175
18176 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
18177
18178         [BZ #13550]
18179         * sysdeps/generic/bp-sym.h: Remove file.
18180         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
18181         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
18182         <bp-sym.h> and <bp-asm.h>.
18183         (__longjmp): Don't use BP_SYM.
18184         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
18185         and <bp-asm.h>.
18186         (memcpy): Don't use BP_SYM.
18187         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
18188         <bp-sym.h> and <bp-asm.h>.
18189         (memcpy): Don't use BP_SYM.
18190         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
18191         <bp-asm.h>.
18192         (memcpy): Don't use BP_SYM.
18193         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
18194         <bp-asm.h>.
18195         (memset): Don't use BP_SYM.
18196         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18197         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18198         (__bzero): Don't use BP_SYM.
18199         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18200         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18201         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
18202         <bp-sym.h> and <bp-asm.h>.
18203         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18204         pointers.
18205         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
18206         <bp-sym.h> and <bp-asm.h>.
18207         (memcpy): Don't use BP_SYM.
18208         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
18209         <bp-sym.h> and <bp-asm.h>.
18210         (memset): Don't use BP_SYM.
18211         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18212         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18213         (__bzero): Don't use BP_SYM.
18214         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18215         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18216         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
18217         <bp-sym.h> and <bp-asm.h>.
18218         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18219         pointers.
18220         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
18221         <bp-sym.h> and <bp-asm.h>.
18222         (memcpy): Don't use BP_SYM.
18223         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
18224         <bp-sym.h> and <bp-asm.h>.
18225         (memset): Don't use BP_SYM.
18226         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18227         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18228         (__bzero): Don't use BP_SYM.
18229         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18230         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18231         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
18232         <bp-sym.h> and <bp-asm.h>.
18233         (__memchr): Don't use BP_SYM.
18234         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
18235         <bp-sym.h> and <bp-asm.h>.
18236         (memcmp): Don't use BP_SYM.  Remove comment about bounded
18237         pointers.
18238         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
18239         <bp-sym.h> and <bp-asm.h>.
18240         (memcpy): Don't use BP_SYM.
18241         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
18242         <bp-sym.h> and <bp-asm.h>.
18243         (__mempcpy): Don't use BP_SYM.
18244         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
18245         <bp-sym.h> and <bp-asm.h>.
18246         (__memrchr): Don't use BP_SYM.
18247         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
18248         <bp-sym.h> and <bp-asm.h>.
18249         (memset): Don't use BP_SYM.
18250         (__bzero): Likewise.
18251         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
18252         <bp-sym.h> and <bp-asm.h>.
18253         (__rawmemchr): Don't use BP_SYM.
18254         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
18255         <bp-sym.h> and <bp-asm.h>.
18256         (__STRCMP): Don't use BP_SYM.
18257         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
18258         <bp-sym.h> and <bp-asm.h>.
18259         (strchr): Don't use BP_SYM.
18260         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
18261         <bp-sym.h> and <bp-asm.h>.
18262         (__strchrnul): Don't use BP_SYM.
18263         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
18264         <bp-sym.h> and <bp-asm.h>.
18265         (strlen): Don't use BP_SYM.
18266         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
18267         <bp-sym.h> and <bp-asm.h>.
18268         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18269         pointers.
18270         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
18271         <bp-sym.h> and <bp-asm.h>.
18272         (__strnlen): Don't use BP_SYM.
18273         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
18274         <bp-sym.h> and <bp-asm.h>.
18275         (__GI__setjmp): Don't use BP_SYM.
18276         (_setjmp): Likewise.
18277         (__sigsetjmp): Likewise.
18278         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
18279         (L(start_addresses)): Don't use BP_SYM.
18280         (_start): Likewise.
18281         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
18282         <bp-asm.h>.
18283         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
18284         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
18285         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18286         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18287         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
18288         <bp-asm.h>.
18289         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
18290         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
18291         about bounded pointers.
18292         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18293         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18294         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
18295         <bp-asm.h>.
18296         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18297         about bounded pointers.  Remove GKM FIXME comments.
18298         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18299         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
18300         <bp-asm.h>.
18301         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
18302         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
18303         Remove GKM FIXME comments.
18304         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18305         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18306         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
18307         <bp-asm.h>.
18308         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
18309         about bounded pointers.  Remove GKM FIXME comment.
18310         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
18311         and <bp-asm.h>.
18312         (strncmp): Don't use BP_SYM.  Remove comment about bounded
18313         pointers.
18314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
18315         <bp-sym.h> and <bp-asm.h>.
18316         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18317         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
18318         <bp-sym.h> and <bp-asm.h>.
18319         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18320         comment.
18321
18322 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
18323
18324         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
18325         call free(NULL).
18326
18327 2013-03-05  David S. Miller  <davem@davemloft.net>
18328
18329         * po/es.po: Update from translation team.
18330
18331 2013-03-05  Andreas Jaeger  <aj@suse.de>
18332
18333         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
18334         <bits/mman-linux.h>.
18335         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18336         is fine.
18337         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
18338         <bits/mman-linux.h> to end of file.
18339         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18340         is fine.
18341         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
18342         <bits/mman-linux.h> to end of file.
18343         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
18344         is fine.
18345         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
18346         <bits/mman-linux.h> to end of file.
18347
18348         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
18349         (MCL_CURRENT, MCL_FUTURE): Define here.
18350
18351 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18352
18353         [BZ #15232]
18354         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
18355         attribute_hidden.
18356         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18357
18358 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18359
18360         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
18361         fourth parameter needed for rt_sigprocmask syscall.
18362         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
18363         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
18364         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
18365         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
18366         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
18367         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
18368
18369 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
18370
18371         [BZ #13550]
18372         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
18373         comment about bounded pointers.
18374         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
18375         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
18376
18377 2013-03-04  Andreas Jaeger  <aj@suse.de>
18378
18379         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
18380         common definitions.
18381
18382         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
18383         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
18384         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
18385         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
18386         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
18387         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
18388
18389 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18390
18391         [BZ #15055]
18392         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
18393         __ieee754_sqrl instead of __sqrl.
18394
18395 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
18396
18397         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
18398         * sysdeps/powerpc/fpu_control.h: ... here.
18399         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
18400         * sysdeps/powerpc/bits/fenvinline.h: ... here.
18401         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
18402         * sysdeps/powerpc/bits/mathinline.h: ... here.
18403
18404 2013-03-01  Roland McGrath  <roland@hack.frob.com>
18405
18406         * elf/dl-hwcaps.c (_dl_important_hwcaps):
18407         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
18408         to just [NEED_DL_SYSINFO_DSO].
18409         * elf/dl-support.c: Likewise.
18410         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
18411         * elf/rtld.c (dl_main): Likewise.
18412         * elf/setup-vdso.h (setup_vdso): Likewise.
18413         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
18414         * sysdeps/unix/sysv/linux/dl-sysdep.c
18415         (_dl_discover_osversion): Likewise.
18416
18417 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
18418
18419         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
18420         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18421
18422 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
18423
18424         * NEWS: Mention libm performance improvements and non-x86 PI
18425         futex support.
18426
18427         * csu/libc-start.c (__pthread_initialize_minimal): Change
18428         function arguments.
18429         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
18430
18431 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
18432
18433         [BZ #13550]
18434         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
18435         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
18436         <bp-sym.h> and <bp-asm.h>.
18437         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18438         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
18439         and <bp-asm.h>.
18440         (memcpy): Don't use BP_SYM.
18441         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
18442         <bp-asm.h>.
18443         (__mpn_add_n): Don't use BP_SYM.
18444         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
18445         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
18446         and <bp-asm.h>.
18447         (__mpn_addmul_1): Don't use BP_SYM.
18448         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18449         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
18450         <bp-sym.h>.
18451         (_setjmp): Don't use BP_SYM.
18452         (__novmx_setjmp): Likewise.
18453         (__GI__setjmp): Likewise.
18454         (__vmx_setjmp): Likewise.
18455         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
18456         <bp-sym.h>.
18457         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
18458         (__bzero): Don't use BP_SYM.
18459         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
18460         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
18461         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
18462         <bp-sym.h> and <bp-asm.h>.
18463         (memcpy): Don't use BP_SYM.
18464         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
18465         <bp-sym.h> and <bp-asm.h>.
18466         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18467         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
18468         <bp-sym.h> and <bp-asm.h>.
18469         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
18470         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
18471         <bp-asm.h>.
18472         (__mpn_lshift): Don't use BP_SYM.
18473         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18474         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
18475         <bp-asm.h>.
18476         (memset): Don't use BP_SYM.
18477         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
18478         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
18479         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
18480         <bp-asm.h>.
18481         (__mpn_mul_1): Don't use BP_SYM.
18482         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18483         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
18484         <bp-sym.h> and <bp-asm.h>.
18485         (memcmp): Don't use BP_SYM.
18486         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
18487         <bp-sym.h> and <bp-asm.h>.
18488         (memcpy): Don't use BP_SYM.
18489         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
18490         <bp-sym.h> and <bp-asm.h>.
18491         (memset): Don't use BP_SYM.
18492         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
18493         <bp-sym.h> and <bp-asm.h>.
18494         (strncmp): Don't use BP_SYM.
18495         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
18496         <bp-sym.h> and <bp-asm.h>.
18497         (memcpy): Don't use BP_SYM.
18498         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
18499         <bp-sym.h> and <bp-asm.h>.
18500         (memset): Don't use BP_SYM.
18501         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
18502         <bp-sym.h> and <bp-asm.h>.
18503         (__memchr): Don't use BP_SYM.
18504         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
18505         <bp-sym.h> and <bp-asm.h>.
18506         (memcmp): Don't use BP_SYM.
18507         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
18508         <bp-sym.h> and <bp-asm.h>.
18509         (memcpy): Don't use BP_SYM.
18510         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
18511         <bp-sym.h> and <bp-asm.h>.
18512         (__mempcpy): Don't use BP_SYM.
18513         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
18514         <bp-sym.h> and <bp-asm.h>.
18515         (__memrchr): Don't use BP_SYM.
18516         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
18517         <bp-sym.h> and <bp-asm.h>.
18518         (memset): Don't use BP_SYM.
18519         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
18520         <bp-sym.h> and <bp-asm.h>.
18521         (__rawmemchr): Don't use BP_SYM.
18522         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
18523         <bp-sym.h> and <bp-asm.h>.
18524         (__STRCMP): Don't use BP_SYM.
18525         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
18526         <bp-sym.h> and <bp-asm.h>.
18527         (strchr): Don't use BP_SYM.
18528         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
18529         <bp-sym.h> and <bp-asm.h>.
18530         (__strchrnul): Don't use BP_SYM.
18531         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
18532         <bp-sym.h> and <bp-asm.h>.
18533         (strlen): Don't use BP_SYM.
18534         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
18535         <bp-sym.h> and <bp-asm.h>.
18536         (strncmp): Don't use BP_SYM.
18537         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
18538         <bp-sym.h> and <bp-asm.h>.
18539         (__strnlen): Don't use BP_SYM.
18540         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
18541         <bp-asm.h>.
18542         (__mpn_rshift): Don't use BP_SYM.
18543         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
18544         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
18545         <bp-sym.h> and <bp-asm.h>.
18546         (__sigsetjmp): Don't use BP_SYM.
18547         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
18548         (L(start_addresses)): Don't use BP_SYM.
18549         (_start): Likewise.
18550         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
18551         <bp-asm.h>.
18552         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
18553         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18554         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18555         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
18556         <bp-asm.h>.
18557         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
18558         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
18559         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
18560         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
18561         <bp-asm.h>.
18562         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18563         comments.
18564         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
18565         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
18566         <bp-asm.h>.
18567         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
18568         FIXME comments.
18569         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
18570         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
18571         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
18572         <bp-asm.h>.
18573         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
18574         comment.
18575         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
18576         and <bp-asm.h>.
18577         (strncmp): Don't use BP_SYM,
18578         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
18579         <bp-asm.h>.
18580         (__mpn_sub_n): Don't use BP_SYM.
18581         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
18582         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
18583         and <bp-asm.h>.
18584         (__mpn_submul_1): Don't use BP_SYM.
18585         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
18586         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
18587         <bp-sym.h> and <bp-asm.h>.
18588         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
18589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
18590         <bp-sym.h> and <bp-asm.h>.
18591         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
18592         comment.
18593
18594 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
18595
18596         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
18597         Use ZK to minimize writes to Z.
18598         (sub_magnitudes): Simplify code a bit.
18599         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
18600         Use ZK to minimize writes to Z.
18601         (sub_magnitudes): Simplify code a bit.
18602
18603 2013-02-27  Roland McGrath  <roland@hack.frob.com>
18604
18605         * csu/gmon-start.c: Add special exception to license text.
18606
18607 2013-02-27  Richard Henderson  <rth@redhat.com>
18608
18609         * scripts/config.guess: Update from config.git.
18610         * scripts/config.sub: Likewise.
18611
18612 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
18613
18614         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
18615
18616         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
18617
18618         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
18619
18620         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
18621
18622         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
18623
18624 2013-02-26  Roland McGrath  <roland@hack.frob.com>
18625
18626         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
18627         [$(build-shared = yes].
18628
18629 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18630
18631         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
18632         (__mul): Reduce iterations for calculating mantissa.
18633
18634         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
18635         MPTWO.
18636         (__mpranred): Likewise.
18637
18638         [BZ #15160]
18639         * malloc/memusagestat.c (main): Draw graphs for heap and stack
18640         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
18641
18642 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
18643
18644         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
18645         Define __attribute__.
18646
18647 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
18648
18649         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
18650         unused.
18651         * posix/regex_internal.h (__attribute): Remove.
18652         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
18653         (re_string_context_at): Likewise.
18654         (bitset_not): Use __attribute__ and mark function as possibly
18655         unused.
18656         (bitset_merge): Likewise.
18657         (bitset_mask): Likewise.
18658         (re_string_char_size_at): Likewise.
18659         (re_string_wchar_at): Likewise.
18660         (re_string_elem_size_at): Likewise.
18661
18662 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
18663
18664         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
18665         code.
18666         (cc32): Likewise.
18667
18668         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
18669         (__acr): Likewise.
18670         (__cpy): Likewise.
18671         (norm): Likewise.
18672         (denorm): Likewise.
18673         (__dbl_mp): Likewise.
18674         (add_magnitudes): Likewise.
18675         (sub_magnitudes): Likewise.
18676         (__mul): Likewise.
18677         (__inv): Likewise.
18678
18679         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
18680         style.
18681
18682         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
18683         style.
18684
18685         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
18686         code.
18687
18688         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
18689         up changes with default code.
18690         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
18691         Likewise.
18692
18693 2013-02-24  Allan McRae  <allan@archlinux.org>
18694
18695         * manual/socket.texi (The Internet Namespace): Order menu items
18696         to match that in the file.
18697
18698         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
18699         node listing of the info page menu.
18700
18701 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
18702
18703         [BZ #13550]
18704         * sysdeps/i386/bp-asm.h: Remove file.
18705         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
18706         (PARMS): Do not use macros from bp-asm.h.
18707         (S1): Likewise.
18708         (S2): Likewise.
18709         (SIZE): Likewise.
18710         (__mpn_add_n): Do not use BP_SYM
18711         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
18712         "bp-asm.h".
18713         (PARMS): Do not use macros from bp-asm.h.
18714         (S1): Likewise.
18715         (SIZE): Likewise.
18716         (__mpn_addmul_1): Do not use BP_SYM
18717         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
18718         "bp-asm.h".
18719         (PARMS): Do not use macros from bp-asm.h.
18720         (SIGMSK): Likewise.
18721         (_setjmp): Likewise.  Do not use BP_SYM.
18722         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
18723         "bp-asm.h".
18724         (PARMS): Do not use macros from bp-asm.h.
18725         (SIGMSK): Likewise.
18726         (setjmp): Likewise.  Do not use BP_SYM.
18727         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
18728         "bp-asm.h".
18729         (PARMS): Do not use macros from bp-asm.h.
18730         (__frexp): Do not use BP_SYM.
18731         (frexp): Likewise.
18732         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
18733         "bp-asm.h".
18734         (PARMS): Do not use macros from bp-asm.h.
18735         (__frexpf): Do not use BP_SYM.
18736         (frexpf): Likewise.
18737         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
18738         "bp-asm.h".
18739         (PARMS): Do not use macros from bp-asm.h.
18740         (__frexpl): Do not use BP_SYM.
18741         (frexpl): Likewise.
18742         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
18743         "bp-asm.h".
18744         (PARMS): Do not use macros from bp-asm.h.
18745         (__remquo): Do not use BP_SYM.
18746         (remquo): Likewise.
18747         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
18748         "bp-asm.h".
18749         (PARMS): Do not use macros from bp-asm.h.
18750         (__remquof): Do not use BP_SYM.
18751         (remquof): Likewise.
18752         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
18753         "bp-asm.h".
18754         (PARMS): Do not use macros from bp-asm.h.
18755         (__remquol): Do not use BP_SYM.
18756         (remquol): Likewise.
18757         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
18758         "bp-asm.h".
18759         (PARMS): Do not use macros from bp-asm.h.
18760         (DEST): Likewise.
18761         (SRC): Likewise.
18762         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
18763         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
18764         "bp-asm.h".
18765         (PARMS): Do not use macros from bp-asm.h.
18766         (strlen): Do not use BP_SYM.
18767         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
18768         "bp-asm.h".
18769         (PARMS): Do not use macros from bp-asm.h.
18770         (S1): Likewise.
18771         (S2): Likewise.
18772         (SIZE): Likewise.
18773         (__mpn_add_n): Do not use BP_SYM.
18774         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
18775         "bp-asm.h".
18776         (PARMS): Do not use macros from bp-asm.h.
18777         (S1): Likewise.
18778         (SIZE): Likewise.
18779         (__mpn_addmul_1): Do not use BP_SYM.
18780         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
18781         weak_alias.
18782         (bzero): Likewise.
18783         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
18784         "bp-asm.h".
18785         (PARMS): Do not use macros from bp-asm.h.
18786         (S): Likewise.
18787         (SIZE): Likewise.
18788         (__mpn_lshift): Do not use BP_SYM.
18789         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
18790         "bp-asm.h".
18791         (PARMS): Do not use macros from bp-asm.h.
18792         (DEST): Likewise.
18793         (SRC): Likewise.
18794         (LEN): Likewise.
18795         (memcpy): Likewise.  Do not use BP_SYM.
18796         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
18797         libc_hidden_def and weak_alias.
18798         (mempcpy): Do not use BP_SYM in weak_alias.
18799         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
18800         "bp-asm.h".
18801         (PARMS): Do not use macros from bp-asm.h.
18802         (DEST): Likewise.
18803         (LEN): Likewise.
18804         [!BZERO_P] (CHR): Likewise.
18805         (memset): Likewise.  Do not use BP_SYM.
18806         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
18807         "bp-asm.h".
18808         (PARMS): Do not use macros from bp-asm.h.
18809         (S1): Likewise.
18810         (SIZE): Likewise.
18811         (__mpn_mul_1): Do not use BP_SYM.
18812         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
18813         "bp-asm.h".
18814         (PARMS): Do not use macros from bp-asm.h.
18815         (S): Likewise.
18816         (SIZE): Likewise.
18817         (__mpn_rshift): Do not use BP_SYM.
18818         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
18819         "bp-asm.h".
18820         (PARMS): Do not use macros from bp-asm.h.
18821         (STR): Likewise.
18822         (CHR): Likewise.
18823         (strchr): Likewise.  Do not use BP_SYM.
18824         (index): Do not use BP_SYM in weak_alias.
18825         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
18826         "bp-asm.h".
18827         (PARMS): Do not use macros from bp-asm.h.
18828         (DEST): Likewise.
18829         (SRC): Likewise.
18830         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
18831         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
18832         "bp-asm.h".
18833         (PARMS): Do not use macros from bp-asm.h.
18834         (strlen): Do not use BP_SYM.
18835         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
18836         "bp-asm.h".
18837         (PARMS): Do not use macros from bp-asm.h.
18838         (S1): Likewise.
18839         (S2): Likewise.
18840         (SIZE): Likewise.
18841         (__mpn_sub_n): Do not use BP_SYM.
18842         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
18843         "bp-asm.h".
18844         (PARMS): Do not use macros from bp-asm.h.
18845         (S1): Likewise.
18846         (SIZE): Likewise.
18847         (__mpn_submul_1): Do not use BP_SYM.
18848         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
18849         "bp-asm.h".
18850         (PARMS): Do not use macros from bp-asm.h.
18851         (S1): Likewise.
18852         (S2): Likewise.
18853         (SIZE): Likewise.
18854         (__mpn_add_n): Do not use BP_SYM.
18855         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
18856         weak_alias.
18857         (bzero): Likewise.
18858         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
18859         "bp-asm.h".
18860         (PARMS): Do not use macros from bp-asm.h.
18861         (BLK2): Likewise.
18862         (LEN): Likewise.
18863         (memcmp): Do not use BP_SYM.
18864         (bcmp): Do not use BP_SYM in weak_alias.
18865         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
18866         "bp-asm.h".
18867         (PARMS): Do not use macros from bp-asm.h.
18868         (DEST): Likewise.
18869         (SRC): Likewise.
18870         (LEN): Likewise.
18871         (memcpy): Likewise.  Do not use BP_SYM.
18872         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
18873         "bp-asm.h".
18874         (PARMS): Do not use macros from bp-asm.h.
18875         (DEST): Likewise.
18876         (SRC): Likewise.
18877         (LEN): Likewise.
18878         (memmove): Likewise.  Do not use BP_SYM.
18879         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
18880         "bp-asm.h".
18881         (PARMS): Do not use macros from bp-asm.h.
18882         (DEST): Likewise.
18883         (SRC): Likewise.
18884         (LEN): Likewise.
18885         (__mempcpy): Likewise.  Do not use BP_SYM.
18886         (mempcpy): Do not use BP_SYM in weak_alias.
18887         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
18888         "bp-asm.h".
18889         (PARMS): Do not use macros from bp-asm.h.
18890         (DEST): Likewise.
18891         (LEN): Likewise.
18892         [!BZERO_P] (CHR): Likewise.
18893         (memset): Likewise.  Do not use BP_SYM.
18894         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
18895         "bp-asm.h".
18896         (PARMS): Do not use macros from bp-asm.h.
18897         (STR2): Likewise.
18898         (strcmp): Do not use BP_SYM.
18899         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
18900         "bp-asm.h".
18901         (PARMS): Do not use macros from bp-asm.h.
18902         (STR): Likewise.
18903         (DELIM): Likewise.
18904         [USE_AS_STRTOK_R] (SAVE): Likewise.
18905         (FUNCTION): Likewise.  Do not use BP_SYM.
18906         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
18907         aliases.
18908         (strtok_r): Likewise.
18909         (__GI___strtok_r): Likewise.
18910         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18911         (PARMS): Do not use macros from bp-asm.h.
18912         (S): Likewise.
18913         (SIZE): Likewise.
18914         (__mpn_lshift): Do not use BP_SYM.
18915         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18916         (PARMS): Do not use macros from bp-asm.h.
18917         (STR): Likewise.
18918         (CHR): Likewise.
18919         (__memchr): Do not use BP_SYM.
18920         (memchr): Do not use BP_SYM in weak_alias.
18921         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18922         (PARMS): Do not use macros from bp-asm.h.
18923         (BLK2): Likewise.
18924         (LEN): Likewise.
18925         (memcmp): Do not use BP_SYM.
18926         (bcmp): Do not use BP_SYM in weak_alias.
18927         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
18928         (PARMS): Do not use macros from bp-asm.h.
18929         (S1): Likewise.
18930         (SIZE): Likewise.
18931         (__mpn_mul_1): Do not use BP_SYM.
18932         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
18933         "bp-asm.h".
18934         (PARMS): Do not use macros from bp-asm.h.
18935         (STR): Likewise.
18936         (CHR): Likewise.
18937         (__rawmemchr): Do not use BP_SYM.
18938         (rawmemchr): Do not use BP_SYM in weak_alias.
18939         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
18940         (PARMS): Do not use macros from bp-asm.h.
18941         (S): Likewise.
18942         (SIZE): Likewise.
18943         (__mpn_rshift): Do not use BP_SYM.
18944         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
18945         (PARMS): Do not use macros from bp-asm.h.
18946         (SIGMSK): Likewise.
18947         (__sigsetjmp): Likewise.  Do not use BP_SYM.
18948         * sysdeps/i386/start.S: Do not include "bp-sym.h".
18949         (_start): Do not use BP_SYM.
18950         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
18951         (PARMS): Do not use macros from bp-asm.h.
18952         (DEST): Likewise.
18953         (SRC): Likewise.
18954         (__stpcpy): Likewise.  Do not use BP_SYM.
18955         (stpcpy): Do not use BP_SYM in weak_alias.
18956         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
18957         "bp-asm.h".
18958         (PARMS): Do not use macros from bp-asm.h.
18959         (DEST): Likewise.
18960         (SRC): Likewise.
18961         (LEN): Likewise.
18962         (__stpncpy): Likewise.  Do not use BP_SYM.
18963         (stpncpy): Do not use BP_SYM in weak_alias.
18964         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
18965         (PARMS): Do not use macros from bp-asm.h.
18966         (STR): Likewise.
18967         (CHR): Likewise.
18968         (strchr): Likewise.  Do not use BP_SYM.
18969         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
18970         "bp-asm.h".
18971         (PARMS): Do not use macros from bp-asm.h.
18972         (STR): Likewise.
18973         (CHR): Likewise.
18974         (__strchrnul): Likewise.  Do not use BP_SYM.
18975         (strchrnul): Do not use BP_SYM in weak_alias.
18976         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
18977         "bp-asm.h".
18978         (PARMS): Do not use macros from bp-asm.h.
18979         (STOP): Likewise.
18980         (strcspn): Do not use BP_SYM.
18981         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
18982         "bp-asm.h".
18983         (PARMS): Do not use macros from bp-asm.h.
18984         (STR): Likewise.
18985         (STOP): Likewise.
18986         (strpbrk): Likewise.  Do not use BP_SYM.
18987         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
18988         "bp-asm.h".
18989         (PARMS): Do not use macros from bp-asm.h.
18990         (STR): Likewise.
18991         (CHR): Likewise.
18992         (strrchr): Likewise.  Do not use BP_SYM.
18993         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
18994         (PARMS): Do not use macros from bp-asm.h.
18995         (SKIP): Likewise.
18996         (strspn): Do not use BP_SYM.
18997         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
18998         (PARMS): Do not use macros from bp-asm.h.
18999         (STR): Likewise.
19000         (DELIM): Likewise.
19001         (SAVE): Likewise.
19002         (FUNCTION): Likewise.  Do not use BP_SYM.
19003         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
19004         aliases.
19005         (strtok_r): Likewise.
19006         (__GI___strtok_r): Likewise.
19007         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
19008         (PARMS): Do not use macros from bp-asm.h.
19009         (S1): Likewise.
19010         (S2): Likewise.
19011         (SIZE): Likewise.
19012         (__mpn_sub_n): Do not use BP_SYM.
19013         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
19014         "bp-asm.h".
19015         (PARMS): Do not use macros from bp-asm.h.
19016         (S1): Likewise.
19017         (SIZE): Likewise.
19018         (__mpn_submul_1): Do not use BP_SYM.
19019         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
19020         <bp-sym.h>.
19021         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
19022         and <bp-asm.h>.
19023         (PARMS): Do not use macros from bp-asm.h.
19024         (FLAGS): Likewise.
19025         (PTID): Likewise.
19026         (TLS): Likewise.
19027         (CTID): Likewise.
19028         (__clone): Do not use BP_SYM.
19029         (clone): Do not use BP_SYM in weak_alias.
19030         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
19031         and <bp-asm.h>.
19032         (PARMS): Do not use macros from bp-asm.h.
19033         (LEN): Likewise.
19034         (__mmap64): Do not use BP_SYM.
19035         (mmap64): Do not use BP_SYM in weak_alias.
19036         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
19037         <bp-sym.h> and <bp-asm.h>.
19038         (PARMS): Do not use macros from bp-asm.h.
19039         (__posix_fadvise64_l64): Do not use BP_SYM.
19040         * sysdeps/unix/sysv/linux/i386/semtimedop.S
19041         (PARMS): Do not use macros from bp-asm.h.
19042         (NSOPS): Likewise.
19043         (semtimedop): Do not use BP_SYM.
19044         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
19045         and <bp-asm.h>.
19046
19047 2013-02-21  Allan McRae  <allan@archlinux.org>
19048
19049         * manual/message.texi (Charset conversion in gettext):
19050         Move @end statement to beginning of line.
19051
19052 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19053
19054         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
19055         static.
19056         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
19057         Likewise.
19058
19059         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
19060         (denorm): Likewise.
19061         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
19062         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
19063
19064 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19065
19066         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
19067         tail-call to the resolved function if pltexit isn't needed.
19068
19069 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
19070
19071         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
19072         or Y being zero as being unlikely.
19073         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
19074         Likewise.
19075
19076 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
19077
19078         * manual/nss.texi (System Databases and Name Service Switch):
19079         Remove frobnicate @pxref.
19080
19081 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19082
19083         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19084         __attribute__ ((unused)) to __attribute__ ((__unused__)).
19085
19086 2013-02-20  Petr Machata  <pmachata@redhat.com>
19087
19088         * elf/elf.h (R_ARM_TARGET1): New macro.
19089         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
19090         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
19091         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
19092         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
19093         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
19094         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
19095         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
19096         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
19097         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
19098         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
19099         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
19100         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
19101         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
19102         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
19103         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
19104         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
19105         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
19106         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
19107         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
19108         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
19109         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
19110         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
19111         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
19112         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
19113         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
19114         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
19115         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
19116         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
19117         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
19118         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
19119         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
19120         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
19121         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
19122         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
19123         (R_ARM_THM_GOT_BREL12): Likewise.
19124         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
19125         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
19126         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
19127         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
19128         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
19129         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
19130         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
19131         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
19132         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
19133
19134 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
19135
19136         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
19137         __attribute_used__ to __attribute__ ((unused)).
19138
19139 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19140
19141         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
19142         powerpc mpa.c.
19143         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
19144         comment formatting.
19145         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
19146
19147 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
19148
19149         [BZ #13550]
19150         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
19151         Remove macro.
19152         (ENTER): Remove both macro definitions.
19153         (LEAVE): Likewise.
19154         (CHECK_BOUNDS_LOW): Likewise.
19155         (CHECK_BOUNDS_HIGH): Likewise.
19156         (CHECK_BOUNDS_BOTH): Likewise.
19157         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
19158         (RETURN_BOUNDED_POINTER): Likewise.
19159         (RETURN_NULL_BOUNDED_POINTER): Likewise.
19160         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
19161         (POP_ERRNO_LOCATION_RETURN): Likewise.
19162         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
19163         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19164         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
19165         macros.
19166         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19167         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
19168         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
19169         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
19170         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
19171         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
19172         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
19173         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
19174         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
19175         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
19176         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
19177         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
19178         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19179         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
19180         removed macros.
19181         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19182         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
19183         macros.
19184         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19185         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
19186         * sysdeps/i386/i586/memset.S (memset): Likewise.
19187         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
19188         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19189         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
19190         macros.
19191         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19192         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
19193         Change uses of L(2) to L(out).
19194         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
19195         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
19196         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
19197         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19198         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
19199         removed macros.
19200         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19201         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
19202         macros.
19203         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19204         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
19205         (RETURN): Do not use macro LEAVE.
19206         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
19207         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
19208         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
19209         * sysdeps/i386/i686/memset.S (memset): Likewise.
19210         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
19211         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
19212         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
19213         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
19214         Likewise.
19215         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19216         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
19217         L(1_2) and L(1_3) into L(1).
19218         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19219         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
19220         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19221         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
19222         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
19223         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
19224         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
19225         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19226         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
19227         macros.
19228         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
19229         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
19230         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
19231         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
19232         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
19233         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
19234         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
19235         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
19236         * sysdeps/i386/strcspn.S (strcspn): Likewise.
19237         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
19238         * sysdeps/i386/strrchr.S (strrchr): Likewise.
19239         * sysdeps/i386/strspn.S (strspn): Likewise.
19240         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
19241         conditional code.
19242         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
19243         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
19244         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
19245         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
19246         L(1_3) into L(1_1).
19247         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
19248         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
19249         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
19250         macros.
19251         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
19252
19253 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
19254
19255         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
19256         macro.
19257
19258 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
19259
19260         * math/atest-exp.c (exp_mpn): Remove ROUND.
19261         * math/atest-exp2.c (exp_mpn): Likewise.
19262         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
19263
19264         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
19265         * stdlib/tst-tls-atexit-lib.c: Likewise.
19266         * stdlib/tst-tls-atexit.c: Likewise.
19267
19268 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19269
19270         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
19271         and __attribute_alloc_size__.
19272
19273 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19274
19275         * include/programs/xmalloc.h: Change __attribute_alloc_size to
19276         __attribute_alloc_size__.
19277         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
19278         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
19279
19280 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
19281
19282         * include/programs/xmalloc.h: New file.
19283         * catgets/gencat.c: Include it.
19284         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
19285         * elf/pldd.c: Likewise.
19286         * iconv/iconv_charmap.c: Likewise.
19287         * iconv/iconvconfig.c: Likewise.
19288         * iconv/strtab.c: Likewise.
19289         * locale/programs/locale.c: Likewise.
19290         * locale/programs/localedef.h: Likewise.
19291         * locale/programs/simple-hash.c: Likewise.
19292         * nscd/nscd.h: Likewise.
19293         * nss/makedb.c: Likewise.
19294         * sysdeps/generic/ldconfig.h: Likewise.
19295
19296 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
19297
19298         * Versions.def: Add GLIBC_2.18.
19299         * include/link.h (struct link_map): New member l_tls_dtor_count.
19300         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
19301         (__call_tls_dtors): Likewise.
19302         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
19303         __cxa_thread_atexit_impl.
19304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19305         Likewise.
19306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19307         Likewise.
19308         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
19309         Likewise.
19310         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
19311         Likewise.
19312         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19313         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
19314         Likewise.
19315         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
19316         Likewise.
19317         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19318         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
19319         Likewise.
19320         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
19321         (tests): Add test case tst-tls-atexit.
19322         (modules-names): Add shared library for tst-tls-atexit.
19323         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
19324         (GLIBC_PRIVATE): Add __call_tls_dtors.
19325         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
19326         for libstdc++.
19327         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
19328         * stdlib/tst-tls-atexit.c: New test case.
19329         * stdlib/tst-tls-atexit-lib.c: New test case.
19330
19331         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
19332
19333         * elf/Versions (ld): Add _dl_find_dso_for_object.
19334         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
19335         * elf/dl-open.c (_dl_find_dso_for_object): New function.
19336         (dl_open_worker): Use _dl_find_dso_for_object.
19337         * elf/dl-sym.c (do_sym): Likewise.
19338         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
19339
19340 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19341
19342         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
19343         Syntactic changes only.
19344         (_dl_runtime_profile): Do a tail-call to the resolved function.
19345
19346 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
19347
19348         [BZ #13550]
19349         * sysdeps/x86_64/bp-asm.h: Remove file.
19350         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
19351         <bp-sym.h> and <bp-asm.h>.
19352         (__clone): Do not use BP_SYM.
19353         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
19354         <bp-sym.h> and <bp-asm.h>.
19355         * sysdeps/unix/x86_64/sysdep.S: Likewise.
19356         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
19357         "bp-asm.h".
19358         (_setjmp): Do not use BP_SYM.
19359         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
19360         "bp-asm.h".
19361         (setjmp): Do not use BP_SYM.
19362         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
19363         libc_hidden_def.
19364         (mempcpy): Do not use BP_SYM in weak_alias.
19365         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
19366         "bp-asm.h".
19367         (strchr): Do not use BP_SYM.
19368         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
19369         "bp-asm.h".
19370         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
19371         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
19372         (_start): Do not use BP_SYM.
19373         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
19374         "bp-asm.h".
19375         (strcat): Do not use BP_SYM.
19376         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
19377         "bp-asm.h".
19378         (STRCMP): Do not use BP_SYM.
19379         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
19380         "bp-asm.h".
19381         (STRCPY): Do not use BP_SYM.
19382         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
19383         "bp-asm.h".
19384         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
19385         "bp-asm.h".
19386         (FUNCTION): Do not use BP_SYM.
19387         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
19388         weak_alias.
19389         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
19390
19391 2013-02-17  Andreas Jaeger  <aj@suse.de>
19392
19393         * time/Versions: Sort entries.
19394         * string/Versions: Likewise.
19395         * resolv/Versions: Likewise.
19396         * posix/Versions: Likewise.
19397         * iconv/Versions: Likewise.
19398         * elf/Versions: Likewise.
19399         * wcsmbs/Versions: Likewise.
19400
19401 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
19402
19403         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
19404         loop termination condition.
19405
19406         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
19407         variable to calculate EZ.
19408         (__sqr): Likewise.
19409
19410         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
19411         the lower precision input.
19412
19413 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
19414
19415         [BZ #13550]
19416         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
19417         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
19418         (run-via-rtld-prefix): Do not handle %-bp tests.
19419         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
19420         (all-object-suffixes): Remove .ob.
19421         (bppfx): Remove variable.
19422         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
19423         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
19424         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
19425         [$(build-bounded) = yes] (libtype.ob): Likewise.
19426         * Makerules (elide-routines.ob): Remove variable.
19427         (do-tests-clean): Do not handle *-bp.out.
19428         (common-mostlyclean): Do not handle *-bp and *-bp.out.
19429         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
19430         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
19431         (tests): Do not include $(tests-bp.out).
19432         (xtests): Do not include $(xtests-bp.out).
19433         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
19434         [$(build-bounded) = yes] ($(addprefix
19435         $(objpfx),$(binaries-bounded))): Remove rule.
19436         ($(objpfx)%-bp.out): Remove rule.
19437         * config.make.in (build-bounded): Remove variable.
19438         * crypt/Makefile [$(build-bounded) = yes]
19439         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
19440         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
19441         append to variable.
19442         [$(build-bounded) = yes] (install-lib): Likewise.
19443         [$(build-bounded) = yes] (generated): Likewise.
19444         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
19445         Remove rule.
19446         * intl/Makefile [$(build-bounded) = yes]
19447         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
19448         * math/Makefile [$(build-bounded) = yes]
19449         ($(tests:%=$(objpfx)%-bp): Likewise.
19450         * misc/Makefile [$(build-bounded) = yes]
19451         ($(objpfx)tst-tsearch-bp): Likewise.
19452         * nptl/Makeconfig (bounded-thread-library): Remove variable.
19453         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
19454         Remove dependency.
19455         * string/Makefile (o-objects.ob): Remove variable.
19456         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
19457         (CFLAGS-.ob): Remove variable.
19458         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
19459         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
19460         both definitions of variable.
19461         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
19462         (ASFLAGS-.ob): Remove variable.
19463
19464 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
19465
19466         [BZ #13550]
19467         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
19468         Remove __BOUNDED_POINTERS__ from condition.
19469         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
19470         * string/bits/string2.h [!__NO_STRING_INLINES &&
19471         !__BOUNDED_POINTERS__]: Likewise.
19472         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
19473         Likewise.
19474         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
19475         Remove conditional code.
19476         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
19477         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
19478         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
19479         condition.
19480
19481         [BZ #13550]
19482         * csu/libc-start.c: Do not include <bp-sym.h>.
19483         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
19484         * elf/dl-open.c: Do not include <bp-sym.h>.
19485         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
19486         * math/fegetenv.c: Do not include <bp-sym.h>.
19487         (fegetenv): Do not use BP_SYM in versioned symbols.
19488         * nptl/sysdeps/pthread/bits/libc-lockP.h
19489         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
19490         <bp-sym.h>.
19491         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19492         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
19493         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19494         (__pthread_mutex_destroy): Likewise.
19495         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19496         (__pthread_mutex_lock): Likewise.
19497         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19498         (__pthread_mutex_trylock): Likewise.
19499         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19500         (__pthread_mutex_unlock): Likewise.
19501         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19502         (__pthread_mutexattr_init): Likewise.
19503         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19504         (__pthread_mutexattr_destroy): Likewise.
19505         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19506         (__pthread_mutexattr_settype): Likewise.
19507         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19508         (__pthread_rwlock_init): Likewise.
19509         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19510         (__pthread_rwlock_destroy): Likewise.
19511         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19512         (__pthread_rwlock_rdlock): Likewise.
19513         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19514         (__pthread_rwlock_tryrdlock): Likewise.
19515         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19516         (__pthread_rwlock_wrlock): Likewise.
19517         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19518         (__pthread_rwlock_trywrlock): Likewise.
19519         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19520         (__pthread_rwlock_unlock): Likewise.
19521         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19522         (__pthread_key_create): Likewise.
19523         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19524         (__pthread_setspecific): Likewise.
19525         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19526         (__pthread_getspecific): Likewise.
19527         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
19528         Likewise.
19529         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19530         (_pthread_cleanup_push_defer): Likewise.
19531         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19532         (_pthread_cleanup_pop_restore): Likewise.
19533         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
19534         (pthread_setcancelstate): Likewise.
19535         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
19536         <bp-sym.h>.
19537         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
19538         (memchr): Do not use BP_SYM in weak_alias.
19539         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
19540         (fegetenv): Do not use BP_SYM in versioned symbols.
19541         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
19542         (fesetenv): Do not use BP_SYM in versioned symbols.
19543         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19544         (feupdateenv): Do not use BP_SYM in versioned symbols.
19545         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19546         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19547         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
19548         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
19549         (open64): Do not use BP_SYM in weak_alias.
19550         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
19551         (fegetenv): Do not use BP_SYM in versioned symbols.
19552         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
19553         (fesetenv): Do not use BP_SYM in versioned symbols.
19554         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
19555         (feupdateenv): Do not use BP_SYM in versioned symbols.
19556         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
19557         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
19558         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
19559         (feraiseexcept): Do not use BP_SYM in versioned symbols.
19560         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
19561         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
19562         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
19563         <bp-sym.h>.
19564         (__libc_start_main): Do not use BP_SYM.
19565
19566 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
19567
19568         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
19569         redundant return line.
19570         (norm): Likewise.
19571         (denorm): Likewise.
19572         (dbl_mp): Likewise.
19573         (sub_magnitudes): Likewise.
19574         (__add): Likewise.
19575         (__sub): Likewise.
19576         (__mul): Likewise.
19577         (__inv): Likewise.
19578         (__dvd): Likewise.
19579         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
19580         (norm): Likewise.
19581         (denorm): Likewise.
19582         (dbl_mp): Likewise.
19583         (sub_magnitudes): Likewise.
19584         (__add): Likewise.
19585         (__sub): Likewise.
19586         (__mul): Likewise.
19587         (__inv): Likewise.
19588         (__dvd): Likewise.
19589
19590         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
19591         instead of __mul.
19592         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
19593         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
19594         (cc32): Likewise.
19595
19596         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
19597         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
19598         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
19599         of __mul for squares.
19600         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
19601         function
19602         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
19603         Likewise.
19604         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
19605         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
19606
19607 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
19608
19609         [BZ #13550]
19610         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
19611         code.
19612         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
19613         prototype or function definition.  Rename ubp_* variables and
19614         parameters.  Remove argv definitions conditional on
19615         [__BOUNDED_POINTERS__].
19616         * debug/backtrace.c (__backtrace): Do not use __unbounded.
19617         * elf/dl-runtime.c (_dl_fixup): Likewise.
19618         * include/set-hooks.h (RUN_HOOK): Likewise.
19619         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
19620         definition.
19621         * string/strcpy.c (strcpy): Do not use __unbounded.
19622         * sysdeps/generic/frame.h (struct layout): Likewise.
19623         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
19624         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
19625         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
19626         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
19627         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
19628         (__backtrace): Likewise.
19629         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
19630         use __ptrvalue.
19631         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19632         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19633         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
19634         Likewise.
19635         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
19636         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
19637         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
19638         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19639         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
19640         Do not use __unbounded.
19641         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
19642         Rename __unboundedrlimits parameter to rlimits in prototype.
19643         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
19644         Do not use __unbounded.
19645         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
19646         not use __ptrvalue.
19647         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19648         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
19649         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19650         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
19651         __ptrvalue or __unbounded.
19652         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
19653         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
19654         use __unbounded.
19655         (__new_msgctl): Do not use __ptrvalue.
19656         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
19657         __unbounded.
19658         (__libc_msgrcv): Do not use __ptrvalue.
19659         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
19660         startup_info): Do not use __unbounded.
19661         (__libc_start_main): Likewise.  Rename ubp_* variables and
19662         parameters.  Remove argv definitions conditional on
19663         [__BOUNDED_POINTERS__].
19664         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
19665         __ptrvalue.
19666         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
19667         use __unbounded.
19668         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
19669         or __ptrvalue.
19670         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
19671         use __unbounded.
19672         (__new_shmctl): Do not use __ptrvalue.
19673         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
19674         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
19675         Likewise.
19676         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
19677         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
19678         (__libc_sigaction): Likewise.
19679         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
19680         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
19681         Likewise.
19682         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19683
19684 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
19685
19686         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
19687
19688         * string/mempcpy.c: Implement by calling memcpy.
19689
19690 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
19691
19692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
19693
19694         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
19695         evaluation.
19696
19697         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
19698         values in the mantissa.
19699
19700         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
19701         minimize writes to Z.
19702         (sub_magnitudes): Simplify code a bit.
19703
19704 2013-02-12  Roland McGrath  <roland@hack.frob.com>
19705
19706         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
19707         from the message.  The linker prefixes all warnings with that already.
19708
19709 2013-02-12  Andreas Schwab  <schwab@suse.de>
19710
19711         [BZ #15078]
19712         * posix/regexec.c (extend_buffers): Add parameter min_len.
19713         (check_matching): Pass minimum needed length.
19714         (clean_state_log_if_needed): Likewise.
19715         (get_subexp): Likewise.
19716         * posix/Makefile (tests): Add bug-regex34.
19717         (bug-regex34-ENV): Define.
19718         * posix/bug-regex34.c: New file.
19719
19720         [BZ #11561]
19721         * posix/regcomp.c (parse_bracket_exp): When looking up collating
19722         elements compare against the byte sequence of it, not its name.
19723         * posix/Makefile (tests): Add bug-regex35.
19724         (bug-regex35-ENV): Define.
19725         * posix/bug-regex35.c: New file.
19726
19727 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19728
19729         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
19730         comment.
19731         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
19732         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
19733         (CHECK_EOL): Add undef.
19734
19735 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
19736
19737         * bits/stdlib-bsearch.h: New file.
19738         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
19739         * stdlib/stdlib.h: Likewise.
19740
19741 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19742
19743         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
19744         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
19745         declaration.
19746         * manual/search.texi (Array Search Function): Add missing const in
19747         lfind prototype.
19748         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
19749         declaration to use rlim_t.
19750         (Basic Scheduling Functions): Remove erroneous const from
19751         sched_getparam prototype.  Remove erroneous * from
19752         sched_get_priority_max and sched_get_priority_min prototypes.
19753         (Resource Usage): Fix summary @comment on vtimes to refer to
19754         sys/vtimes.h rather than vtimes.h.
19755         Add missing *s in vtimes prototype.
19756         (Limits on Resources): Fix ulimit prototype to return long int.
19757         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
19758         prototypes to use long int rather than double.
19759         (BSD Random): Fix initstate and setstate to use char *, not void *.
19760         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
19761         prototype to make second argument 'struct aiocb64 *const[]'.
19762         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
19763         (Status of AIO Operations): Remove erroneous const in aio_return and
19764         aio_return64 prototypes.
19765         (Synchronizing I/O): Fix sync prototype to return void.
19766         * manual/startup.texi (Suboptions): Remove an erroneous const in
19767         getsubopt prototype.
19768         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
19769         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
19770         use size_t rather than int.
19771         (Scanning All Users): Likewise for getpwent_r.
19772         (Setting Groups): Add missing const to setgroups prototype.
19773         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
19774         * manual/socket.texi (Host Names): Fix gethostbyaddr and
19775         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
19776         'const void *' rather than 'const char *'.
19777         (Host Address Functions): Likewise for inet_ntop.
19778         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
19779         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
19780         ssize_t for return value.
19781         (Sending Data): Likewise for send, sendto, sendmsg.
19782         (Socket Option Functions): Add a missing const in setsockopt prototype.
19783         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
19784         use wchar_t for the argument.
19785         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
19786         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
19787         take no arguments.
19788         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
19789         double/float/long double for second argument.
19790         Fix return types of significand, significandf, significandl.
19791         * manual/filesys.texi (Setting Permissions): Use mode_t for second
19792         argument in fchmod prototype.
19793         (File Owner): Use uid_t and gid_t in fchown prototype.
19794         (File Times): Add const to utimes, futimes, and lutimes prototypes.
19795         (Making Special Files): Use mode_t and dev_t in mknod prototype.
19796         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
19797         use 'const struct dirent **' as argument types to CMP function pointer
19798         argument.
19799         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
19800         (File Times): Fix summary magic @comment for struct utimbuf and utime
19801         to refer to utime.h, not time.h.
19802         * manual/string.texi (Argz Functions): Add missing const in
19803         argz_extract and argz_next prototypes.
19804         (Finding Tokens in a String): Likewise for basename.
19805         (String/Array Comparison): Fix typo in wcscasecmp prototype.
19806         (Copying and Concatenation): Fix typo in wmemmove prototype.
19807         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
19808         (Signal Stack): Remove erroneous const in sigstack prototype.
19809         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
19810         prototype.
19811         (Simple Calendar Time): Likewise for stime.
19812         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
19813         prototype.
19814         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
19815         say sys/sysctl.h instead.
19816         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
19817         and vsyslog prototypes.
19818
19819 2013-02-11  Tom de Vries  <tom@codesourcery.com>
19820
19821         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
19822         Remove.
19823
19824 2013-02-11  Roland McGrath  <roland@hack.frob.com>
19825
19826         * misc/sys/mman.h: Fix typo in mremap comment.
19827
19828 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19829
19830         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
19831         the '\0' terminator.
19832
19833 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19834
19835         [BZ #13550]
19836         * debug/segfault.c: Don't include <bp-checks.h>.
19837         * sysdeps/generic/bp-checks.h: Remove file.
19838         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
19839         (__GETDENTS): Don't use CHECK_N.
19840         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
19841         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
19842         (__getgroups): Don't use CHECK_N.
19843         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
19844         (setgroups): Don't use CHECK_N.
19845         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
19846         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
19847         (__libc_msgrcv): Don't use CHECK_N.
19848         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
19849         (__libc_msgsnd): Don't use CHECK_N.
19850         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
19851         <bp-checks.h>.
19852         (__libc_pread): Don't use CHECK_N.
19853         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
19854         include <bp-checks.h>.
19855         (__libc_pread64): Don't use CHECK_N.
19856         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
19857         include <bp-checks.h>.
19858         (__libc_pwrite): Don't use CHECK_N.
19859         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
19860         include <bp-checks.h>.
19861         (__libc_pwrite64): Don't use CHECK_N.
19862         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
19863         <bp-checks.h>.
19864         (__libc_pread): Don't use CHECK_N.
19865         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
19866         include <bp-checks.h>.
19867         (__libc_pread64): Don't use CHECK_N.
19868         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
19869         include <bp-checks.h>.
19870         (__libc_pwrite): Don't use CHECK_N.
19871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
19872         include <bp-checks.h>.
19873         (__libc_pwrite64): Don't use CHECK_N.
19874         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
19875         (do_pread): Don't use CHECK_N.
19876         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
19877         (do_pread64): Don't use CHECK_N.
19878         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
19879         (do_pwrite): Don't use CHECK_N.
19880         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
19881         (do_pwrite64): Don't use CHECK_N.
19882         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
19883         (__libc_readv): Don't use CHECK_N.
19884         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
19885         (semop): Don't use CHECK_N.
19886         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
19887         <bp-checks.h>.
19888         (semtimedop): Don't use CHECK_N.
19889         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
19890         (__libc_pread): Don't use CHECK_N.
19891         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
19892         <bp-checks.h>.
19893         (__libc_pread64): Don't use CHECK_N.
19894         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
19895         <bp-checks.h>.
19896         (__libc_pwrite): Don't use CHECK_N.
19897         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
19898         <bp-checks.h>.
19899         (__libc_pwrite64): Don't use CHECK_N.
19900         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
19901         <bp-checks.h>.
19902         (__libc_msgrcv): Don't use CHECK_N.
19903         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
19904         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
19905         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
19906         (__libc_writev): Don't use CHECK_N.
19907
19908 2013-02-08  Roland McGrath  <roland@hack.frob.com>
19909
19910         * string/strcpy.c: Removed unused variable.
19911
19912         * Makeconfig (+sysdep-includes): Define with := rather than =.
19913         Use an existing include/ subdir of each sysdeps dir before it.
19914
19915 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19916
19917         * nscd/connection.c (register_traced_file): Comment function.
19918         [HAVE_INOTIFY] (union __inev): Define.
19919         [HAVE_INOTIFY] (inotify_check_files): New function.
19920         [HAVE_INOTIFY] (clear_db_cache): Likewise.
19921         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
19922         clear_db_cache.
19923         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
19924
19925 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19926
19927         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
19928         loaded if not already and that a failure is permanent.
19929
19930 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
19931
19932         [BZ #15006]
19933         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
19934         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
19935
19936 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
19937
19938         [BZ #13550]
19939         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
19940         (CHECK_1_NULL_OK): Likewise.
19941         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
19942         (__fxstat): Do not use CHECK_1.
19943         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
19944         <bp-checks.h>.
19945         (___fxstat64): Do not use CHECK_1.
19946         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
19947         <bp-checks.h>.
19948         (__fxstatat): Do not use CHECK_1.
19949         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
19950         <bp-checks.h>.
19951         (__fxstatat64): Do not use CHECK_1.
19952         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
19953         <bp-checks.h>.
19954         (__fxstat): Do not use CHECK_1.
19955         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
19956         <bp-checks.h>.
19957         (__fxstatat): Do not use CHECK_1.
19958         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
19959         <bp-checks.h>.
19960         (__getresgid): Do not use CHECK_1.
19961         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
19962         <bp-checks.h>.
19963         (__getresuid): Do not use CHECK_1.
19964         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
19965         <bp-checks.h>.
19966         (__lxstat): Do not use CHECK_1.
19967         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
19968         <bp-checks.h>.
19969         (__old_msgctl): Do not use CHECK_1.
19970         (__new_msgctl): Likewise.
19971         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
19972         <bp-checks.h>.
19973         (__new_setrlimit): Do not use CHECK_1.
19974         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
19975         <bp-checks.h>.
19976         (__old_shmctl): Do not use CHECK_1.
19977         (__new_shmctl): Likewise.
19978         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
19979         <bp-checks.h>.
19980         (__xstat): Do not use CHECK_1.
19981         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
19982         (__lxstat): Do not use CHECK_1.
19983         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
19984         <bp-checks.h>.
19985         (___lxstat64): Do not use CHECK_1.
19986         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
19987         (__old_msgctl): Do not use CHECK_1.
19988         (__new_msgctl): Likewise.
19989         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
19990         <bp-checks.h>.
19991         (__gettimeofday): Do not use CHECK_1.
19992         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
19993         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
19994         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
19995         <bp-checks.h>.
19996         (__gettimeofday): Do not use CHECK_1.
19997         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
19998         (__old_shmctl): Do not use CHECK_1_NULL_OK.
19999         (__new_shmctl): Do not use CHECK_1.
20000         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
20001         <bp-checks.h>.
20002         (do_sigtimedwait): Do not use CHECK_1.
20003         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
20004         <bp-checks.h>.
20005         (do_sigwaitinfo): Do not use CHECK_1.
20006         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
20007         <bp-checks.h>.
20008         (msgctl): Do not use CHECK_1.
20009         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
20010         <bp-checks.h>.
20011         (shmctl): Do not use CHECK_1.
20012         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
20013         (ustat): Do not use CHECK_1.
20014         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
20015         <bp-checks.h>.
20016         (__fxstat): Do not use CHECK_1.
20017         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
20018         <bp-checks.h>.
20019         (__fxstatat): Do not use CHECK_1.
20020         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
20021         <bp-checks.h>.
20022         (__lxstat): Do not use CHECK_1.
20023         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
20024         <bp-checks.h>.
20025         (__xstat): Do not use CHECK_1.
20026         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
20027         (__xstat): Do not use CHECK_1.
20028         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
20029         (___xstat64): Do not use CHECK_1.
20030
20031         [BZ #13550]
20032         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
20033         definitions.
20034         (CHECK_BOUNDS_HIGH): Likewise.
20035         * string/strcpy.c: Do not include <bp-checks.h>.
20036         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
20037
20038 2013-02-07  Roland McGrath  <roland@hack.frob.com>
20039
20040         * nscd/nscd-client.h (__nscd_drop_map_ref):
20041         Add __attribute__ ((unused)).
20042         * nis/nss-nisplus.h (niserr2nss): Likewise.
20043
20044         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
20045         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
20046
20047         * csu/libc-tls.c (init_static_tls, init_slotinfo):
20048         Remove inline keyword.
20049         * include/rounding-mode.h (round_away): Likewise.
20050         * libio/wfileops.c (adjust_wide_data): Likewise.
20051         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
20052         (__m128i_strloadu_tolower): Likewise.
20053         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
20054         (__m128i_strloadu_tolower): Likewise.
20055         * time/mktime.c (ydhms_diff): Likewise.
20056         * locale/elem-hash.h (elem_hash): Likewise.
20057         * locale/setlocale.c (setdata): Likewise.
20058         * posix/regex_internal.h (re_string_char_size_at): Likewise.
20059         (re_string_wchar_at): Likewise.
20060         (bitset_not, bitset_merge, bitset_mask): Likewise.
20061         [!(__GNUC__ > 3)] (inline): Remove macro.
20062         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
20063         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
20064         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
20065         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
20066         * string/memcmp.c (memcmp_bytes): Likewise.
20067         * locale/programs/locarchive.c (compute_hashval): Likewise.
20068         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
20069         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
20070         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
20071         * nss/getent.c (print_rpc, print_protocols): Likewise.
20072         (print_passwd, print_group, print_aliases): Likewise.
20073         * nis/nss-nisplus.h (niserr2nss): Likewise.
20074         * nscd/connections.c (restart_p): Likewise.
20075         Change return type to bool.
20076
20077 2013-02-05  Roland McGrath  <roland@hack.frob.com>
20078
20079         * Makeconfig (all-Depend-files): Add existing
20080         $(sorted-subdirs:=/Depend) files.
20081         (all-subdirs): Remove nss.
20082         * sysdeps/unix/inet/Subdirs: Add it here instead.
20083         * hesiod/Depend: New file.
20084
20085         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
20086         instead of calling alloca.
20087
20088         * io/lseek.c (__lseek): Rename to __libc_lseek.
20089         Define __lseek as an alias.
20090
20091         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
20092
20093 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
20094
20095         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
20096         else clause and remove check for non-standard endianness.
20097
20098 2013-02-04  David S. Miller  <davem@davemloft.net>
20099
20100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20101
20102 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
20103
20104         [BZ #13550]
20105         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
20106         (__ubp_memchr): Remove prototype.
20107         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
20108         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20109         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
20110         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
20111         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
20112         Remove alias.
20113         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
20114         (__ubp_memchr): Likewise.
20115         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
20116         (__ubp_memchr): Likewise.
20117         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
20118         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
20119         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
20120         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
20121         CHECK_STRING.
20122         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
20123         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
20124         (__getcwd): Do not use CHECK_STRING.
20125         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
20126         <bp-checks.h>.
20127         (__real_chown): Do not use CHECK_STRING.
20128         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
20129         <bp-checks.h>.
20130         (fchownat): Do not use CHECK_STRING.
20131         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
20132         CHECK_STRING.
20133         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
20134         <bp-checks.h>.
20135         (__lchown): Do not use CHECK_STRING.
20136         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
20137         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
20138         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
20139         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
20140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
20141         include <bp-checks.h>.
20142         (truncate64): Do not use CHECK_STRING.
20143         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
20144         <bp-checks.h>.
20145         (__real_chown): Do not use CHECK_STRING.
20146         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
20147         <bp-checks.h>.
20148         (__lchown): Do not use CHECK_STRING.
20149         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
20150         <bp-checks.h>.
20151         (__chown): Do not use CHECK_STRING.
20152         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
20153         <bp-checks.h>.
20154         (truncate64): Do not use CHECK_STRING.
20155         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
20156         Likewise.
20157         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
20158         (__xmknod): Do not use CHECK_STRING.
20159         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
20160         <bp-checks.h>.
20161         (__xmknodat): Do not use CHECK_STRING.
20162         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
20163         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
20164
20165 2013-02-04  Andreas Schwab  <schwab@suse.de>
20166
20167         [BZ #14142]
20168         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
20169         * include/netdb.h: Likewise for h_errno.
20170         * elf/tst-stackguard1.c: Include <tls.h>.
20171
20172 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
20173
20174         * elf/link.h (struct link_map): Extend the l_addr comment.
20175         * include/link.h (struct link_map): Likewise.
20176
20177 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
20178
20179         [BZ #13550]
20180         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
20181         (BOUNDED_1): Remove macro.
20182         * debug/backtrace.c: Don't include <bp-checks.h>.
20183         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
20184         (__backtrace): Likewise.
20185         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
20186         <bp-checks.h>.
20187         (__backtrace): Don't use BOUNDED_1.
20188         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
20189         <bp-checks.h>.
20190         (__backtrace): Don't use BOUNDED_1.
20191         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
20192         (__backtrace): Don't use BOUNDED_1.
20193         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
20194         (shmat): Don't use BOUNDED_N.
20195
20196 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
20197
20198         [BZ #13550]
20199         * sysdeps/generic/bp-start.h: Remove file.
20200         * csu/libc-start.c: Don't include <bp-start.h>.
20201         (LIBC_START_MAIN): Set up __environ directly instead of using
20202         INIT_ARGV_and_ENVIRON.
20203         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
20204         <bp-start.h>.
20205
20206         [BZ #13550]
20207         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
20208         definitions.
20209         (CHECK_FCNTL): Likewise.
20210         (CHECK_N_PAGES): Likewise.
20211
20212         [BZ #13550]
20213         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
20214         definitions.
20215         (CHECK_SIGSET_NULL_OK): Likewise.
20216         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
20217         <bp-checks.h>.
20218         (sigpending): Don't use CHECK_SIGSET.
20219         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
20220         <bp-checks.h>.
20221         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20222         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
20223         <bp-checks.h>.
20224         (do_sigsuspend): Don't use CHECK_SIGSET.
20225         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
20226         use CHECK_SIGSET.
20227         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
20228         (do_sigwait): Don't use CHECK_SIGSET.
20229         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
20230         use CHECK_SIGSET.
20231         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
20232         include <bp-checks.h>.
20233         (sigpending): Don't use CHECK_SIGSET.
20234         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
20235         include <bp-checks.h>.
20236         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20237         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
20238         <bp-checks.h>.
20239         (sigpending): Don't use CHECK_SIGSET.
20240         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
20241         <bp-checks.h>.
20242         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
20243
20244         [BZ #13550]
20245         * sysdeps/generic/bp-semctl.h: Remove file.
20246         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
20247         <bp-checks.h> and <bp-semctl.h>.
20248         (__old_semctl): Don't use CHECK_SEMCTL.
20249         (__new_semctl): Likewise.
20250         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
20251         and <bp-semctl.h>.
20252         (__old_semctl): Don't use CHECK_SEMCTL.
20253         (__new_semctl): Likewise.
20254         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
20255         <bp-checks.h> and <bp-semctl.h>.
20256         (__old_semctl): Don't use CHECK_SEMCTL.
20257         (__new_semctl): Likewise.
20258         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
20259         <bp-checks.h> and <bp-semctl.h>.
20260         (semctl): Don't use CHECK_SEMCTL.
20261
20262         [BZ #13550]
20263         * Makerules (elide-bp-thunks): Remove variable.
20264         (elide-routines.oS): Don't use $(elide-bp-thunks).
20265         (elide-routines.os): Likewise.
20266         (elide-routines.o): Likewise.
20267         (elide-routines.op): Likewise.
20268         (elide-routines.og): Likewise.
20269         (objects): Don't use $(bp-thunks).
20270         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
20271         include.
20272         (common-generated): Do not add s-proto-bp.d.
20273         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
20274         (int): Likewise.
20275         (typ): Likewise.
20276         Do not generate makefile rules for bounded-pointer thunks.
20277         * sysdeps/generic/bp-thunks.h: Remove file.
20278         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
20279         * sysdeps/unix/s-proto-bp.S: Likewise.
20280
20281         [BZ #15062]
20282         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
20283         parts of result separately when argument is not close to line from
20284         -i to i and one part of argument is small.
20285         * math/k_casinhf.c (__kernel_casinhf): Likewise.
20286         * math/k_casinhl.c (__kernel_casinhl): Likewise.
20287         * math/libm-test.inc (cacos_test): Add more tests.
20288         (casin_test): Likewise.
20289         (casinh_test): Likewise.
20290         * sysdeps/i386/fpu/libm-test-ulps: Update.
20291         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20292
20293 2013-01-31  David S. Miller  <davem@davemloft.net>
20294
20295         * po/de.po: Update from translation team.
20296
20297 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
20298
20299         * time/tzfile.c: Include stdint.h for SIZE_MAX.
20300
20301 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
20302
20303         * configure.in (_AC_PROG_CC_C89): New definition.
20304         * configure: Regenerate.
20305
20306         * configure.in (AC_PROG_CPP): New definition.
20307         * configure: Regenerate.
20308
20309 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20310
20311         * debug/tst-backtrace.h: New file.
20312         * debug/tst-backtrace2.c: Include tst-backtrace.h.
20313         (ret): Remove variable.
20314         (x): Likewise.
20315         (FAIL): Remove macro.
20316         (NO_INLINE): Likewise.
20317         (fn1): Use match function instead of strstr.
20318         * debug/tst-backtrace3.c: Include tst-backtrace.h.
20319         (ret): Remove variable.
20320         (x): Likewise.
20321         (FAIL): Remove macro.
20322         (NO_INLINE): Likewise.
20323         (fn): Use match function instead of strstr.
20324         * debug/tst-backtrace4.c: Include tst-backtrace.h.
20325         (ret): Remove variable.
20326         (x): Likewise.
20327         (FAIL): Remove macro.
20328         (NO_INLINE): Likewise.
20329         (handle_signal): Use match function instead of strstr.
20330         * debug/tst-backtrace5.c: Include tst-backtrace.h.
20331         (ret): Remove variable.
20332         (x): Likewise.
20333         (FAIL): Remove macro.
20334         (NO_INLINE): Likewise.
20335         (handle_signal): Use match function instead of strstr.
20336
20337 2013-01-23  Roland McGrath  <roland@hack.frob.com>
20338
20339         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
20340
20341 2013-01-23  David S. Miller  <davem@davemloft.net>
20342
20343         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
20344         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
20345         argument of CAS if possible.
20346         * sysdeps/sparc/sparc64/bits/atomic.h
20347         (__arch_compare_and_exchange_val_32_acq): Likewise.
20348         (__arch_compare_and_exchange_val_64_acq): Likewise.
20349
20350 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
20351
20352         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
20353         * sysdeps/posix/ulimit.c: ... this.
20354         Include <limits.h>.
20355         * sysdeps/unix/bsd/ulimit.c: Remove file.
20356
20357 2013-01-23  Adam Conrad  <adconrad@0c3.net>
20358
20359         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
20360         (LDFLAGS-tst-array5): Likewise.
20361
20362 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
20363
20364         [BZ #15036]
20365         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
20366         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
20367         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
20368         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
20369
20370 2013-01-21  David S. Miller  <davem@davemloft.net>
20371
20372         * sysdeps/sparc/backtrace.c: New file.
20373         * sysdeps/sparc/sparc32/backtrace.h: New file.
20374         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
20375         * sysdeps/sparc/sparc64/backtrace.h: New file.
20376         * sysdeps/sparc/sparc64/backtrace.c: Delete.
20377         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
20378         -funwind-tables.
20379
20380 2013-01-21  Andreas Schwab  <schwab@suse.de>
20381
20382         [BZ #15020]
20383         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
20384         closed its stdout.
20385
20386 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
20387
20388         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
20389         "mpa2.h".
20390         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20391
20392 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
20393             Mark Mitchell  <mark@codesourcery.com>
20394             Tom de Vries  <tom@codesourcery.com>
20395             Paul Pluzhnikov  <ppluzhnikov@google.com>
20396
20397         * debug/tst-backtrace2.c: New file.
20398         * debug/tst-backtrace3.c: Likewise.
20399         * debug/tst-backtrace4.c: Likewise.
20400         * debug/tst-backtrace5.c: Likewise.
20401         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
20402         (CFLAGS-tst-backtrace3.c): Likewise.
20403         (CFLAGS-tst-backtrace4.c): Likewise.
20404         (CFLAGS-tst-backtrace5.c): Likewise.
20405         (LDFLAGS-tst-backtrace2): Likewise.
20406         (LDFLAGS-tst-backtrace3): Likewise.
20407         (LDFLAGS-tst-backtrace4): Likewise.
20408         (LDFLAGS-tst-backtrace5): Likewise.
20409         (tests): Add new tests tst-backtrace2, tst-backtrace3,
20410         tst-backtrace4 and tst-backtrace5.
20411
20412 2013-01-18  Anton Blanchard  <anton@samba.org>
20413             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
20414
20415         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
20416         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
20417         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
20418         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
20419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
20420         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
20421         "+r" and remove output regs list as redundant.  Add explicit inline
20422         asm to specify register of return val to work around compiler codegen
20423         bug.  Remove (int) cast on return value.  Add return type parameter to
20424         use in macro so that this macro does not truncate return value for
20425         64-bit values.
20426         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
20427         pass to INTERNAL_VSYSCALL_NCS.
20428         (INLINE_VSYSCALL): Add 'long int' as return type to
20429         INTERNAL_VSYSCALL_NCS macro invocation.
20430         (INTERNAL_VSYSCALL): Add 'long int' as return type to
20431         INTERNAL_VSYSCALL_NCS macro invocation.
20432         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
20433
20434 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20435
20436         [BZ #14496]
20437         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
20438         Fix application of SIMD FP exception mask.
20439
20440         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
20441         mp_no from a power of two.
20442         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
20443         __mpexp_twomm1.  Use __pow_mp.
20444
20445         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
20446         multiplication.
20447
20448 2013-01-17  David S. Miller  <davem@davemloft.net>
20449
20450         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20451
20452 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20453
20454         [BZ #15023]
20455         * include/complex.h: Condition contents on [!_COMPLEX_H].
20456         (__kernel_casinhf): New prototype.
20457         (__kernel_casinh): Likewise.
20458         (__kernel_casinhl): Likewise.
20459         * math/Makefile (libm_calls): Add k_casinh.
20460         * math/k_casinh.c: New file.
20461         * math/k_casinhf.c: Likewise.
20462         * math/k_casinhl.c: Likewise.
20463         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
20464         finite nonzero arguments.
20465         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
20466         finite nonzero arguments.
20467         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
20468         finite nonzero arguments.
20469         * math/s_casinh.c: Do not include <float.h>.
20470         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
20471         * math/s_casinhf.c: Do not include <float.h>.
20472         (__casinhf): Move code for finite nonzero arguments to
20473         k_casinhf.c.
20474         * math/s_casinhl.c: Do not include <float.h>.
20475         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
20476         redefine.
20477         (__casinhl): Move code for finite nonzero arguments to
20478         k_casinhl.c.
20479         * math/libm-test.inc (cacos_test): Add more tests.
20480         * sysdeps/i386/fpu/libm-test-ulps: Update.
20481         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20482
20483 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
20484
20485         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
20486         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
20487         [!HAVE_MREMAP]: Remove [defined linux] case.
20488         * malloc/arena.c: Do not include <malloc-sysdep.h>.
20489
20490 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
20491
20492         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
20493
20494 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
20495
20496         * elf/elf.h (R_386_SIZE32): New relocation.
20497         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
20498         R_386_SIZE32.
20499         (elf_machine_rela): Likewise.
20500         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
20501         R_X86_64_SIZE64 and R_X86_64_SIZE32.
20502
20503 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
20504
20505         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
20506         (FP_FAST_FMA): Do not define.
20507         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
20508         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
20509         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
20510         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
20511         !_SOFT_FLOAT]: Likewise.
20512         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
20513         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
20514         value.
20515         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
20516         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
20517         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
20518         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
20519         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
20520         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
20521         file.
20522
20523 2013-01-16  Andreas Schwab  <schwab@suse.de>
20524
20525         [BZ #14327]
20526         * include/stdlib.h (__mktemp): Add declaration.
20527         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
20528         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
20529
20530 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
20531
20532         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
20533         definitions.
20534         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
20535         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
20536         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
20537         definitions here.
20538         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
20539         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
20540         definitions.
20541         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
20542         and ONE.
20543         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
20544         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
20545         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
20546         definitions.
20547         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
20548         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
20549         definitions.
20550         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
20551
20552         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
20553
20554 2013-01-15  David S. Miller  <davem@davemloft.net>
20555
20556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20557         trunc{,f} to libm-sysdep_routes.
20558         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20559         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
20560         file.
20561         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
20562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
20563         file.
20564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
20565         file.
20566         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
20567         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
20568         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
20569         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
20570         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
20571         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
20572         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
20573         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
20574
20575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20576         nearbyint{,f} to libm-sysdep_routes.
20577         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
20579         New file.
20580         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
20581         file.
20582         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
20583         New file.
20584         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
20585         file.
20586         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
20587         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
20588         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
20589         file.
20590         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
20591         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
20592         file.
20593         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
20594         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
20595         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
20596
20597         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
20598         libc_feholdexcept and libc_fesetenv.
20599
20600 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
20601
20602         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
20603
20604 2013-01-14  David S. Miller  <davem@davemloft.net>
20605
20606         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
20607         (SPARC_ASM_VIS2_IFUNC): Likewise.
20608         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
20609         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
20610         use of 'siam' instruction.
20611         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
20612         Likewise.
20613         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
20614         Likewise.
20615         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
20616         Likewise.
20617         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
20618         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
20619         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
20620         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
20621         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
20622         file.
20623         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
20624         file.
20625         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
20626         file.
20627         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
20628         file.
20629         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
20630         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
20631         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
20632         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
20633         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
20634         new VIS2 routines.
20635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
20636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
20637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
20638         Likewise.
20639         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
20640         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
20641         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
20642         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
20643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
20644         routines to libm-sysdep_routines.
20645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
20646
20647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
20648         fdim/fdimf to libm-sysdep_routines.
20649         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
20650         file.
20651         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
20652         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
20653         file.
20654         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
20655         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
20656         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
20657         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
20658         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
20659         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
20660         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
20661
20662 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
20663
20664         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
20665         to optimize copies.
20666
20667         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
20668         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
20669         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
20670
20671         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
20672         local variable MPTWO.
20673         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
20674         Likewise.
20675
20676 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20677
20678         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
20679         GLOB_NOESCAPE.
20680
20681 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20682
20683         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
20684
20685 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
20686
20687         * manual/pattern.texi (glob_t): Document gl_flags.
20688         (glob64_t): Likewise.
20689
20690 2013-01-11  David S. Miller  <davem@davemloft.net>
20691
20692         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
20693         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
20694         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
20695         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
20696         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
20697         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
20698         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
20699         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
20700         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
20701         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
20702         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
20703         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
20704         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
20705
20706         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20707         sparc V9 rather than using V8 code.
20708         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20709         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20710
20711         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
20712         Move to...
20713         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
20714         Here.
20715
20716 2013-01-11  Roland McGrath  <roland@hack.frob.com>
20717
20718         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
20719         not in the main loop.
20720         * configure: Regenerated.
20721
20722 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
20723
20724         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
20725         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
20726         to just #else.
20727         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
20728         [!__GLIBC_HAVE_LONG_LONG] case.
20729         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
20730         condition to just #else.
20731         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
20732         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
20733         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
20734         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
20735         unconditional.
20736         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
20737         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20738         #elif condition to just #else.
20739         * sysdeps/unix/sysv/linux/sys/sysmacros.h
20740         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
20741         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
20742         #elif condition to just #else.
20743
20744 2013-01-11  Steve Ellcey  <sellcey@mips.com>
20745
20746         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
20747         (EF_MIPS_ARCH_64): Fix value.
20748         (EF_MIPS_ARCH_32R2): New.
20749         (EF_MIPS_ARCH_64R2): New.
20750
20751 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
20752
20753         * Makeconfig (+link-pie-before-libc): New.
20754         (+link-pie-after-libc): Likewise.
20755         (+link-pie-tests): Likewise.
20756         (+link-pie): Rewritten.
20757         (link-before-libc): Remove $(config-LDFLAGS).
20758         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
20759         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
20760         (config-LDFLAGS): Renamed to ...
20761         (rtld-LDFLAGS): This.
20762         (rtld-tests-LDFLAGS): New macro.
20763         (link-libc-rpath-link): Likewise.
20764         (link-libc-tests-rpath-link): Likewise.
20765         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
20766         (link-libc): Prepand $(link-libc-rpath-link).
20767         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
20768         (test-program-prefix): New macro.
20769         (test-via-rtld-prefix): Likewise.
20770         (test-program-cmd): Likewise.
20771         (host-test-program-cmd): Likewise.
20772         * Makefile ($(common-objpfx)testrun.sh): Replace
20773         $(run-program-prefix) with $(test-program-prefix).
20774         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
20775         $(rtld-LDFLAGS).
20776         ($(common-objpfx)shlib.lds): Likewise.
20777         (build-module-helper): Likewise.
20778         ($(common-objpfx)format.lds): Likewise.
20779         * Rules (binaries-pie-tests): New.
20780         (binaries-pie-notests): Likewise.
20781         (binaries-pie): Rewritten.
20782         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
20783         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
20784         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
20785         (make-test-out): Replace $(host-built-program-cmd) with
20786         $(host-test-program-cmd).
20787         * config.make.in (build-hardcoded-path-in-tests): New variable.
20788         * configure.in (--enable-hardcoded-path-in-tests): New configure
20789         option.
20790         (hardcoded_path_in_tests): New AC_SUBST.
20791         * configure: Regenerated.
20792         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
20793         $(built-program-cmd) with $(test-program-cmd).
20794         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
20795         (test_program_cmd): This.
20796         * elf/Makefile ($(objpfx)order.out): Run test with
20797         $(test-program-prefix).
20798         ($(objpfx)order2.out): Likewise.
20799         ($(objpfx)tst-initorder.out): Likewise.
20800         ($(objpfx)tst-initorder2.out): Likewise.
20801         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
20802         $(test-program-cmd).
20803         ($(objpfx)tst-array1-static.out): Likewise.
20804         ($(objpfx)tst-array2.out): Likewise.
20805         ($(objpfx)tst-array3.out): Likewise.
20806         ($(objpfx)tst-array4.out): Likewise.
20807         ($(objpfx)tst-array5.out): Likewise.
20808         ($(objpfx)tst-array5-static.out): Likewise.
20809         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
20810         $(test-program-cmd).
20811         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
20812         $(run-program-prefix) with $(test-program-prefix).
20813         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
20814         (test_program_prefix): This.
20815         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
20816         $(run-program-prefix) with $(test-program-prefix).
20817         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
20818         (test_program_prefix): This.
20819         * iconvdata/tst-tables.sh: Likewise.
20820         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
20821         $(run-program-prefix) with $(test-program-prefix).
20822         ($(objpfx)tst-translit.out): Likewise.
20823         ($(objpfx)tst-gettext2.out): Likewise.
20824         ($(objpfx)tst-gettext4.out): Likewise.
20825         ($(objpfx)tst-gettext6.out): Likewise.
20826         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
20827         (test_program_prefix): This.
20828         * intl/tst-gettext2.sh: Likewise.
20829         * intl/tst-gettext4.sh  Likewise.
20830         * intl/tst-gettext6.sh: Likewise.
20831         * intl/tst-translit.sh: Likewise.
20832         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
20833         with $(test-program-cmd).
20834         * libio/Makefile ($(objpfx)test-freopen.out): Replace
20835         $(run-program-prefix) with $(test-program-prefix).
20836         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
20837         (test_program_prefix): This.
20838         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
20839         $(run-program-prefix) with $(test-program-prefix).
20840         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
20841         (test_program_prefix): This.
20842         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
20843         * posix/Makefile ($(objpfx)globtest.out): Replace
20844         $(run-via-rtld-prefix) and $(test-wrapper) with
20845         $(test-program-prefix) and $(test-via-rtld-prefix).
20846         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
20847         $(test-program-prefix).
20848         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
20849         $(host-test-program-cmd).
20850         (tst-spawn-ARGS): Likewise.
20851         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
20852         $(test-program-prefix).
20853         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
20854         (test_via_rtld_prefix): This.
20855         (test_wrapper): Renamed to ...
20856         (test_program_prefix): This.
20857         (run_program_prefix): Replaced by test_program_prefix.
20858         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
20859         (test_program_prefix): This.
20860         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
20861         with $(host-test-program-cmd).
20862         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
20863         $(run-program-prefix) with $(test-program-prefix).
20864         ($(objpfx)tst-printf.out): Likewise.
20865         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
20866         $(test-program-cmd).
20867         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
20868         (test_program_prefix): This.
20869         * stdio-common/tst-unbputc.sh: Likewise.
20870         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
20871         $(run-program-prefix) with $(test-program-prefix).
20872         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
20873         (test_program_prefix): This.
20874         * string/Makefile ($(objpfx)tst-svc.out):  Replace
20875         $(built-program-cmd) with $(test-program-cmd).
20876
20877 2013-01-11  Andreas Jaeger  <aj@suse.de>
20878
20879         [BZ #15003]
20880         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
20881         value. Sync with Linux 3.7.
20882
20883 2013-01-10  David S. Miller  <davem@davemloft.net>
20884
20885         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
20886         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20887         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20888
20889 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20890
20891         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
20892         never set.
20893         * configure: Regenerated.
20894
20895 2013-01-10  David S. Miller  <davem@davemloft.net>
20896
20897         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
20898         sparc V9 rather than using V8 code.
20899         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
20900         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
20901
20902 2013-01-10  Roland McGrath  <roland@hack.frob.com>
20903
20904         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
20905         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
20906         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
20907         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
20908         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
20909         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
20910         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
20911         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
20912         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
20913         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
20914         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
20915         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
20916         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
20917         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
20918         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
20919         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
20920         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
20921         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
20922         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
20923         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
20924         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
20925         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
20926         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
20927         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
20928         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
20929         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
20930         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
20931
20932 2013-01-10  David S. Miller  <davem@davemloft.net>
20933
20934         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20935
20936 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20937
20938         * posix/Makefile (tests-static): New variable.
20939         (tests): Add $(tests-static).
20940         (tst-exec-static-ARGS): New variable.
20941         (tst-spawn-static-ARGS): Likewise.
20942         * posix/tst-exec-static.c: New file.
20943         * posix/tst-spawn-static.c: Likewise.
20944         * posix/tst-exec.c: Support run directly.
20945         * posix/tst-spawn.c: Likewise.
20946
20947 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
20948
20949         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
20950         long.
20951         * math/bits/mathcalls.h (llrint): Likewise.
20952         (llround): Likewise.
20953         * stdlib/stdlib.h (struct drand48_data): Likewise.
20954         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
20955         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
20956         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
20957         Likewise.
20958         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
20959         Likewise.
20960         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
20961         (elf_greg_t): Likewise.
20962         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
20963         (__jmp_buf): Likewise.
20964         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
20965         definitions.
20966         (llrint): Likewise, for all definitions.
20967         (llrintl): Likewise.
20968
20969         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
20970         Remove [__GNUC__] condition.
20971         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
20972         condition to just [__USE_ISOC99].
20973         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
20974
20975 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
20976
20977         [BZ #14200]
20978         * sysdeps/unix/sysv/linux/x86/bits/environments.h
20979         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
20980         defined.
20981         (_POSIX_V6_ILP32_OFF32): Likewise.
20982         (_XBS5_ILP32_OFF32): Likewise.
20983         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
20984         (__ILP32_OFFBIG_LDFLAGS): Likewise.
20985
20986 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
20987
20988         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
20989
20990         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
20991         doubles __mpexp_twomm1.  Adjust usage.
20992         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
20993         Remove.
20994
20995 2013-01-10  Andreas Schwab  <schwab@suse.de>
20996
20997         [BZ #14964]
20998         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
20999         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
21000
21001 2013-01-09  David S. Miller  <davem@davemloft.net>
21002
21003         [BZ #15003]
21004         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
21005         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
21006         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
21007         (TCP_FASTOPEN): Define.
21008         (tcp_repair_opt): New structure.
21009         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
21010         enum values.
21011         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
21012         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
21013         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
21014         (tcp_cookie_transactions): New structure.
21015
21016 2013-01-09  Anton Blanchard  <anton@samba.org>
21017
21018         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
21019         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
21020         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
21021         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
21022
21023 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
21024
21025         * include/features.h (__USE_ANSI): Remove.
21026
21027 2013-01-09  Roland McGrath  <roland@hack.frob.com>
21028
21029         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
21030
21031         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
21032
21033 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
21034
21035         * sysdeps/s390/fpu/libm-test-ulps: Update.
21036
21037         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21038
21039         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
21040         (__acr): Likewise.
21041         (__cpy): Likewise.
21042         (norm): Likewise.
21043         (denorm): Likewise.
21044         (__mp_dbl): Likewise.
21045         (__dbl_mp): Likewise.
21046         (add_magnitudes): Likewise.
21047         (sub_magnitudes): Likewise.
21048         (__add): Likewise.
21049         (__sub): Likewise.
21050         (__mul): Likewise.
21051         (__inv): Likewise.
21052         (__dvd): Likewise.
21053         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
21054         (__acr): Likewise.
21055         (__cpy): Likewise.
21056         (norm): Likewise.
21057         (denorm): Likewise.
21058         (__mp_dbl): Likewise.
21059         (__dbl_mp): Likewise.
21060         (add_magnitudes): Likewise.
21061         (sub_magnitudes): Likewise.
21062         (__add): Likewise.
21063         (__sub): Likewise.
21064         (__mul): Likewise.
21065         (__inv): Likewise.
21066         (__dvd): Likewise.
21067         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
21068         (__acr): Likewise.
21069         (__cpy): Likewise.
21070         (norm): Likewise.
21071         (denorm): Likewise.
21072         (__mp_dbl): Likewise.
21073         (__dbl_mp): Likewise.
21074         (add_magnitudes): Likewise.
21075         (sub_magnitudes): Likewise.
21076         (__add): Likewise.
21077         (__sub): Likewise.
21078         (__mul): Likewise.
21079         (__inv): Likewise.
21080         (__dvd): Likewise.
21081
21082 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
21083
21084         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
21085         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
21086         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
21087         2 && __USE_EXTERN_INLINES]: Likewise.
21088
21089 2013-01-08  Andreas Jaeger  <aj@suse.de>
21090
21091         [BZ# 14985]
21092         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
21093         Remove.
21094         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21095         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
21096
21097 2013-01-07  Anton Blanchard  <anton@samba.org>
21098
21099         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
21100         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
21101         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
21102         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
21103         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
21104         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
21105         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
21106         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21107         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21108         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21109         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
21110         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
21111         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
21112         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21113         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21114         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
21115         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
21116         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21117         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
21118         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
21119         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
21120         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
21121         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21122         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21123         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
21124         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
21125         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
21126         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
21127         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
21128         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
21129         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21130         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21131         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21132         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21133         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21134         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21135         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21136         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
21137         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
21138         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
21139         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
21140         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21141         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21142
21143 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
21144
21145         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
21146         (__MALLOC_PMT): Likewise.
21147         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
21148         [__GNUC__], only on [_LIBC].
21149         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21150         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
21151         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
21152         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
21153         forward declaration.
21154         (realloc_hook_ini): Likewise.
21155         (memalign_hook_ini): Likewise.
21156         (__libc_memalign): Do not use __MALLOC_PMT in variable
21157         declaration.
21158         (__libc_valloc): Likewise.
21159         (__libc_pvalloc): Likewise.
21160         (__libc_calloc): Likewise.
21161         (__posix_memalign): Likewise.
21162
21163         [BZ #14996]
21164         * math/s_casinh.c: Include <float.h>.
21165         (__casinh): Do not do computation with squaring and square root
21166         for large arguments.
21167         * math/s_casinhf.c: Include <float.h>.
21168         (__casinhf): Do not do computation with squaring and square root
21169         for large arguments.
21170         * math/s_casinhl.c: Include <float.h>.
21171         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
21172         (__casinhl): Do not do computation with squaring and square root
21173         for large arguments.
21174         * math/libm-test.inc (casin_test): Add more tests.
21175         (casinh_test): Likewise.
21176         * sysdeps/i386/fpu/libm-test-ulps: Update.
21177         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21178
21179 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
21180
21181         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
21182         (__x86_64_raw_data_cache_size): Likewise.
21183         (__x86_64_data_cache_size_half): Likewise.
21184         (__x86_64_raw_data_cache_size_half): Likewise.
21185         (__x86_64_shared_cache_size): Likewise.
21186         (__x86_64_raw_shared_cache_size): Likewise.
21187         (__x86_64_shared_cache_size_half): Likewise.
21188         (__x86_64_raw_shared_cache_size_half): Likewise.
21189         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
21190         to ...
21191         (__x86_data_cache_size): This.
21192         (__x86_64_raw_data_cache_size): Renamed to ...
21193         (__x86_raw_data_cache_size): This.
21194         (__x86_64_data_cache_size_half): Renamed to ...
21195         (__x86_data_cache_size_half): This.
21196         (__x86_64_raw_data_cache_size_half): Renamed to ...
21197         (__x86_raw_data_cache_size_half): This.
21198         (__x86_64_shared_cache_size): Renamed to ...
21199         (__x86_shared_cache_size): This.
21200         (__x86_64_raw_shared_cache_size): Renamed to ...
21201         (__x86_raw_shared_cache_size): This.
21202         (__x86_64_shared_cache_size_half): Renamed to ...
21203         (__x86_shared_cache_size_half): This.
21204         (__x86_64_raw_shared_cache_size_half): Renamed to ...
21205         (__x86_raw_shared_cache_size_half): This.
21206         * sysdeps/x86_64/memcpy.S: Updated.
21207         * sysdeps/x86_64/memset.S: Likewise.
21208         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
21209         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
21210         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
21211
21212 2013-01-04  David S. Miller  <davem@davemloft.net>
21213
21214         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21215
21216 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
21217
21218         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
21219         1 to avoid redefinition warning.
21220         (__USE_GNU): Don't define.
21221         (init_signaling_nan): Protoize.
21222
21223         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21224
21225 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21226
21227         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
21228         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
21229         (__cpymn): Likewise.
21230         (norm): Remove commented code.
21231         (denorm): Likewise.
21232         (__mp_dbl): Likewise.
21233         (__inv): Likewise.
21234         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
21235         (__cpymn): Likewise.
21236         (norm): Remove commented code.
21237         (denorm): Likewise.
21238         (__mp_dbl): Likewise.
21239         (__inv): Likewise.
21240
21241         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
21242         mp_no value for 1.0 and 2.0.
21243         (norm): Use RADIXI instead of radixi.d.
21244         (denorm): Likewise.
21245         (__mul): Use 0.0 instead of zero.d.
21246         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
21247         mp_no value for 1.0 and 2.0.
21248         (norm): Use RADIXI instead of radixi.d.
21249         (denorm): Likewise.
21250         (__mul): Use 0.0 instead of zero.d.
21251
21252 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
21253
21254         [BZ #14994]
21255         * math/s_casinh.c (__casinh): Reduce finite argument to first
21256         quadrant then set signs of results at the end.
21257         * math/s_casinhf.c (__casinhf): Likewise.
21258         * math/s_casinhl.c (__casinhl): Likewise.
21259         * math/libm-test.inc (casin_test): Add more tests.
21260         (casinh_test): Likewise.
21261         * sysdeps/i386/fpu/libm-test-ulps: Update.
21262         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21263
21264 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
21265
21266         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
21267
21268         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
21269
21270         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
21271         declarations.
21272         (denorm): Likewise.
21273         (__mp_dbl): Likewise.
21274         (__inv): Likewise.
21275
21276         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
21277         and adjust the header comment.
21278
21279         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
21280         variable name from declaration.
21281
21282 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
21283
21284         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
21285         Initialize COMMON_CPUID_INDEX_7 element.
21286         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
21287         (CPUID_RTM): Likewise.
21288         (HAS_RTM): Likewise.
21289         (COMMON_CPUID_INDEX_7): New enum.
21290
21291 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
21292
21293         [BZ #14981]
21294         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
21295         size is zero, record memory as freed.
21296
21297 2013-01-03  Andreas Jaeger  <aj@suse.de>
21298
21299         * po/ia.po: Add new Interlingua translation.
21300
21301 2012-01-03  Allan McRae  <allan@archlinux.org>
21302
21303         * locale/programs/localedef.c: Fix description of '--posix' flag.
21304
21305 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
21306
21307         * NEWS: Update dates in second copyright notice.
21308         * README: Update copyright dates in example.
21309         * manual/libc.texinfo: Update copyright dates.
21310         * scripts/test-installation.pl: Update copyright date in --version
21311         output.
21312
21313         * hurd/ctty-input.c: Fix copyright notice formatting.
21314         * hurd/ctty-output.c: Likewise.
21315         * hurd/dtable.c: Likewise.
21316         * hurd/hurd-raise.c: Likewise.
21317         * hurd/hurdprio.c: Likewise.
21318         * hurd/msgportdemux.c: Likewise.
21319         * misc/sys/file.h: Likewise.
21320         * misc/sys/ioctl.h: Likewise.
21321         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
21322         * sysdeps/mach/hurd/chdir.c: Likewise.
21323         * sysdeps/mach/hurd/fchdir.c: Likewise.
21324         * sysdeps/mach/hurd/rename.c: Likewise.
21325         * sysdeps/mach/hurd/rmdir.c: Likewise.
21326         * sysdeps/mach/hurd/seekdir.c: Likewise.
21327         * sysdeps/mach/hurd/setsid.c: Likewise.
21328         * sysdeps/posix/wait3.c: Likewise.
21329
21330         * All files with FSF copyright notices: Update copyright dates
21331         using scripts/update-copyrights.
21332         * intl/plural.c: Regenerated.
21333         * locale/programs/charmap-kw.h: Likewise.
21334         * locale/programs/locfile-kw.h: Likewise.
21335
21336 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
21337
21338         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
21339         four values.
21340
21341         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
21342         calculation loop and add branch prediction.
21343
21344         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
21345         check access beyond bounds of m1np.
21346
21347         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21348         MPTWO.
21349         (__inv): Remove local variable MPTWO to use the global
21350         constant.
21351         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
21352         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21353         variable MPTWO.
21354         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
21355         MP3HALFS static const.
21356
21357 2013-01-01  David S. Miller  <davem@davemloft.net>
21358
21359         * po/ca.po: Update from translation team.
21360
21361 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
21362
21363         * scripts/update-copyrights: New file.
21364         * Makeconfig: Reformat copyright notice.
21365         * ctype/ctype.h: Likewise.
21366         * debug/swprintf_chk.c: Likewise.
21367         * elf/dl-cache.c: Likewise.
21368         * elf/dl-debug.c: Likewise.
21369         * elf/dl-object.c: Likewise.
21370         * grp/initgroups.c: Likewise.
21371         * hurd/Makefile: Likewise.
21372         * hurd/hurd/signal.h: Likewise.
21373         * hurd/hurdfault.c: Likewise.
21374         * hurd/hurdioctl.c: Likewise.
21375         * hurd/hurdlookup.c: Likewise.
21376         * hurd/intr-msg.c: Likewise.
21377         * iconv/gconv_open.c: Likewise.
21378         * libio/swprintf.c: Likewise.
21379         * locale/lc-ctype.c: Likewise.
21380         * locale/nl_langinfo.c: Likewise.
21381         * mach/Machrules: Likewise.
21382         * mach/Makefile: Likewise.
21383         * malloc/obstack.h: Likewise.
21384         * manual/Makefile: Likewise.
21385         * manual/tsort.awk: Likewise.
21386         * misc/bits/stab.def: Likewise.
21387         * nis/nis_print_group_entry.c: Likewise.
21388         * nis/nis_table.c: Likewise.
21389         * nis/nss_compat/compat-pwd.c: Likewise.
21390         * nis/nss_compat/compat-spwd.c: Likewise.
21391         * po/Makefile: Likewise.
21392         * posix/fnmatch.c: Likewise.
21393         * posix/regex.h: Likewise.
21394         * resolv/Makefile: Likewise.
21395         * resolv/nss_dns/dns-network.c: Likewise.
21396         * resolv/res_hconf.c: Likewise.
21397         * scripts/gen-sorted.awk: Likewise.
21398         * soft-fp/soft-fp.h: Likewise.
21399         * stdio-common/printf.h: Likewise.
21400         * stdlib/monetary.h: Likewise.
21401         * stdlib/random.c: Likewise.
21402         * stdlib/random_r.c: Likewise.
21403         * sysdeps/generic/Makefile: Likewise.
21404         * sysdeps/gnu/Makefile: Likewise.
21405         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
21406         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
21407         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
21408         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
21409         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
21410         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
21411         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
21412         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
21413         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
21414         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
21415         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
21416         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
21417         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
21418         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
21419         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
21420         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
21421         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
21422         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
21423         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
21424         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
21425         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
21426         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
21427         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
21428         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
21429         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
21430         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
21431         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21432         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
21433         * sysdeps/mach/hurd/errnos.awk: Likewise.
21434         * sysdeps/mach/hurd/fork.c: Likewise.
21435         * sysdeps/mach/hurd/getcwd.c: Likewise.
21436         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
21437         * sysdeps/mach/hurd/mmap.c: Likewise.
21438         * sysdeps/mach/hurd/utimes.c: Likewise.
21439         * sysdeps/mach/hurd/xmknod.c: Likewise.
21440         * sysdeps/posix/profil.c: Likewise.
21441         * sysdeps/posix/readdir_r.c: Likewise.
21442         * sysdeps/powerpc/bits/mathdef.h: Likewise.
21443         * sysdeps/powerpc/bits/setjmp.h: Likewise.
21444         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
21445         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
21446         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
21447         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
21448         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
21449         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
21450         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
21451         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
21452         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
21453         * sysdeps/pthread/lio_listio.c: Likewise.
21454         * sysdeps/sparc/dl-procinfo.h: Likewise.
21455         * sysdeps/unix/i386/sysdep.S: Likewise.
21456         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
21457         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
21458         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
21459         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
21460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
21461         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
21462         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
21463         * sysdeps/unix/sysv/linux/speed.c: Likewise.
21464         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
21465         * sysdeps/wordsize-32/divdi3.c: Likewise.
21466         * time/sys/time.h: Likewise.
21467         * wcsmbs/Makefile: Likewise.
21468
21469 2013-01-01  David S. Miller  <davem@davemloft.net>
21470
21471         * po/fr.po: Update from translation team.
21472
21473         * catgets/gencat.c: Update copyright year.
21474         * csu/version.c: Likewise.
21475         * debug/catchsegv.sh: Likewise.
21476         * debug/pcprofiledump.c: Likewise.
21477         * debug/xtrace.sh: Likewise.
21478         * elf/ldconfig.c: Likewise.
21479         * elf/ldd.bash.in: Likewise.
21480         * elf/pldd.c: Likewise.
21481         * elf/sotruss.ksh: Likewise.
21482         * elf/sprof.c: Likewise.
21483         * iconv/iconv_prog.c: Likewise.
21484         * iconv/iconvconfig.c: Likewise.
21485         * locale/programs/locale.c: Likewise.
21486         * locale/programs/localedef.c: Likewise.
21487         * login/programs/pt_chown.c: Likewise.
21488         * malloc/memusage.sh: Likewise.
21489         * malloc/memusagestat.c: Likewise.
21490         * malloc/mtrace.pl: Likewise.
21491         * nscd/nscd.c: Likewise.
21492         * nss/getent.c: Likewise.
21493         * nss/makedb.c: Likewise.
21494         * posix/getconf.c: Likewise.
21495
21496 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
21497
21498         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
21499         numbers.
21500
21501 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
21502
21503         * math/bits/mathcalls.h (modf): Use __nonnull.
21504
21505 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
21506
21507         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
21508         (split): Use macro CN instead of the bare value.
21509         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
21510         could be used.
21511         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
21512         instead of the bare value.
21513         (power1): Likewise.
21514
21515 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21516
21517         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
21518         __ATAN_TWOM.
21519         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21520
21521         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
21522         their values.
21523         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
21524         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
21525         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
21526         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
21527
21528 2012-12-28  Andreas Jaeger  <aj@suse.de>
21529
21530         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
21531         values are from Linux 3.7.
21532
21533         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
21534         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
21535
21536 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21537
21538         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
21539         TRUE case.
21540
21541         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
21542         (norm): Likewise.
21543         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
21544         variables with preprocessor constants.
21545         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
21546         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
21547         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
21548
21549 2012-12-27  Bruno Haible  <bruno@clisp.org>
21550
21551         [BZ #14317]
21552         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
21553         only if needed.
21554
21555 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21556
21557         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
21558         and use variable directly.
21559         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
21560
21561         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
21562         MPONE.
21563         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
21564         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
21565         variable MPONE.
21566         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
21567         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
21568         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
21569         include directive.  Remove local variable MPONE.
21570         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
21571         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
21572         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
21573
21574 2012-12-25  David S. Miller  <davem@davemloft.net>
21575
21576         * version.h (RELEASE): Set to "development".
21577         (VERSION): Set to "2.17.90".
21578         * NEWS: Add 2.18 section.
21579
21580 2012-12-21  David S. Miller  <davem@davemloft.net>
21581
21582         * po/hr.po: Update from translation team.
21583
21584 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21585
21586         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
21587
21588 2012-12-19  Steve Ellcey  <sellcey@mips.com>
21589
21590         * NEWS:  Mention new memcpy for MIPS.
21591
21592 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
21593
21594         * manual/contrib.texi (Contributors): Spelling correction.
21595
21596 2012-12-15  David S. Miller  <davem@davemloft.net>
21597
21598         * po/ru.po: Update from translation team.
21599
21600 2012-12-13  David S. Miller  <davem@davemloft.net>
21601
21602         * NEWS: Mention IFUNC testsuite enhancements.
21603
21604         * po/pl.po: Update from translation team.
21605         * po/bg.po: Likewise.
21606
21607         * manual/contrib.texi (Contributors): Update entries for Hongjiu
21608         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
21609
21610 2012-12-11  David S. Miller  <davem@davemloft.net>
21611
21612         * po/sv.po: Update from translation team.
21613
21614         * po/vi.po: Update from translation team.
21615
21616         * po/cs.po: Update from translation team.
21617
21618         * po/de.po: Update from translation team.
21619         * po/eo.po: Likewise.
21620         * po/nl.po: Likewise.
21621
21622 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
21623
21624         [BZ #14246]
21625         * manual/argp.texi (Argp Helper Functions): Move node to follow
21626         Argp Parsing State.
21627
21628         [BZ #14872]
21629         * manual/conf.texi (Limits on File System Capacity): Mention if
21630         terminating null is included in the max size.
21631
21632 2012-12-10  Andreas Jaeger  <aj@suse.de>
21633
21634         * po/cs.po: Update from translation team.
21635
21636 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
21637
21638         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
21639         void pointer and cast to uintptr_t.
21640         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
21641         path.
21642         * sysdeps/s390/s390-64/memcpy.S: Likewise.
21643         * sysdeps/s390/s390-64/memset.S: Likewise.
21644
21645 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
21646
21647         [BZ #14833]
21648         * menual/message.texi (Message Translation): Fix typos.
21649         (Helper programs for gettext): Likewise.
21650
21651 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
21652
21653         [BZ #14898]
21654         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
21655         Change to -1.
21656
21657 2012-12-07  David S. Miller  <davem@davemloft.net>
21658
21659         * po/libc.pot: Update.
21660
21661 2012-12-07  Richard Henderson  <rth@redhat.com>
21662
21663         [BZ #10114]
21664         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
21665         normal/normal case to before the switch.
21666         (_FP_DIV): Likewise.
21667
21668 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
21669             Mike Frysinger  <vapier@gentoo.org>
21670
21671         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
21672         check for __NR_fadvise64_64.
21673
21674 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
21675
21676         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
21677         0, not just to plain "0" as a statement.
21678         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
21679         with cw.
21680
21681 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
21682
21683         * NEWS: Use sourceware.org in Bugzilla URL.
21684
21685 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
21686
21687         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
21688         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21689
21690         * stdio-common/tst-put-error.c (do_test): Add newline to the
21691         padded test to ensure flush.
21692
21693 2012-12-05  Jeff Law  <law@redhat.com>
21694
21695         * sunrpc/etc.rpc (fedfs_admin): Add entry.
21696
21697 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
21698
21699         * README: Don't refer to ports add-on as distributed separately.
21700         Mention AArch64 in list of systems supported in the ports add-on.
21701
21702         * LICENSES: Add more non-FSF copyright and license notices.
21703
21704         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
21705         ((unused)).
21706
21707         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
21708
21709         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
21710         10000 as width of padded output.
21711
21712 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21713
21714         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
21715
21716         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
21717         variable LX with __attribute__ ((unused)).
21718         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21719         Likewise.
21720         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21721         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21722         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
21723         with __attribute__ ((unused)).
21724
21725 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
21726
21727         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
21728
21729 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
21730
21731         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
21732         (CFLAGS-nldbl-acos.c): New variable.
21733         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
21734         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
21735         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
21736         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
21737         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
21738         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
21739         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
21740         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
21741         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
21742         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
21743         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
21744         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
21745         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
21746         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
21747         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
21748         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
21749         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
21750         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
21751         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
21752         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
21753         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
21754         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
21755         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
21756         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
21757         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
21758         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
21759         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
21760         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
21761         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
21762         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
21763         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
21764         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
21765         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
21766         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
21767         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
21768         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
21769         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
21770         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
21771         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
21772         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
21773         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
21774         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
21775         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
21776         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
21777         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
21778         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
21779         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
21780         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
21781         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
21782         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
21783         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
21784         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
21785         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
21786         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
21787         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
21788         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
21789         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
21790         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
21791         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
21792         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
21793         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
21794         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
21795         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
21796         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
21797         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
21798         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
21799         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
21800         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
21801         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
21802         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
21803         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
21804         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
21805         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
21806         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
21807         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
21808         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
21809         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
21810         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
21811         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
21812         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
21813         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
21814         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
21815         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
21816         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
21817         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
21818         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
21819         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
21820         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
21821         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
21822         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
21823         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
21824         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
21825         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
21826         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
21827         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
21828         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
21829         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
21830
21831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
21832         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
21833
21834         [BZ #14914]
21835         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
21836         whole low double instead of just low 47 bits when splitting values
21837         into two parts.
21838
21839 2012-12-03  Allan McRae  <allan@archlinux.org>
21840
21841         * manual/stdio.texi (Predefined Printf Handlers): Remove
21842         @hsep and @vsep usage.
21843
21844 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
21845
21846         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
21847         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
21848
21849 2012-12-03  Jeff Law  <law@redhat.com>
21850
21851         * time/sys/time.h (settimeofday): Do not mark TV argument
21852         as __nonnull.
21853
21854 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
21855
21856         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
21857         when currently writing and seek to current position when not.
21858         * libio/Makefile (tests): Remove bug-fclose1.
21859         * libio/bug-fclose1.c: Delete.
21860
21861 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
21862
21863         * manual/arith.texi (feenableexcept): Fix typo.
21864         (fedisableexcept): Likewise.
21865
21866 2012-11-30  Roland McGrath  <roland@hack.frob.com>
21867
21868         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
21869         second, differently-typed declaration, rather than a cast.
21870
21871 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
21872
21873         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
21874         * include/rpc/svc.h: ... here.
21875
21876 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
21877
21878         [BZ #13013]
21879         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
21880         depending n and resplen2 to catch cases where answer
21881         equals answerp2.
21882
21883 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
21884
21885         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
21886         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
21887
21888 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
21889
21890         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
21891
21892 2012-11-29  Roland McGrath  <roland@hack.frob.com>
21893
21894         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
21895
21896 2012-11-28  Jeff Law  <law@redhat.com>
21897
21898         [BZ #13761]
21899         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
21900         dataset_temporary.  Track alloca usage into alloca_used.
21901         If dataset is large allocate and release it via malloc/free.
21902
21903 2012-06-04  Florian Weimer  <fweimer@redhat.com>
21904
21905         [BZ #14197]
21906         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
21907
21908 2012-11-28  David S. Miller  <davem@davemloft.net>
21909
21910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21911
21912 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21913
21914         [BZ #14803]
21915         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
21916         of pi/2 rounded to nearest to 64 bits.
21917         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
21918         nearest to 64 bits.
21919         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
21920         bits.
21921
21922 2012-11-28  Jeff Law <law@redhat.com>
21923             Martin Osvald <mosvald@redhat.com>
21924
21925         [BZ #14889]
21926         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
21927         * sunrpc/svc.c: Include time.h.
21928         (__svc_accept_failed): New function.
21929         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
21930         any reason other than EINTR, call __svc_accept_failed.
21931         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
21932         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
21933
21934 2012-11-28  Andreas Schwab  <schwab@suse.de>
21935
21936         * scripts/abilist.awk: Also handle indirect functions in .opd
21937         section.
21938
21939 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
21940
21941         [BZ #13881]
21942         * sysdeps/x86/fpu/powl_helper.c: New file.
21943         * sysdeps/x86/fpu/Makefile: Likewise.
21944         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
21945         (p3): New object.
21946         (__ieee754_powl): Use __powl_helper for finite arguments except
21947         integer exponents below 8.
21948         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
21949         (p3): New object.
21950         (__ieee754_powl): Use __powl_helper for finite arguments except
21951         integer exponents below 8.
21952         * math/libm-test.inc (pow_test): Add more tests and enable some
21953         previously disabled tests.
21954         * sysdeps/i386/fpu/libm-test-ulps: Update.
21955         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21956
21957 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
21958             Carlos O'Donell  <carlos_odonell@mentor.com>
21959
21960         * nss/makedb.c (is_prime): Assert that input is odd and greater
21961         than 4.  Note that fact in a comment too.
21962         (next_prime): Add 4 to input.
21963
21964 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
21965
21966         [BZ #11741]
21967         * libio/Makefile (tests): Add test case tst-fwrite-error.
21968         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
21969         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
21970         * libio/tst-fwrite-error.c: New test case.
21971
21972 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
21973
21974         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
21975         before casting to void *.
21976         * include/libc-internal.h (__pointer_type): New macro.
21977         (__integer_if_pointer_type_sub): Likewise.
21978         (__integer_if_pointer_type): Likewise.
21979         (cast_to_integer): Likewise.
21980         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
21981         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
21982         before casting to atomic64_t.
21983         (atomic_exchange_acq): Likewise.
21984         (__arch_exchange_and_add_body): Likewise.
21985         (__arch_add_body): Likewise.
21986         (atomic_add_negative): Likewise.
21987         (atomic_add_zero): Likewise.
21988
21989 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
21990
21991         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
21992         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
21993         (add_fdes): Likewise.
21994         (linear_search_fdes): Likewise.
21995         (binary_search_unencoded_fdes): Likewise.
21996
21997 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
21998
21999         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
22000
22001 2012-11-24  Adam Conrad  <adconrad@0c3.net>
22002
22003         * configure.in: Autodetect C++ header directories.
22004         * configure: Regenerated.
22005
22006 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
22007
22008         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
22009
22010 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
22011
22012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22013
22014 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
22015
22016         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
22017         LDBL_MANT_DIG == 106]: Disable some tests.
22018         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22019         Likewise.
22020         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
22021         Likewise.
22022
22023         [BZ #14871]
22024         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
22025         input for small inputs.  Return +/- pi/2 for large inputs.
22026         * math/libm-test.inc (atan_test): Add more tests.
22027
22028         * sysdeps/generic/unwind-dw2-fde-glibc.c
22029         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
22030         __attribute__ ((unused)).
22031
22032         [BZ #14645]
22033         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
22034         x * y if x and y are nonzero and z is zero.
22035
22036         [BZ #14811]
22037         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
22038         nonzero exponents with absolute value below 0x1p-117 to +/-
22039         0x1p-117.
22040
22041         [BZ #14869]
22042         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
22043         up arguments below 2**-450, not just those below 2**-500.
22044         * math/libm-test.inc (hypot_test): Add another test.
22045
22046         [BZ #14868]
22047         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
22048         Return a+b for ratio over 2**120, not 2**60.
22049         * math/libm-test.inc (hypot_test): Add another test.
22050
22051         * math/libm-test.inc (clog_test): Use
22052         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
22053         (clog10_test): Likewise.
22054
22055         [BZ #6778]
22056         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
22057
22058 2012-11-22  Andreas Schwab  <schwab@suse.de>
22059
22060         * sysdeps/i386/fpu/libm-test-ulps: Update.
22061
22062 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
22063
22064         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
22065         printf output with newline.
22066
22067 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
22068
22069         [BZ #14865]
22070         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
22071         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
22072         -z nodlopen, -z initfirst and -z execstack support.
22073         * configure: Regenerated.
22074
22075         * elf/elf.h (DF_1_NODIRECT): New macro.
22076         (DF_1_IGNMULDEF): Likewise.
22077         (DF_1_NOKSYMS): Likewise.
22078         (DF_1_NOHDR): Likewise.
22079         (DF_1_EDITED): Likewise.
22080         (DF_1_NORELOC): Likewise.
22081         (DF_1_SYMINTPOSE): Likewise.
22082         (DF_1_GLOBAUDIT): Likewise.
22083         (DF_1_SINGLETON): Likewise.
22084         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
22085         DT_1_SUPPORTED_MASK bits.
22086         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
22087
22088 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
22089
22090         * sysdeps/unix/make-syscalls.sh: Document prefixes.
22091
22092 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
22093
22094         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
22095         macro.
22096
22097         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
22098         (sendmmsg): Move declarations...
22099         * socket/sys/socket.h: ... here.
22100         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
22101         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
22102         include it from...
22103         * socket/recvmmsg.c: ... this new file.
22104         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
22105         (sendmmsg): Rename to __sendmmsg, create weak alias and make
22106         definition of __sendmmsg hidden.
22107         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
22108         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
22109         Move ENOSYS stub into and include it from...
22110         * socket/sendmmsg.c: ... this new file.
22111         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
22112         (sysdep_routines): Move recvmmsg and sendmmsg...
22113         * socket/Makefile (routines): ... here.
22114         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
22115         (GLIBC_PRIVATE): Add __sendmmsg.
22116         * include/sys/socket.h (__sendmmsg): Add declarations.
22117         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
22118         sendmmsg.
22119
22120 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
22121
22122         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
22123         variable I1 with __attribute__ ((unused)).
22124         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
22125
22126 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22127
22128         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
22129         DUMMY variables with __attribute__ ((unused)).
22130
22131         * bits/byteswap.h: Include <bits/types.h>.
22132         (__bswap_64): Use __uint64_t instead of unsigned long long int.
22133
22134 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22135
22136         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
22137         string_t.  Do not manually set errno.
22138         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
22139         length with __strnlen.  Make sure to both set errno and return it on
22140         failure.
22141
22142 2012-11-19  David S. Miller  <davem@davemloft.net>
22143
22144         With help from Joseph Myers.
22145         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
22146         very large arguments properly.
22147         * math/libm-test.inc (atan_test): New tests.
22148         (atan2_test): New tests.
22149         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22150         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22151
22152 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
22153
22154         [BZ #14856]
22155         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
22156         Define to 3.
22157
22158         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
22159         [POSIX] (EADDRNOTAVAIL): Likewise.
22160         [POSIX] (EAFNOSUPPORT): Likewise.
22161         [POSIX] (EALREADY): Likewise.
22162         [POSIX] (ECONNABORTED): Likewise.
22163         [POSIX] (ECONNREFUSED): Likewise.
22164         [POSIX] (ECONNRESET): Likewise.
22165         [POSIX] (EDESTADDRREQ): Likewise.
22166         [POSIX] (EDQUOT): Likewise.
22167         [POSIX] (EHOSTUNREACH): Likewise.
22168         [POSIX] (EIDRM): Likewise.
22169         [POSIX] (EISCONN): Likewise.
22170         [POSIX] (ELOOP): Likewise.
22171         [POSIX] (EMULTIHOP): Likewise.
22172         [POSIX] (ENETDOWN): Likewise.
22173         [POSIX] (ENETUNREACH): Likewise.
22174         [POSIX] (ENOBUFS): Likewise.
22175         [POSIX] (ENODATA): Likewise.
22176         [POSIX] (ENOLINK): Likewise.
22177         [POSIX] (ENOMSG): Likewise.
22178         [POSIX] (ENOPROTOOPT): Likewise.
22179         [POSIX] (ENOSR): Likewise.
22180         [POSIX] (ENOSTR): Likewise.
22181         [POSIX] (ENOTCONN): Likewise.
22182         [POSIX] (ENOTSOCK): Likewise.
22183         [POSIX] (EOPNOTSUPP): Likewise.
22184         [POSIX] (EOVERFLOW): Likewise.
22185         [POSIX] (EPROTO): Likewise.
22186         [POSIX] (EPROTONOSUPPORT): Likewise.
22187         [POSIX] (EPROTOTYPE): Likewise.
22188         [POSIX] (ESTALE): Likewise.
22189         [POSIX] (ETIME): Likewise.
22190         [POSIX] (ETXTBSY): Likewise.
22191         [POSIX] (EWOULDBLOCK): Likewise.
22192         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
22193         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
22194         [POSIX] (SEEK_CUR): Likewise.
22195         [POSIX] (SEEK_END): Likewise.
22196         [POSIX || UNIX98] (mode_t): Do not require.
22197         [POSIX] (off_t): Likewise.
22198         [POSIX] (pid_t): Likewise.
22199         [POSIX] (sys/stat.h): Do not allow header.
22200         [POSIX] (unistd.h): Likewise.
22201         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
22202         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
22203         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
22204         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
22205         require.
22206         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
22207         sigevent): Specify elements.
22208         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
22209         entry.
22210         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
22211         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
22212
22213         * conform/data/cpio.h-data [POSIX]: Disable whole file.
22214         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
22215         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
22216         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
22217         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
22218         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
22219         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
22220         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
22221         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
22222         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
22223         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
22224         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
22225         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
22226         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
22227         Likewise.
22228         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
22229         Likewise.
22230         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
22231         Likewise.
22232         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
22233         Likewise.
22234         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
22235         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
22236         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
22237         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
22238         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
22239         Specify lower bound on value.
22240         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
22241         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
22242         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
22243         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
22244         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
22245         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
22246         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
22247         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
22248         value.
22249         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
22250         as optional.
22251         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
22252         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
22253         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
22254         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
22255         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
22256         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
22257         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
22258         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
22259         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
22260         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
22261         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
22262         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
22263         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
22264         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
22265         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
22266         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
22267         entry.
22268         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
22269         optional.
22270         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
22271         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
22272         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
22273         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
22274         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
22275         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
22276         Likewise.
22277         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
22278         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
22279         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
22280         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
22281         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
22282         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
22283         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
22284         as optional.
22285         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
22286         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
22287         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
22288         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
22289         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
22290         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
22291         specify as optional.
22292         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
22293         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
22294         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
22295         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
22296         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
22297         [XPG3] (NL_LANGMAX): Likewise.
22298         [POSIX || XPG3] (NL_MSGMAX): Likewise.
22299         [POSIX || XPG3] (NL_NMAX): Likewise.
22300         [POSIX || XPG3] (NL_SETMAX): Likewise.
22301         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
22302         [XPG3] (NZERO): Likewise.
22303         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
22304         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
22305         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
22306         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
22307         (REG_ERANGE): Expect.
22308         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
22309         optional-constant.
22310         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
22311         Use (void) in prototype.
22312         [POSIX] (*_t): Allow.
22313         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
22314         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
22315         (WRDE_BADVAL): Expect.
22316
22317         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
22318         expect.
22319         [XPG3 || XPG4] (O_RSYNC): Likewise.
22320         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
22321         Likewise.
22322         [XPG3 || XPG4] (pthread_sigmask): Likewise.
22323         [XPG3 || XPG4] (sigqueue): Likewise.
22324         [XPG3 || XPG4] (sigtimedwait): Likewise.
22325         [XPG3 || XPG4] (sigwaitinfo): Likewise.
22326         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
22327         [XPG3 || XPG4] (vsnprintf): Likewise.
22328         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
22329         Likewise.
22330         [XPG3 || XPG4] (blksize_t): Likewise.
22331         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
22332         Likewise.
22333         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
22334         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
22335         [XPG3 || XPG4] (struct itimerspec): Likewise.
22336         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
22337         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
22338         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
22339         [XPG3 || XPG4] (clockid_t): Likewise.
22340         [XPG3 || XPG4] (timer_t): Likewise.
22341         [XPG3 || XPG4] (clock_getres): Likewise.
22342         [XPG3 || XPG4] (clock_gettime): Likewise.
22343         [XPG3 || XPG4] (clock_settime): Likewise.
22344         [XPG3 || XPG4] (nanosleep): Likewise.
22345         [XPG3 || XPG4] (timer_create): Likewise.
22346         [XPG3 || XPG4] (timer_delete): Likewise.
22347         [XPG3 || XPG4] (timer_gettime): Likewise.
22348         [XPG3 || XPG4] (timer_getoverrun): Likewise.
22349         [XPG3 || XPG4] (timer_settime): Likewise.
22350         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
22351         [XPG3 || XPG4] (getlogin_r): Likewise.
22352         [XPG3 || XPG4] (pread): Likewise.
22353         [XPG3 || XPG4] (pthread_atfork): Likewise.
22354         [XPG3 || XPG4] (pwrite): Likewise.
22355
22356         [BZ #14835]
22357         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
22358         <bits/siginfo.h>.
22359
22360 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
22361
22362         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
22363         finalizing MALLSTREAM.
22364
22365         * sysdeps/mach/hurd/syncfs.c: New file.
22366
22367 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
22368
22369         [BZ #14719]
22370         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
22371         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
22372         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
22373         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
22374         (_nss_dns_gethostbyname4_r): Likewise.
22375         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
22376         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
22377
22378 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
22379
22380         [BZ #13763]
22381         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
22382
22383 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
22384
22385         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
22386         * elf/cache.c (print_entry): Print ",AArch64" for
22387         FLAG_AARCH64_LIB64
22388
22389         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
22390         * elf/cache.c (print_entry): Print ",hard-float" for
22391         FLAG_ARM_LIBHF.
22392
22393 2012-11-18  David S. Miller  <davem@davemloft.net>
22394
22395         With help from Joseph Myers.
22396         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
22397         cutoff to 2**-13.
22398         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
22399         cutoff to 2**-25.
22400         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
22401         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
22402         small.
22403         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
22404         * math/libm-test.inc (y0_test): New tests.
22405         (y1_test): New tests.
22406         * sysdeps/i386/fpu/libm-test-ulps: Update.
22407         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22408         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22409
22410 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
22411
22412         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
22413         64-bit targets.
22414         * configure: Regenerated.
22415
22416 2012-11-17  David S. Miller  <davem@davemloft.net>
22417
22418         [BZ #14811]
22419         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
22420         nonzero exponents with absolute value below 0x1p-128 to +/-
22421         0x1p-128.
22422
22423 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
22424
22425         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
22426
22427         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
22428
22429         * posix/getconf-speclist.c: New file.
22430         * posix/posix-envs.def: Likewise.
22431         * posix/confstr.c (START_ENV_GROUP): New macro.
22432         (END_ENV_GROUP): Likewise.
22433         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22434         (KNOWN_PRESENT_ENV_STRING): Likewise.
22435         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22436         (UNKNOWN_ENVIRONMENT): Likewise.
22437         (confstr): Include posix-envs.def instead of handling
22438         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
22439         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
22440         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
22441         (END_ENV_GROUP): Likewise.
22442         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
22443         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
22444         (UNKNOWN_ENVIRONMENT): Likewise.
22445         (__sysconf): Include posix-envs.def instead of handling associated
22446         cases directly here.
22447         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
22448         preprocessing getconf-speclist.c rather than running getconf or
22449         generating empty file.
22450
22451 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
22452
22453         * scripts/check-local-headers.sh: Ignore 'mach' headers.
22454
22455 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
22456
22457         [BZ #14672]
22458         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
22459
22460 2012-11-16  David S. Miller  <davem@davemloft.net>
22461
22462         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
22463         smaller than LDBL_EPSILON/2.0L, just return xm1.
22464
22465 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
22466
22467         * elf/tst-array1.c (init): Set constructor priority to 1000.
22468         (fini): Set destructor priority to 1000.
22469         * elf/tst-array2dep.c: Likewise.
22470
22471 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22472
22473         [BZ #11741]
22474         * libio/fileops.c (_IO_new_file_write): Correctly return error.
22475         (_IO_new_file_xsputn): Also return EOF if none of the input
22476         data was written when overflow failed.
22477         * libio/iopadn.c (_IO_padn): Likewise.
22478         * libio/iowpadn.c (_IO_wpadn): Likewise.
22479         * stdio-common/tst-put-error.c: Add copyright notice.
22480         (do_test): Add case for printing padded string.
22481         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
22482         _IO_padn returned error.
22483         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
22484         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
22485         return EOF.
22486
22487 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
22488
22489         * libio/libioP.h: Add comment note that the references to C++
22490         bits are now obsolete.
22491
22492 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22493
22494         * math/libm-test.inc (check_complex): Use asprintf.
22495
22496 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
22497
22498         * debug/pcprofiledump.c (print_version): Update copyright year.
22499         * malloc/memusagestat.c (print_version): Likewise.
22500
22501 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
22502
22503         [BZ #14831]
22504         * elf/Makefile (tests): Add tst-audit8.
22505         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
22506         ($(objpfx)tst-audit8.out): New target.
22507         (tst-audit8-ENV): New variable.
22508         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
22509         audit if l_reloc_result is NULL.
22510         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
22511         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
22512         * elf/tst-audit8.c: New file.
22513
22514 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22515
22516         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
22517         * misc/Makefile (CFLAGS-select.c): Define.
22518         * posix/Makefile (CFLAGS-pause.c): Define.
22519
22520 2012-11-13  David S. Miller  <davem@davemloft.net>
22521
22522         * crypt/Makefile: Move test targets after toplevel Rules
22523         inclusion.  Grab any necessary sysdep routines when linking.
22524         * crypt/md5.c (md5_process_block): Remove define, we will always
22525         name it __md5_process_block.
22526         (md5_finish_ctx): Update md5_process_block call.
22527         (md5_stream): Likewise.
22528         (md5_process_bytes): Likewise.
22529         (md5_process_block): Rename to __md5_process_block and move to ...
22530         * crypt/md5-block.c: ... here.
22531         * crypt/sha256.c (sha256_process_block): Move to ...
22532         * crypt/sha256-block.c: ... here.
22533         * crypt/sha512.c (sha512_process_block): Move to ...
22534         * crypt/sha512-block.c: ... here.
22535         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
22536         path.
22537         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
22538         * sysdeps/sparc/sparc64/multiarch/Makefile
22539         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
22540         crypt subdir.
22541         (localedef-aux): Add md5 crypto assembler when in locale subdir.
22542         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
22543         multiarch changes.
22544         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
22545         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
22546         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
22547         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
22548         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
22549         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
22550         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
22551         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
22552         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
22553         file.
22554         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
22555         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
22556         file.
22557         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
22558
22559 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
22560
22561         * timezone/tzselect.ksh: Update from tzcode git revision
22562         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
22563         * timezone/zdump.c: Likewise.
22564         * timezone/zic.c: Likewise.
22565         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
22566         in TZVERSION setting, not $(PKGVERSION).
22567         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
22568         REPORT_BUGS_TO settings.
22569
22570         [BZ #14838]
22571         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
22572         macro.
22573
22574 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22575
22576         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
22577         detection to immediately after _FP_ROUND().
22578         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
22579         bits are 0.
22580
22581 2012-11-11  David S. Miller  <davem@davemloft.net>
22582
22583         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
22584         inttypes.h
22585         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
22586         __close rather than their public counterparts.
22587
22588 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
22589
22590         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
22591         file.
22592         [UNIX98] (sem_timedwait): Do not expect.
22593         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
22594         [XPG4 || UNIX98] (sockatmark): Do not expect.
22595         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
22596         (clock_getcpuclockid): Do not expect.
22597         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
22598         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
22599         Do not expect.
22600         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
22601         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
22602         [UNIX98] (vwscanf): Likewise.
22603         [UNIX98] (vswscanf): Likewise.
22604
22605 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
22606
22607         * timezone/version.h: Remove file.
22608         * timezone/README: Do not refer to version.h.
22609         * timezone/Makefile ($(objpfx)zic.o): New dependency on
22610         $(objpfx)version.h.
22611         ($(objpfx)zdump.o): Likewise.
22612         ($(objpfx)version.h): New target.
22613
22614         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
22615         2012i.
22616         * timezone/README: Don't mention modification to tzselect.ksh.
22617         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
22618         work on unmodified tzselect.ksh.  Substitute version numbers in
22619         tzselect.ksh.
22620
22621         * Makefile (format-me): Remove.
22622         (INSTALL): Adjust indentation.  Use commands directly instead of
22623         using $(format-me).
22624
22625         * aclocal.m4 (ACX_PKGVERSION): New macro.
22626         (ACX_BUGURL): Likewise.
22627         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
22628         (PKGVERSION): New AC_DEFINE_UNQUOTED.
22629         (REPORT_BUGS_TO): Likewise.
22630         * configure: Regenerated.
22631         * config.h.in (PKGVERSION): New macro.
22632         (REPORT_BUGS_TO): Likewise.
22633         * config.make.in (PKGVERSION): New variable.
22634         (PKGVERSION_TEXI): Likewise.
22635         (REPORT_BUGS_TO): Likewise.
22636         (REPORT_BUGS_TEXI): Likewise.
22637         * Makefile (format-me): Use -I$(common-objpfx)manual.
22638         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
22639         ($(common-objpfx)manual/%): New target.
22640         (manual/%): Remove target.
22641         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
22642         (print_version): Use PKGVERSION.
22643         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
22644         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
22645         and REPORT_BUGS_TO.
22646         ($(objpfx)xtrace): Likewise.
22647         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
22648         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
22649         (print_version): Use PKGVERSION.
22650         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
22651         (do_version): Use PKGVERSION.
22652         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
22653         REPORT_BUGS_TO.
22654         (common-ldd-rewrite): Likewise.
22655         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
22656         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
22657         (print_version): Use PKGVERSION.
22658         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
22659         * elf/pldd.c (argp_program_bug_address): Remove variable.
22660         (more_help): New function.
22661         (argp): Use more_help.
22662         (print_version): Use PKGVERSION.
22663         * elf/sln.c (main): Use PKGVERSION.
22664         (usage): Use REPORT_BUGS_TO.
22665         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
22666         (top level): Use PKGVERSION.
22667         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
22668         (print_version): Use PKGVERSION.
22669         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
22670         (print_version): Use PKGVERSION.
22671         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
22672         (print_version): Use PKGVERSION.
22673         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
22674         (print_version): Use PKGVERSION.
22675         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
22676         (print_version): Use PKGVERSION.
22677         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
22678         (print_version): Use PKGVERSION.
22679         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
22680         and BUGURL.
22681         ($(objpfx)memusage): Likewise.
22682         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
22683         (do_version): Use PKGVERSION.
22684         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
22685         (print_version): Use PKGVERSION.
22686         * malloc/mtrace.pl ($PACKAGE): Remove variable.
22687         ($PKGVERSION): New variable.
22688         ($REPORT_BUGS_TO): Likewise.
22689         (usage): Use $REPORT_BUGS_TO.
22690         (top level): Use $PKGVERSION.
22691         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
22692         ($(objpfx)pkgvers.texi): New rule.
22693         ($(objpfx)stamp-pkgvers): Likewise.
22694         * manual/install.texi: Include pkgvers.texi.
22695         (--with-pkgversion): Document new configure option.
22696         (--with-bugurl): Likewise.
22697         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
22698         than necessarily for this particular distribution.  Use
22699         REPORT_BUGS_TO for where to report bugs.
22700         * INSTALL: Regenerated.
22701         * manual/libc.texinfo: Include pkgvers.texi.
22702         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
22703         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
22704         (print_version): Use PKGVERSION.
22705         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
22706         (print_version): Use PKGVERSION.
22707         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
22708         (print_version): Use PKGVERSION.
22709         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
22710         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
22711         macro.
22712         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
22713         (print_version): Use PKGVERSION.
22714         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
22715         (print_version): Use PKGVERSION.
22716         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
22717         and PKGVERSION.
22718
22719         * timezone/checktab.awk: Update from tzcode 2012i.
22720         * timezone/ialloc.c: Likewise.
22721         * timezone/private.h: Likewise.
22722         * timezone/scheck.c: Likewise.
22723         * timezone/tzfile.h: Likewise.
22724         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
22725         (TZVERSION): Hardcode tzcode version number.
22726         * timezone/zdump.c: Update from tzcode 2012i.
22727         * timezone/zic.c: Likewise.
22728         * timezone/version.h: New file.
22729         * timezone/README: Describe version.h.  Update upstream location.
22730
22731         [BZ #14824]
22732         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
22733         (mktemp): Enable declaration.
22734         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
22735         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
22736         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
22737         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
22738         Likewise.
22739         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
22740         Likewise.
22741         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
22742         Likewise.
22743         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
22744         Likewise.
22745         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
22746         Likewise.
22747         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
22748         Likewise.
22749
22750         [BZ #14821]
22751         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
22752         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
22753         for copies of such integer values.
22754         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
22755         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
22756
22757 2012-11-09  Andreas Jaeger  <aj@suse.de>
22758
22759         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
22760         definitions and declarations that are provided by
22761         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
22762
22763 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22764
22765         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
22766         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
22767         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
22768         definition.
22769
22770 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
22771
22772         * elf/elf.h: Update comment before AArch64 relocations.
22773
22774 2012-11-07  David S. Miller  <davem@davemloft.net>
22775
22776         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
22777         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
22778         (__start_context): Declare.
22779         (__makecontext_ret): Delete.
22780         (__makecontext): Hook up __start_context instead of
22781         __makecontext_ret.
22782         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
22783         (sysdep_routines): Add __start_context when in stdlib.
22784
22785 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22786
22787         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
22788         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
22789         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
22790         hardcoded "nm".
22791         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
22792         (READELF): New variable.  Use it instead of hardcoded "readelf".
22793
22794 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
22795
22796         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
22797         * sysdeps/x86/Makefile: Here.
22798         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
22799         * sysdeps/x86/tst-xmmymm.sh: This.
22800
22801 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
22802
22803         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
22804         expectations.
22805         [UNIX98] (pthread_barrier_t): Do not expect.
22806         [UNIX98] (pthread_barrierattr_t): Likewise.
22807         [UNIX98] (pthread_spinlock_t): Likewise.
22808         [UNIX98] (pthread_barrier_destroy): Likewise.
22809         [UNIX98] (pthread_barrier_init): Likewise.
22810         [UNIX98] (pthread_barrier_wait): Likewise.
22811         [UNIX98] (pthread_barrierattr_destroy): Likewise.
22812         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
22813         [UNIX98] (pthread_barrierattr_init): Likewise.
22814         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
22815         [UNIX98] (pthread_getcpuclockid): Likewise.
22816         [UNIX98] (pthread_mutex_timedlock): Likewise.
22817         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
22818         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
22819         [UNIX98] (pthread_sigmask): Likewise.
22820         [UNIX98] (pthread_spin_destroy): Likewise.
22821         [UNIX98] (pthread_spin_init): Likewise.
22822         [UNIX98] (pthread_spin_lock): Likewise.
22823         [UNIX98] (pthread_spin_trylock): Likewise.
22824         [UNIX98] (pthread_spin_unlock): Likewise.
22825         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
22826         Do not expect.
22827         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
22828         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
22829         [XPG3 || XPG4] (pthread_cond_t): Likewise.
22830         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
22831         [XPG3 || XPG4] (pthread_key_t): Likewise.
22832         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
22833         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
22834         [XPG3 || XPG4] (pthread_once_t): Likewise.
22835         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
22836         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
22837         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
22838         [XPG3 || XPG4] (pthread_t): Likewise.
22839
22840         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
22841         not expect.
22842         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
22843
22844         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
22845         Change function return type to int.
22846
22847         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
22848         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
22849         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
22850         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
22851         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
22852         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
22853         [!POSIX] (posix_madvise): Likewise.
22854         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
22855         && !UNIX98].
22856         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
22857         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
22858         (mode_t): Likewise.
22859         (posix_mem_offset): Likewise.
22860         (posix_typed_mem_get_info): Likewise.
22861         (posix_typed_mem_open): Likewise.
22862
22863         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
22864         Change condition to [XOPEN2K8].
22865
22866         * conform/conformtest.pl: Preprocess allow-header data with -x c
22867         instead of from stdin.
22868         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
22869         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
22870         [C99-based standards] (cerfc): Likewise.
22871         [C99-based standards] (cexp2): Likewise.
22872         [C99-based standards] (cexpm1): Likewise.
22873         [C99-based standards] (clog10): Likewise.
22874         [C99-based standards] (clog1p): Likewise.
22875         [C99-based standards] (clog2): Likewise.
22876         [C99-based standards] (clgamma): Likewise.
22877         [C99-based standards] (ctgamma): Likewise.
22878         [C99-based standards] (cerff): Likewise.
22879         [C99-based standards] (cerfcf): Likewise.
22880         [C99-based standards] (cexp2f): Likewise.
22881         [C99-based standards] (cexpm1f): Likewise.
22882         [C99-based standards] (clog10f): Likewise.
22883         [C99-based standards] (clog1pf): Likewise.
22884         [C99-based standards] (clog2f): Likewise.
22885         [C99-based standards] (clgammaf): Likewise.
22886         [C99-based standards] (ctgammaf): Likewise.
22887         [C99-based standards] (cerfl): Likewise.
22888         [C99-based standards] (cerfcl): Likewise.
22889         [C99-based standards] (cexp2l): Likewise.
22890         [C99-based standards] (cexpm1l): Likewise.
22891         [C99-based standards] (clog10l): Likewise.
22892         [C99-based standards] (clog1pl): Likewise.
22893         [C99-based standards] (clog2l): Likewise.
22894         [C99-based standards] (clgammal): Likewise.
22895         [C99-based standards] (ctgammal): Likewise.
22896         * conform/data/inttypes.h-data [C99-based standards]: Include
22897         stdint.h-data.  Remove all expectations for stdint.h contents.
22898         [C99-based standards] (PRI*): Do not allow.
22899         [C99-based standards] (SCN*): Likewise.
22900         [C99-based standards] (*_t): Likewise.
22901         [C99-based-standards] (PRId8): Expect macro.
22902         [C99-based-standards] (PRIi8): Likewise.
22903         [C99-based-standards] (PRIo8): Likewise.
22904         [C99-based-standards] (PRIu8): Likewise.
22905         [C99-based-standards] (PRIx8): Likewise.
22906         [C99-based-standards] (PRIX8): Likewise.
22907         [C99-based-standards] (SCNd8): Likewise.
22908         [C99-based-standards] (SCNi8): Likewise.
22909         [C99-based-standards] (SCNo8): Likewise.
22910         [C99-based-standards] (SCNu8): Likewise.
22911         [C99-based-standards] (SCNx8): Likewise.
22912         [C99-based-standards] (PRIdLEAST8): Likewise.
22913         [C99-based-standards] (PRIiLEAST8): Likewise.
22914         [C99-based-standards] (PRIoLEAST8): Likewise.
22915         [C99-based-standards] (PRIuLEAST8): Likewise.
22916         [C99-based-standards] (PRIxLEAST8): Likewise.
22917         [C99-based-standards] (PRIXLEAST8): Likewise.
22918         [C99-based-standards] (SCNdLEAST8): Likewise.
22919         [C99-based-standards] (SCNiLEAST8): Likewise.
22920         [C99-based-standards] (SCNoLEAST8): Likewise.
22921         [C99-based-standards] (SCNuLEAST8): Likewise.
22922         [C99-based-standards] (SCNxLEAST8): Likewise.
22923         [C99-based-standards] (PRIdFAST8): Likewise.
22924         [C99-based-standards] (PRIiFAST8): Likewise.
22925         [C99-based-standards] (PRIoFAST8): Likewise.
22926         [C99-based-standards] (PRIuFAST8): Likewise.
22927         [C99-based-standards] (PRIxFAST8): Likewise.
22928         [C99-based-standards] (PRIXFAST8): Likewise.
22929         [C99-based-standards] (SCNdFAST8): Likewise.
22930         [C99-based-standards] (SCNiFAST8): Likewise.
22931         [C99-based-standards] (SCNoFAST8): Likewise.
22932         [C99-based-standards] (SCNuFAST8): Likewise.
22933         [C99-based-standards] (SCNxFAST8): Likewise.
22934         [C99-based-standards] (PRId16): Likewise.
22935         [C99-based-standards] (PRIi16): Likewise.
22936         [C99-based-standards] (PRIo16): Likewise.
22937         [C99-based-standards] (PRIu16): Likewise.
22938         [C99-based-standards] (PRIx16): Likewise.
22939         [C99-based-standards] (PRIX16): Likewise.
22940         [C99-based-standards] (SCNd16): Likewise.
22941         [C99-based-standards] (SCNi16): Likewise.
22942         [C99-based-standards] (SCNo16): Likewise.
22943         [C99-based-standards] (SCNu16): Likewise.
22944         [C99-based-standards] (SCNx16): Likewise.
22945         [C99-based-standards] (PRIdLEAST16): Likewise.
22946         [C99-based-standards] (PRIiLEAST16): Likewise.
22947         [C99-based-standards] (PRIoLEAST16): Likewise.
22948         [C99-based-standards] (PRIuLEAST16): Likewise.
22949         [C99-based-standards] (PRIxLEAST16): Likewise.
22950         [C99-based-standards] (PRIXLEAST16): Likewise.
22951         [C99-based-standards] (SCNdLEAST16): Likewise.
22952         [C99-based-standards] (SCNiLEAST16): Likewise.
22953         [C99-based-standards] (SCNoLEAST16): Likewise.
22954         [C99-based-standards] (SCNuLEAST16): Likewise.
22955         [C99-based-standards] (SCNxLEAST16): Likewise.
22956         [C99-based-standards] (PRIdFAST16): Likewise.
22957         [C99-based-standards] (PRIiFAST16): Likewise.
22958         [C99-based-standards] (PRIoFAST16): Likewise.
22959         [C99-based-standards] (PRIuFAST16): Likewise.
22960         [C99-based-standards] (PRIxFAST16): Likewise.
22961         [C99-based-standards] (PRIXFAST16): Likewise.
22962         [C99-based-standards] (SCNdFAST16): Likewise.
22963         [C99-based-standards] (SCNiFAST16): Likewise.
22964         [C99-based-standards] (SCNoFAST16): Likewise.
22965         [C99-based-standards] (SCNuFAST16): Likewise.
22966         [C99-based-standards] (SCNxFAST16): Likewise.
22967         [C99-based-standards] (PRId32): Likewise.
22968         [C99-based-standards] (PRIi32): Likewise.
22969         [C99-based-standards] (PRIo32): Likewise.
22970         [C99-based-standards] (PRIu32): Likewise.
22971         [C99-based-standards] (PRIx32): Likewise.
22972         [C99-based-standards] (PRIX32): Likewise.
22973         [C99-based-standards] (SCNd32): Likewise.
22974         [C99-based-standards] (SCNi32): Likewise.
22975         [C99-based-standards] (SCNo32): Likewise.
22976         [C99-based-standards] (SCNu32): Likewise.
22977         [C99-based-standards] (SCNx32): Likewise.
22978         [C99-based-standards] (PRIdLEAST32): Likewise.
22979         [C99-based-standards] (PRIiLEAST32): Likewise.
22980         [C99-based-standards] (PRIoLEAST32): Likewise.
22981         [C99-based-standards] (PRIuLEAST32): Likewise.
22982         [C99-based-standards] (PRIxLEAST32): Likewise.
22983         [C99-based-standards] (PRIXLEAST32): Likewise.
22984         [C99-based-standards] (SCNdLEAST32): Likewise.
22985         [C99-based-standards] (SCNiLEAST32): Likewise.
22986         [C99-based-standards] (SCNoLEAST32): Likewise.
22987         [C99-based-standards] (SCNuLEAST32): Likewise.
22988         [C99-based-standards] (SCNxLEAST32): Likewise.
22989         [C99-based-standards] (PRIdFAST32): Likewise.
22990         [C99-based-standards] (PRIiFAST32): Likewise.
22991         [C99-based-standards] (PRIoFAST32): Likewise.
22992         [C99-based-standards] (PRIuFAST32): Likewise.
22993         [C99-based-standards] (PRIxFAST32): Likewise.
22994         [C99-based-standards] (PRIXFAST32): Likewise.
22995         [C99-based-standards] (SCNdFAST32): Likewise.
22996         [C99-based-standards] (SCNiFAST32): Likewise.
22997         [C99-based-standards] (SCNoFAST32): Likewise.
22998         [C99-based-standards] (SCNuFAST32): Likewise.
22999         [C99-based-standards] (SCNxFAST32): Likewise.
23000         [C99-based-standards] (PRId64): Likewise.
23001         [C99-based-standards] (PRIi64): Likewise.
23002         [C99-based-standards] (PRIo64): Likewise.
23003         [C99-based-standards] (PRIu64): Likewise.
23004         [C99-based-standards] (PRIx64): Likewise.
23005         [C99-based-standards] (PRIX64): Likewise.
23006         [C99-based-standards] (SCNd64): Likewise.
23007         [C99-based-standards] (SCNi64): Likewise.
23008         [C99-based-standards] (SCNo64): Likewise.
23009         [C99-based-standards] (SCNu64): Likewise.
23010         [C99-based-standards] (SCNx64): Likewise.
23011         [C99-based-standards] (PRIdLEAST64): Likewise.
23012         [C99-based-standards] (PRIiLEAST64): Likewise.
23013         [C99-based-standards] (PRIoLEAST64): Likewise.
23014         [C99-based-standards] (PRIuLEAST64): Likewise.
23015         [C99-based-standards] (PRIxLEAST64): Likewise.
23016         [C99-based-standards] (PRIXLEAST64): Likewise.
23017         [C99-based-standards] (SCNdLEAST64): Likewise.
23018         [C99-based-standards] (SCNiLEAST64): Likewise.
23019         [C99-based-standards] (SCNoLEAST64): Likewise.
23020         [C99-based-standards] (SCNuLEAST64): Likewise.
23021         [C99-based-standards] (SCNxLEAST64): Likewise.
23022         [C99-based-standards] (PRIdFAST64): Likewise.
23023         [C99-based-standards] (PRIiFAST64): Likewise.
23024         [C99-based-standards] (PRIoFAST64): Likewise.
23025         [C99-based-standards] (PRIuFAST64): Likewise.
23026         [C99-based-standards] (PRIxFAST64): Likewise.
23027         [C99-based-standards] (PRIXFAST64): Likewise.
23028         [C99-based-standards] (SCNdFAST64): Likewise.
23029         [C99-based-standards] (SCNiFAST64): Likewise.
23030         [C99-based-standards] (SCNoFAST64): Likewise.
23031         [C99-based-standards] (SCNuFAST64): Likewise.
23032         [C99-based-standards] (SCNxFAST64): Likewise.
23033         [C99-based-standards] (PRIdMAX): Likewise.
23034         [C99-based-standards] (PRIiMAX): Likewise.
23035         [C99-based-standards] (PRIoMAX): Likewise.
23036         [C99-based-standards] (PRIuMAX): Likewise.
23037         [C99-based-standards] (PRIxMAX): Likewise.
23038         [C99-based-standards] (PRIXMAX): Likewise.
23039         [C99-based-standards] (SCNdMAX): Likewise.
23040         [C99-based-standards] (SCNiMAX): Likewise.
23041         [C99-based-standards] (SCNoMAX): Likewise.
23042         [C99-based-standards] (SCNuMAX): Likewise.
23043         [C99-based-standards] (SCNxMAX): Likewise.
23044         [C99-based-standards] (PRIdPTR): Likewise.
23045         [C99-based-standards] (PRIiPTR): Likewise.
23046         [C99-based-standards] (PRIoPTR): Likewise.
23047         [C99-based-standards] (PRIuPTR): Likewise.
23048         [C99-based-standards] (PRIxPTR): Likewise.
23049         [C99-based-standards] (PRIXPTR): Likewise.
23050         [C99-based-standards] (SCNdPTR): Likewise.
23051         [C99-based-standards] (SCNiPTR): Likewise.
23052         [C99-based-standards] (SCNoPTR): Likewise.
23053         [C99-based-standards] (SCNuPTR): Likewise.
23054         [C99-based-standards] (SCNxPTR): Likewise.
23055         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
23056         allow.
23057         * conform/data/stdint.h-data: Update comments to clarify
23058         requirements.
23059         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
23060         type.
23061         [C99-based standards] (INT8_MAX): Likewise.
23062         [C99-based standards] (INT16_MIN): Likewise.
23063         [C99-based standards] (INT16_MAX): Likewise.
23064         [C99-based standards] (INT32_MIN): Likewise.
23065         [C99-based standards] (INT32_MAX): Likewise.
23066         [C99-based standards] (INT64_MIN): Likewise.
23067         [C99-based standards] (INT64_MAX): Likewise.
23068         [C99-based standards] (UINT8_MAX): Likewise.
23069         [C99-based standards] (UINT16_MAX): Likewise.
23070         [C99-based standards] (UINT32_MAX): Likewise.
23071         [C99-based standards] (UINT64_MAX): Likewise.
23072         [C99-based standards] (INT_LEAST8_MIN): Likewise.
23073         [C99-based standards] (INT_LEAST8_MAX): Likewise.
23074         [C99-based standards] (INT_LEAST16_MIN): Likewise.
23075         [C99-based standards] (INT_LEAST16_MAX): Likewise.
23076         [C99-based standards] (INT_LEAST32_MIN): Likewise.
23077         [C99-based standards] (INT_LEAST32_MAX): Likewise.
23078         [C99-based standards] (INT_LEAST64_MIN): Likewise.
23079         [C99-based standards] (INT_LEAST64_MAX): Likewise.
23080         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
23081         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
23082         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
23083         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
23084         [C99-based standards] (INT_FAST8_MIN): Likewise.
23085         [C99-based standards] (INT_FAST8_MAX): Likewise.
23086         [C99-based standards] (INT_FAST16_MIN): Likewise.
23087         [C99-based standards] (INT_FAST16_MAX): Likewise.
23088         [C99-based standards] (INT_FAST32_MIN): Likewise.
23089         [C99-based standards] (INT_FAST32_MAX): Likewise.
23090         [C99-based standards] (INT_FAST64_MIN): Likewise.
23091         [C99-based standards] (INT_FAST64_MAX): Likewise.
23092         [C99-based standards] (UINT_FAST8_MAX): Likewise.
23093         [C99-based standards] (UINT_FAST16_MAX): Likewise.
23094         [C99-based standards] (UINT_FAST32_MAX): Likewise.
23095         [C99-based standards] (UINT_FAST64_MAX): Likewise.
23096         [C99-based standards] (INTPTR_MIN): Likewise.
23097         [C99-based standards] (INTPTR_MAX): Likewise.
23098         [C99-based standards] (UINTPTR_MAX): Likewise.
23099         [C99-based standards] (INTMAX_MIN): Likewise.
23100         [C99-based standards] (INTMAX_MAX): Likewise.
23101         [C99-based standards] (UINTMAX_MAX): Likewise.
23102         [C99-based standards] (PTRDIFF_MIN): Likewise.
23103         [C99-based standards] (PTRDIFF_MAX): Likewise.
23104         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
23105         [C99-based standards] (SIZE_MAX): Likewise.
23106         [C99-based standards] (WCHAR_MAX): Likewise.
23107         [C99-based standards] (WINT_MAX): Likewise.
23108         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
23109         constraint on value.
23110         [C99-based standards] (WCHAR_MIN): Likewise.
23111         [C99-based standards] (WINT_MIN): Likewise.
23112         [C99-based standards] (*_t): Allow.
23113         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
23114         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
23115         Include math.h-data and complex.h-data.  Remove all expectations
23116         of math.h and complex.h contents.
23117         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
23118         at end of line.
23119         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
23120         (struct tm): Expect tag.
23121         [C99-based-standards] (wcstof): Expect function.
23122         [C99-based-standards] (wcstold): Likewise.
23123         [C99-based-standards] (wcstoll): Likewise.
23124         [C99-based-standards] (wcstoull): Likewise.
23125         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
23126         macro-int-constant.  Specify type.
23127         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
23128         constraint on value.
23129         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23130         Specify type.
23131         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
23132         Specify value.
23133         [ISO C standards]: Do not allow headers.
23134         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
23135         wcs[abcdefghijklmnopqrstuvwxyz]*.
23136         [ISO C standards] (*_t): Do not allow.
23137         * conform/data/wctype.h-data [C99-based standards] (iswblank):
23138         Expect function.
23139         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
23140         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
23141         Specify type.
23142         [ISO C standards]: Do not allow headers.
23143         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
23144         is[abcdefghijklmnopqrstuvwxyz]*.
23145         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
23146         to[abcdefghijklmnopqrstuvwxyz]*.
23147         [ISO C standards] (*_t): Do not allow.
23148         * conform/data/stdalign.h-data: New file.
23149         * conform/data/stdbool.h-data: Likewise.
23150         * conform/data/stdnoreturn.h-data: Likewise.
23151
23152 2012-11-07  Roland McGrath  <roland@hack.frob.com>
23153
23154         [BZ #14815]
23155         * manual/filesys.texi (Directory Entries): Typo fix.
23156         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
23157
23158 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
23159
23160         * elf/elf.h (EM_AARCH64): New macro.
23161         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
23162         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
23163         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
23164         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
23165         (R_AARCH64_TLSDESC): Likewise.
23166         (NT_ARM_TLS): Likewise.
23167         (NT_ARM_HW_BREAK): Likewise.
23168         (NT_ARM_HW_WATCH): Likewise.
23169
23170 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23171
23172         [BZ #14811]
23173         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
23174         (__ieee754_powl): Saturate nonzero exponents with absolute value
23175         below 0x1p-79 to +/- 0x1p-79.
23176         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
23177         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
23178         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
23179         nonzero exponents with absolute value below 0x1p-32 to +/-
23180         0x1p-32.
23181         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
23182         (__ieee754_powl): Saturate nonzero exponents with absolute value
23183         below 0x1p-79 to +/- 0x1p-79.
23184         * math/libm-test.inc (pow_test): Add more tests.
23185
23186 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23187
23188         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
23189         _dl_s390_cap_flags with kernel. Increase string length.
23190         (_dl_s390_platforms): Add z196 and zEC12.
23191
23192 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
23193
23194         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
23195         Change XOPEN21K to XOPEN2K.
23196
23197 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
23198
23199         * string/memmove.c: Use memcpy when possible.
23200
23201 2012-11-06  Andreas Jaeger  <aj@suse.de>
23202
23203         * po/eo.po: Update from translation team.
23204
23205 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
23206
23207         [BZ #14793]
23208         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
23209         exponent and small x and y exponents, scale x or y up.  Increase
23210         by 2 the exponent used in scaling up.
23211         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23212         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23213         * math/libm-test.inc (fma_test): Add more tests.
23214         (fma_test_towardzero): Likewise.
23215         (fma_test_downward): Likewise.
23216         (fma_test_upward): Likewise.
23217
23218 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
23219
23220         [BZ #14805]
23221         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
23222         fenv_t *.
23223
23224         [BZ #14801]
23225         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
23226         namespace for names of struct fields.
23227         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
23228         fenv_t fields.
23229         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
23230         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
23231
23232 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23233
23234         [BZ #3665]
23235         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
23236
23237 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23238
23239         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
23240         PTR_DEMANGLE.
23241
23242         [BZ #5246]
23243         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
23244         PTR_DEMANGLE.
23245
23246 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
23247
23248         [BZ #14797]
23249         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
23250         definitely overflow as x * y not x * y + z.
23251         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23252         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23253         * math/libm-test.inc (fma_test): Add more tests.
23254         (fma_test_towardzero): Likewise.
23255         (fma_test_downward): Likewise.
23256         (fma_test_upward): Likewise.
23257
23258 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
23259
23260         [BZ #157]
23261
23262         * include/stub-tag.h: Remove file.
23263         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
23264         '#include' of it.
23265         * manual/maint.texi (Porting): Don't reference it.
23266         * Makerules ($(objpfx)stubs): Likewise.
23267         * dirent/closedir.c: Don't include <stub-tag.h>.
23268         * dirent/dirfd.c: Likewise.
23269         * dirent/fdopendir.c: Likewise.
23270         * dirent/getdents.c: Likewise.
23271         * dirent/getdents64.c: Likewise.
23272         * dirent/opendir.c: Likewise.
23273         * dirent/readdir.c: Likewise.
23274         * dirent/readdir64.c: Likewise.
23275         * dirent/readdir64_r.c: Likewise.
23276         * dirent/readdir_r.c: Likewise.
23277         * dirent/rewinddir.c: Likewise.
23278         * dirent/seekdir.c: Likewise.
23279         * dirent/telldir.c: Likewise.
23280         * gmon/profil.c: Likewise.
23281         * grp/setgroups.c: Likewise.
23282         * inet/if_index.c: Likewise.
23283         * io/access.c: Likewise.
23284         * io/chdir.c: Likewise.
23285         * io/chmod.c: Likewise.
23286         * io/chown.c: Likewise.
23287         * io/close.c: Likewise.
23288         * io/dup.c: Likewise.
23289         * io/dup2.c: Likewise.
23290         * io/dup3.c: Likewise.
23291         * io/euidaccess.c: Likewise.
23292         * io/faccessat.c: Likewise.
23293         * io/fchdir.c: Likewise.
23294         * io/fchmod.c: Likewise.
23295         * io/fchmodat.c: Likewise.
23296         * io/fchown.c: Likewise.
23297         * io/fchownat.c: Likewise.
23298         * io/fcntl.c: Likewise.
23299         * io/flock.c: Likewise.
23300         * io/fstatfs.c: Likewise.
23301         * io/fstatfs64.c: Likewise.
23302         * io/fstatvfs.c: Likewise.
23303         * io/fstatvfs64.c: Likewise.
23304         * io/futimens.c: Likewise.
23305         * io/fxstat.c: Likewise.
23306         * io/fxstat64.c: Likewise.
23307         * io/fxstatat.c: Likewise.
23308         * io/fxstatat64.c: Likewise.
23309         * io/getcwd.c: Likewise.
23310         * io/isatty.c: Likewise.
23311         * io/lchmod.c: Likewise.
23312         * io/lchown.c: Likewise.
23313         * io/link.c: Likewise.
23314         * io/linkat.c: Likewise.
23315         * io/lseek.c: Likewise.
23316         * io/lseek64.c: Likewise.
23317         * io/lxstat64.c: Likewise.
23318         * io/mkdir.c: Likewise.
23319         * io/mkdirat.c: Likewise.
23320         * io/mkfifo.c: Likewise.
23321         * io/mkfifoat.c: Likewise.
23322         * io/open.c: Likewise.
23323         * io/open64.c: Likewise.
23324         * io/openat.c: Likewise.
23325         * io/openat64.c: Likewise.
23326         * io/pipe.c: Likewise.
23327         * io/pipe2.c: Likewise.
23328         * io/poll.c: Likewise.
23329         * io/posix_fadvise.c: Likewise.
23330         * io/posix_fadvise64.c: Likewise.
23331         * io/posix_fallocate.c: Likewise.
23332         * io/posix_fallocate64.c: Likewise.
23333         * io/read.c: Likewise.
23334         * io/readlink.c: Likewise.
23335         * io/readlinkat.c: Likewise.
23336         * io/rmdir.c: Likewise.
23337         * io/sendfile.c: Likewise.
23338         * io/sendfile64.c: Likewise.
23339         * io/statfs.c: Likewise.
23340         * io/statfs64.c: Likewise.
23341         * io/statvfs.c: Likewise.
23342         * io/statvfs64.c: Likewise.
23343         * io/symlink.c: Likewise.
23344         * io/symlinkat.c: Likewise.
23345         * io/ttyname.c: Likewise.
23346         * io/ttyname_r.c: Likewise.
23347         * io/umask.c: Likewise.
23348         * io/unlink.c: Likewise.
23349         * io/unlinkat.c: Likewise.
23350         * io/utime.c: Likewise.
23351         * io/utimensat.c: Likewise.
23352         * io/write.c: Likewise.
23353         * io/xmknod.c: Likewise.
23354         * io/xmknodat.c: Likewise.
23355         * io/xstat.c: Likewise.
23356         * io/xstat64.c: Likewise.
23357         * login/getpt.c: Likewise.
23358         * login/grantpt.c: Likewise.
23359         * login/unlockpt.c: Likewise.
23360         * math/e_acoshl.c: Likewise.
23361         * math/e_acosl.c: Likewise.
23362         * math/e_asinl.c: Likewise.
23363         * math/e_atan2l.c: Likewise.
23364         * math/e_atanhl.c: Likewise.
23365         * math/e_coshl.c: Likewise.
23366         * math/e_expl.c: Likewise.
23367         * math/e_fmodl.c: Likewise.
23368         * math/e_gammal_r.c: Likewise.
23369         * math/e_hypotl.c: Likewise.
23370         * math/e_j0l.c: Likewise.
23371         * math/e_j1l.c: Likewise.
23372         * math/e_jnl.c: Likewise.
23373         * math/e_lgammal_r.c: Likewise.
23374         * math/e_log10l.c: Likewise.
23375         * math/e_log2l.c: Likewise.
23376         * math/e_logl.c: Likewise.
23377         * math/e_powl.c: Likewise.
23378         * math/e_rem_pio2l.c: Likewise.
23379         * math/e_sinhl.c: Likewise.
23380         * math/e_sqrtl.c: Likewise.
23381         * math/fclrexcpt.c: Likewise.
23382         * math/fedisblxcpt.c: Likewise.
23383         * math/feenablxcpt.c: Likewise.
23384         * math/fegetenv.c: Likewise.
23385         * math/fegetexcept.c: Likewise.
23386         * math/fegetround.c: Likewise.
23387         * math/feholdexcpt.c: Likewise.
23388         * math/fesetenv.c: Likewise.
23389         * math/fesetround.c: Likewise.
23390         * math/feupdateenv.c: Likewise.
23391         * math/fgetexcptflg.c: Likewise.
23392         * math/fraiseexcpt.c: Likewise.
23393         * math/fsetexcptflg.c: Likewise.
23394         * math/ftestexcept.c: Likewise.
23395         * math/k_cosl.c: Likewise.
23396         * math/k_rem_pio2l.c: Likewise.
23397         * math/k_sinl.c: Likewise.
23398         * math/k_tanl.c: Likewise.
23399         * math/s_asinhl.c: Likewise.
23400         * math/s_atanl.c: Likewise.
23401         * math/s_cbrtl.c: Likewise.
23402         * math/s_erfl.c: Likewise.
23403         * math/s_expm1l.c: Likewise.
23404         * math/s_log1pl.c: Likewise.
23405         * math/s_tanhl.c: Likewise.
23406         * misc/acct.c: Likewise.
23407         * misc/brk.c: Likewise.
23408         * misc/chflags.c: Likewise.
23409         * misc/chroot.c: Likewise.
23410         * misc/fchflags.c: Likewise.
23411         * misc/fgetxattr.c: Likewise.
23412         * misc/flistxattr.c: Likewise.
23413         * misc/fremovexattr.c: Likewise.
23414         * misc/fsetxattr.c: Likewise.
23415         * misc/fsync.c: Likewise.
23416         * misc/ftruncate.c: Likewise.
23417         * misc/futimes.c: Likewise.
23418         * misc/futimesat.c: Likewise.
23419         * misc/getdomain.c: Likewise.
23420         * misc/getdtsz.c: Likewise.
23421         * misc/gethostid.c: Likewise.
23422         * misc/gethostname.c: Likewise.
23423         * misc/getloadavg.c: Likewise.
23424         * misc/getpagesize.c: Likewise.
23425         * misc/getsysstats.c: Likewise.
23426         * misc/getxattr.c: Likewise.
23427         * misc/gtty.c: Likewise.
23428         * misc/ioctl.c: Likewise.
23429         * misc/lgetxattr.c: Likewise.
23430         * misc/listxattr.c: Likewise.
23431         * misc/llistxattr.c: Likewise.
23432         * misc/lremovexattr.c: Likewise.
23433         * misc/lsetxattr.c: Likewise.
23434         * misc/lutimes.c: Likewise.
23435         * misc/madvise.c: Likewise.
23436         * misc/mincore.c: Likewise.
23437         * misc/mlock.c: Likewise.
23438         * misc/mlockall.c: Likewise.
23439         * misc/mmap.c: Likewise.
23440         * misc/mprotect.c: Likewise.
23441         * misc/msync.c: Likewise.
23442         * misc/munlock.c: Likewise.
23443         * misc/munlockall.c: Likewise.
23444         * misc/munmap.c: Likewise.
23445         * misc/preadv.c: Likewise.
23446         * misc/preadv64.c: Likewise.
23447         * misc/ptrace.c: Likewise.
23448         * misc/pwritev.c: Likewise.
23449         * misc/pwritev64.c: Likewise.
23450         * misc/readv.c: Likewise.
23451         * misc/reboot.c: Likewise.
23452         * misc/remap_file_pages.c: Likewise.
23453         * misc/removexattr.c: Likewise.
23454         * misc/revoke.c: Likewise.
23455         * misc/select.c: Likewise.
23456         * misc/setdomain.c: Likewise.
23457         * misc/setegid.c: Likewise.
23458         * misc/seteuid.c: Likewise.
23459         * misc/sethostid.c: Likewise.
23460         * misc/sethostname.c: Likewise.
23461         * misc/setregid.c: Likewise.
23462         * misc/setreuid.c: Likewise.
23463         * misc/setxattr.c: Likewise.
23464         * misc/sstk.c: Likewise.
23465         * misc/stty.c: Likewise.
23466         * misc/swapoff.c: Likewise.
23467         * misc/swapon.c: Likewise.
23468         * misc/sync.c: Likewise.
23469         * misc/syncfs.c: Likewise.
23470         * misc/syscall.c: Likewise.
23471         * misc/truncate.c: Likewise.
23472         * misc/ualarm.c: Likewise.
23473         * misc/usleep.c: Likewise.
23474         * misc/ustat.c: Likewise.
23475         * misc/utimes.c: Likewise.
23476         * misc/vhangup.c: Likewise.
23477         * misc/writev.c: Likewise.
23478         * posix/_exit.c: Likewise.
23479         * posix/alarm.c: Likewise.
23480         * posix/execve.c: Likewise.
23481         * posix/fexecve.c: Likewise.
23482         * posix/fork.c: Likewise.
23483         * posix/fpathconf.c: Likewise.
23484         * posix/getaddrinfo.c: Likewise.
23485         * posix/getegid.c: Likewise.
23486         * posix/geteuid.c: Likewise.
23487         * posix/getgid.c: Likewise.
23488         * posix/getgroups.c: Likewise.
23489         * posix/getlogin.c: Likewise.
23490         * posix/getlogin_r.c: Likewise.
23491         * posix/getpgid.c: Likewise.
23492         * posix/getpid.c: Likewise.
23493         * posix/getppid.c: Likewise.
23494         * posix/getresgid.c: Likewise.
23495         * posix/getresuid.c: Likewise.
23496         * posix/getsid.c: Likewise.
23497         * posix/getuid.c: Likewise.
23498         * posix/glob64.c: Likewise.
23499         * posix/nanosleep.c: Likewise.
23500         * posix/pathconf.c: Likewise.
23501         * posix/pause.c: Likewise.
23502         * posix/posix_madvise.c: Likewise.
23503         * posix/pread.c: Likewise.
23504         * posix/pread64.c: Likewise.
23505         * posix/pwrite.c: Likewise.
23506         * posix/pwrite64.c: Likewise.
23507         * posix/sched_getaffinity.c: Likewise.
23508         * posix/sched_getp.c: Likewise.
23509         * posix/sched_gets.c: Likewise.
23510         * posix/sched_primax.c: Likewise.
23511         * posix/sched_primin.c: Likewise.
23512         * posix/sched_rr_gi.c: Likewise.
23513         * posix/sched_setaffinity.c: Likewise.
23514         * posix/sched_setp.c: Likewise.
23515         * posix/sched_sets.c: Likewise.
23516         * posix/sched_yield.c: Likewise.
23517         * posix/setgid.c: Likewise.
23518         * posix/setlogin.c: Likewise.
23519         * posix/setpgid.c: Likewise.
23520         * posix/setresgid.c: Likewise.
23521         * posix/setresuid.c: Likewise.
23522         * posix/setsid.c: Likewise.
23523         * posix/setuid.c: Likewise.
23524         * posix/sleep.c: Likewise.
23525         * posix/spawni.c: Likewise.
23526         * posix/sysconf.c: Likewise.
23527         * posix/times.c: Likewise.
23528         * posix/wait.c: Likewise.
23529         * posix/wait3.c: Likewise.
23530         * posix/wait4.c: Likewise.
23531         * posix/waitpid.c: Likewise.
23532         * resolv/gai_sigqueue.c: Likewise.
23533         * resource/getpriority.c: Likewise.
23534         * resource/getrlimit.c: Likewise.
23535         * resource/getrusage.c: Likewise.
23536         * resource/nice.c: Likewise.
23537         * resource/setpriority.c: Likewise.
23538         * resource/setrlimit.c: Likewise.
23539         * resource/ulimit.c: Likewise.
23540         * rt/aio_cancel.c: Likewise.
23541         * rt/aio_fsync.c: Likewise.
23542         * rt/aio_read.c: Likewise.
23543         * rt/aio_sigqueue.c: Likewise.
23544         * rt/aio_suspend.c: Likewise.
23545         * rt/aio_write.c: Likewise.
23546         * rt/clock_getres.c: Likewise.
23547         * rt/clock_gettime.c: Likewise.
23548         * rt/clock_nanosleep.c: Likewise.
23549         * rt/clock_settime.c: Likewise.
23550         * rt/lio_listio.c: Likewise.
23551         * rt/mq_close.c: Likewise.
23552         * rt/mq_getattr.c: Likewise.
23553         * rt/mq_notify.c: Likewise.
23554         * rt/mq_open.c: Likewise.
23555         * rt/mq_receive.c: Likewise.
23556         * rt/mq_send.c: Likewise.
23557         * rt/mq_setattr.c: Likewise.
23558         * rt/mq_timedreceive.c: Likewise.
23559         * rt/mq_timedsend.c: Likewise.
23560         * rt/mq_unlink.c: Likewise.
23561         * rt/shm_open.c: Likewise.
23562         * rt/shm_unlink.c: Likewise.
23563         * rt/timer_create.c: Likewise.
23564         * rt/timer_delete.c: Likewise.
23565         * rt/timer_getoverr.c: Likewise.
23566         * rt/timer_gettime.c: Likewise.
23567         * rt/timer_settime.c: Likewise.
23568         * setjmp/__longjmp.c: Likewise.
23569         * setjmp/setjmp.c: Likewise.
23570         * signal/kill.c: Likewise.
23571         * signal/killpg.c: Likewise.
23572         * signal/raise.c: Likewise.
23573         * signal/sigaction.c: Likewise.
23574         * signal/sigaltstack.c: Likewise.
23575         * signal/sigblock.c: Likewise.
23576         * signal/sigignore.c: Likewise.
23577         * signal/sigintr.c: Likewise.
23578         * signal/signal.c: Likewise.
23579         * signal/sigpause.c: Likewise.
23580         * signal/sigpending.c: Likewise.
23581         * signal/sigqueue.c: Likewise.
23582         * signal/sigreturn.c: Likewise.
23583         * signal/sigset.c: Likewise.
23584         * signal/sigsetmask.c: Likewise.
23585         * signal/sigstack.c: Likewise.
23586         * signal/sigsuspend.c: Likewise.
23587         * signal/sigtimedwait.c: Likewise.
23588         * signal/sigvec.c: Likewise.
23589         * signal/sigwait.c: Likewise.
23590         * signal/sigwaitinfo.c: Likewise.
23591         * signal/sysv_signal.c: Likewise.
23592         * socket/accept.c: Likewise.
23593         * socket/accept4.c: Likewise.
23594         * socket/bind.c: Likewise.
23595         * socket/connect.c: Likewise.
23596         * socket/getpeername.c: Likewise.
23597         * socket/getsockname.c: Likewise.
23598         * socket/getsockopt.c: Likewise.
23599         * socket/isfdtype.c: Likewise.
23600         * socket/listen.c: Likewise.
23601         * socket/recv.c: Likewise.
23602         * socket/recvfrom.c: Likewise.
23603         * socket/recvmsg.c: Likewise.
23604         * socket/send.c: Likewise.
23605         * socket/sendmsg.c: Likewise.
23606         * socket/sendto.c: Likewise.
23607         * socket/setsockopt.c: Likewise.
23608         * socket/shutdown.c: Likewise.
23609         * socket/sockatmark.c: Likewise.
23610         * socket/socket.c: Likewise.
23611         * socket/socketpair.c: Likewise.
23612         * stdio-common/ctermid.c: Likewise.
23613         * stdio-common/cuserid.c: Likewise.
23614         * stdio-common/remove.c: Likewise.
23615         * stdio-common/rename.c: Likewise.
23616         * stdio-common/renameat.c: Likewise.
23617         * stdio-common/tempname.c: Likewise.
23618         * stdlib/getcontext.c: Likewise.
23619         * stdlib/makecontext.c: Likewise.
23620         * stdlib/setcontext.c: Likewise.
23621         * stdlib/swapcontext.c: Likewise.
23622         * stdlib/system.c: Likewise.
23623         * streams/fattach.c: Likewise.
23624         * streams/fdetach.c: Likewise.
23625         * streams/getmsg.c: Likewise.
23626         * streams/getpmsg.c: Likewise.
23627         * streams/putmsg.c: Likewise.
23628         * streams/putpmsg.c: Likewise.
23629         * sysdeps/unix/bsd/getpt.c: Likewise.
23630         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
23631         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
23632         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23633         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
23634         Likewise.
23635         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
23636         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
23637         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
23638         * sysvipc/msgctl.c: Likewise.
23639         * sysvipc/msgget.c: Likewise.
23640         * sysvipc/msgrcv.c: Likewise.
23641         * sysvipc/msgsnd.c: Likewise.
23642         * sysvipc/semctl.c: Likewise.
23643         * sysvipc/semget.c: Likewise.
23644         * sysvipc/semop.c: Likewise.
23645         * sysvipc/semtimedop.c: Likewise.
23646         * sysvipc/shmat.c: Likewise.
23647         * sysvipc/shmctl.c: Likewise.
23648         * sysvipc/shmdt.c: Likewise.
23649         * sysvipc/shmget.c: Likewise.
23650         * termios/tcdrain.c: Likewise.
23651         * termios/tcflow.c: Likewise.
23652         * termios/tcflush.c: Likewise.
23653         * termios/tcgetattr.c: Likewise.
23654         * termios/tcgetpgrp.c: Likewise.
23655         * termios/tcsendbrk.c: Likewise.
23656         * termios/tcsetattr.c: Likewise.
23657         * termios/tcsetpgrp.c: Likewise.
23658         * time/adjtime.c: Likewise.
23659         * time/clock.c: Likewise.
23660         * time/getitimer.c: Likewise.
23661         * time/gettimeofday.c: Likewise.
23662         * time/setitimer.c: Likewise.
23663         * time/settimeofday.c: Likewise.
23664         * time/stime.c: Likewise.
23665         * time/time.c: Likewise.
23666
23667 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
23668
23669         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
23670         /usr/old/bin.
23671
23672         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
23673         instead of spaces.
23674         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
23675
23676 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
23677
23678         [BZ #14796]
23679         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
23680         FE_TONEAREST before applying Dekker multiplication and Knuth
23681         addition.  Clear inexact exceptions and check for exact zero
23682         results afterwards.
23683         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23684         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
23685         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23686         * math/libm-test.inc (fma_test): Add more tests.
23687         (fma_test_towardzero): Likewise.
23688         (fma_test_downward): Likewise.
23689         (fma_test_upward): Likewise.
23690         * sysdeps/generic/math_private.h (default_libc_fesetround): New
23691         function.
23692         (libc_fesetround): New macro.
23693         (libc_fesetroundf): Likewise.
23694         (libc_fesetroundl): Likewise.
23695         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
23696         function.
23697         (libc_fesetround_387): Likewise.
23698         (libc_fesetroundf): New macro.
23699         (libc_fesetround): Likewise.
23700         (libc_fesetroundl): Likewise.
23701         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
23702         function.
23703         (libc_fesetroundf): New macro.
23704         (libc_fesetround): Likewise.
23705         (libc_fesetroundl): Likewise.
23706         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
23707         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
23708         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
23709         libm_hidden_ver.
23710         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
23711         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
23712         libm_hidden_def.
23713         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
23714         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
23715         libm_hidden_ver.
23716         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
23717         libm_hidden_def.
23718
23719         [BZ #3439]
23720         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
23721         integer constant usable in #if and use that to give value to enum
23722         constant.
23723         (FE_DIVBYZERO): Likewise.
23724         (FE_UNDERFLOW): Likewise.
23725         (FE_OVERFLOW): Likewise.
23726         (FE_INVALID): Likewise.
23727         (FE_INVALID_SNAN): Likewise.
23728         (FE_INVALID_ISI): Likewise.
23729         (FE_INVALID_IDI): Likewise.
23730         (FE_INVALID_ZDZ): Likewise.
23731         (FE_INVALID_IMZ): Likewise.
23732         (FE_INVALID_COMPARE): Likewise.
23733         (FE_INVALID_SOFTWARE): Likewise.
23734         (FE_INVALID_SQRT): Likewise.
23735         (FE_INVALID_INTEGER_CONVERSION): Likewise.
23736         (FE_TONEAREST): Likewise.
23737         (FE_TOWARDZERO): Likewise.
23738         (FE_UPWARD): Likewise.
23739         (FE_DOWNWARD): Likewise.
23740         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
23741         (FE_DIVBYZERO): Likewise.
23742         (FE_OVERFLOW): Likewise.
23743         (FE_UNDERFLOW): Likewise.
23744         (FE_INEXACT): Likewise.
23745         (FE_TONEAREST): Likewise.
23746         (FE_DOWNWARD): Likewise.
23747         (FE_UPWARD): Likewise.
23748         (FE_TOWARDZERO): Likewise.
23749         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
23750         (FE_UNDERFLOW): Likewise.
23751         (FE_OVERFLOW): Likewise.
23752         (FE_DIVBYZERO): Likewise.
23753         (FE_INVALID): Likewise.
23754         (FE_TONEAREST): Likewise.
23755         (FE_TOWARDZERO): Likewise.
23756         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
23757         (FE_OVERFLOW): Likewise.
23758         (FE_UNDERFLOW): Likewise.
23759         (FE_DIVBYZERO): Likewise.
23760         (FE_INEXACT): Likewise.
23761         (FE_TONEAREST): Likewise.
23762         (FE_TOWARDZERO): Likewise.
23763         (FE_UPWARD): Likewise.
23764         (FE_DOWNWARD): Likewise.
23765         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
23766         (FE_DIVBYZERO): Likewise.
23767         (FE_OVERFLOW): Likewise.
23768         (FE_UNDERFLOW): Likewise.
23769         (FE_INEXACT): Likewise.
23770         (FE_TONEAREST): Likewise.
23771         (FE_DOWNWARD): Likewise.
23772         (FE_UPWARD): Likewise.
23773         (FE_TOWARDZERO): Likewise.
23774
23775 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
23776
23777         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
23778
23779 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
23780
23781         * scripts/cross-test-ssh.sh (command): Use newlines to separate
23782         commands.  Quote $PWD.
23783         (blacklist_exports): Don't use remove_newlines.  Replace "declare
23784         -x" by "export".
23785         (remove_newlines): Remove.
23786
23787 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
23788
23789         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
23790         * stdlib/stdlib.h (atof): Moved to ...
23791         * include/bits/stdlib-float.h: Here.  New file.
23792         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
23793         * stdlib/bits/stdlib-float.h: New file.
23794         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
23795         -mno-sse -mno-mmx.
23796         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
23797         <xmmintrin.h>.
23798
23799 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23800
23801         * conform/conformtest.pl (@headers): Add fenv.h.
23802         * conform/data/fenv.h-data: New file.
23803         * include/fenv.h [_ISOMAC]: Disable all contents of file except
23804         include of <math/fenv.h>.
23805
23806         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
23807         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
23808         && !UNIX98].  Enables tests for XOPEN2K8.
23809         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
23810         POSIX2008]: Likewise.
23811
23812         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
23813         (struct rusage): Do not expect type or its members.
23814
23815         [BZ #3439]
23816         * math/math.h (FP_NAN): Define macro to integer constant usable in
23817         #if and use that to give value to enum constant.
23818         (FP_INFINITE): Likewise.
23819         (FP_ZERO): Likewise.
23820         (FP_SUBNORMAL): Likewise.
23821         (FP_NORMAL): Likewise.
23822
23823 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
23824
23825         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
23826         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
23827         arguments.
23828
23829 2012-11-02  Roland McGrath  <roland@hack.frob.com>
23830
23831         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
23832         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
23833         autoconf-time if not.
23834         * configure.in: Remove AC_PREREQ.
23835
23836 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23837
23838         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
23839         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
23840         of the internal implementation.
23841
23842 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
23843
23844         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
23845         except include of <misc/sys/syslog.h>.
23846
23847 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23848
23849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
23850         function returns with a NULL context exit with zero.
23851
23852 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23853
23854         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
23855
23856 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
23857
23858         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
23859         (run_program_cmd): This.
23860         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
23861         (tst_langinfo): New variable.  Use it.
23862
23863 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
23864
23865         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
23866         floating point opcodes.
23867
23868 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23869
23870         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
23871         variable.
23872
23873         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
23874
23875         * sysdeps/mach/hurd/powerpc: Remove directory.
23876         * sysdeps/mach/powerpc: Likewise.
23877
23878 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
23879
23880         * scripts/check-local-headers.sh: Ignore c++ headers.
23881
23882 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23883
23884         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
23885         __libc_cleanup_region_start argument.
23886
23887 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
23888
23889         [BZ #14784]
23890         [BZ #14785]
23891         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
23892         x * y using scaling, not as x * y + z.
23893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
23894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
23895         * math/libm-test.inc (fma_test): Add more tests.
23896         (fma_test_towardzero): Likewise.
23897         (fma_test_downward): Likewise.
23898         (fma_test_upward): Likewise.
23899
23900 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
23901
23902         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
23903
23904 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23905
23906         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
23907         New variable.
23908
23909 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
23910
23911         * rt/tst-shm.c (worker): Correct checking for mmap failure.
23912
23913 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23914
23915         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23916         Fix sort order.
23917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23918         Likewise.
23919
23920 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
23921
23922         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
23923         Fix the order of the list for glibc 2.17.
23924         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
23925         Likewise.
23926
23927 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
23928
23929         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23930
23931 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
23932
23933         [BZ #14610]
23934         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
23935         for low part of x being zero before using __atanl (y).
23936         * math/libm-test.inc (atan2_test): Add another test.
23937
23938         * manual/install.texi (Configuring and compiling): Document
23939         general use of test-wrapper and test-wrapper-env.
23940         * INSTALL: Regenerated.
23941
23942         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
23943         (__fma): Do not extract and scale down low bits on after-rounding
23944         systems when result rounded to normal precision would have normal
23945         exponent.
23946         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
23947         (__fmal): Do not extract and scale down low bits on after-rounding
23948         systems when result rounded to normal precision would have normal
23949         exponent.
23950         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
23951         (__fmal): Do not extract and scale down low bits on after-rounding
23952         systems when result rounded to normal precision would have normal
23953         exponent.
23954         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
23955         macro.
23956         (fma_test): Add more tests.
23957         (fma_test_towardzero): Likewise.
23958         (fma_test_downward): Likewise.
23959         (fma_test_upward): Likewise.
23960
23961 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
23962
23963         * sysdeps/i386/tininess.h: Renamed to ...
23964         * sysdeps/x86/tininess.h: This.
23965         * sysdeps/x86_64/tininess.h: Removed.
23966
23967 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23968
23969         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
23970         input.  Use $(build-program-cmd).
23971         ($(objpfx)tst-array1-static.out): Likewise.
23972         ($(objpfx)tst-array2.out): Likewise.
23973         ($(objpfx)tst-array3.out): Likewise.
23974         ($(objpfx)tst-array4.out): Likewise.
23975         ($(objpfx)tst-array5.out): Likewise.
23976         ($(objpfx)tst-array5-static.out): Likewise.
23977
23978 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
23979
23980         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
23981         if defined.
23982
23983         * nss/nsswitch.h (nss_interface_function): Provide new
23984         macro for use with NSS functions.
23985         * grp/initgroups.c: Use new macro.
23986         * nss/getXXbyYY.c: Likewise.
23987         * nss/getXXbyYY_r.c: Likewise.
23988         * nss/getXXent.c: Likewise.
23989         * nss/getXXent_r.c: Likewise.
23990         * sysdeps/posix/getaddrinfo.c: Likewise.
23991
23992 2012-10-30  Andreas Jaeger  <aj@suse.de>
23993
23994         * po/ru.po: Update Russion translation from translation project.
23995
23996 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
23997
23998         [BZ #14152]
23999         [BZ #14783]
24000         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
24001         result and shift together with sticky bit instead of replicating
24002         round-to-nearest rounding.
24003         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
24004         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
24005         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
24006         missing underflow exceptions.
24007         (fma_test_towardzero): Add more tests.
24008         (fma_test_downward): Likewise.
24009         (fma_test_upward): Likewise.
24010
24011         [BZ #14047]
24012         * sysdeps/generic/tininess.h: New file.
24013         * sysdeps/i386/tininess.h: Likewise.
24014         * sysdeps/sh/tininess.h: Likewise.
24015         * sysdeps/x86_64/tininess.h: Likewise.
24016         * stdlib/tst-strtod-underflow.c: Likewise.
24017         * stdlib/tst-tininess.c: Likewise.
24018         * stdlib/strtod_l.c: Include <tininess.h>.
24019         (round_and_return): Do not set errno for exact underflow cases.
24020         Force an underflow exception when setting errno for underflow.
24021         Determine underflow based on rounding to normal precision if
24022         TININESS_AFTER_ROUNDING.
24023         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
24024         ERANGE for exact underflow cases.
24025         * stdlib/Makefile (tests): Add tst-tininess and
24026         tst-strtod-underflow.
24027         ($(objpfx)tst-tininess): Use $(link-libm).
24028         ($(objpfx)tst-strtod-underflow): Likewise.
24029
24030 2012-10-30  Andreas Jaeger  <aj@suse.de>
24031
24032         [BZ#14767]
24033         * elf/Makefile (tests): Remove conditional for have-initfini-array
24034         since this is now always required and the variable does not exist
24035         anymore.
24036         (tests-static): Likewise.
24037         (modules-names): Likewise.
24038
24039         * po/eo.po: Add Esperanto translation from translation project.
24040
24041         * elf/tst-array1.c (fini_array): Make writeable so that it can be
24042         merged with constructor/destructor.
24043         (init_array): Likewise.
24044         * elf/tst-array2dep.c (fini_array): Likewise.
24045         (init_array): Likewise.
24046
24047 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
24048
24049         * manual/message.texi: Delete @cartouche tags.
24050
24051 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
24052
24053         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
24054         EOPNOTSUPP.
24055         * sysdeps/mach/hurd/fsync.c: Likewise.
24056
24057         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
24058         [_POSIX_REALTIME_SIGNALS]: Change condition to
24059         [_POSIX_REALTIME_SIGNALS > 0].
24060
24061 2012-10-27  Andreas Jaeger  <aj@suse.de>
24062
24063         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
24064         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
24065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
24066         [__WORDSIZE != 64]: Likewise.
24067
24068 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
24069
24070         *  iconvdata/tst-table.sh: Remove ${SHELL}.
24071         *  iconvdata/tst-tables.sh: Likewise.
24072
24073 2012-10-25  David S. Miller  <davem@davemloft.net>
24074
24075         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24076         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
24077         of strtoull.
24078
24079         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
24080         ifunc-impl-list.c
24081         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
24082         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
24083         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
24084         file.
24085
24086 2012-10-25  Roland McGrath  <roland@hack.frob.com>
24087
24088         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24089         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
24090         __getdirentries.
24091
24092 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24093             Jim Blandy  <jimb@codesourcery.com>
24094
24095         * scripts/cross-test-ssh.sh: New file.
24096         * manual/install.texi (Configuring and compiling): Document use of
24097         cross-test-ssh.sh.
24098         * INSTALL: Regenerated.
24099
24100 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
24101
24102         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
24103         EOPNOTSUPP.
24104
24105 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
24106
24107         * Makeconfig (run-program-prefix): Fix comment.
24108
24109 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24110             Jim Blandy  <jimb@codesourcery.com>
24111
24112         * Makeconfig (test-wrapper): New variable,
24113         (test-wrapper-env): Likewise.
24114         [$(cross-compiling) = yes && $(test-wrapper) != ""]
24115         (run-built-tests): Define to yes.
24116         (run-program-prefix): Use $(test-wrapper).
24117         (built-program-cmd): Likewise.
24118         * Rules (make-test-out): Use $(test-wrapper-env) and
24119         $(host-built-program-cmd).
24120         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
24121         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
24122         tst-pathopt.sh.
24123         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
24124         $(test-wrapper-env) to tst-rtld-load-self.sh.
24125         ($(objpfx)order2.out): Use $(test-wrapper).
24126         ($(objpfx)tst-initorder.out): Likewise.
24127         ($(objpfx)tst-initorder2.out): Likewise.
24128         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
24129         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
24130         (test_wrapper_env): New variable.  Use it to run ld.so.
24131         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
24132         Use it to run ld.so.
24133         (test_wrapper_env): Likewise.
24134         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
24135         $(test-wrapper) to run-iconv-test.sh.
24136         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
24137         (ICONV): Use $test_wrapper.
24138         * posix/Makefile ($(objpfx)globtest.out): Pass
24139         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
24140         globtest.sh, not $(run-program-prefix).
24141         * posix/globtest.sh (run_via_rtld_prefix): New variable.
24142         (test_wrapper): Likewise.
24143         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
24144         set together with run_via_rtld_prefix.
24145         (run_program_prefix): Define in terms of test_wrapper and
24146         run_via_rtld_prefix.
24147
24148 2012-10-24  Roland McGrath  <roland@hack.frob.com>
24149
24150         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
24151         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
24152         Targets removed.
24153
24154         [BZ #14743]
24155         * include/time.h: Remove librt_hidden_proto (clock_gettime).
24156         Declare __clock_getres, __clock_gettime, __clock_settime,
24157         __clock_nanosleep, and __clock_getcpuclockid.
24158         * rt/clock_gettime.c: Define __clock_gettime as an alias.
24159         Remove librt_hidden_def (clock_gettime).
24160         * sysdeps/unix/clock_gettime.c: Likewise.
24161         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
24162         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
24163         * rt/clock_getres.c: Define __clock_getres as an alias.
24164         * sysdeps/posix/clock_getres.c: Likewise.
24165         * rt/clock_settime.c: Define __clock_settime as an alias.
24166         * sysdeps/unix/clock_settime.c: Likewise.
24167         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
24168         * sysdeps/unix/clock_nanosleep.c: Likewise.
24169         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
24170         * rt/clock-compat.c: New file.
24171         * rt/Makefile (librt-routines): Add clock-compat and move
24172         $(clock-routines) to ...
24173         (routines): ... here, new variable.
24174         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
24175         Don't add get_clockfreq here.
24176         * rt/Versions (libc: GLIBC_2.17): New version set.
24177         Add clock_* symbols here.
24178         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
24179         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
24180         (GLIBC_2.17): Add clock_* symbols.
24181         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
24182         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
24183         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
24184         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24185         Likewise.
24186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24187         Likewise.
24188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
24189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
24190         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
24191         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
24192         * NEWS: Mention the move.
24193
24194         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
24195         Use __open, __read, __close rather than their public counterparts.
24196         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
24197         (__get_clockfreq_via_cpuinfo): Likewise.
24198         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
24199         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
24200
24201         * config.h.in (HAVE_IFUNC): New #undef.
24202         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
24203         was successful.
24204         * configure: Regenerated.
24205
24206 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24207
24208         * configure.in: Move READELF check to start of file.
24209         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
24210         libc_cv_asm_gnu_indirect_function in the process.
24211         * configure: Regenerated.
24212
24213 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
24214
24215         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
24216         send the output to /dev/null.
24217         (libc_cv_cc_with_libunwind): Likewise.
24218         (libc_cv_as_noexecstack): Likewise.
24219         * configure: Regenerate.
24220
24221 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
24222
24223         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
24224
24225         * posix/globtest.sh (TMPDIR): Do not set.
24226         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
24227         (testout): Likewise.
24228
24229 2012-10-24  Andreas Jaeger  <aj@suse.de>
24230
24231         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
24232         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
24233         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
24234         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
24235         posix_fadvise64, posix_fallocate64.
24236
24237         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
24238         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
24239         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
24240         Likewise.
24241         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
24242         Likewise.
24243         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
24244
24245         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
24246         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
24247         <bits/fcntl-linux.h>.
24248         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
24249
24250         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
24251         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
24252         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
24253         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
24254         [__WORDSIZE != 64]: Likewise.
24255
24256 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24257
24258         * Makeconfig (run-built-tests): New variable.
24259         * Rules [$(cross-compiling) = yes]: Change condition to
24260         [$(run-built-tests) = no].
24261         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
24262         to [$(run-built-tests) = yes].
24263         * elf/Makefile [$(cross-compiling) = no]: Likewise
24264         * grp/Makefile [$(cross-compiling) = no]: Likewise.
24265         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
24266         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
24267         * intl/Makefile [$(cross-compiling) = no]: Likewise.
24268         * io/Makefile [$(cross-compiling) = no]: Likewise.
24269         * libio/Makefile [$(cross-compiling) = no]: Likewise.
24270         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
24271         * misc/Makefile [$(cross-compiling) = no]: Likewise.
24272         * posix/Makefile [$(cross-compiling) = no]: Likewise.
24273         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
24274         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
24275         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
24276         * string/Makefile [$(cross-compiling) = no]: Likewise.
24277
24278         * posix/Makefile ($(objpfx)globtest.out): Pass
24279         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
24280         $(rtld-installed-name).
24281         * posix/globtest.sh (elf_objpfx): Remove variable.
24282         (rtld_installed_name): Likewise.
24283         (library_path): Likewise.
24284         (run_program_prefix): New variable.  Use for running globtest
24285         binary.
24286
24287 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
24288             Joseph Myers  <joseph@codesourcery.com>
24289
24290         * Makeconfig (host-built-program-cmd): New variable.
24291         * elf/Makefile (tst-stackguard1-ARGS): Use
24292         $(host-built-program-cmd).
24293         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
24294         (tst-spawn-ARGS): Likewise.
24295         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
24296
24297 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
24298             Jim Blandy  <jimb@codesourcery.com>
24299
24300         * Makeconfig (run-via-rtld-prefix): New variable.
24301         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
24302         (built-program-cmd): Likewise.
24303
24304 2012-10-22  Andreas Jaeger  <aj@suse.de>
24305
24306         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
24307         __O_RSYNC if it exists, otherwise to O_SYNC.
24308
24309 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
24310             Joseph Myers  <joseph@codesourcery.com>
24311
24312         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
24313         /dev/null.
24314         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
24315         from /dev/null
24316         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
24317         /dev/null.
24318
24319 2012-10-22  Andreas Jaeger  <aj@suse.de>
24320
24321         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
24322         Define always.
24323         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
24324
24325         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
24326         bits/fcntl-linux.h.
24327
24328         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
24329         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
24330
24331         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
24332         to __O_LARGEFILE.
24333         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
24334         to __O_LARGEFILE.
24335
24336 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
24337             Joseph Myers  <joseph@codesourcery.com>
24338
24339         * config.make.in (NM): New variable.
24340
24341 2012-10-21  Andreas Jaeger  <aj@suse.de>
24342
24343         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
24344         definitions and declarations that are provided by
24345         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
24346
24347 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24348
24349         [BZ #14683]
24350         * elf/Makefile (tests-static): Add tst-leaks1-static.
24351         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
24352         ($(objpfx)tst-leaks1-static): New rule.
24353         ($(objpfx)tst-leaks1-static-mem): Likewise.
24354         (tst-leaks1-static-ENV): New macro.
24355         * elf/dl-open.c (dl_open_worker): Check the main application
24356         only if SHARED is defined.
24357         * elf/tst-leaks1-static.c: New file.
24358
24359 2012-10-20  Andreas Jaeger  <aj@suse.de>
24360
24361         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
24362         generic values for Linux.
24363         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
24364         and declarations that are provided by <bits/fcntl-linux.h> and
24365         include <bits/fcntl-linux.h>.
24366         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
24367         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
24368
24369 2012-10-20  Roland McGrath  <roland@hack.frob.com>
24370
24371         * io/fcntl.h: Move include of <bits/types.h> to the top and
24372         include it unconditionally.
24373
24374 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
24375
24376         * wcsmbs/Makefile (tests-ifunc): New variable.
24377         (tests): Add $(tests-ifunc).
24378         * wcsmbs/test-wcschr-ifunc.c: New file.
24379         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
24380         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
24381         * wcsmbs/test-wcslen-ifunc.c: Likewise.
24382         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
24383         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
24384
24385         * string/Makefile (tests-ifunc): New variable.
24386         (tests): Add $(tests-ifunc).
24387         * string/test-memccpy.c (TEST_NAME): New macro.
24388         * string/test-memchr.c (TEST_NAME): Likewise.
24389         * string/test-memcmp.c (TEST_NAME): Likewise.
24390         * string/test-memcpy.c (TEST_NAME): Likewise.
24391         * string/test-memmem.c (TEST_NAME): Likewise.
24392         * string/test-memmove.c (TEST_NAME): Likewise.
24393         * string/test-memset.c (TEST_NAME): Likewise.
24394         * string/test-rawmemchr.c (TEST_NAME): Likewise.
24395         * string/test-stpcpy.c (TEST_NAME): Likewise.
24396         * string/test-stpncpy.c (TEST_NAME): Likewise.
24397         * string/test-strcasecmp.c (TEST_NAME): Likewise.
24398         * string/test-strcasestr.c (TEST_NAME): Likewise.
24399         * string/test-strcat.c (TEST_NAME): Likewise.
24400         * string/test-strchr.c (TEST_NAME): Likewise.
24401         * string/test-strcmp.c(TEST_NAME): Likewise.
24402         * string/test-strcpy.c (TEST_NAME): Likewise.
24403         * string/test-strcspn.c (TEST_NAME): Likewise.
24404         * string/test-strlen.c (TEST_NAME): Likewise.
24405         * string/test-strncasecmp.c (TEST_NAME): Likewise.
24406         * string/test-strncmp.c (TEST_NAME): Likewise.
24407         * string/test-strncpy.c (TEST_NAME): Likewise.
24408         * string/test-strnlen.c (TEST_NAME): Likewise.
24409         * string/test-strpbrk.c (TEST_NAME): Likewise.
24410         * string/test-strrchr.c (TEST_NAME): Likewise.
24411         * string/test-strspn.c (TEST_NAME): Likewise.
24412         * string/test-strstr.c (TEST_NAME): Likewise.
24413         * string/test-bcopy-ifunc.c: New file.
24414         * string/test-bzero-ifunc.c: Likewise.
24415         * string/test-memccpy-ifunc.c: Likewise.
24416         * string/test-memchr-ifunc.c: Likewise.
24417         * string/test-memcmp-ifunc.c: Likewise.
24418         * string/test-memcpy-ifunc.c: Likewise.
24419         * string/test-memmem-ifunc.c: Likewise.
24420         * string/test-memmove-ifunc.c: Likewise.
24421         * string/test-mempcpy-ifunc.c: Likewise.
24422         * string/test-memset-ifunc.c: Likewise.
24423         * string/test-rawmemchr-ifunc.c: Likewise.
24424         * string/test-stpcpy-ifunc.c: Likewise.
24425         * string/test-stpncpy-ifunc.c: Likewise.
24426         * string/test-strcasecmp-ifunc.c: Likewise.
24427         * string/test-strcasestr-ifunc.c: Likewise.
24428         * string/test-strcat-ifunc.c: Likewise.
24429         * string/test-strchr-ifunc.c: Likewise.
24430         * string/test-strchrnul-ifunc.c: Likewise.
24431         * string/test-strcmp-ifunc.c: Likewise.
24432         * string/test-strcpy-ifunc.c: Likewise.
24433         * string/test-strcspn-ifunc.c: Likewise.
24434         * string/test-strlen-ifunc.c: Likewise.
24435         * string/test-strncasecmp-ifunc.c: Likewise.
24436         * string/test-strncat-ifunc.c: Likewise.
24437         * string/test-strncmp-ifunc.c: Likewise.
24438         * string/test-strncpy-ifunc.c: Likewise.
24439         * string/test-strnlen-ifunc.c: Likewise.
24440         * string/test-strpbrk-ifunc.c: Likewise.
24441         * string/test-strrchr-ifunc.c: Likewise.
24442         * string/test-strspn-ifunc.c: Likewise.
24443         * string/test-strstr-ifunc.c: Likewise.
24444
24445         * debug/Makefile (tests-ifunc): New variable.
24446         (tests): Add $(tests-ifunc).
24447         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
24448         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
24449         * debug/test-stpcpy_chk-ifunc.c: New file.
24450         * debug/test-strcpy_chk-ifunc.c: Likewise.
24451
24452 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
24453
24454         [BZ #13601]
24455         * elf/dl-load.c (open_verify): Retry read if the entire ELF
24456         header is not read in.
24457
24458 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
24459
24460         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
24461         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
24462         directly.  Pass built executable to script as
24463         $(built-program-cmd).
24464         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
24465         $testprogram without using LD_LIBRARY_PATH and $ldso.
24466
24467         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
24468         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
24469         $(rtld-installed-name).
24470         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
24471         (rtld_installed_name): Likewise.
24472         (library_path): Likewise.
24473         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
24474         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
24475         $(run-program-prefix) to tst-tables.sh.
24476         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
24477         it to run tst-table-from and tst-table-to.
24478         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
24479         Pass it to tst-table.sh.
24480         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
24481         $(run-program-prefix) to tst-gettext.sh.
24482         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
24483         tst-translit.sh.
24484         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
24485         tst-gettext2.sh.
24486         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
24487         to run tst-gettext.
24488         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
24489         to run tst-gettext2.
24490         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
24491         to run tst-translit.
24492         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
24493         $(run-program-prefix) to tst-mtrace.sh.
24494         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
24495         to run tst-mtrace.
24496         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
24497         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
24498         $(rtld-installed-name).
24499         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
24500         (rtld_installed_name): Likewise.
24501         (run_program_prefix): New variable.  Use it to run wordexp-test.
24502
24503         * Makeconfig (ARCH): Remove all definitions.
24504         (machine): Likewise.
24505         [ARCH]: Remove conditional code.
24506         [!objdir]: Give error.
24507         [!objdir] (objpfx): Remove.
24508         [!objdir] (common-objpfx): Likewise.
24509         [!objdir] (common-objdir): Likewise.
24510         * configure.in (config_makefile): Remove.  Hardcode Makefile in
24511         AC_CONFIG_FILES call.
24512         * configure: Regenerated.
24513
24514         [BZ #13888]
24515         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
24516         or TMPDIR.
24517         (testout): Likewise.
24518
24519         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
24520         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
24521         $(rtld-installed-name).
24522         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
24523         (rtld_installed_name): Likwise.
24524         (runit): Remove function.
24525         (run_getconf): New variable,  Use it for running getconf binary.
24526
24527 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
24528
24529         [BZ #14716]
24530         * string/test-memmem.c (check_result): New function.
24531         (do_one_test): Use it.
24532         (check1): New function.
24533         (test_main): Use it.
24534
24535 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
24536
24537         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
24538
24539 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
24540
24541         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
24542         (_G_LSEEK64): Likewise.
24543         (_G_MMAP64): Likewise.
24544         (_G_FSTAT64): Likewise.
24545         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
24546         (_G_LSEEK64): Likewise.
24547         (_G_MMAP64): Likewise.
24548         (_G_FSTAT64): Likewise.
24549         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
24550         unconditional.  Call __mmap64 directly.
24551         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
24552         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
24553         __lseek64 directly.
24554         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
24555         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
24556         __mmap64 directly.
24557         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
24558         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24559         __lseek64 directly.
24560         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
24561         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
24562         __lseek64 directly.
24563         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
24564         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
24565         __lseek64 directly.
24566         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
24567         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
24568         __fxstat64 directly.
24569         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
24570         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
24571         unconditional.
24572         (freopen64) [!_G_OPEN64]: Remove conditional code.
24573         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
24574         unconditional.
24575         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
24576         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
24577         unconditional.
24578         (ftello64) [!_G_LSEEK64]: Remove conditional code.
24579         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
24580         unconditional.
24581         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24582         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
24583         unconditional.
24584         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
24585         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
24586         unconditional.
24587         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24588         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
24589         unconditional.
24590         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
24591         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
24592         unconditional.
24593         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
24594
24595 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
24596
24597         [BZ #12140]
24598         * manual/memory.texi (Malloc Tunable Parameters): Add note
24599         about free list pointers overwriting some perturb bytes.
24600         Wording suggested by Roland McGrath.
24601
24602 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
24603
24604         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
24605         (lgamma_test): Likewise.
24606         (tgamma_test): Likewise.
24607
24608 2012-10-16  Florian Weimer  <fweimer@redhat.com>
24609
24610         [BZ #14700]
24611         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
24612         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
24613
24614 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
24615
24616         * NEWS: Mention BZ #14716.
24617         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
24618         when removing AVAILABLE1_USES_J macro.
24619
24620 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
24621
24622         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
24623         (__bswap_64): __uint64_t for unsigned 64-bit int.
24624
24625 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
24626
24627         * include/string.h (memmem): Declare libc hidden alias.
24628         * string/memmem.c (memmem): Define libc hidden alias.
24629         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
24630         __read, __close instead of open, read, close.
24631
24632 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
24633
24634         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
24635         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
24636         global and hidden.
24637         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
24638         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
24639         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
24640         Likewise.
24641         (__rawmemchr_sse2): Likewise.
24642         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
24643         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
24644         (__strchr_sse2): Likewise.
24645         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
24646         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
24647         (__strcasecmp_sse2): Likewise.
24648         (__strncasecmp_sse2): Likewise.
24649         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
24650         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
24651         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
24652         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
24653         (__strrchr_sse2): Likewise.
24654         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
24655         ifunc-impl-list.c.
24656         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
24657         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
24658         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
24659         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
24660         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
24661         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
24662         * sysdeps/x86_64/multiarch/memset.S: Likewise.
24663         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
24664         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
24665         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
24666         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
24667         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
24668         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
24669         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
24670         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
24671         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
24672         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
24673         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
24674         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
24675         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
24676         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
24677         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
24678         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
24679         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
24680         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
24681         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
24682         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
24683         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
24684         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
24685         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
24686
24687         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
24688         global and hidden.
24689         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
24690         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
24691         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
24692         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
24693         Likewise.
24694         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
24695         Likewise.
24696         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
24697         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
24698         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
24699         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
24700         ifunc-impl-list.c.
24701         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
24702         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
24703         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
24704         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
24705         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
24706         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
24707         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
24708         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
24709         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
24710         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
24711         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
24712         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
24713         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
24714         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
24715         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
24716         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
24717         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
24718         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
24719         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
24720         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
24721         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
24722         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
24723         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
24724         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
24725         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
24726         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
24727         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
24728         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
24729         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
24730         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
24731         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
24732         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
24733         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
24734         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
24735         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
24736         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
24737         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
24738         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
24739         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
24740         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
24741         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
24742
24743         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
24744         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
24745         * include/ifunc-impl-list.h: New file.
24746         * misc/ifunc-impl-list.c: Likewise.
24747         * misc/Makefile (routines): Add ifunc-impl-list.
24748         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
24749         * string/test-string.h: Include <ifunc-impl-list.h>.
24750         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
24751         TEST_NAME]: New variables.
24752         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
24753         are defined.
24754         (test_init): Call __libc_ifunc_impl_list to initialize
24755         func_list if TEST_IFUNC and TEST_NAME are defined.
24756
24757         * string/Makefile (strop-tests): Add bcopy and bzero.
24758         * string/test-bcopy.c: New file.
24759         * string/test-bzero.c: Likewise.
24760         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
24761         defined.
24762         * string/test-memset.c: Support bzero test if TEST_BZERO is
24763         defined.
24764         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
24765         __libc_memmove.
24766         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
24767         __libc_memset.
24768         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
24769         of memset.
24770
24771 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
24772
24773         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
24774         * configure: Regenerated.
24775
24776         * Makeconfig (+link-static-before-libc): Don't include
24777         $(link-static-libc).
24778
24779         * libio/libio.h (_IO_pos_t): Remove.
24780
24781 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24782
24783         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
24784         McGrath.
24785
24786 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24787
24788         * crypt/crypt-entry.c: Include fips-private.h.
24789         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
24790         * crypt/md5c-test.c (main): Tolerate disabled MD5.
24791         * sysdeps/unix/sysv/linux/fips-private.h: New file.
24792         * sysdeps/generic/fips-private.h: New file, dummy fallback.
24793
24794 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
24795
24796         * crypt/crypt-private.h: Include stdbool.h.
24797         (_ufc_setup_salt_r): Return bool.
24798         * crypt/crypt-entry.c: Include errno.h.
24799         (__crypt_r): Return NULL with EINVAL for bad salt.
24800         * crypt/crypt_util.c (bad_for_salt): New.
24801         (_ufc_setup_salt_r): Check that salt is long enough and within
24802         the specified alphabet.
24803         * crypt/badsalttest.c: New file.
24804         * crypt/Makefile (tests): Add it.
24805         ($(objpfx)badsalttest): New.
24806
24807 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
24808
24809         * NEWS: Add entry for BZ #14602.
24810
24811 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24812
24813         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
24814         type-generic.
24815         * math/libm-test.inc: Update comment listing what functions and
24816         macros are tested.
24817         (isgreater_test): New function.
24818         (isgreaterequal_test): Likewise.
24819         (isless_test): Likewise.
24820         (islessequal_test): Likewise.
24821         (islessgreater_test): Likewise.
24822         (isunordered_test): Likewise.
24823         (main): Call the new functions.
24824
24825 2012-10-09  Roland McGrath  <roland@hack.frob.com>
24826
24827         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
24828         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
24829         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
24830         * sysdeps/i386/configure: Regenerated.
24831         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
24832         * sysdeps/mach/configure: Regenerated.
24833         * sysdeps/mach/hurd/configure: Regenerated.
24834         * sysdeps/powerpc/configure: Regenerated.
24835         * sysdeps/powerpc/powerpc32/configure: Regenerated.
24836         * sysdeps/powerpc/powerpc64/configure: Regenerated.
24837         * sysdeps/s390/s390-32/configure: Regenerated.
24838         * sysdeps/s390/s390-64/configure: Regenerated.
24839         * sysdeps/sh/configure: Regenerated.
24840         * sysdeps/sparc/configure: Regenerated.
24841         * sysdeps/unix/sysv/linux/configure: Regenerated.
24842         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
24843         * sysdeps/x86_64/configure: Regenerated.
24844
24845         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
24846         defined.  Don't check if MAP is NULL.
24847
24848 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
24849
24850         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
24851         (_G_stat64): Likewise.
24852         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
24853         (_G_stat64): Likewise.
24854         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
24855         instead of struct _G_stat64.
24856         * libio/fileops.c (mmap_remap_check): Likewise.
24857         (decide_maybe_mmap): Likewise.
24858         (_IO_new_file_seekoff): Likewise.
24859         (_IO_file_stat): Likewise.
24860         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
24861         _G_off64_t.
24862         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
24863         instead of struct _G_stat64.
24864         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
24865
24866 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
24867
24868         [BZ #14602]
24869         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24870         Replace with ...
24871         (CHECK_EOL): New macro.
24872         (two_way_short_needle): Check beginning of haystack for EOL.  Use
24873         CHECK_EOL.
24874         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24875         Replace with CHECK_EOL.
24876         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
24877         Replace with CHECK_EOL.
24878
24879 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
24880
24881         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
24882         type-generic.
24883         * math/libm-test.inc: Update comment listing what functions and
24884         macros are tested.
24885         (finite_test): New function.
24886         (isinf_test): Likewise.
24887         (isnan_test): Likewise.
24888         (fpclassify_test): Test subnormal input.
24889         (isfinite_test): Likewise.
24890         (isnormal_test): Likewise.
24891         (main): Call the new functions.
24892
24893 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
24894
24895         [BZ #14660]
24896         * Makerules (%.dynsym): Force C locale when running
24897         $(OBJDUMP) --dynamic-syms.
24898
24899 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
24900
24901         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
24902         <stdint.h>.
24903
24904 2012-10-06  David S. Miller  <davem@davemloft.net>
24905
24906         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
24907         upper 32-bits of the length value in %o2 since we use branch-on-register
24908         tests which consider the entire 64-bit register.
24909
24910 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
24911
24912         * string/test-strstr.c (check2): Add a test for page boundary.
24913
24914 2012-10-05  David S. Miller  <davem@davemloft.net>
24915
24916         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
24917         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
24918         file.
24919         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
24920         sysdep_routines.
24921         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
24922         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
24923         and bzero when HWCAP_SPARC_CRYPTO is present.
24924
24925 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
24926
24927         [BZ #14602]
24928         * string/test-strstr.c (check2): New function.
24929         (test_main): Call check2.
24930
24931         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
24932         and bug-strchr1.
24933         * string/bug-strcasestr1.c (do_test): Moved to ...
24934         * string/test-strcasestr.c (check1): Here.  New function.
24935         (do_one_test): Break out result checking code into ...
24936         (check_result): This.  New function.
24937         (do_one_test): Call check_result.
24938         (test_main): Call check1.
24939         * string/bug-strchr1.c (do_test): Moved to ...
24940         * string/test-strchr.c (check1): Here.  New function.
24941         (do_one_test): Break out result checking code into ...
24942         (check_result): This.  New function.
24943         (do_one_test): Call check_result.
24944         (test_main): Call check1.
24945         * string/bug-strstr1.c (main): Moved to ...
24946         * string/test-strstr.c (check1): Here.  New function.
24947         (do_one_test): Break out result checking code into ...
24948         (check_result): This.  New function.
24949         (do_one_test): Call check_result.
24950         (test_main): Call check1.
24951         * string/bug-strcasestr1.c: Removed.
24952         * string/bug-strchr1.c: Likewise.
24953         * string/bug-strstr1.c: Likewise.
24954
24955         * elf/Makefile (dl-routines): Add hwcaps.
24956         * elf/dl-support.c (_dl_important_hwcaps): Removed.
24957         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
24958         (_dl_important_hwcaps): Moved to ...
24959         * elf/dl-hwcaps.c: Here.  New file.
24960         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
24961
24962         [BZ #14557]
24963         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
24964         if IS_IN_rtld isn't defined.
24965
24966         * elf/dl-support.c (_dl_sysinfo_map): New.
24967         Include "get-dynamic-info.h" and "setup-vdso.h".
24968         (_dl_non_dynamic_init): Call setup_vdso.
24969         * elf/dynamic-link.h: Don't include <assert.h>.
24970         (elf_get_dynamic_info): Moved to ...
24971         * elf/get-dynamic-info.h: Here.  New file.
24972         * elf/dynamic-link.h: Include "get-dynamic-info.h".
24973         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
24974         * elf/setup-vdso.h: Here.  New file.
24975         * elf/rtld.c: Include "setup-vdso.h".
24976         (dl_main): Call setup_vdso.
24977
24978 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
24979
24980         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
24981         creal in comment listing functions tested.  List finite, isinf,
24982         isnan, isless, islessequal, isgreater, isgreaterequal,
24983         islessgreater, isunordered, lgamma_r and pow10 as functions and
24984         macros not tested.  Mention which functions not tested are aliases
24985         for other functions.  Fix typo.  Note that signs of NaNs are not
24986         tested.
24987
24988         * scripts/config.guess: Update from config.git.
24989         * scripts/config.sub: Likewise.
24990
24991 2012-10-04  Roland McGrath  <roland@hack.frob.com>
24992
24993         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
24994         * misc/madvise.c (madvise): Renamed to __madvise.
24995         Make madvise a weak alias.
24996         * include/sys/mman.h: Declare __madvise.
24997         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
24998         * sysdeps/unix/syscalls.list
24999         (madvise): Make __madvise the strong name, and madvise a weak alias.
25000         * sysdeps/unix/sysv/linux/syscalls.list
25001         (madvise, mmap): Remove redundant entries.
25002         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
25003         * malloc/malloc.c (mtrim): Likewise.
25004         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
25005
25006 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25007
25008         * sysdeps/mach/hurd/dl-cache.c: File removed.
25009         * config.h.in (USE_LDCONFIG): New #undef.
25010         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
25011         * configure: Regenerated.
25012         * elf/Makefile (dl-routines): Add dl-cache only under
25013         [$(use-ldconfig) = yes].
25014         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
25015         cache on [USE_LDCONFIG].
25016         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
25017         [USE_LDCONFIG].
25018         * elf/rtld.c (dl_main): Likewise.
25019
25020 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
25021
25022         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
25023         _SC_LEVEL4_CACHE_LINESIZE.
25024
25025 2012-10-03  Roland McGrath  <roland@hack.frob.com>
25026
25027         * sysdeps/unix/bsd/confstr.h: File removed.
25028
25029 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
25030
25031         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
25032         sys/sdt-config.h.
25033
25034 2012-10-02  Roland McGrath  <roland@hack.frob.com>
25035
25036         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
25037         Make 'mapoff' field ElfW(Off) rather than off_t.
25038
25039 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
25040
25041         * nscd/Makefile: Remove nscd-cflags and all its users.
25042         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
25043         (CFLAGS-nonlib): Add compiler flags for nscd modules.
25044
25045         [BZ #10631]
25046         * malloc.c (malloc_printerr): Clarify error message.
25047
25048 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
25049
25050         [BZ #14648]
25051         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
25052         Set bit_FMA_Usable if FMA is supported.
25053         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
25054         macro.
25055         (bit_FMA4_Usable): Updated.
25056         (index_FMA_Usable): New macro.
25057         (CPUID_FMA): Likewise
25058         (HAS_FMA): Defined with bit_FMA_Usable.
25059
25060 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25061
25062         * bits/types.h (__swblk_t): Type removed.
25063         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
25064         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
25065         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25066         (__SWBLK_T_TYPE): Likewise.
25067         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
25068         (__SWBLK_T_TYPE): Likewise.
25069         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25070         (__SWBLK_T_TYPE): Likewise.
25071         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25072         (__SWBLK_T_TYPE): Likewise.
25073
25074 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
25075             Honza Horak <hhorak@redhat.com>
25076
25077         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
25078         (xdr_mapname): Use YPMAXMAP as maxsize.
25079         (xdr_peername): Use YPMAXPEER as maxsize.
25080         (xdr_keydat): Use YPAXRECORD as maxsize.
25081         (xdr_valdat): Use YPMAXRECORD as maxsize.
25082
25083 2012-10-01  Roland McGrath  <roland@hack.frob.com>
25084
25085         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
25086
25087         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
25088         * csu/init-first.c: ... here.
25089         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
25090         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
25091         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
25092         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
25093         * sysdeps/i386/init-first.c: File removed.
25094         * sysdeps/sh/init-first.c: File removed.
25095
25096 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
25097
25098         [BZ #14645]
25099         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
25100         if x * y might underflow to zero and z is zero.
25101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
25102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25103         * math/libm-test.inc (min_subnorm_value): New variable.
25104         (fma_test): Add more tests.
25105         (fma_test_towardzero): Likewise.
25106         (fma_test_downward): Likewise
25107         (fma_test_upward): Likewise.
25108         (initialize): Set min_subnorm_value.
25109
25110 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
25111
25112         [BZ #14638]
25113         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
25114         0 + 0.
25115         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
25116         mode for addition resulting in exact zero.
25117         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
25118         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
25119         exact 0 + 0.
25120         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
25121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
25122         * math/libm-test.inc (fma_test): Add more tests.
25123         (fma_test_towardzero): New function.
25124         (fma_test_downward): Likewise.
25125         (fma_test_upward): Likewise.
25126         (main): Call the new functions.
25127
25128 2012-09-28  David S. Miller  <davem@davemloft.net>
25129
25130         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
25131
25132 2012-09-28  Roland McGrath  <roland@hack.frob.com>
25133
25134         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
25135         instead of SIGALRM.
25136
25137         * sysdeps/gnu/_G_config.h: Moved to ...
25138         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
25139         * sysdeps/mach/hurd/_G_config.h: Moved to ...
25140         * sysdeps/generic/_G_config.h: ... here.
25141
25142         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
25143
25144         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
25145
25146         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
25147         Conditionalize target on [libnss_test1.so-version].
25148
25149         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
25150
25151         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
25152         (elfobjdir): Move out of conditionals.
25153
25154         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
25155         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
25156         (__nss_lookup_function): Conditionalize label remove_from_tree on
25157         [!DO_STATIC_NSS || SHARED], matching its only use.
25158
25159 2012-09-28  David S. Miller  <davem@davemloft.net>
25160
25161         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
25162         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
25163         file.
25164         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
25165         sysdep_routines.
25166         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
25167         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
25168         when HWCAP_SPARC_CRYPTO is present.
25169
25170 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25171
25172         * io/tst-mknodat.c: Create a FIFO instead of a socket.
25173
25174 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
25175
25176         [BZ #6530]
25177         * stdio-common/vfprintf.c (process_string_arg): Revert
25178         2000-07-22 change.
25179
25180 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
25181
25182         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
25183         for testcase.
25184         * stdio-common/tst-sprintf.c: Include <locale.h>
25185         (main): Test sprintf's handling of incomplete multibyte
25186         characters.
25187
25188 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
25189
25190         * elf/dl-runtime.c (VERSYMIDX): Removed.
25191         * elf/dl-version.c (VERSYMIDX): Likewise.
25192         * elf/do-rel.h (VERSYMIDX): Likewise.
25193         (VALIDX): Likewise.
25194         * elf/dynamic-link.h (VERSYMIDX): Likewise.
25195         * elf/rtld.c (VALIDX): Likewise.
25196         (ADDRIDX): Likewise.
25197         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
25198         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
25199         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
25200         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
25201         (VALIDX): Likewise.
25202         (ADDRIDX): Likewise.
25203
25204 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25205
25206         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
25207
25208 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
25209
25210         [BZ #11438]
25211         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
25212         to global scope.
25213         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
25214         addresses are in the same scope as 192.0.2/24.
25215         * posix/gai.conf: Document new scope table defaults.
25216
25217 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25218
25219         [BZ #5298]
25220         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
25221         for ftell.  Compute offsets from write pointers instead.
25222         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
25223
25224 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25225
25226         [BZ #14543]
25227         * libio/Makefile (tests): New test case tst-fseek.
25228         * libio/tst-fseek.c: New test case to verify that fseek/ftell
25229         combination works in wide mode.
25230         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
25231         state when the external buffer state changes.
25232
25233 2012-09-27  David S. Miller  <davem@davemloft.net>
25234
25235         [BZ #14376]
25236         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
25237         pass reloc->r_addend in as the 'high' argument to
25238         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
25239
25240         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25241
25242 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
25243
25244         * rt/tst-aio2.c: Include <pthread.h>.
25245         * rt/tst-aio3.c: Likewise.
25246
25247 2012-09-27  Steve Ellcey  <sellcey@mips.com>
25248
25249         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
25250
25251 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
25252
25253         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
25254         contents on [SHARED].
25255
25256 2012-09-26  Marek Polacek  <polacek@redhat.com>
25257
25258         [BZ #14530]
25259         [BZ #13741]
25260         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
25261         for C++ and GCC <4.3 as well as for non GCC compilers.
25262
25263 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
25264
25265         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25266
25267 2012-09-25  Roland McGrath  <roland@hack.frob.com>
25268
25269         * Makefile.in (all, install): Declare with .PHONY.
25270         Reported by Michael Hope <michael.hope@linaro.org>.
25271
25272 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25273
25274         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
25275         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
25276         system header.
25277         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
25278         Likewise.
25279         (sydep_routines): Add the new and the internal functions.
25280         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
25281         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
25282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
25283         (GLIBC_2.17): Add the new function.
25284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
25285         (GLIBC_2.17): Likewise.
25286         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
25287         (GLIBC_2.17): Likewise.
25288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
25289         (GLIBC_2.17): Likewise.
25290         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
25291
25292 2012-09-25  Alan Modra  <amodra@gmail.com>
25293
25294         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
25295         Add release barrier before setting once_control to say
25296         initialisation is done.  Add hints on lwarx.  Use macro in
25297         place of isync.
25298         (clear_once_control): Add release barrier.
25299
25300 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25301
25302         [BZ #13629]
25303         * math/s_clog.c (__clog): Handle more values close to |z| = 1
25304         specially.
25305         * math/s_clog10.c (__clog10): Likewise.
25306         * math/s_clog10f.c (__clog10f): Likewise.
25307         * math/s_clog10l.c (__clog10l): Likewise.
25308         * math/s_clogf.c (__clogf): Likewise.
25309         * math/s_clogl.c (__clogl): Likewise.
25310         * math/Makefile (libm-calls): Add x2y2m1.
25311         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
25312         (__x2y2m1): Likewise.
25313         (__x2y2m1l): Likewise.
25314         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
25315         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
25316         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
25317         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
25318         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
25319         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
25320         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
25321         * sysdeps/i386/fpu/libm-test-ulps: Update.
25322         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25323
25324         [BZ #14621]
25325         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
25326         int as type of variable DEPTH.
25327         (glob): Use size_t instead of int as type of variables NEWCOUNT
25328         and OLD_PATHC.
25329
25330 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25331
25332         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25333         Add s_sincosf-sse2.
25334         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
25335         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
25336         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
25337         macros for using routine as __sincosf_ia32.
25338         Use macro for function declaration and weak_alias.
25339         * sysdeps/i386/fpu/libm-test-ulps: Update.
25340
25341         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
25342         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25343
25344         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
25345         subnormal argument.
25346         * math/s_cexpf.c (__cexpf): Likewise.
25347         * math/s_csinf.c (__csinf): Likewise.
25348         * math/s_csinhf.c (__csinhf): Likewise.
25349         * math/s_ctanf.c (__ctanf): Likewise.
25350         * math/s_ctanhf.c (__ctanhf): Likewise.
25351         * math/s_ccosh.c (__ccoshf): Likewise.
25352         * math/s_cexp.c (__cexpl): Likewise.
25353         * math/s_csin.c (__csin): Likewise.
25354         * math/s_csinh.c (__csinh): Likewise.
25355         * math/s_ctan.c (__ctan): Likewise.
25356         * math/s_ctanh.c (ctanh): Likewise.
25357         * math/s_ccoshl.c (__ccoshl): Likewise.
25358         * math/s_cexpl.c (__cexpl): Likewise.
25359         * math/s_csinl.c (__csinl): Likewise.
25360         * math/s_csinhl.c (__csinhl): Likewise.
25361         * math/s_ctanl.c (__ctanl): Likewise.
25362         * math/s_ctanhl.c (__ctanhl): Likewise.
25363
25364 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
25365
25366         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
25367         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
25368         (_IO_off_t): Define to __off_t, not _G_off_t.
25369         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
25370         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
25371         (_IO_wint_t): Define to wint_t, not _G_wint_t.
25372         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
25373         type of __dummy and __dummy2 fields.
25374         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
25375         (_G_ssize_t): Likewise.
25376         (_G_off_t): Likewise.
25377         (_G_pid_t): Likewise.
25378         (_G_uid_t): Likewise.
25379         (_G_wchar_t): Likewise.
25380         (_G_wint_t): Likewise.
25381         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
25382         (_G_ssize_t): Likewise.
25383         (_G_off_t): Likewise.
25384         (_G_pid_t): Likewise.
25385         (_G_uid_t): Likewise.
25386         (_G_wchar_t): Likewise.
25387         (_G_wint_t): Likewise.
25388         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
25389         (_G_ssize_t): Likewise.
25390         (_G_off_t): Likewise.
25391         (_G_pid_t): Likewise.
25392         (_G_uid_t): Likewise.
25393         (_G_wchar_t): Likewise.
25394         (_G_wint_t): Likewise.
25395
25396 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25397
25398         * malloc/arena.c: Include malloc-sysdep.h.
25399         (shrink_heap): Use check_may_shrink_heap to decide if madvise
25400         is sufficient to shrink the heap or an unmap is needed.
25401         * sysdeps/generic/malloc-sysdep.h: New file.  Define
25402         new function check_may_shrink_heap.
25403         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
25404         new function check_may_shrink_heap.
25405
25406 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25407
25408         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
25409         comments.
25410
25411 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
25412
25413         * catgets/test-gencat.sh: Add "set -e".
25414         * elf/tst-pathopt.sh: Likewise.
25415         * grp/tst_fgetgrent.sh: Likewise.
25416         * iconvdata/run-iconv-test.sh: Likewise.
25417         * intl/tst-gettext.sh: Likewise.
25418         * intl/tst-gettext2.sh: Likewise.
25419         * intl/tst-gettext4.sh: Likewise.
25420         * intl/tst-gettext6.sh: Likewise.
25421         * intl/tst-translit.sh: Likewise.
25422         * io/ftwtest-sh: Likewise.
25423         * libio/test-freopen.sh: Likewise.
25424         * malloc/tst-mtrace.sh: Likewise.
25425         * posix/globtest.sh: Likewise.
25426         * posix/tst-getconf.sh: Likewise.
25427         * posix/wordexp-tst.sh: Likewise.
25428         * stdio-common/tst-printf.sh: Likewise.
25429         * stdio-common/tst-unbputc.sh: Likewise.
25430         * stdlib/tst-fmtmsg.sh: Likewise.
25431         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25432         * catgets/Makefile: Do not specify -e option when running
25433         testsuite shell scripts.
25434         * elf/Makefile: Likewise.
25435         * grp/Makefile: Likewise.
25436         * iconvdata/Makefile: Likewise.
25437         * intl/Makefile: Likewise.
25438         * io/Makefile: Likewise.
25439         * libio/Makefile: Likewise.
25440         * malloc/Makefile: Likewise.
25441         * posix/Makefile: Likewise.
25442         * stdio-common/Makefile: Likewise.
25443         * stdlib/Makefile: Likewise.
25444         * sysdeps/x86_64/Makefile: Likewise.
25445
25446         * io/ftwtest-sh: Add copyright header.
25447         * posix/globtest.sh: Likewise.
25448         * posix/tst-getconf.sh: Likewise.
25449         * posix/wordexp-tst.sh: Likewise.
25450         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
25451
25452 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
25453
25454         [BZ #13679]
25455         * Makeconfig (+link): Defined as $(+link-static) if
25456         $(build-shared) isn't yes.
25457         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
25458         isn't yes.
25459         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
25460
25461         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
25462
25463         [BZ #14562]
25464         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
25465         new chunk size with MALLOC_ALIGN_MASK.
25466
25467 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
25468
25469         [BZ #5044]
25470         * stdio-common/printf_fphex.c: Include <stdbool.h> and
25471         <rounding-mode.h>.
25472         (__printf_fphex): Determine rounding using get_rounding_mode and
25473         round_away.
25474         * stdio-common/tst-printf-round.c (struct hex_test): New
25475         structure.
25476         (hex_tests): New variable.
25477         (test_hex_in_one_mode): New function.
25478         (do_test): Also run tests for hex float output.
25479
25480 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
25481
25482         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25483         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25484         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
25485         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
25486         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
25487         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
25488         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25489         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
25490
25491 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
25492
25493         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
25494         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
25495         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
25496         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
25497
25498 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
25499
25500         [BZ #14579]
25501         * elf/rtld.c (dl_main): Limit the check for self loading to normal
25502         mode only.
25503         * elf/tst-rtld-load-self.sh: New test.
25504         * elf/Makefile: Run it.
25505
25506 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
25507
25508         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
25509         (tst-writev-ENV): Remove.
25510         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
25511
25512 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
25513
25514         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
25515
25516 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
25517
25518         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
25519         unconditional.
25520         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
25521         Likewise.
25522         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
25523         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
25524         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
25525         Likewise.
25526
25527 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
25528
25529         [BZ #14587]
25530         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
25531         * config.make.in (have-cpp-asm-debuginfo): Removed.
25532         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
25533         * configure: Regenerated.
25534
25535 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
25536
25537         [BZ #5044]
25538         * stdio-common/printf_fp.c: Include <stdbool.h> and
25539         <rounding-mode.h>.
25540         (___printf_fp): Determine rounding using get_rounding_mode and
25541         round_away.
25542         * stdio-common/tst-printf-round.c: New file.
25543         * stdio-common/Makefile (tests): Add tst-printf-round.
25544         (link-libm): New variable.
25545         ($(objpfx)tst-printf-round): Depend in $(link-libm).
25546
25547 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
25548
25549         [BZ #14576]
25550         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
25551         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
25552         Likewise.
25553         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
25554         Likewise.
25555
25556 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
25557
25558         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
25559         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25560         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25561         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
25562
25563 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
25564
25565         [BZ #14518]
25566         * include/rounding-mode.h: New file.
25567         * sysdeps/generic/get-rounding-mode.h: Likewise.
25568         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
25569         * stdlib/strtod_l.c: Include <rounding-mode.h>.
25570         (MAX_VALUE): New macro.
25571         (MIN_VALUE): Likewise.
25572         (overflow_value): New function.
25573         (underflow_value): Likewise.
25574         (round_and_return): Use overflow_value and underflow_value to
25575         determine return values in overflow and underflow cases.  Use
25576         round_away to determine rounding depending on rounding mode.
25577         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
25578         determine return values in overflow and underflow cases.
25579         * stdlib/tst-strtod-round.c: Include <fenv.h>.
25580         (struct test_results): New structure.
25581         (struct test): Use struct test_results to store expected results
25582         for all rounding modes.
25583         (TEST): Include expected results for all rounding modes.
25584         (test_in_one_mode): New function.
25585         (do_test): Use test_in_one_mode to compute and check results.
25586         Check results for all rounding modes.
25587         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
25588         $(link-libm).
25589
25590 2012-12-09  Allan McRae  <allan@archlinux.org>
25591
25592         * sysdeps/i386/fpu/libm-test-ulps: Update
25593
25594 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
25595
25596         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
25597         (_G_int32_t): Likewise.
25598         (_G_uint16_t): Likewise.
25599         (_G_uint32_t): Likewise.
25600         (_G_HAVE_BOOL): Likewise.
25601         (_G_HAVE_ATEXIT): Likewise.
25602         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25603         (_G_HAVE_IO_FILE_OPEN): Likewise.
25604         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
25605         (_G_int32_t): Likewise.
25606         (_G_uint16_t): Likewise.
25607         (_G_uint32_t): Likewise.
25608         (_G_HAVE_BOOL): Likewise.
25609         (_G_HAVE_ATEXIT): Likewise.
25610         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25611         (_G_HAVE_IO_FILE_OPEN): Likewise.
25612         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
25613         (_G_int32_t): Likewise.
25614         (_G_uint16_t): Likewise.
25615         (_G_uint32_t): Likewise.
25616         (_G_HAVE_BOOL): Likewise.
25617         (_G_HAVE_ATEXIT): Likewise.
25618         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
25619         (_G_HAVE_IO_FILE_OPEN): Likewise.
25620
25621 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
25622
25623         * csu/libc-tls.c: Update copyright years.
25624
25625 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
25626
25627         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
25628         [!_G_USING_THUNKS]: Remove conditional code.
25629         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
25630         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
25631
25632         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
25633         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
25634         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25635         (_G_VTABLE_LABEL_PREFIX): Likewise.
25636         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25637         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25638         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25639         (_G_VTABLE_LABEL_PREFIX): Likewise.
25640         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25641         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
25642         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
25643         (_G_VTABLE_LABEL_PREFIX): Likewise.
25644         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
25645
25646 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
25647
25648         * libio/Makefile: Include ../Makeconfig before tests.
25649         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
25650         only if $(build-shared) is yes.
25651
25652         * iconv/gconv_db.c: Update copyright years.
25653
25654 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25655
25656         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
25657         unwind info if defined PIC. Fix special cases description.
25658         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
25659
25660         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
25661         DP_HI_MASK entry.
25662         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
25663
25664 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
25665
25666         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
25667
25668         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
25669         is NULL.
25670
25671         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
25672         (LDLIBS-tst-chk4): This.
25673         (LDFLAGS-tst-chk5): Renamed to ...
25674         (LDLIBS-tst-chk5): This.
25675         (LDFLAGS-tst-chk6): Renamed to ...
25676         (LDLIBS-tst-chk6): This.
25677         (LDFLAGS-tst-lfschk4): Renamed to ...
25678         (LDLIBS-tst-lfschk4): This.
25679         (LDFLAGS-tst-lfschk5): Renamed to ...
25680         (LDLIBS-tst-lfschk5): This.
25681         (LDFLAGS-tst-lfschk6): Renamed to ...
25682         (LDLIBS-tst-lfschk6): This.
25683
25684         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
25685         on $(common-objpfx)soversions.mk.
25686
25687 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
25688
25689         [BZ #10014]
25690         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
25691         example host name.
25692
25693 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
25694
25695         * malloc/arena.c (arena_get_retry): New function that gets
25696         another arena for the caller to try its request on.
25697         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
25698         current arena cannot fulfill the request.
25699         (__libc_memalign): Likewise.
25700         (__libc_memalign): Likewise.
25701         (__libc_pvalloc): Likewise.
25702         (__libc_calloc): Likewise.
25703
25704 2012-09-05  John Tobey  <john.tobey@gmail.com>
25705
25706         [BZ #13542]
25707         * manual/arith.texi (Operations on Complex): Fix description
25708         of carg branch cut.
25709
25710 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25711
25712         [BZ #10014]
25713         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
25714         host name.
25715
25716         [BZ #10038]
25717         * manual/memory.texi (Memory): Make order of menu items match
25718         order of sections.
25719
25720 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25721
25722         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
25723         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
25724         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
25725
25726 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25727
25728         * csu/libc-tls.c (static_dtv): Renamed to ...
25729         (_dl_static_dtv): This.  Make it global.
25730         (_dl_initial_dtv): Removed.
25731         (__libc_setup_tls): Updated.
25732         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
25733         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
25734         DL_INITIAL_DTV.
25735
25736 2012-09-06  Petr Machata  <pmachata@redhat.com>
25737
25738         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
25739         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
25740         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
25741         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
25742
25743 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25744
25745         [BZ #14545]
25746         * csu/libc-tls.c (_dl_initial_dtv): New variable.
25747         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
25748         freeing dtv[-1].
25749
25750 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
25751
25752         [BZ #14544]
25753         * Makeconfig (link-static-before-libc): Replace $(+prector)
25754         with $(+prectorT).
25755         (link-static-after-libc): Replace $(+postctor) with
25756         $(+postctorT).
25757         (link-bounded): Replace $(+prector)/$(+postctor) with
25758         $(+prectorT)/$(+postctorT).
25759         (+prectorT): New macro.
25760         (+postctorT): Likewise.
25761
25762 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
25763
25764         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
25765         (round_str): Handle values above the maximum for IBM long double
25766         as inexact.
25767         * stdlib/tst-strtod-round.c (tests): Regenerated.
25768
25769 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25770
25771         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
25772         assembler flag.
25773         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
25774         zarch_nohighgprs around the zarch optimized routines.
25775         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
25776         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
25777         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
25778         for zarch.
25779
25780 2012-09-05  David S. Miller  <davem@davemloft.net>
25781
25782         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25783
25784         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
25785         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
25786         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
25787         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
25788         entries.
25789
25790 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25791
25792         * malloc/arena.c: Fold copyright years.
25793         * malloc/mcheck.c, malloc/memusage.c: Likewise.
25794
25795 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25796
25797         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
25798
25799 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25800
25801         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
25802
25803 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25804
25805         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
25806         change internal state upon failure.
25807
25808 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
25809
25810         * malloc/mcheck.c (mcheck_check_all): Fix typo.
25811         * malloc/memusage.c (mmap): Likewise.
25812         (mmap64, mremap): Likewise.  Adjust name in comment.
25813
25814 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25815
25816         * libio/fileops.c: Fix typos in comments.
25817         * libio/oldfileops.c: Likewise.
25818         * libio/wfileops.c: Likewise.
25819
25820 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
25821
25822         [BZ #1349]
25823         * malloc/Makefile (tests): Add tst-malloc-usable test case.
25824         (tst-malloc-usable-ENV): Set environment for test case.
25825         * malloc/hooks.c (malloc_check_get_size): New function to get
25826         requested size.
25827         * malloc/malloc.c (musable): Use malloc_check_get_size.
25828         * malloc/tst-malloc-usable.c: New test case.
25829
25830 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25831
25832         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
25833
25834 2012-09-05  Allan McRae  <allan@archlinux.org>
25835
25836         [BZ #13966]
25837         * configure.in (CXX_SYSINCLUDES): Use compiler output to
25838         determine header location.
25839         * configure: Regenerated.
25840
25841 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
25842
25843         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
25844         float format.
25845         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
25846         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
25847         format.
25848         (test): Regenerate.
25849
25850 2012-09-04  David S. Miller  <davem@davemloft.net>
25851
25852         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
25853         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
25854         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
25855
25856 2012-09-04  Florian Weimer  <fweimer@redhat.com>
25857
25858         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
25859         failures.
25860
25861         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
25862
25863 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
25864
25865         [BZ #9914]
25866         * libio/iogetdelim.c: Include <limits.h>.
25867         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
25868         + len + 1 would overflow.
25869
25870 2012-09-03  Andreas Jaeger  <aj@suse.de>
25871
25872         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25873         * sysdeps/i386/fpu/libm-test-ulps: Update.
25874
25875 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25876
25877         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
25878         Add s_sinf-sse2, s_conf-sse2.
25879
25880         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
25881         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
25882         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
25883         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
25884
25885         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
25886         for using routine as __sinf_ia32.
25887         Use macro for function declaration and weak_alias.
25888         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
25889         for using routine as __cosf_ia32.
25890         Use macro for function declaration and weak_alias.
25891
25892         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
25893         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
25894
25895         * sysdeps/x86_64/fpu/s_sinf.S: New file.
25896         * sysdeps/x86_64/fpu/s_cosf.S: New file.
25897         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25898
25899         * math/libm-test.inc (cos_test): Add more test cases.
25900         (sin_test): Likewise.
25901         (sincos_test): Likewise.
25902
25903 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
25904
25905         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
25906         (IFUNC_RESOLVE): Make pointers to the specialized implementations
25907         hidden.
25908         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
25909
25910 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
25911
25912         [BZ #14538]
25913         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
25914         first element of the GOT.
25915         (elf_machine_load_address): Return the difference between
25916         the runtime address of _DYNAMIC and elf_machine_dynamic ().
25917
25918 2012-09-01  Allan McRae  <allan@archlinux.org>
25919
25920         [BZ #13412]
25921         * configure.in (AWK): Require gawk version 3.0 or later.
25922         * configure: Regenerated.
25923
25924 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
25925
25926         * sysdeps/unix/sysv/linux/kernel-features.h
25927         (__ASSUME_POSIX_CPU_TIMERS): Remove.
25928         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
25929         [__NR_clock_getres]: Make code unconditional.
25930         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
25931         (clock_getcpuclockid): Remove code left unreachable by removal of
25932         conditionals.
25933         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
25934         code unconditional.
25935         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25936         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25937         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
25938         Make code unconditional.
25939         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
25940         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25941         * sysdeps/unix/sysv/linux/clock_settime.c
25942         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
25943         conditional code.
25944         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
25945         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
25946
25947 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
25948
25949         [BZ #14476]
25950         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
25951         scripts/test-installation.pl.
25952
25953         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
25954         and $ld_so_version if it is set.
25955
25956 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
25957
25958         [BZ #14516]
25959         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
25960         failure if reading from procfs failed.
25961         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
25962
25963 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
25964
25965         * sysdeps/unix/sysv/linux/kernel-features.h
25966         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
25967         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25968         Remove conditional code.
25969         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25970         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
25971         Remove conditional code.
25972         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25973         * sysdeps/unix/sysv/linux/i386/fxstat.c
25974         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25975         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25976         * sysdeps/unix/sysv/linux/i386/fxstatat.c
25977         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25978         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25979         * sysdeps/unix/sysv/linux/i386/lxstat.c
25980         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
25981         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25982         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
25983         Remove conditional code.
25984         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25985         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
25986         Remove conditional code.
25987         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25988         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
25989         <kernel-features.h>.
25990         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
25991         Remove.
25992         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
25993         Remove conditional code.
25994         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
25995         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
25996         Remove conditional.
25997
25998 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
25999
26000         [BZ #5400]
26001         * NEWS: Add fixed bug number.
26002
26003 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
26004
26005         [BZ #14519]
26006         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
26007         underflowing exponent in case of negative sign.
26008         * stdlib/tst-strtod-round-data: Add more tests.
26009         * stdlib/tst-strtod-round.c (tests): Regenerated.
26010
26011         [BZ #3479]
26012         * stdlib/strtod_l.c (NDIG): Remove.
26013         (HEXNDIG): Likewise.
26014         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
26015         smallest representable value.
26016         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
26017         lie within an exact representation of 1/2 ulp of the result.
26018         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
26019         unconditionally.
26020         (TENS_P9_IDX): Define unconditionally.
26021         (TENS_P9_SIZE): Likewise.
26022         (TENS_P10_IDX): Likewise.
26023         (TENS_P10_SIZE): Likewise.
26024         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
26025         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
26026         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
26027         entries for 10^2^13 and 10^2^14.
26028         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
26029         (TENS_P13_IDX): Define.
26030         (TENS_P13_SIZE): Likewise.
26031         (TENS_P14_IDX): Likewise.
26032         (TENS_P14_SIZE): Likewise.
26033         (_fpioconst_pow10): Change array size to
26034         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
26035         unconditional.
26036         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
26037         1024]: Add entries for 10^2^13 and 10^2^14.
26038         [LAST_POW10 > _LAST_POW10]: Remove #error.
26039         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
26040         (_fpioconst_pow10): Change array size to
26041         FPIOCONST_POW10_ARRAY_SIZE.
26042         * stdlib/gen-fpioconst.c: New file.
26043         * stdlib/gen-tst-strtod-round.c: Likewise.
26044         * stdlib/tst-strtod-round-data: Likewise.
26045         * stdlib/tst-strtod-round.c: Likewise.
26046         * stdlib/Makefile (tests): Add tst-strtod-round.
26047
26048         [BZ #14459]
26049         * stdlib/strtod_l.c: Include <stdint.h>.
26050         (NDEBUG): Do not define.
26051         (round_and_return): Change EXPONENT parameter to type intmax_t.
26052         Rearrange calculations to avoid internal overflow possibilities.
26053         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
26054         Rearrange calculations to avoid internal overflow possibilities.
26055         Assert that number fits inside MPNSIZE limbs.
26056         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
26057         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
26058         calculations and add assertions to avoid internal overflow
26059         possibilities.  Add casts to avoid signed/unsigned operations.
26060         * stdlib/tst-strtod-overflow.c: New file.
26061         * stdlib/Makefile (tests): Add tst-strtod-overflow.
26062
26063 2012-08-25  Marek Polacek  <polacek@redhat.com>
26064
26065         * time/time.h: Fix some typos in comments.
26066
26067 2012-08-23  Roland McGrath  <roland@hack.frob.com>
26068
26069         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
26070         * posix/tst-rfc3484-2.c: Likewise.
26071         * posix/tst-rfc3484-3.c: Likewise.
26072
26073 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
26074
26075         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
26076         (EF_ARM_ABI_FLOAT_HARD): Likewise.
26077
26078 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
26079
26080         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
26081         #include of fxstatat64.c.
26082
26083 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26084
26085         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
26086         * shadow/getspent_r.c: Likewise.
26087         * shadow/getspnam.c: Likewise.
26088         * shadow/getspnam_r.c: Likewise.
26089         * gshadow/getsgent.c: Likewise.
26090         * gshadow/getsgent_r.c: Likewise.
26091         * gshadow/getsgnam.c: Likewise.
26092         * gshadow/getsgnam_r.c: Likewise.
26093         * inet/getnetbyad.c: Likewise.
26094         * inet/getnetbyad_r.c: Likewise.
26095         * inet/getnetbynm.c: Likewise.
26096         * inet/getnetbynm_r.c: Likewise.
26097         * inet/getnetent.c: Likewise.
26098         * inet/getnetent_r.c: Likewise.
26099         * inet/getproto.c: Likewise.
26100         * inet/getproto_r.c: Likewise.
26101         * inet/getprtent.c: Likewise.
26102         * inet/getprtent_r.c: Likewise.
26103         * inet/getprtname.c: Likewise.
26104         * inet/getprtname_r.c: Likewise.
26105         * inet/getrpcbyname.c: Likewise.
26106         * inet/getrpcbyname_r.c: Likewise.
26107         * inet/getrpcbynumber.c: Likewise.
26108         * inet/getrpcbynumber_r.c: Likewise.
26109         * inet/getrpcent.c: Likewise.
26110         * inet/getrpcent_r.c: Likewise.
26111         * inet/getaliasent.c: Likewise.
26112         * inet/getaliasent_r.c: Likewise.
26113         * inet/getaliasname.c: Likewise.
26114         * inet/getaliasname_r.c: Likewise.
26115         * nscd/getgrgid_r.c: Likewise.
26116         * nscd/getgrnam_r.c: Likewise.
26117         * nscd/gethstbyad_r.c: Likewise.
26118         * nscd/gethstbynm3_r.c: Likewise.
26119         * nscd/getpwnam_r.c: Likewise.
26120         * nscd/getpwuid_r.c: Likewise.
26121         * nscd/getsrvbynm_r.c: Likewise.
26122         * nscd/getsrvbypt_r.c: Likewise.
26123         * nscd/gai.c: Likewise.
26124
26125         * configure.in (build_nscd): New substituted variable, set
26126         by --disable-build-nscd and defaults to $use_nscd.
26127         * configure: Regenerated.
26128         * config.make.in (build-nscd): New substituted variable.
26129         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
26130         Change conditional to require [$(build-nscd) = yes] as well.
26131         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
26132
26133         [BZ# 13696]
26134         * configure.in (use_nscd): New substituted variable, set by
26135         --disable-nscd.  If enabled, define USE_NSCD.
26136         * configure: Regenerated.
26137         * config.h.in: Add USE_NSCD.
26138         * config.make.in (use-nscd): New substituted variable.
26139         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
26140         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
26141         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
26142         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
26143         (CFLAGS-getgrnam_r.c): Likewise.
26144         (CFLAGS-initgroups.c): Likewise.
26145         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
26146         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
26147         Variables removed.
26148         * inet/getnetgrent_r.c
26149         (nscd_setnetgrent): New function, broken out of ...
26150         (setnetgrent): ... here.  Call it.
26151         (innetgr): Conditionalize nscd bits on [USE_NSCD].
26152         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
26153         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
26154         * nscd/Makefile (routines, aux): Move definitions after include of
26155         Makeconfig.  Conditionalize on [$(use-nscd) != no].
26156         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
26157         Conditionalize on [USE_NSCD].
26158         (is_nscd, nscd_init_cb): Likewise.
26159         (nss_load_library): Conditionalize init callback on [USE_NSCD].
26160         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
26161         * nss/nss_db/db-init.c: Likewise.
26162         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
26163         [USE_NSCD].
26164         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
26165         (make_request): Use it.
26166         (cache_valid_p): New function.
26167         (__check_pf): Use it.
26168         * NEWS: Add item for --disable-nscd.
26169
26170 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
26171
26172         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
26173         to support sed >= 4.2.1-20-ga9bf076.
26174         * configure: Regenerated.
26175
26176 2012-08-22  Roland McGrath  <roland@hack.frob.com>
26177
26178         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
26179         Conditionalize whole body on [IREL].
26180
26181 2012-08-22  Jeff Law <law@redhat.com>
26182
26183         [BZ #14505]
26184         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
26185         if the family is PF_UNSPEC.
26186
26187 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
26188
26189         * Makerules (lib-version): Rename from V.
26190         (install-lib-nosubdir): Change V to lib-version.
26191
26192 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
26193
26194         [BZ #14252]
26195         * powerpc32/power6/wcschr.c: New file.
26196         * powerpc32/power6/wcscpy.c: New file.
26197         * powerpc32/power6/wcsrchr.c: New file.
26198         * powerpc64/power6/wcschr.c: New file.
26199         * powerpc64/power6/wcscpy.c: New file.
26200         * powerpc64/power6/wcsrchr.c: New file.
26201
26202 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26203
26204         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
26205         (two_way_short_needle): Use it.
26206         * string/strstr.c (AVAILABLE1_USES_J): Define.
26207         * string/strcasestr.c: Likewise.
26208
26209         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
26210         array references.
26211         * string/strcasestr.c (TOLOWER): Make side-effect safe.
26212
26213         [BZ #11607]
26214         * NEWS: Add an entry.
26215         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
26216         define their defaults.
26217         (two_way_short_needle): Detect end-of-string on-the-fly.
26218         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
26219         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
26220         * string/bug-strcasestr1.c: New test.
26221         * string/Makefile: Run it.
26222
26223 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
26224
26225         [BZ #11607]
26226         * string/str-two-way.h (two_way_short_needle): Optimize matching of
26227         the first character.
26228
26229 2012-08-21  Roland McGrath  <roland@hack.frob.com>
26230
26231         * csu/elf-init.c (__libc_csu_irel): Function removed.
26232         * csu/libc-start.c (apply_irel): New function.
26233         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
26234
26235 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
26236
26237         * sysdeps/unix/sysv/linux/kernel-features.h
26238         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
26239         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
26240         <kernel-features.h>.
26241         [__NR_fadvise64_64]: Make code unconditional.
26242         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
26243         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26244         !__NR_fadvise64_64)]: Likewise.
26245         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
26246         !__NR_fadvise64_64))]: Likewise.
26247         [__NR_fadvise64]: Make code unconditional.
26248         [!__NR_fadvise64]: Remove conditional code.
26249         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
26250         <kernel-features.h>.
26251         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26252         unconditional.
26253         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26254         conditional code.
26255         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
26256         not include <kernel-features.h>.
26257         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26258         unconditional.
26259         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26260         conditional code.
26261         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
26262         include <kernel-features.h>.
26263         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
26264         unconditional.
26265         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
26266         conditional code.
26267
26268 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
26269
26270         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
26271         slight instruction rearrangements per scrollpipe analysis.
26272         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
26273
26274 2012-08-20  Roland McGrath  <roland@hack.frob.com>
26275
26276         * manual/syslog.texi (syslog; vsyslog, closelog):
26277         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
26278         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
26279
26280         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
26281         DSOCAPS to match condition on defining it.
26282
26283 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
26284
26285         * sysdeps/unix/sysv/linux/kernel-features.h
26286         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
26287         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
26288         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26289         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
26291         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26292         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
26294         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
26295         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
26296
26297         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
26298         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
26299
26300         * sysdeps/unix/sysv/linux/kernel-features.h
26301         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
26302         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
26303         unconditional.
26304         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26305         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
26306         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26307         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26308         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
26309         Make code unconditional.
26310         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26311         (__mmap64) [!__NR_mmap2]: Likewise.
26312         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
26313         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
26314         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26315         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
26316         [__NR_mmap2]: Make code unconditional.
26317         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
26318         (__mmap64) [!__NR_mmap2]: Likewise.
26319
26320 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
26321
26322         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
26323
26324 2012-08-18  Andreas Jaeger  <aj@suse.de>
26325
26326         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
26327
26328 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26329
26330         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
26331         * include/unistd.h (__have_sock_cloexec): Likewise.
26332         (__have_pipe2): Likewise.
26333         (__have_dup3): Likewise.
26334
26335 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
26336
26337         [BZ #9685]
26338         * include/unistd.h (__have_pipe2): Change define into an extern int.
26339         (__have_dup3): Likewise.
26340         * socket/have_sock_cloexec.c: Include fcntl.h.
26341         (__have_pipe2): New variable.
26342         (__have_dup3): Likewise.
26343
26344 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
26345
26346         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
26347
26348 2012-08-17  Marek Polacek  <polacek@redhat.com>
26349
26350         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
26351         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
26352
26353 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26354
26355         * configure.in: Add AC_SUBST for sysheaders.
26356         * configure: Regenerated.
26357         * config.make.in (sysheaders): New substituted variable.
26358
26359         * sysdeps/unix/mkfifo.c: Moved ...
26360         * sysdeps/posix/mkfifo.c: ... here.
26361         * sysdeps/unix/mkfifoat.c: Moved ...
26362         * sysdeps/posix/mkfifoat.c: ... here.
26363
26364         * sysdeps/unix/utime.c: Moved ...
26365         * sysdeps/posix/utime.c: ... here.
26366
26367         * sysdeps/unix/time.c: Moved ...
26368         * sysdeps/posix/time.c: ... here.
26369         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
26370         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
26371
26372         * sysdeps/unix/nice.c: Moved ...
26373         * sysdeps/posix/nice.c: ... here.
26374
26375         * sysdeps/unix/alarm.c: Moved ...
26376         * sysdeps/posix/alarm.c: ... here.
26377
26378         * intl/Makefile ($(codeset_mo)): Depend on the input file.
26379
26380 2012-08-17  Jeff Law <law@redhat.com>
26381
26382         * intl/Makefile (codeset_mo): New variable.
26383         ($(codeset_mo)): New target.
26384         (tst-codeset.out): Depend on that.  Remove explicit rule.
26385         (tst-gettext3.out, tst-gettext5.out): Likewise.
26386         (LOCPATH-ENV, tst-codeset-ENV): New variables.
26387         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
26388         * intl/tst-codeset.sh: Remove.
26389         * intl/tst-gettext3.sh: Likewise.
26390         * intl/tst-gettext5.sh: Likewise.
26391
26392 2012-08-17  Roland McGrath  <roland@hack.frob.com>
26393
26394         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
26395         * sysdeps/unix/syscalls.list: ... here.
26396
26397         * sysdeps/posix/getaddrinfo.c
26398         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
26399         (gaiconf_init, gaiconf_reload): Use them.
26400         [!_STATBUF_ST_NSEC]
26401         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
26402         Define using time_t rather than struct timespec.
26403
26404         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
26405         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
26406         Macros removed.
26407         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
26408         [!NO_THREADS].
26409         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
26410         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
26411         Likewise.
26412
26413         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
26414         __libc_cleanup_push argument.
26415
26416         * bits/param.h: New file.
26417         * misc/sys/param.h: New file.
26418         * include/sys/param.h: New file.
26419         * misc/Makefile (headers): Add bits/param.h.
26420         * sysdeps/generic/sys/param.h: File removed.
26421         * sysdeps/unix/sysv/linux/bits/param.h: New file.
26422         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
26423         * sysdeps/mach/hurd/bits/param.h: New file.
26424         * sysdeps/mach/hurd/sys/param.h: File removed.
26425
26426         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
26427         last change.
26428
26429         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
26430         [_IO_MTSAFE_IO].
26431         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
26432         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
26433         New macros.
26434
26435         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
26436         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
26437         rather than -D_IO_MTSAFE_IO conditionally.
26438         * stdio-common/Makefile (CPPFLAGS): Likewise.
26439         * wcsmbs/Makefile (CPPFLAGS): Likewise.
26440         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
26441         Use $(libio-mtsafe).
26442         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
26443         of -D_IO_MTSAFE_IO.
26444         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
26445         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
26446         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
26447         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
26448         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
26449         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
26450         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
26451         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
26452         (CFLAGS-fread_u_chk.c): Likewise.
26453         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
26454         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
26455         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
26456         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
26457         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
26458         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
26459         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
26460         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
26461         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
26462
26463         * libio/Makefile: Test [$(libc-reentrant) = yes]
26464         instead of [$(filter %REENTRANT, $(defines)) nonempty].
26465
26466         * Makeconfig
26467         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
26468         * sysdeps/pthread/configure: File removed.
26469         * sysdeps/pthread/Makeconfig: New file.
26470         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
26471         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
26472
26473 2012-08-16  Gary Benson  <gbenson@redhat.com>
26474
26475         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
26476         unmapping the first object in a namespace.
26477
26478 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26479
26480         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
26481         (__internal_setnetgrent): ... this.  Add internal_function to
26482         definition.  Add libc_hidden_def.
26483         (setnetgrent): Update caller.
26484         (internal_endnetgrent): Renamed to ...
26485         (__internal_endnetgrent): ... this.  Add internal_function to
26486         definition.  Add libc_hidden_def.
26487         (endnetgrent): Update caller.
26488         (internal_getnetgrent_r): Renamed to ...
26489         (__internal_getnetgrent_r): ... this.  Add internal_function to
26490         definition.  Add libc_hidden_def.
26491         (__getnetgrent_r): Update caller.
26492         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
26493
26494 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26495
26496         * stdlib/longlong.h: Update from GCC.
26497
26498 2012-08-16  Roland McGrath  <roland@hack.frob.com>
26499
26500         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
26501         on _QL, which is set by umul_ppmm but never used.
26502         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
26503         variables, which are set by GMP macros but never used.
26504         * stdio-common/_itowa.c (_itowa): Likewise.
26505         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
26506         * stdlib/mod_1.c (mpn_mod_1): Likewise.
26507
26508 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
26509
26510         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
26511         struct La_sh_regs is not constant.
26512         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
26513         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
26514         and struct La_sparc64_regs are not constant.
26515
26516 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
26517
26518         * sysdeps/unix/sysv/linux/kernel-features.h
26519         (__ASSUME_POSIX_TIMERS): Remove.
26520         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
26521         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26522         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
26523         Make code unconditional.
26524         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26525         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
26526         Make code unconditional.
26527         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26528         * sysdeps/unix/sysv/linux/clock_nanosleep.c
26529         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
26530         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26531         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
26532         Make code unconditional.
26533         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
26534         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
26535         (__libc_missing_posix_timers): Remove.
26536
26537 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26538
26539         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
26540         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
26541
26542         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
26543
26544         * elf/dl-sym.c: Include <stdlib.h>.
26545
26546         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
26547         constants, which avoids warnings in 32-bit builds.
26548
26549         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
26550         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
26551
26552         * misc/lseek.c: File moved to ...
26553         * io/lseek.c: ... here.
26554
26555         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
26556
26557         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
26558         shifting LEN more than 31 bits at once.
26559
26560 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
26561
26562         [BZ #14195]
26563         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
26564         segmentation fault for a case of two empty input strings.
26565         * string/test-strncasecmp.c (check1): Renamed to...
26566         (bz12205): ...this.
26567         (bz14195): Add new testcase for two empty input strings and N > 0.
26568         (test_main): Call new testcase, adapt for renamed function.
26569
26570 2012-08-15  Andreas Jaeger  <aj@suse.de>
26571
26572         [BZ #14090]
26573         * crypt/md5test2.c: New test, based on test supplied by Serge
26574         Belyshev <belyshev@depni.sinp.msu.ru>.
26575         * crypt/Makefile (xtests): Add md5test-giant..
26576         * crypt/Makefile ($(objpfx)md5test-giant): Add.
26577
26578 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
26579
26580         [BZ #14090]
26581         * crypt/md5.c (md5_process_block): Don't assume the buffer
26582         length is less than 2**32.
26583         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
26584         length is less than 2**64.
26585
26586 2012-08-15  Roland McGrath  <roland@hack.frob.com>
26587
26588         * string/str-two-way.h: Include <sys/param.h>.
26589         (MAX): Macro removed.
26590
26591         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
26592         Move #define and #undef of memmove to just before and after
26593         including <string.h>.
26594
26595         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
26596         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
26597         and after including <string.h>.  Move declarations of
26598         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
26599         to before #include "string/memmove.c".
26600
26601         * include/dirent.h: Declare __getdirentries.
26602
26603         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
26604         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
26605
26606 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
26607
26608         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
26609         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
26610         * sysdeps/i386/configure: Regenerated.
26611         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
26612         STABS_CURRENT_FILE, and STABS_FUN.
26613         (END): Remove call to STABS_FUN_END.
26614         (STABS_CURRENT_FILE1): Delete.
26615         (STABS_CURRENT_FILE): Likewise.
26616         (STABS_FUN): Likewise.
26617         (STABS_FUN_END): Likewise.
26618         (STABS_FUN2): Likewise.
26619         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
26620         * sysdeps/x86_64/configure: Regenerated.
26621
26622 2012-08-14  Roland McGrath  <roland@hack.frob.com>
26623
26624         * elf/dl-open.c: Include <atomic.h>.
26625         * elf/dl-lookup.c: Likewise.
26626
26627 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
26628
26629         * sysdeps/unix/sysv/linux/kernel-features.h
26630         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
26631         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
26632         unconditionally.
26633         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
26634         unconditionally.
26635         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
26636         condition on __ASSUME_CLONE_THREAD_FLAGS.
26637
26638 2012-08-14  Andreas Jaeger  <aj@suse.de>
26639
26640         * sysdeps/i386/fpu/libm-test-ulps: Update.
26641
26642 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
26643
26644         * include/atomic.h (atomic_exchange_and_add): Split into ...
26645         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
26646         New atomic macros.
26647
26648 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
26649
26650         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26651
26652 2012-08-13  Jeff Law <law@redhat.com>
26653
26654         * manual/stdio.texi (snprintf): Clarify handling of the trailing
26655         null byte in the output string.
26656
26657 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
26658
26659         * sysdeps/unix/sysv/linux/kernel-features.h
26660         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
26661         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
26662         (__ASSUME_ARG_MAX_STACK_BASED): Define.
26663         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
26664         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
26665         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
26666         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
26667
26668 2012-08-09  Jeff Law <law@redhat.com>
26669
26670         [BZ #13939]
26671         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
26672         When avoid_arena is set, don't retry in the that arena.  Pick the
26673         next one, whatever it might be.
26674         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
26675         (arena_lock): Pass in new parameter to arena_get2.
26676         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
26677         arena_get2.
26678         (__libc_malloc): Unify retrying after main arena failure with
26679         __libc_memalign version.
26680         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
26681
26682 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
26683
26684         [BZ #14166]
26685         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
26686         to __redirect_strstr.
26687         (__strstr_sse42): Use typeof __redirect_strstr.
26688         (__strstr_ia32): Likewise.
26689         (__libc_strstr): New prototype.
26690         (strstr): Renamed to ...
26691         (__libc_strstr): This.
26692         (strstr): New strong alias of __libc_strstr.
26693         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
26694         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
26695         __redirect_time.
26696         Include <time.h>.
26697         (__libc_time): New prototype.
26698         (time_ifunc): Replace time with __libc_time.
26699         (time): New strong alias and hidden definition of __libc_time.
26700         (__GI_time): Remove strong alias.
26701         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
26702         Include <stddef.h>.
26703         (memmove): Redefined to __redirect_memmove.
26704         (__memmove_sse2): Use typeof __redirect_memmove.
26705         (__memmove_ssse3): Likewise.
26706         (__memmove_ssse3_back): Likewise.
26707         (__libc_memmove): New prototype.
26708         (memmove): Renamed to ...
26709         (__libc_memmove): This.
26710         (memmove): New strong alias of __libc_memmove.
26711
26712 2012-08-08  Mark Salter  <msalter@redhat.com>
26713
26714         * elf/elf.h
26715         (R_MN10300_TLS_GD): Define.
26716         (R_MN10300_TLS_LD): Likewise.
26717         (R_MN10300_TLS_LDO): Likewise.
26718         (R_MN10300_TLS_GOTIE): Likewise.
26719         (R_MN10300_TLS_IE): Likewise.
26720         (R_MN10300_TLS_LE): Likewise.
26721         (R_MN10300_TLS_DTPMOD): Likewise.
26722         (R_MN10300_TLS_DTPOFF): Likewise.
26723         (R_MN10300_TLS_TPOFF): Likewise.
26724         (R_MN10300_SYM_DIFF): Likewise.
26725         (R_MN10300_ALIGN): Likewise.
26726         (R_MN10300_NUM): Update.
26727
26728 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
26729
26730         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
26731         Remove.
26732
26733 2012-08-08  Roland McGrath  <roland@hack.frob.com>
26734
26735         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
26736
26737         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
26738         sysdeps/unix -> sysdeps/posix move.
26739         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
26740
26741 2012-08-07      Allan McRae     <allan@archlinux.org>
26742
26743         [BZ #14303]
26744         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
26745         (SUNOS_CPP): Likewise.
26746         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
26747         not found.
26748         (open_input): Call CPP using execvp.
26749
26750 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26751
26752         * sysdeps/unix/sysv/linux/kernel-features.h
26753         (__ASSUME_PROT_GROWSUPDOWN): Remove.
26754         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26755         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26756         (__ASSUME_WAITID_SYSCALL): Likewise.
26757         * sysdeps/unix/sysv/linux/dl-execstack.c
26758         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
26759         code unconditional.
26760         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
26761         conditional code.
26762         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
26763         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
26764         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
26765         code.
26766         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
26767         unconditional.
26768         [__ASSUME_WAITID_SYSCALL]: Likewise.
26769         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
26770
26771 2012-08-07  Roland McGrath  <roland@hack.frob.com>
26772
26773         * sysdeps/unix/closedir.c: Renamed to ...
26774         * sysdeps/posix/closedir.c: ... here.
26775         * sysdeps/unix/dirfd.c: Renamed to ...
26776         * sysdeps/posix/dirfd.c: ... here.
26777         * sysdeps/unix/dirstream.h: Renamed to ...
26778         * sysdeps/posix/dirstream.h: ... here.
26779         * sysdeps/unix/fdopendir.c: Renamed to ...
26780         * sysdeps/posix/fdopendir.c: ... here.
26781         * sysdeps/unix/opendir.c: Renamed to ...
26782         * sysdeps/posix/opendir.c: ... here.
26783         * sysdeps/unix/readdir.c: Renamed to ...
26784         * sysdeps/posix/readdir.c: ... here.
26785         * sysdeps/unix/readdir_r.c: Renamed to ...
26786         * sysdeps/posix/readdir_r.c: ... here.
26787         * sysdeps/unix/rewinddir.c: Renamed to ...
26788         * sysdeps/posix/rewinddir.c: ... here.
26789         * sysdeps/unix/seekdir.c: Renamed to ...
26790         * sysdeps/posix/seekdir.c: ... here.
26791         * sysdeps/unix/telldir.c: Renamed to ...
26792         * sysdeps/posix/telldir.c: ... here.
26793         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
26794         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
26795         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
26796         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
26797
26798         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
26799         * bits/fcntl.h: ... here.
26800
26801         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
26802         not 0.
26803         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
26804         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
26805         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
26806         (struct flock): Move l_start, l_len to the beginning.
26807         Use __pid_t for l_pid.
26808         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
26809         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
26810         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
26811         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
26812         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
26813         [__USE_LARGEFILE64] (struct flock64): New type.
26814         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
26815
26816         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
26817         * bits/dirent.h: ... here.
26818
26819         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
26820         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
26821
26822 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
26823
26824         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26825         Change from 2.6.0 to 2.6.16.
26826         * sysdeps/unix/sysv/linux/configure: Regenerated.
26827         * sysdeps/unix/sysv/linux/kernel-features.h
26828         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
26829         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
26830         version.
26831         (__ASSUME_UTIMES): Likewise.
26832         (__ASSUME_CLONE_STOPPED): Remove.
26833         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
26834         architectures, not kernel version.
26835         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
26836         (__ASSUME_NO_CLONE_DETACHED): Likewise.
26837         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
26838         (__ASSUME_WAITID_SYSCALL): Likewise.
26839         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
26840         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
26841         * README: State 2.6.16 as minimum Linux kernel version.  Do not
26842         refer to older versions.
26843
26844 2012-08-06  Roland McGrath  <roland@hack.frob.com>
26845
26846         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
26847         Define alphasort64 as an alias.
26848         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
26849         Define versionsort64 as an alias.
26850         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
26851         Define scandir64 as an alias.
26852         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
26853         Define scandirat64 as an alias.
26854         * dirent/alphasort64.c (alphasort64):
26855         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
26856         * dirent/versionsort64.c: Likewise.
26857         * dirent/scandir64.c: Likewise.
26858         * dirent/scandirat64.c: Likewise.
26859         * sysdeps/wordsize-64/alphasort.c: File removed.
26860         * sysdeps/wordsize-64/alphasort64.c: File removed.
26861         * sysdeps/wordsize-64/scandir.c: File removed.
26862         * sysdeps/wordsize-64/scandir64.c: File removed.
26863         * sysdeps/wordsize-64/scandirat.c: File removed.
26864         * sysdeps/wordsize-64/scandirat64.c: File removed.
26865         * sysdeps/wordsize-64/versionsort.c: File removed.
26866         * sysdeps/wordsize-64/versionsort64.c: File removed.
26867         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
26868         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
26869         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
26870         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
26871         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
26872         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
26873         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
26874         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
26875
26876         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
26877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26878         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
26879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26880         [defined __arch64__ || defined __sparcv9]
26881         (__INO_T_MATCHES_INO64_T): New macro.
26882         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26883         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
26884         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
26885         * sysdeps/unix/sysv/linux/bits/dirent.h
26886         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
26887         (_DIRENT_MATCHES_DIRENT64): New macro.
26888
26889         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
26890         Define lockf64 as an alias.
26891         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
26892         Define fseeko64 as an alias.
26893         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
26894         Define ftello64 as an alias.
26895         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
26896         Define _IO_fgetpos64 and fgetpos64 as aliases.
26897         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
26898         Define _IO_fsetpos64 and fsetpos64 as aliases.
26899         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
26900         Conditionalize body on this.
26901         * libio/fseeko64.c: Likewise.
26902         * libio/ftello64.c: Likewise.
26903         * libio/iofgetpos64.c: Likewise.
26904         * libio/iofsetpos64.c: Likewise.
26905         * sysdeps/wordsize-64/lockf.c: File removed.
26906         * sysdeps/wordsize-64/lockf64.c: File removed.
26907         * sysdeps/wordsize-64/fseeko.c: File removed.
26908         * sysdeps/wordsize-64/fseeko64.c: File removed.
26909         * sysdeps/wordsize-64/ftello.c: File removed.
26910         * sysdeps/wordsize-64/ftello64.c: File removed.
26911         * sysdeps/wordsize-64/iofgetpos.c: File removed.
26912         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
26913         * sysdeps/wordsize-64/iofsetpos.c: File removed.
26914         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
26915         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
26916         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
26917         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
26918         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
26919         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
26920         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
26921         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
26922         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
26923         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
26924         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
26925
26926         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26927         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
26928         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
26929         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
26930         [defined __arch64__ || defined __sparcv9]
26931         (__OFF_T_MATCHES_OFF64_T): New macro.
26932         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
26933         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
26934         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
26935         (__OFF_T_MATCHES_OFF64_T): New macro.
26936
26937 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26938
26939         * stdlib/secure-getenv.c (__secure_getenv): Replace
26940         GLIBC_2_16 with GLIBC_2_17.
26941
26942 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
26943
26944         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
26945         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
26946
26947 2012-08-03  David S. Miller  <davem@davemloft.net>
26948
26949         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26950
26951 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26952
26953         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
26954         Remove.
26955         (__ASSUME_CORRECT_SI_PID): Likewise.
26956         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
26957         (__ASSUME_TMPFS_NAME): Likewise.
26958         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
26959         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
26960         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
26961         (HAVE_AUX_SECURE): Make definition unconditional.
26962         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
26963         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
26964
26965 2012-08-03  Roland McGrath  <roland@hack.frob.com>
26966
26967         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
26968         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
26969         * sysdeps/mach/hurd/eloop-threshold.h: New file.
26970         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
26971         __eloop_threshold instead of SYMLOOP_MAX.
26972
26973         * sysdeps/generic/eloop-threshold.h: New file.
26974         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
26975         of MAXSYMLINKS.
26976         * elf/chroot_canon.c (chroot_canon): Likewise.
26977
26978 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
26979
26980         [BZ #13717]
26981         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
26982         Change to 2.6.0 everywhere.
26983         * sysdeps/unix/sysv/linux/configure: Regenerated.
26984         * sysdeps/unix/sysv/linux/kernel-features.h
26985         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
26986         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
26987         kernel versions.
26988         (__ASSUME_POSIX_TIMERS): Define unconditionally.
26989         (__ASSUME_FUTEX_REQUEUE): Remove.
26990         (__ASSUME_STATFS64): Define unconditionally.
26991         (__ASSUME_AT_SECURE): Likewise.
26992         (__ASSUME_CORRECT_SI_PID): Likewise.
26993         (__ASSUME_TGKILL): Define without depending on kernel version for
26994         i386.
26995         (__ASSUME_UTIMES): Likewise.
26996         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
26997         kernel version.
26998         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
26999         (__ASSUME_TMPFS_NAME): Likewise.
27000         * README: Update reference to Linux kernel versions.
27001
27002 2012-08-02  Marek Polacek  <polacek@redhat.com>
27003
27004         [BZ# 14150]
27005         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
27006         libc_cv_asm_type_prefix with %.
27007         * configure: Regenerated.
27008         * include/libc-symbols.h: Remove comment about
27009         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27010         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
27011         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
27012         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
27013         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
27014         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
27015         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
27016         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
27017         * elf/tst-unique2mod1.c: Likewise.
27018         * elf/tst-unique1mod2.c: Likewise.
27019         * elf/tst-unique1mod1.c: Likewise.
27020         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
27021         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
27022         Replace ASM_TYPE_DIRECTIVE with .type.
27023         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27024         * sysdeps/i386/sysdep.h: Likewise.
27025         * sysdeps/x86_64/sysdep.h: Likewise.
27026         * sysdeps/sh/sysdep.h: Likewise.
27027         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
27028         Do not define ASM_TYPE_DIRECTIVE.
27029         * sysdeps/powerpc/sysdep.h: Likewise.
27030         * sysdeps/powerpc/powerpc32/sysdep.h:
27031         Replace ASM_TYPE_DIRECTIVE with .type.
27032         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27033         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27034         * sysdeps/i386/fpu/e_powf.S: Likewise.
27035         * sysdeps/i386/fpu/e_expl.S: Likewise.
27036         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
27037         * sysdeps/i386/fpu/e_acosh.S: Likewise.
27038         * sysdeps/i386/fpu/e_pow.S: Likewise.
27039         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
27040         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
27041         * sysdeps/i386/fpu/s_expm1.S: Likewise.
27042         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
27043         * sysdeps/i386/fpu/e_log2.S: Likewise.
27044         * sysdeps/i386/fpu/e_log2l.S: Likewise.
27045         * sysdeps/i386/fpu/e_scalb.S: Likewise.
27046         * sysdeps/i386/fpu/e_powl.S: Likewise.
27047         * sysdeps/i386/fpu/e_log10f.S: Likewise.
27048         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
27049         * sysdeps/i386/fpu/e_logl.S: Likewise.
27050         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
27051         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
27052         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
27053         * sysdeps/i386/fpu/e_log2f.S: Likewise.
27054         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
27055         * sysdeps/i386/fpu/e_log.S: Likewise.
27056         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
27057         * sysdeps/i386/fpu/e_logf.S: Likewise.
27058         * sysdeps/i386/fpu/e_log10l.S: Likewise.
27059         * sysdeps/i386/fpu/e_atanh.S: Likewise.
27060         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
27061         * sysdeps/i386/fpu/e_log10.S: Likewise.
27062         * sysdeps/i386/fpu/s_frexp.S: Likewise.
27063         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
27064         * sysdeps/i386/fpu/s_asinh.S: Likewise.
27065         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
27066         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
27067         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
27068         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
27069         * sysdeps/i386/i686/strtok.S: Likewise.
27070         * sysdeps/i386/i386-mcount.S: Likewise.
27071         * sysdeps/i386/strtok.S: Likewise.
27072         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
27073         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
27074         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
27075         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
27076         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27077         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
27078         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
27079         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
27080         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
27081         * sysdeps/x86_64/_mcount.S: Likewise.
27082         * sysdeps/x86_64/strtok.S: Likewise.
27083         * sysdeps/sh/_mcount.S: Likewise.
27084
27085 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27086
27087         * libio/iofopen.c: Include <fcntl.h>.
27088         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
27089         (_IO_fopen64, fopen64): Define as aliases.
27090         * libio/iofopen64.c: Include <fcntl.h>.
27091         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
27092         Conditionalize body on this.
27093         * sysdeps/wordsize-64/iofopen.c: File removed.
27094         * sysdeps/wordsize-64/iofopen64.c: File removed.
27095
27096 2012-08-01  Marek Polacek  <polacek@redhat.com>
27097
27098         * libc/Makeconfig: Use elf in place of binfmt-subdir.
27099         Use dlfcn directly instead of a variable.
27100         (binfmt-subdir): Do not define.
27101         (dlfcn): Likewise.
27102
27103 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
27104
27105         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
27106         Remove all definitions.
27107         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
27108         <kernel-features.h>.
27109         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27110         (miss_F_GETOWN_EX): Remove all definitions.
27111         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
27112         macro definition.
27113         [!__ASSUME_FCNTL64]: Remove conditional code.
27114         [__ASSUME_FCNTL64]: Make code unconditional.
27115         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
27116         <kernel-features.h>.
27117         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
27118         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
27119         (lockf64) [__NR_fcntl64]: Make code unconditional.
27120         (lockf64) [__ASSUME_FCNTL64]: Likewise.
27121
27122         * sysdeps/unix/sysv/linux/kernel-features.h
27123         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
27124         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
27125         Make code unconditional.
27126         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27127         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27128         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
27129         [__NR_vfork]: Make code unconditional.
27130         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27131         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27132         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
27133         [__NR_vfork]: Make code unconditional.
27134         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
27135         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
27136
27137 2012-08-01  Roland McGrath  <roland@hack.frob.com>
27138
27139         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
27140         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
27141
27142         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27143         Define mkstemp64 as an alias.
27144         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27145         Define mkstemps64 as an alias.
27146         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27147         Define mkostemp64 as an alias.
27148         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
27149         Define mkostemps64 as an alias.
27150         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
27151         Conditionalize body on this.
27152         * misc/mkostemp64.c: Likewise.
27153         * misc/mkostemps64.c: Likewise.
27154         * misc/mkstemps64.c: Likewise.
27155         * sysdeps/wordsize-64/mkstemp64.c: File removed.
27156         * sysdeps/wordsize-64/mkostemp64.c: File removed.
27157         * sysdeps/wordsize-64/mkostemp.c: File removed.
27158         * sysdeps/wordsize-64/mkstemp.c: File removed.
27159         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
27160         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
27161         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
27162         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
27163
27164         [BZ #14138]
27165         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
27166         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
27167         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
27168         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
27169
27170         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
27171         compat_symbol macros from <shlib-compat.h> rather than the underlying
27172         default_symbol_version and symbol_version macros, so that DEFAULT
27173         lines in shlib-versions are respected.
27174         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
27175
27176 2012-08-01  Florian Weimer  <fweimer@redhat.com>
27177
27178         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
27179         Declare with warn_unused_result.
27180         (setgid, setregid, setegid, setresgid): Likewise.
27181         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
27182         Likewise.
27183         * WUR-REPORT: Remove set*id functions.
27184
27185 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
27186
27187         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
27188
27189 2012-07-31  Roland McGrath  <roland@hack.frob.com>
27190
27191         [BZ #10191]
27192         * include/sys/socket.h (__libc_accept, __libc_accept4):
27193         Add attribute_hidden.
27194         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
27195
27196         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
27197         use of PTR_MANGLE.
27198         * inet/getnetgrent_r.c (setup): Likewise.
27199
27200         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
27201
27202 2012-07-31  David S. Miller  <davem@davemloft.net>
27203
27204         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27205
27206 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
27207
27208         [BZ #13629]
27209         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
27210         value between 1.0 and 2.0 and smaller part has absolute value less
27211         than 1.0.
27212         * math/s_clog10.c (__clog10): Likewise.
27213         * math/s_clog10f.c (__clog10f): Likewise.
27214         * math/s_clog10l.c (__clog10l): Likewise.
27215         * math/s_clogf.c (__clogf): Likewise.
27216         * math/s_clogl.c (__clogl): Likewise.
27217         * math/libm-test.inc (clog_test): Add more tests.
27218         (clog10_test): Likewise.
27219         * sysdeps/i386/fpu/libm-test-ulps: Update.
27220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27221
27222 2012-07-31  Florian Weimer  <fweimer@redhat.com>
27223
27224         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
27225         Exit with zero in case no suitable GID is found, and write a
27226         message to standard error.
27227
27228 2012-07-30  Roland McGrath  <roland@hack.frob.com>
27229
27230         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
27231         rather than to 1.
27232         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
27233         (MAXPATHLEN): Removed.
27234         (NOGROUP, NODEV): New macros.
27235         (setbit, clrbit, isset, isclr): New macros.
27236         (howmany, roundup, powerof2): New macros.
27237         (DEV_BSIZE): New macro.
27238
27239         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
27240         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
27241
27242         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
27243         definition on [!__NO_LONG_DOUBLE_MATH].
27244
27245         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
27246         PTR_MANGLE and PTR_DEMANGLE.
27247
27248         * socket/accept4.c (accept4): Rename to __libc_accept4.
27249         Define accept4 as a weak alias.
27250
27251         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
27252         on [_DIRENT_HAVE_D_TYPE].
27253         * io/ftw.c (ftw_dir): Likewise.
27254
27255         * io/xmknod.c (__xmknod): Don't check PATH for being null.
27256
27257         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
27258
27259         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
27260         Use the BSD numbers rather than the arbitrary ones we had.
27261         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
27262         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
27263         (SIGXCPU, SIGXFSZ): New macros.
27264         (_NSIG): Now 32.
27265
27266         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
27267         initializer on [_LIBC_REENTRANT].
27268
27269         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
27270         definitions inside [_POSIX_MAPPED_FILES].
27271
27272         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
27273
27274         * dirent/opendir.c: Include <fcntl.h>.
27275
27276         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
27277         (__libc_getspecific): Likewise.
27278         (__libc_key_create): Likewise.
27279
27280         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
27281         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
27282         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
27283         (tmpfile64): Define as alias.
27284         * sysdeps/wordsize-64/tmpfile.c: File removed.
27285         * sysdeps/wordsize-64/tmpfile64.c: File removed.
27286         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
27287         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
27288
27289         * stdio-common/vfscanf.c: Include <stdbool.h>.
27290         * nss/makedb.c: Likewise.
27291         * stdio-common/_i18n_number.h: Likewise.
27292         * argp/argp-help.c: Likewise.
27293         * posix/wordexp.c: Likewise.
27294         * sysdeps/posix/spawni.c: Likewise.
27295         * nss/nss_files/files-initgroups.c: Likewise.
27296         * stdio-common/reg-modifier.c: Include <stdlib.h>.
27297         * nss/nss_files/files-initgroups.c: Likewise.
27298         * nss/nss_db/db-netgrp.c: Likewise.
27299         * nss/nss_db/db-initgroups.c: Likewise.
27300         * io/fchmodat.c: Include <sys/stat.h>.
27301
27302         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
27303         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
27304
27305         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
27306         [HAVE_MMAP].
27307
27308         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
27309         Add multiple inclusion protection.
27310
27311 2012-07-27  David S. Miller  <davem@davemloft.net>
27312
27313         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27314
27315 2012-07-27  Gary Benson  <gbenson@redhat.com>
27316
27317         [BZ #14298]
27318         * elf/rtld.c: Include <stap-probe.h>.
27319         (dl_main): Added static probes "init_start" and "init_complete".
27320         * elf/dl-load.c: Include <stap-probe.h>.
27321         (lose): Take new parameter "nsid".
27322         Added static probe "map_failed".
27323         (_dl_map_object_from_fd): Pass namespace id to lose.
27324         Added static probe "map_start".
27325         (open_verify): Pass namespace id to lose.
27326         * elf/dl-open.c: Include <stap-probe.h>.
27327         (dl_open_worker) Added static probes "map_complete", "reloc_start"
27328         and "reloc_complete".
27329         * elf/dl-close.c: Include <stap-probe.h>.
27330         (_dl_close_worker): Added static probes "unmap_start" and
27331         "unmap_complete".
27332         * elf/rtld-debugger-interface.txt: New file documenting the above.
27333
27334 2012-07-26  Roland McGrath  <roland@hack.frob.com>
27335
27336         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
27337         rather than a string variable.
27338         * sunrpc/rpc_main.c (h_output): Likewise.
27339         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
27340
27341 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
27342
27343         * inet/check_native.c: New file.
27344
27345 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
27346
27347         [BZ #13629]
27348         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
27349         if larger part has absolute value 1.0.
27350         * math/s_clog10.c (__clog10): Likewise.
27351         * math/s_clog10f.c (__clog10f): Likewise.
27352         * math/s_clog10l.c (__clog10l): Likewise.
27353         * math/s_clogf.c (__clogf): Likewise.
27354         * math/s_clogl.c (__clogl): Likewise.
27355         * math/libm-test.inc (clog_test): Add more tests.
27356         (clog10_test): Likewise.
27357         * sysdeps/i386/fpu/libm-test-ulps: Update.
27358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27359
27360         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
27361         (pltexit): Likewise.
27362         (La_regs): Likewise.
27363         (La_retval): Likewise.
27364         (int_retval): Likewise.
27365         Update #error for removed macros to refer only to definitions in
27366         tst-audit.h.
27367         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
27368         macro.
27369         (pltexit): Likewise.
27370         (La_regs): Likewise.
27371         (La_retval): Likewise.
27372         (int_retval): Likewise.
27373         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
27374         macro.
27375         (pltexit): Likewise.
27376         (La_regs): Likewise.
27377         (La_retval): Likewise.
27378         (int_retval): Likewise.
27379         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
27380         macro.
27381         (pltexit): Likewise.
27382         (La_regs): Likewise.
27383         (La_retval): Likewise.
27384         (int_retval): Likewise.
27385         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
27386         macro.
27387         (pltexit): Likewise.
27388         (La_regs): Likewise.
27389         (La_retval): Likewise.
27390         (int_retval): Likewise.
27391         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
27392         macro.
27393         (pltexit): Likewise.
27394         (La_regs): Likewise.
27395         (La_retval): Likewise.
27396         (int_retval): Likewise.
27397         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
27398         macro.
27399         (pltexit): Likewise.
27400         (La_regs): Likewise.
27401         (La_retval): Likewise.
27402         (int_retval): Likewise.
27403         * sysdeps/generic/tst-audit.h: Update comment to refer only to
27404         macro definitions in tst-audit.h.
27405         * sysdeps/i386/tst-audit.h: New file.
27406         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
27407         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
27408         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
27409         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
27410         * sysdeps/sh/tst-audit.h: Likewise.
27411         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
27412         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
27413         * sysdeps/x86_64/tst-audit.h: Likewise.
27414
27415 2012-07-26  Andreas Jaeger  <aj@suse.de>
27416
27417         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
27418         ptrace.
27419
27420         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
27421         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
27422         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
27423         PTRACE_O_MASK.
27424         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
27425         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
27426         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
27427
27428         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
27429         value.
27430
27431         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
27432         _sigsys.
27433         (si_call_addr, si_syscall, si_arch): Define new macro.
27434         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
27435         _sigsys.
27436         (si_call_addr, si_syscall, si_arch): Define new marcro.
27437         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
27438         _sigsys.
27439         (si_call_addr, si_syscall, si_arch): Define new macro.
27440         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
27441         _sigsys.
27442         (si_call_addr, si_syscall, si_arch): Define new macro.
27443
27444 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27445
27446         [BZ #13717]
27447         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27448         Change to 2.4.21 where previously 2.4.1.
27449         * sysdeps/unix/sysv/linux/configure: Regenerated.
27450         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
27451         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
27452         Linux kernel version.
27453         (__ASSUME_STD_AUXV): Remove.
27454         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
27455         kernel version.
27456         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
27457         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
27458         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
27459         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
27460         (__ASSUME_NETLINK_SUPPORT): Likewise.
27461         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
27462         (__no_netlink_support): Remove conditional definition.
27463         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
27464         Remove.
27465         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27466         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
27467         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
27468         (if_nameindex_ioctl): Remove.
27469         (if_nameindex_netlink): Do not handle __no_netlink_support.
27470         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27471         code.
27472         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
27473         Remove conditional code.
27474         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
27475         code.
27476         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
27477         unconditional.
27478         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
27479         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
27480         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
27481         Remove.
27482         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
27483         [!__ASSUME_STD_AUXV]: Remove conditional code.
27484         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
27485         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
27486         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
27487         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
27488         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
27489         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27490         code.
27491         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27492         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
27493         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
27494         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27495         conditional code.
27496         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
27497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
27498         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
27499         code.
27500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
27501         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
27502         conditional code.
27503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
27504         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27505         code unconditional.
27506         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27507         conditional code.
27508         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27509         unconditional.
27510         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27511         conditional code.
27512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
27513         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27514         unconditional.
27515         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27516         conditional code.
27517         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
27518         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27519         code unconditional.
27520         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27521         conditional code.
27522         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27523         unconditional.
27524         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27525         conditional code.
27526         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
27527         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
27528         code unconditional.
27529         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27530         conditional code.
27531         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
27532         unconditional.
27533         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
27534         conditional code.
27535
27536 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
27537
27538         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
27539         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
27540         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
27541         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
27542         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
27543         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
27544         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
27545         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
27546         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
27547         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27548         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
27549         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
27550         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
27551         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
27552         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
27553         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
27554         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
27555         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
27556         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
27557         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
27558         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
27559         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
27560         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
27561
27562 2012-07-25  Florian Weimer  <fweimer@redhat.com>
27563
27564         * Versions.def: Add GLIBC_2.17.
27565         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
27566         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
27567         Introduce __libc_secure_getenv.
27568         * stdlib/Versions (2.17): Add secure_getenv
27569         (GLIBC_PRIVATE): Add __libc_secure_getenv.
27570         * stdlib/secure-getenv.c: Rename __secure_getenv to
27571         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
27572         symbol __secure_getenv for GLIBC_2.0.
27573         * stdlib/tst-secure-getenv.c: New.
27574         * stdlib/Makefile (tests): Add testcase.
27575         * manual/startup.texi (Environment Access): Document
27576         secure_getenv.
27577         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
27578         __libc_secure_getenv.
27579         * inet/ruserpass.c (ruserpass): Likewise.
27580         * malloc/mtrace.c (mtrace): Likewise.
27581         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
27582         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
27583         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
27584         * sysdeps/posix/tempname.c: Likewise.  Evaluate
27585         HAVE_SECURE_GETENV.
27586         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
27587         __secure_getenv to __libc_secure_getenv.
27588         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
27589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
27590         Likewise.
27591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
27592         Likewise.
27593         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
27594         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
27595         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
27596         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
27597         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
27598         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
27599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
27600
27601 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
27602
27603         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
27604         (struct La_i86_retval): Likewise.
27605         (struct La_x86_64_regs): Likewise.
27606         (struct La_x86_64_retval): Likewise.
27607         (struct La_x32_regs): Likewise.
27608         (struct La_x32_retval): Likewise.
27609         (struct La_ppc32_regs): Likewise.
27610         (struct La_ppc32_retval): Likewise.
27611         (struct La_ppc64_regs): Likewise.
27612         (struct La_ppc64_retval): Likewise.
27613         (struct La_sh_regs): Likewise.
27614         (struct La_sh_retval): Likewise.
27615         (struct La_s390_32_regs): Likewise.
27616         (struct La_s390_32_retval): Likewise.
27617         (struct La_s390_64_regs): Likewise.
27618         (struct La_s390_64_retval): Likewise.
27619         (struct La_sparc32_regs): Likewise.
27620         (struct La_sparc32_retval): Likewise.
27621         (struct La_sparc64_regs): Likewise.
27622         (struct La_sparc64_retval): Likewise.
27623         (struct audit_ifaces): Remove architecture-specific pltenter and
27624         pltexit members.
27625         * sysdeps/i386/ldsodefs.h: New file.
27626         * sysdeps/powerpc/ldsodefs.h: Likewise.
27627         * sysdeps/s390/ldsodefs.h: Likewise.
27628         * sysdeps/sh/ldsodefs.h: Likewise.
27629         * sysdeps/sparc/ldsodefs.h: Likewise.
27630         * sysdeps/x86_64/ldsodefs.h: Likewise.
27631
27632 2012-07-25  Marek Polacek  <polacek@redhat.com>
27633
27634         [BZ #6808]
27635         * math/libm-test.inc (yn_test): Add another test.
27636         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
27637         to ERANGE when the result is +-Inf.
27638         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
27639         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
27640         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
27641         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
27642
27643 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
27644
27645         * conform/data/time.h-data (NULL): Use macro-constant.  Require
27646         equal to 0.
27647         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
27648         clock_t.
27649         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
27650
27651 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
27652
27653         * configure.in <sysdeps resolving>: Correct printing
27654         Implies_before.
27655         * configure: Regenerate.
27656
27657 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
27658
27659         * math/w_ilogb.c: Include <limits.h>.
27660         * math/w_ilogbl.c: Likewise.
27661
27662 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27663
27664         * manual/lang.texi (__va_copy): Document primarily as ISO C99
27665         va_copy.  Document allowing for unavailable va_copy only as
27666         pre-C99 compatibility.
27667         * manual/string.texi (Copying and Concatenation): Use va_copy
27668         instead of __va_copy in concat example.
27669
27670 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
27671
27672         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
27673         (__sendto): Use create_address_port.  Initialize APORT and deallocate
27674         it if not null.
27675
27676         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
27677         with O_NOLINK passed to __file_name_lookup.
27678
27679         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
27680         with O_NOLINK passed to __file_name_lookup.
27681
27682         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
27683         negative N or less than NGIDS.
27684
27685         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
27686         type to string_t.  Set ERANGE as errno and return it if NAME is not big
27687         enough.  Use memcpy instead of strncpy.
27688
27689 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
27690
27691         * elf/Makefile (check-data): Remove.
27692         (localplt.data): New vpath directive.
27693         ($(objpfx)check-localplt.out): Use localplt.data from vpath
27694         instead of $(check-data).
27695         * scripts/data/localplt-generic.data: Move to ...
27696         * sysdeps/generic/localplt.data: ... here.
27697         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
27698         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
27699         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
27700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
27701         ... here.
27702         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
27703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
27704         ... here.
27705         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
27706         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
27707         ... here.
27708         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
27709         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
27710         ... here.
27711         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
27712         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
27713         ... here.
27714         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
27715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
27716         ... here.
27717
27718 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27719
27720         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
27721         PPC32 and PPC64 files.
27722         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
27723         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
27724
27725 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27726
27727         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
27728         __makecontext_ret to ...
27729         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
27730         ... here and call exit if uc_link is NULL.  New file.
27731         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
27732         __makecontext_ret.S.
27733         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
27734         __makecontext_ret to ...
27735         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
27736         ... here and call exit if uc_link is NULL.  New file.
27737         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
27738         __makecontext_ret.S.
27739
27740 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27741
27742         * elf/elf.h (R_390_IRELATIVE): New definition.
27743         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
27744         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
27745         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
27746         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
27747         (elf_machine_lazy_rel): Likewise.
27748         * sysdeps/s390/dl-irel.h: New file.
27749         * sysdeps/s390/s390-64/memcpy.S: New asm code.
27750         * sysdeps/s390/s390-64/memset.S: New asm code.
27751         * sysdeps/s390/s390-64/memcmp.S: New asm code.
27752         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
27753         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
27754         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
27755         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
27756         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
27757         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
27758         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
27759         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
27760         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
27761         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
27762         * sysdeps/s390/s390-32/memcpy.S: New asm code.
27763         * sysdeps/s390/s390-32/memset.S: New asm code.
27764         * sysdeps/s390/s390-32/memcmp.S: New asm code.
27765
27766 2012-07-17  Marek Polacek  <polacek@redhat.com>
27767
27768         [BZ #14349]
27769         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
27770         * sysdeps/s390/s390-64/configure.in: Likewise.
27771         * sysdeps/sparc/configure.in: Likewise.
27772         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
27773         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
27774         * sysdeps/i386/configure.in: Likewise.
27775         * sysdeps/x86_64/configure.in: Likewise.
27776         * sysdeps/sh/configure.in: Likewise.
27777         * sysdeps/s390/s390-32/configure: Regenerated.
27778         * sysdeps/s390/s390-64/configure: Likewise.
27779         * sysdeps/x86_64/configure: Likewise.
27780         * sysdeps/sh/configure: Likewise.
27781         * sysdeps/powerpc/powerpc64/configure: Likewise.
27782         * sysdeps/powerpc/powerpc32/configure: Likewise.
27783         * sysdeps/sparc/configure: Likwise.
27784         * sysdeps/i386/configure: Likewise.
27785
27786         * elf/dl-open.c: Comment fixes.
27787
27788 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
27789
27790         * Makefile [CXX] (check-data): Remove.
27791         [CXX] (c++-types.data): New vpath directive.
27792         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
27793         vpath.  Do not allow for C++ type data being missing.
27794         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
27795         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
27796         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
27797         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
27798         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
27799         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
27800         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
27801         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
27802         ... here.
27803         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
27804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
27805         ... here.
27806         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
27807         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
27808         ... here.
27809         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
27810         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
27811         ... here.
27812         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
27813         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
27814         ... here.
27815         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
27816         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
27817         ... here.
27818         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
27819         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
27820         ... here.
27821         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
27822         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
27823
27824         * elf/tls-macros.h (TLS_LE): Move architecture-specific
27825         definitions to architecture-specific files.
27826         (TLS_IE): Likewise.
27827         (TLS_LD): Likewise.
27828         (TLS_GD): Likewise.
27829         * sysdeps/i386/tls-macros.h: New file.
27830         * sysdeps/powerpc/tls-macros.h: Likewise.
27831         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
27832         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
27833         * sysdeps/sh/tls-macros.h: Likewise.
27834         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
27835         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
27836         * sysdeps/x86_64/tls-macros.h: Likewise.
27837
27838 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27839
27840         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
27841         zero value for regular exit case.
27842
27843         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
27844         (__start_context): Preserve zero value for regular exit case.
27845
27846 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
27847             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
27848
27849         * manual/setjmp.texi (setcontext): Clarify normal process
27850         termination when uc_link is the null pointer.
27851         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
27852         exit call.
27853
27854 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
27855
27856         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
27857         preprocessor.  Test for each exception mask separately.
27858
27859 2012-07-16  Andreas Jaeger  <aj@suse.de>
27860
27861         * po/ru.po: Update from translation team.
27862
27863 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
27864
27865         * conform/data/string.h-data (NULL): Use macro-constant.  Require
27866         equal to 0.
27867         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
27868         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
27869         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
27870         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
27871         [ISO || ISO99 || ISO11] (*_t): Do not allow.
27872
27873 2012-07-13  Andreas Jaeger  <aj@suse.de>
27874
27875         * po/fr.po: Update from translation team.
27876
27877 2012-07-12  Marek Polacek  <polacek@redhat.com>
27878
27879         [BZ #14173]
27880         * math/libm-test.inc (yn_test): Add test for BZ #14173.
27881         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
27882         loop condition.
27883
27884 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
27885
27886         [BZ #13717]
27887         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
27888         Change to 2.4.1 where previously 2.4.0.
27889         * sysdeps/unix/sysv/linux/configure: Regenerated.
27890         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
27891         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
27892         version.
27893         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
27894         (__ASSUME_AT_CLKTCK): Remove.
27895         (__ASSUME_AT_PAGESIZE): Likewise.
27896         (__ASSUME_AT_XID): Likewise.
27897         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
27898         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
27899         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
27900         unconditionally.
27901         (HAVE_AUX_PAGESIZE): Likewise.
27902         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
27903         [__ASSUME_AT_CLKTCK]: Make code unconditional.
27904         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
27905
27906 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
27907
27908         [BZ #14307]
27909         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
27910         the temporary buffer used to invoke __gethostbyname2_r,
27911         __gethostbyaddr_r and gethostbyname4_r to make room for struct
27912         host_data / struct gaih_addrtuple.
27913         * resolv/nss_dns/dns-host.c (global scope): Move definition of
27914         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
27915         header file nss/nsswitch.h.
27916         * nss/nsswitch.h (global scope): Add definition of implementation
27917         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
27918         resolv/nss_dns/dns-host.c).
27919
27920 2012-07-11  Andreas Jaeger  <aj@suse.de>
27921
27922         * po/fr.po: Update from translation team.
27923
27924         * po/sv.po: Update from translation team
27925         * po/fr.po: Another update from translation team.
27926
27927 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27928
27929         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
27930         for subnormals or multiply small sinh result by itself.
27931         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27932         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27933
27934 2012-07-11  David S. Miller  <davem@davemloft.net>
27935
27936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27937
27938 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
27939
27940         [BZ #14347]
27941         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
27942         (INTERNAL_MARK): Shift it here.
27943
27944 2012-07-10  Marek Polacek  <polacek@redhat.com>
27945
27946         [BZ #14151]
27947         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
27948         libc_cv_asm_global_directive with .globl.
27949         * configure: Regenerated.
27950         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
27951         with .globl.
27952         * sysdeps/i386/configure: Regenerated.
27953         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
27954         with .globl.
27955         * sysdeps/x86_64/configure: Regenerated.
27956         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
27957         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
27958         * elf/tst-unique2mod2.c: Likewise.
27959         * elf/tst-unique2mod1.c: Likewise.
27960         * elf/tst-unique1mod2.c: Likewise.
27961         * elf/tst-unique1mod1.c: Likewise.
27962         * sysdeps/s390/s390-32/sysdep.h: Likewise.
27963         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
27964         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27965         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
27966         * sysdeps/mach/sysdep.h: Likewise.
27967         * sysdeps/i386/sysdep.h: Likewise.
27968         * sysdeps/i386/i386-mcount.S: Likewise.
27969         * sysdeps/x86_64/_mcount.S: Likewise.
27970         * sysdeps/x86_64/sysdep.h: Likewise.
27971         * sysdeps/sh/_mcount.S: Likewise.
27972         * sysdeps/sh/sysdep.h: Likewise.
27973         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
27974         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
27975         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
27976         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
27977         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
27978         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
27979         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
27980         * locale/localeinfo.h: Likewise.
27981         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
27982         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
27983
27984 2012-07-09  Roland McGrath  <roland@hack.frob.com>
27985
27986         [BZ #14336]
27987         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
27988         system".
27989         * manual/message.texi (The Uniforum approach): Likewise.
27990         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
27991         (glibc iconv Implementation): Likewise.
27992
27993 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
27994
27995         [BZ #14337]
27996         * math/s_clog.c (__clog): Avoid scaling a value down where that
27997         could result in underflow.
27998         * math/s_clog10.c (__clog10): Likewise.
27999         * math/s_clog10f.c (__clog10f): Likewise.
28000         * math/s_clog10l.c (__clog10l): Likewise.
28001         * math/s_clogf.c (__clogf): Likewise.
28002         * math/s_clogl.c (__clogl): Likewise.
28003         * math/libm-test.inc (clog_test): Add more tests.
28004         (clog10_test): Likewise.
28005         * sysdeps/i386/fpu/libm-test-ulps: Update.
28006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28007
28008 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
28009
28010         [BZ #14283]
28011         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
28012         by 7 not 8 to examine high bit of fractional part.
28013
28014         [BZ #14042]
28015         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
28016         for call to __mcount_internal.
28017         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
28018         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
28019         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
28020
28021 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
28022
28023         [BZ #14154]
28024         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
28025         approximation for values within 0x1p-13f of an odd multiple of
28026         pi/4.
28027         * math/libm-test.inc (tan_test): Do not allow spurious underflow
28028         exception.  Add more tests.
28029         * sysdeps/i386/fpu/libm-test-ulps: Update.
28030
28031         [BZ #6778]
28032         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
28033         inputs and return -1 for them.  Do not check for +Inf in case not
28034         reachable for +Inf.
28035         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
28036         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
28037         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28038         and return -1 for them.  Do not check for +Inf in case not
28039         reachable for +Inf.
28040         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
28041         define.
28042         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
28043         and return -1 for them.  Do not check for +Inf in case not
28044         reachable for +Inf.
28045         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
28046         spurious underflow.
28047         * sysdeps/i386/fpu/libm-test-ulps: Update.
28048         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28049
28050 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
28051
28052         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
28053
28054 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
28055
28056         [BZ #14157]
28057         [BZ #14331]
28058         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
28059         could result in spurious underflow.  Scale down values above
28060         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
28061         * math/s_csqrtf.c (__csqrtf): Likewise.
28062         * math/s_csqrtl.c (__csqrtl): Likewise.
28063         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
28064         spurious underflow.
28065         * sysdeps/i386/fpu/libm-test-ulps: Update.
28066         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28067
28068 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
28069
28070         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
28071         xopen-msg.sed.
28072         * catgets/xopen-msg.awk: New file.
28073         * catgets/xopen-msg.sed: Removed.
28074
28075         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
28076         po2text.sed.
28077         * intl/po2test.awk: New file.
28078         * intl/po2test.sed: Removed.
28079
28080 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
28081
28082         [BZ #14328]
28083         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
28084         or multiply small sinh result by itself.
28085         * math/s_ctanf.c (__ctanf): Likewise.
28086         * math/s_ctanh.c (__ctanh): Likewise.
28087         * math/s_ctanhf.c (__ctanhf): Likewise.
28088         * math/s_ctanhl.c (__ctanhl): Likewise.
28089         * math/s_ctanl.c (__ctanl): Likewise.
28090         * math/libm-test.inc (ctan_test_tonearest): New function.
28091         (ctan_test_towardzero): Likewise.
28092         (ctan_test_downward): Likewise.
28093         (ctan_test_upward): Likewise.
28094         (ctanh_test_tonearest): Likewise.
28095         (ctanh_test_towardzero): Likewise.
28096         (ctanh_test_downward): Likewise.
28097         (ctanh_test_upward): Likewise.
28098         (main): Call these new functions.
28099         * sysdeps/i386/fpu/libm-test-ulps: Update.
28100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28101
28102 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
28103
28104         * .gitignore: Delete /ports entry.
28105
28106 2012-07-03  Andreas Jaeger  <aj@suse.de>
28107
28108         * po/bg.po: Update from translation team.
28109         * po/cs.po: Likewise.
28110         * po/de.po: Likewise.
28111         * po/hr.po: Likewise.
28112         * po/nl.pl: Likewise.
28113         * po/pl.po: Likewise.
28114         * po/vi.po: Likewise.
28115
28116 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
28117
28118         * Makeconfig [!+link] (+link-before-libc): New variable.
28119         [!+link] (+link-after-libc): Likewise.
28120         [!+link] (+link-tests): Likewise.
28121         [!+link] (+link): Define in terms of $(+link-before-libc) and
28122         $(+link-after-libc).
28123         [!+link-static] (+link-static-before-libc): New variable.
28124         [!+link-static] (+link-static-after-libc): Likewise.
28125         [!+link-static] (+link-static-tests): Likewise.
28126         [!+link-static] (+link-static): Define in terms of
28127         $(+link-static-before-libc) and $(+link-static-after-libc).
28128         [build-shared] (link-libc-before-gnulib): New variable.
28129         [build-shared] (link-libc-tests): Likewise.
28130         [build-shared] (link-libc): Define in terms of
28131         $(link-libc-before-gnulib).
28132         [!build-shared] (link-libc-tests): New variable.
28133         (link-libc-static-tests): New variable.
28134         [!gnulib] (gnulib-arch): New variable.
28135         [!gnulib] (gnulib-tests): Likewise.
28136         [!gnulib] (static-gnulib-arch): Likewise.
28137         [!gnulib] (static-gnulib-tests): Likewise.
28138         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
28139         Define with "=" instead of ":=".
28140         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
28141         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
28142         * Rules (binaries-all-notests): New variable.
28143         (binaries-all-tests): Likewise.
28144         (binaries-static-notests): Likewise.
28145         (binaries-static-tests): Likewise.
28146         (binaries-all): Define using $(binaries-all-notests) and
28147         $(binaries-all-tests).
28148         (binaries-static): Define using $(binaries-static-notests) and
28149         $(binaries-static-tests).
28150         (binaries-shared-tests): New variable.
28151         (binaries-shared-notests): Likewise.
28152         (binaries-shared): Remove variable.
28153         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
28154         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
28155         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
28156         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
28157         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
28158         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
28159         * elf/Makefile (sln-modules): New variable.
28160         (extra-objs): Add $(sln-modules:=.o).
28161         (ldconfig-modules): Add static-stubs.
28162         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
28163         * elf/static-stubs.c: New file.
28164
28165         [BZ #14283]
28166         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
28167         by 7 not 8 to examine high bit of fractional part.  Use volatile
28168         variables when splitting into final array of floats if
28169         __FLT_EVAL_METHOD__ != 0.
28170         * math/libm-test.inc (cos_test): Add another test.
28171         (sin_test): Likewise.
28172         * sysdeps/i386/fpu/libm-test-ulps: Update.
28173
28174         [BZ #14273]
28175         * math/libm-test.inc (cosh_test): Add more tests.
28176
28177         * version.h (RELEASE): Set to "development".
28178         (VERSION): Set to "2.16.90".
28179
28180 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
28181
28182         * NEWS: Update copyright. Remove last-updated date.
28183         Mention math library bug fixes and timezone data changes.
28184         * README: Mention GNU/Hurd, x32, and HPPA support status.
28185
28186 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
28187
28188         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
28189
28190 2012-06-27  Andreas Jaeger  <aj@suse.de>
28191
28192         * manual/contrib.texi (Contributors): Add Samuel Thibault.
28193
28194 2012-06-25  Andreas Jaeger  <aj@suse.de>
28195
28196         * sysdeps/s390/fpu/libm-test-ulps: Update.
28197
28198 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
28199             Thomas Schwinge  <thomas@codesourcery.com>
28200
28201         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
28202         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
28203         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
28204         fanotify_mark.
28205
28206 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
28207
28208         * sysdeps/mach/start.c: Remove file.
28209         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
28210         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
28211         * sysdeps/sh/init-first.c: Likewise.
28212
28213         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
28214         registers for frame unwinding purposes, add CFI directives.
28215         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28216         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
28217         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
28218         Likewise.
28219
28220         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
28221         __fortify_fail returning.
28222         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
28223
28224         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
28225         sysdeps/sh/____longjmp_chk.S.
28226         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
28227         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
28228         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
28229         (gen-as-const-headers): Append sigaltstack-offsets.sym.
28230
28231         * sysdeps/sh/abort-instr.h: New file.
28232         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
28233         process in case exit returns.
28234
28235         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
28236         initialize the GOT register before use.
28237
28238         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
28239         calculation of ARGC > 4.
28240
28241         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
28242         meaningful names to some local labels.
28243
28244 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
28245             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28246
28247         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
28248         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
28249         (__arch_compare_and_exchange_val_16_acq): Likewise.
28250         (__arch_compare_and_exchange_val_32_acq): Likewise.
28251         (atomic_exchange_and_add): Fix gUSA sequence.
28252         (atomic_add): Likewise.
28253         (atomic_add_negative): Likewise.
28254         (atomic_add_zero): Likewise.
28255         (atomic_bit_test_set): Likewise.
28256
28257 2012-06-22  Andreas Schwab  <schwab@redhat.com>
28258
28259         [BZ #13579]
28260         * include/link.h (struct link_map): Add l_free_initfini.
28261         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
28262         l_initfini.
28263         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
28264         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
28265         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
28266         set.
28267
28268 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
28269
28270         * configure.in: Use AC_LANG_SOURCE.
28271         * configure: Regenerate.
28272
28273 2012-06-22  Roland McGrath  <roland@hack.frob.com>
28274
28275         * configure.in (libc_cv_localstatedir): New substituted variable.
28276         * configure: Regenerated.
28277         * config.make.in (localstatedir): New variable, substituted from
28278         libc_cv_localstatedir.
28279         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
28280         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
28281         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
28282         * sysdeps/gnu/configure: Regenerated.
28283
28284 2012-06-21  Jeff Law  <law@redhat.com>
28285
28286         [BZ #14277]
28287         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
28288         free.  Simplify list management for _LIBC case.
28289
28290 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
28291
28292         [BZ #14273]
28293         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
28294         Clear sign bit of 64-bit integer value before comparing against
28295         overflow value.
28296
28297         * sysdeps/mach/configure: Regenerated.
28298
28299 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
28300
28301         [BZ #14278]
28302         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
28303
28304 2012-06-21  Jeff Law  <law@redhat.com>
28305
28306         [BZ #13882]
28307         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
28308         uint16_t for elements in the "seen" array to avoid char overflows.
28309         * elf/dl-fini.c (_dl_sort_fini): Likewise.
28310         * elf/dl-open.c (dl_open_worker): Likewise.
28311
28312 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
28313
28314         * scripts/list-sources.sh: Scan PORTS for translations.
28315         * po/libc.pot: Regenerated.
28316
28317 2012-06-21  Andreas Jaeger  <aj@suse.de>
28318
28319         [BZ #12194]
28320         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
28321         warning.
28322         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
28323         * bits/byteswap-16.h (__bswap_16): Likewise.
28324         * bits/byteswap.h (__bswap_constant_16): Likewise.
28325
28326 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
28327
28328         [BZ #14117]
28329         * sysdeps/i386/fpu_control.h: Removed.
28330         * sysdeps/x86_64/fpu_control.h: Moved to ...
28331         * sysdeps/x86/fpu_control.h: Here.
28332
28333         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
28334         (_FPU_SETCW): Likewise.
28335
28336 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
28337
28338         [BZ #14117]
28339         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
28340         * sysdeps/x86/fpu/bits/mathinline.h: This.
28341         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
28342
28343         [BZ #14050]
28344         [BZ #14117]
28345         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
28346         functions if __x86_64__ is defined.
28347
28348 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
28349
28350         * string/endian.h: Add !__ASSEMBLER__ condition for including
28351         conversion interfaces.
28352
28353 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
28354
28355         [BZ #14241]
28356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
28357         of ABS(x) in calculating zero to negative powers other than odd
28358         integers.
28359         * math/libm-test.inc (pow_test): Add more tests.
28360
28361 2012-06-15  Andreas Jaeger  <aj@suse.de>
28362
28363         * manual/contrib.texi (Contributors): Update entry of Liubov
28364         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
28365         Machado Filho.
28366
28367 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
28368
28369         * string/string.h: Add __wur to GNU version of strerror_r.
28370
28371 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
28372
28373         [BZ #14229]
28374         * string/Makefile (tests): Add tst-strtok_r.
28375         * string/tst-strtok_r.c: New file.
28376         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
28377         RAX_LP/RDX_LP on SAVE_PTR.
28378
28379 2012-06-14  Roland McGrath  <roland@hack.frob.com>
28380
28381         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
28382
28383 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
28384
28385         * libm_test.inc (csqrt_test): Allow more spurious underflow
28386         exceptions.
28387         (j0_test): Likewise.
28388         (j1_test): Likewise.
28389         (y0_test): Likewise.
28390         (y1_test): Likewise.
28391
28392 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
28393
28394         * po/Makefile (libc.pot): Use UTF-8 charset.
28395
28396 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
28397
28398         [BZ #14210]
28399         Suppress sign-conversion warning from FD_SET.
28400         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
28401         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
28402         not unsigned long int.
28403         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
28404
28405 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
28406
28407         [BZ #14050]
28408         [BZ #14117]
28409         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
28410         __extern_always_inline instead of __extern_inline.
28411         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
28412         (__signbit): Likewise.
28413         (__signbitl): Support C++ namespace.
28414         (lrintf): New inline function.
28415         (lrint): Likewise.
28416         (llrintf): Likewise.
28417         (llrint): Likewise.
28418         (fmaxf): Likewise.
28419         (fmax): Likewise.
28420         (fminf): Likewise.
28421         (fmin): Likewise.
28422         (rint): Likewise.
28423         (rintf): Likewise.
28424         (ceil): Likewise.
28425         (ceilf): Likewise.
28426         (floor): Likewise.
28427         (floorf): Likewise.
28428         (nearbyint): Likewise.
28429         (nearbyintf): Likewise.
28430
28431 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
28432
28433         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
28434         non-default versions.
28435
28436 2012-06-11  Roland McGrath  <roland@hack.frob.com>
28437
28438         [BZ #14218]
28439         * manual/argp.texi (Argp): Reword argp_parse description slightly.
28440
28441 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
28442
28443         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
28444         (FE_UPWARD, FE_DOWNWARD): Don't define.
28445         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
28446         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
28447
28448         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
28449         reading it.
28450         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
28451         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
28452
28453 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28454
28455         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
28456         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
28457         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
28458         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
28459
28460 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
28461
28462         [BZ #14117]
28463         * sysdeps/i386/fpu/bits/fenv.h: Removed.
28464         * sysdeps/i386/fpu/Implies: New file.
28465         * sysdeps/x86_64/fpu/Implies: Likewise.
28466         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
28467         * sysdeps/x86/fpu/bits/fenv.h: This.
28468
28469         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
28470         __SSE_MATH__.
28471
28472 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
28473
28474         [BZ #14134]
28475         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
28476         character 0xffff that matches the last element of the
28477         conversion table.
28478
28479 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28480
28481         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
28482         fmodl commit.
28483
28484 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28485
28486         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
28487         values higher than 25.6283.
28488
28489 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28490
28491         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
28492         subnormal exponent extraction and add some __builtin_expect.
28493         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
28494         Fix for subnormal mantissa calculation.
28495
28496 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
28497
28498         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
28499         cpu2 is -1 and errno is not ENOSYS.
28500
28501 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
28502
28503         [BZ #14117]
28504         * sysdeps/i386/i486/bits/string.h: Renamed to ...
28505         * sysdeps/x86/bits/string.h: This.
28506         * sysdeps/x86_64/bits/string.h: Removed.
28507
28508         * sysdeps/i386/i486/bits/string.h: Define inline functions only
28509         if not compiling for x86-64, but compiling for >= i486.
28510
28511         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
28512         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
28513
28514         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
28515         New macro from Linux kernel 3.4.0.
28516         (FP_XSTATE_MAGIC2): Likewise.
28517         (FP_XSTATE_MAGIC2_SIZE): Likewise.
28518         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
28519         (struct _fpx_sw_bytes): New struct.
28520         (struct _xsave_hdr): Likewise.
28521         (struct _ymmh_state): Likewise.
28522         (struct _xstate): Likewise.
28523
28524         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
28525         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
28526         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
28527         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
28528         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
28529         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
28530
28531         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
28532         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
28533         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
28534         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
28535         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
28536         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
28537
28538 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
28539
28540         [BZ #13743]
28541         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
28542         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
28543         (sysdep_headers): Include sys/platform/ppc.h.
28544         * sysdeps/powerpc/test-gettimebase.c: Test for
28545         __ppc_get_timebase() to catch future ISA opcode/insn changes.
28546         * manual/Makefile (appendices): Include platform.texi.
28547         * manual/contrib.texi (Contributors): Update @node pointers.
28548         * manual/maint.texi (Maintenance): Likewise.
28549         (Platform): New node.
28550         * manual/platform.texi: New file.  Document the new features.
28551
28552 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
28553             Jakub Jelinek  <jakub@redhat.com>
28554
28555         [BZ #14188]
28556         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
28557         where __builtin_expect is unavailable.
28558
28559 2012-06-03  David S. Miller  <davem@davemloft.net>
28560
28561         * stdlib/longlong.h: Updated from GCC.
28562
28563 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
28564
28565         [BZ #14042]
28566         * sysdeps/powerpc/powerpc32/mcount.c: New file.
28567         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
28568         __mcount_internal.
28569         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
28570         (GLIBC_2.16): Likewise.
28571
28572 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28573
28574         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
28575
28576 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28577
28578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
28579         (default-abi): New variable.
28580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
28581         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
28582         variable.
28583         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
28584         Likewise.
28585         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
28586         Likewise.
28587         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
28588         Likewise.
28589
28590         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
28591         definition.  Document in comment.
28592
28593 2012-06-01  David S. Miller  <davem@davemloft.net>
28594
28595         * stdlib/longlong.h: Updated from GCC.
28596
28597 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28598
28599         [BZ #14117]
28600         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
28601         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
28602         sys/debugreg.h sys/io.h here.
28603         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
28604         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
28605         sys/io.h.
28606         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
28607         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
28608         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
28609         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
28610         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
28611         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
28612
28613         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
28614         Define only if __x86_64__ is defined.
28615
28616 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
28617
28618         [BZ #14048]
28619         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
28620         Use int64_t for variable i.
28621         * math/libm-test.inc (fmod_test): Add more tests.
28622
28623         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
28624         z computation is not scheduled after fetestexcept.
28625         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
28626         Use math_force_eval instead of asm to ensure calculation scheduled
28627         before exception test.
28628         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
28629         Ensure a1 + u.d computation is not scheduled after fetestexcept.
28630
28631 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
28632
28633         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
28634         computation is not scheduled after fetestexcept.
28635
28636 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
28637
28638         [BZ #14117]
28639         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
28640         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
28641
28642 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28643
28644         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
28645         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
28646
28647 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28648
28649         [BZ #14117]
28650         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
28651         <bits/wordsize.h>.
28652         (__WCHAR_MIN): Support __WORDSIZE == 64.
28653         (__WCHAR_MAX): Likewise.
28654
28655         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
28656         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
28657
28658         [BZ #14183]
28659         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
28660         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
28661
28662         [BZ #14117]
28663         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
28664         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
28665
28666         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
28667         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
28668
28669         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
28670         Defined to 1 if __x86_64__ isn't defined.
28671         (_STAT_VER_LINUX_OLD): New.
28672         (st_atime): Remove duplicate.
28673         (st_mtime): Likewise.
28674         (st_ctime): Likewise.
28675
28676 2012-05-31  David S. Miller  <davem@davemloft.net>
28677
28678         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
28679         entries.
28680
28681 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
28682
28683         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
28684         gen-libm-test.pl.
28685
28686         [BZ #14132]
28687         * elf/dl-reloc.c: Include <_itoa.h>.
28688         (_dl_reloc_bad_type): Remove use of INTUSE.
28689         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
28690         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
28691         * stdio-common/psiginfo.c (psiginfo): Likewise.
28692         * stdio-common/psignal.c (psignal): Likewise.
28693         * string/strsignal.c (strsignal): Likewise.
28694         * include/signal.h (_sys_siglist): Declare hidden proto.
28695         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
28696         INTVARDEF with libc_hidden_data_def.
28697         * stdio-common/itoa-udigits.c: Likewise.
28698         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
28699         (_itoa_lower_digits_internal): Remove declaration.
28700         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
28701         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
28702         (_sys_sigabbrev_internal): Remove aliases.
28703         (_sys_siglist): Define hidden alias.
28704
28705 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
28706
28707         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28708         bits/sysctl.h.
28709
28710 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
28711
28712         [BZ #14117]
28713         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
28714         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
28715
28716         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
28717         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
28718         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
28719         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
28720         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
28721         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
28722
28723         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
28724         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
28725         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
28726
28727         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
28728         with __addr.
28729         (insw): Likewise.
28730         (insl): Likewise.
28731         (outsb): Likewise.
28732         (outsw): Likewise.
28733         (outsl): Likewise.
28734
28735         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
28736         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
28737         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
28738
28739         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
28740         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
28741         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
28742         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
28743         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
28744         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
28745
28746         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
28747         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
28748
28749         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
28750         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
28751
28752         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
28753         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
28754         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
28755
28756         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
28757         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
28758         to ...
28759         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
28760
28761         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
28762         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
28763         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
28764
28765         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
28766         for x86-64.
28767         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
28768
28769 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
28770
28771         * math/math.h (M_El): Use two more decimal places.
28772         (M_LOG2El): Likewise.
28773         (M_LOG10El): Likewise.
28774         (M_LN2l): Likewise.
28775         (M_LN10l): Likewise.
28776         (M_PIl): Likewise.
28777         (M_PI_2l): Likewise.
28778         (M_PI_4l): Likewise.
28779         (M_1_PIl): Likewise.
28780         (M_2_PIl): Likewise.
28781         (M_2_SQRTPIl): Likewise.
28782         (M_SQRT2l): Likewise.
28783         (M_SQRT1_2l): Likewise.
28784
28785 2012-05-31  David S. Miller  <davem@davemloft.net>
28786
28787         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
28788         values between float registers.
28789         * sysdeps/sparc/sparc64/memset.S: Likewise.
28790         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
28791
28792 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
28793
28794         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
28795         -D_FORTIFY_SOURCE=1.
28796         (CPPFLAGS-tst-longjmp_chk.c): Define.
28797         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
28798         (CPPFLAGS-tst-longjmp_chk2.c): Define.
28799         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
28800         CFLAGS-tst-wchar-h.c.
28801
28802 2012-05-31  Marek Polacek  <polacek@redhat.com>
28803
28804         [BZ #14132]
28805         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
28806         __endmntent_internal): Remove declaration.
28807         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
28808         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
28809         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
28810
28811 2012-05-30  David S. Miller  <davem@davemloft.net>
28812
28813         * sysdeps/sparc/sparc32/soft-fp/q_util.c
28814         (___Q_simulate_exceptions): Use real FP ops rather than writing
28815         into the %fsr.
28816         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
28817         Likewise.
28818
28819 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28820
28821         [BZ #14117]
28822         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
28823         * sysdeps/x86/bits/xtitypes.h: This.
28824
28825         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
28826         * sysdeps/x86/bits/wordsize.h: This.
28827
28828         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
28829         * sysdeps/x86/bits/huge_vall.h: This.
28830
28831         * sysdeps/i386/bits/select.h: Removed.
28832         * sysdeps/x86_64/bits/select.h: Renamed to ...
28833         * sysdeps/x86/bits/select.h: This.
28834
28835         * sysdeps/i386/bits/setjmp.h: Removed.
28836         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
28837         * sysdeps/x86/bits/setjmp.h: This.
28838
28839         * sysdeps/i386/bits/mathdef.h: Removed.
28840         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
28841         * sysdeps/x86/bits/mathdef.h: This.
28842
28843 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
28844
28845         [BZ #14132]
28846         * include/sys/socket.h (__connect_internal)
28847         (__libc_sa_len_internal): Remove declaration.
28848         (__connect, __libc_sa_len): Declare hidden_proto.
28849         (SA_LEN): Remove use of INTUSE.
28850         * socket/connect.c: Add libc_hidden_def.
28851         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
28852         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
28853         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
28854         alias.
28855         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
28856         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
28857         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
28858         of adding _internal alias.
28859
28860 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28861
28862         [BZ #14117]
28863         * sysdeps/i386/bits/link.h: Removed.
28864         * sysdeps/i386/bits/linkmap.h: Likewise.
28865         * sysdeps/x86_64/bits/link.h: Renamed to ...
28866         * sysdeps/x86/bits/link.h: This.
28867         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
28868         * sysdeps/x86/bits/linkmap.h: This.
28869
28870         * sysdeps/i386/bits/endian.h: Removed.
28871         * sysdeps/x86_64/bits/endian.h: Renamed to ...
28872         * sysdeps/x86/bits/endian.h: This.
28873
28874         * sysdeps/i386/bits/byteswap.h: Removed.
28875         * sysdeps/i386/bits/byteswap-16.h: Likewise.
28876         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
28877         * sysdeps/x86/bits/byteswap.h: This.
28878         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
28879         * sysdeps/x86/bits/byteswap-16.h: This.
28880         * sysdeps/i386/Implies: Add x86.
28881         * sysdeps/x86_64/Implies: Likewise.
28882
28883 2012-05-30  David S. Miller  <davem@davemloft.net>
28884
28885         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
28886         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
28887         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
28888         (FP_TRAPPING_EXCEPTIONS): Define.
28889         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
28890         (FP_TRAPPING_EXCEPTIONS): Define.
28891         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
28892         subnormals only when inexact has been signalled or underflow
28893         exceptions are enabled.
28894         (_FP_PACK_CANONICAL): Likewise.
28895
28896 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28897
28898         [BZ #14183]
28899         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
28900         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
28901
28902 2012-05-30  Richard Henderson  <rth@twiddle.net>
28903
28904         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
28905         with #ifndef NOT_IN_libc.
28906
28907         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
28908         marked to avoid plt entry.
28909
28910 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
28911
28912         [BZ #14112]
28913         * Makeconfig (default-abi): New macro.
28914         (abi-includes): Likewise.
28915         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
28916         $(abi-$(default-abi)-lib-soname) for soname if defined.
28917         ($(common-objpfx)gnu/lib-names.stmp): Generate from
28918         abi-variants.
28919         * Makefile (installed-stubs): Likewise.
28920         * include/stubs-biarch.h: Removed.
28921         * scripts/lib-names.awk: Only handle one library at a time.
28922         * scripts/soversions.awk: Remove WORDSIZE support.
28923         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
28924         entries.
28925         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
28926         Removed.
28927         (syscall-list-default-condition): Likewise.
28928         (syscall-list-default-condition): Likewise.
28929         (syscall-list-includes): Likewise.
28930         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
28931         syscall-list-* with abi-*.  Handle undefined abi-variants.
28932         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
28933         * sysdeps/unix/sysv/linux/i386/Implies: New file.
28934         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
28935         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
28936         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
28937         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
28938         Removed.
28939         (syscall-list-32-options): Likewise.
28940         (syscall-list-32-condition): Likewise.
28941         (syscall-list-64-options): Likewise.
28942         (syscall-list-64-condition): Likewise.
28943         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
28944         macro.
28945         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
28946         Renamed to ...
28947         (abi-*): This.
28948         (abi-64-ld-soname): New macro.
28949         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
28950         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
28951         Renamed to ...
28952         (abi-*): This.
28953         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
28954         * sysdeps/x86_64/x32/shlib-versions: Likewise.
28955
28956 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
28957
28958         * sysdeps/unix/sysv/linux/kernel-features.h
28959         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
28960         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
28961         include <kernel-features.h>.
28962         [!__NR_ftruncate64]: Remove conditional code.
28963         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28964         [__NR_ftruncate64]: Make code unconditional.
28965         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28966         * sysdeps/unix/sysv/linux/truncate64.c: Do not
28967         include <kernel-features.h>.
28968         [!__NR_ftruncate64]: Remove conditional code.
28969         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28970         [__NR_ftruncate64]: Make code unconditional.
28971         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28972         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
28973         include <kernel-features.h>.
28974         [!__NR_ftruncate64]: Remove conditional code.
28975         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28976         [__NR_ftruncate64]: Make code unconditional.
28977         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
28979         include <kernel-features.h>.
28980         [!__NR_ftruncate64]: Remove conditional code.
28981         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28982         [__NR_ftruncate64]: Make code unconditional.
28983         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
28984
28985         * configure.in (libc_cv_fpie): Weaken to a compile test using
28986         LIBC_TRY_CC_OPTION.
28987         * configure: Regenerated.
28988
28989 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28990
28991         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
28992         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
28993         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
28994         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
28995         Refreshed.
28996         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
28997         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
28998         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
28999         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
29000         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
29001         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
29002         Refreshed.
29003
29004 2012-05-27  David S. Miller  <davem@davemloft.net>
29005
29006         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
29007         (___Q_zero): New.
29008         (__Q_simulate_exceptions): Return void.  Change to simulate
29009         exceptions by writing into the %fsr.
29010         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
29011         (__Qp_handle_exceptions): Likewise.
29012         (numbers): Delete.
29013         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
29014         __Qp_handle_exceptions.
29015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
29016         __Qp_handle_exceptions.
29017         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29018         as unused and give dummy FP_RND_NEAREST initializer.
29019         (FP_INHIBIT_RESULTS): Define.
29020         (___Q_simulate_exceptions): Update declaration.
29021         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
29022         formatting.
29023         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
29024         as unused and give dummy FP_RND_NEAREST initializer.
29025         (__Qp_handle_exceptions): Update declaration.
29026         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
29027         formatting.
29028
29029 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
29030
29031         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
29032         the temporary FPU control word.
29033         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
29034         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
29035         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
29036         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
29037         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
29038         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
29039         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
29040         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
29041         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
29042         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29043         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
29044
29045 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29046
29047         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
29048         fields.
29049
29050 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
29051
29052         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
29053         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
29054         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
29055         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
29056         Likewise.
29057         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
29058         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
29059         Likewise.
29060
29061 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
29062
29063         * po/h.po: Update from translation team.
29064
29065 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
29066
29067         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
29068
29069         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
29070         handling of denormals.
29071         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
29072         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
29073         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
29074         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
29075         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
29076         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
29077         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
29078         Likewise.
29079
29080 2012-05-26  Marek Polacek  <polacek@redhat.com>
29081
29082         [BZ #14152]
29083         * math/libm-test.inc (fma_test): Don't always expect underflow
29084         exception.
29085
29086 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
29087
29088         [BZ #12416]
29089         * elf/tst-execstack.c: Include stackinfo.h.
29090         (do_test): Adjust test case to ensure that pthread_getattr_np
29091         behaviour remains the same after marking stack executable.
29092
29093 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29094
29095         * sysdeps/unix/sysv/linux/kernel-features.h
29096         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
29097         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
29098         kernel-features.h.
29099         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29100         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29101         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
29102         kernel-features.h.
29103         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
29104         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
29105
29106 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
29107
29108         * configure.in: Define the default includes to being none.
29109         * configure: Regenerated.
29110
29111 2012-05-25  Roland McGrath  <roland@hack.frob.com>
29112
29113         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
29114         * sysdeps/x86_64/setjmp.S: Likewise.
29115         * sysdeps/i386/bsd-setjmp.S: Likewise.
29116         * sysdeps/i386/bsd-_setjmp.S: Likewise.
29117         * sysdeps/i386/setjmp.S: Likewise.
29118         * sysdeps/i386/__longjmp.S: Likewise.
29119         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29120         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
29121
29122         * include/stap-probe.h: New file.
29123         * configure.in: Handle --enable-systemtap.
29124         * configure: Regenerated.
29125         * config.h.in (USE_STAP_PROBE): New #undef.
29126         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
29127         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
29128         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
29129
29130 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
29131
29132         [BZ #13717]
29133         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
29134         to 2.4.0 where earlier.
29135         * sysdeps/unix/sysv/linux/configure: Regenerated.
29136         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
29137         <kernel-features.h>.
29138         [__ASSUME_32BITUIDS]: Make code unconditional.
29139         [!__ASSUME_32BITUIDS]: Remove conditional code.
29140         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
29141         <kernel-features.h>.
29142         [__ASSUME_32BITUIDS]: Make code unconditional.
29143         [!__ASSUME_32BITUIDS]: Remove conditional code.
29144         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
29145         [__ASSUME_32BITUIDS]: Make code unconditional.
29146         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
29147         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
29148         <kernel-features.h>.
29149         [__ASSUME_32BITUIDS]: Make code unconditional.
29150         [!__ASSUME_32BITUIDS]: Remove conditional code.
29151         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
29152         <kernel-features.h>.
29153         [__ASSUME_32BITUIDS]: Make code unconditional.
29154         [!__ASSUME_32BITUIDS]: Remove conditional code.
29155         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
29156         <kernel-features.h>.
29157         [__ASSUME_32BITUIDS]: Make code unconditional.
29158         [!__ASSUME_32BITUIDS]: Remove conditional code.
29159         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
29160         <kernel-features.h>.
29161         [__ASSUME_32BITUIDS]: Make code unconditional.
29162         [!__ASSUME_32BITUIDS]: Remove conditional code.
29163         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29164         <kernel-features.h>.
29165         [__ASSUME_32BITUIDS]: Make code unconditional.
29166         [!__ASSUME_32BITUIDS]: Remove conditional code.
29167         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29168         <kernel-features.h>.
29169         [__ASSUME_32BITUIDS]: Make code unconditional.
29170         [!__ASSUME_32BITUIDS]: Remove conditional code.
29171         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
29172         <kernel-features.h>.
29173         [__ASSUME_32BITUIDS]: Make code unconditional.
29174         [!__ASSUME_32BITUIDS]: Remove conditional code.
29175         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
29176         <kernel-features.h>.
29177         [__ASSUME_32BITUIDS]: Make code unconditional.
29178         [!__ASSUME_32BITUIDS]: Remove conditional code.
29179         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29180         <kernel-features.h>.
29181         [__ASSUME_32BITUIDS]: Make code unconditional.
29182         [!__ASSUME_32BITUIDS]: Remove conditional code.
29183         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
29184         <kernel-features.h>.
29185         [__ASSUME_32BITUIDS]: Make code unconditional.
29186         [!__ASSUME_32BITUIDS]: Remove conditional code.
29187         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
29188         <kernel-features.h>.
29189         [__NR_setresgid] (__setresgid): Do not declare.
29190         [__ASSUME_32BITUIDS]: Make code unconditional.
29191         [!__ASSUME_32BITUIDS]: Remove conditional code.
29192         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
29193         <kernel-features.h>.
29194         [__NR_setresuid] (__setresuid): Do not declare.
29195         [__ASSUME_32BITUIDS]: Make code unconditional.
29196         [!__ASSUME_32BITUIDS]: Remove conditional code.
29197         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
29198         <kernel-features.h>.
29199         [__ASSUME_32BITUIDS]: Make code unconditional.
29200         [!__ASSUME_32BITUIDS]: Remove conditional code.
29201         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
29202         <kernel-features.h>.
29203         [__ASSUME_32BITUIDS]: Make code unconditional.
29204         [!__ASSUME_32BITUIDS]: Remove conditional code.
29205         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
29206         <kernel-features.h>.
29207         [__ASSUME_32BITUIDS]: Make code unconditional.
29208         [!__ASSUME_32BITUIDS]: Remove conditional code.
29209         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
29210         <kernel-features.h>.
29211         [__ASSUME_32BITUIDS]: Make code unconditional.
29212         [!__ASSUME_32BITUIDS]: Remove conditional code.
29213         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
29214         <kernel-features.h>.
29215         [__ASSUME_32BITUIDS]: Make code unconditional.
29216         [!__ASSUME_32BITUIDS]: Remove conditional code.
29217         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
29218         <kernel-features.h>.
29219         [__ASSUME_32BITUIDS]: Make code unconditional.
29220         [!__ASSUME_32BITUIDS]: Remove conditional code.
29221         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
29222         <kernel-features.h>.
29223         [__ASSUME_32BITUIDS]: Make code unconditional.
29224         [!__ASSUME_32BITUIDS]: Remove conditional code.
29225         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
29226         <kernel-features.h>.
29227         [__ASSUME_32BITUIDS]: Make code unconditional.
29228         [!__ASSUME_32BITUIDS]: Remove conditional code.
29229         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
29230         <kernel-features.h>.
29231         [__ASSUME_32BITUIDS]: Make code unconditional.
29232         [!__ASSUME_32BITUIDS]: Remove conditional code.
29233         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29234         <kernel-features.h>.
29235         [__ASSUME_32BITUIDS]: Make code unconditional.
29236         [!__ASSUME_32BITUIDS]: Remove conditional code.
29237         * sysdeps/unix/sysv/linux/kernel-features.h
29238         (__ASSUME_SETRESUID_SYSCALL): Remove.
29239         (__ASSUME_SETRESGID_SYSCALL): Likewise.
29240         (__ASSUME_32BITUIDS): Likewise.
29241         (__ASSUME_LDT_WORKS): Likewise.
29242         (__ASSUME_O_DIRECTORY): Likewise.
29243         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
29244         architecture but not kernel version.
29245         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
29246         (__ASSUME_MMAP2_SYSCALL): Likewise.
29247         (__ASSUME_STAT64_SYSCALL): Likewise.
29248         (__ASSUME_IPC64): Likewise.
29249         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
29250         <kernel-features.h>.
29251         [__ASSUME_32BITUIDS]: Make code unconditional.
29252         [!__ASSUME_32BITUIDS]: Remove conditional code.
29253         * sysdeps/unix/sysv/linux/opendir.c: Do not include
29254         <kernel-features.h>.
29255         [__ASSUME_O_DIRECTORY]: Make code unconditional.
29256         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
29257         132096]: Remove conditional code.
29258         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
29259         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
29260         <kernel-features.h>.
29261         [__ASSUME_32BITUIDS]: Make code unconditional.
29262         [!__ASSUME_32BITUIDS]: Remove conditional code.
29263         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
29264         <kernel-features.h>.
29265         [__ASSUME_32BITUIDS]: Make code unconditional.
29266         [!__ASSUME_32BITUIDS]: Remove conditional code.
29267         * sysdeps/unix/sysv/linux/setegid.c: Do not include
29268         <kernel-features.h>.
29269         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
29270         unconditional.
29271         (__setresgid): Do not declare.
29272         [__ASSUME_32BITUIDS]: Make code unconditional.
29273         [!__ASSUME_32BITUIDS]: Remove conditional code.
29274         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
29275         <kernel-features.h>.
29276         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
29277         unconditional.
29278         (__setresuid): Do not declare.
29279         [__ASSUME_32BITUIDS]: Make code unconditional.
29280         [!__ASSUME_32BITUIDS]: Remove conditional code.
29281         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
29282         <kernel-features.h>.
29283         [__ASSUME_32BITUIDS]: Make code unconditional.
29284         [!__ASSUME_32BITUIDS]: Remove conditional code.
29285         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
29286         <kernel-features.h>.
29287         [__ASSUME_32BITUIDS]: Make code unconditional.
29288         [!__ASSUME_32BITUIDS]: Remove conditional code.
29289
29290 2012-05-25  Richard Henderson  <rth@twiddle.net>
29291
29292         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
29293         dl_hwcap to ifunc resolver.
29294         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
29295         elf_ifunc_invoke.
29296         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
29297         dl_hwcap to ifunc resolver.
29298         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
29299
29300 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29301
29302         [BZ #14153]
29303         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
29304         for |x| <= 2**-26, not 2**-57.
29305         * math/libm-test.inc (acos_test): Do not allow spurious underflow
29306         exception.
29307
29308 2012-05-24  Jeff Law  <law@redhat.com>
29309
29310         * stdio-common/Makefile (tests): Add bug25.
29311         * stdio-common/bug25.c: New test.
29312
29313 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29314
29315         [BZ #13576]
29316         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
29317         multiple of MALLOC_ALIGNMENT in size.
29318         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
29319
29320 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29321
29322         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
29323         Require >= 256.
29324         (FILENAME_MAX): Use macro-int-constant.
29325         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
29326         (_IOFBF): Use macro-int-constant.
29327         (_IOLBF): Likewise.
29328         (_IONBF): Likewise.
29329         (SEEK_CUR): Likewise.
29330         (SEEK_END): Likewise.
29331         (SEEK_SET): Likewise.
29332         (TMP_MAX): Likewise.
29333         (EOF): Use macro-int-constant.  Require < 0.
29334         (NULL): Use macro-constant.  Require == 0.
29335         (stdin): Require type to be FILE *.
29336         (stdout): Likewise.
29337         (stderr): Likewise.
29338         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
29339         macro-int-constant.
29340         (EXIT_SUCCESS): Likewise.
29341         (NULL): Use macro-constant.  Require == 0.
29342         (RAND_MAX): Use macro-int-constant.
29343         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
29344         [C99-based standards] (strtof): Require function.
29345         [C99-based standards] (strtold): Likewise.
29346         [C99-based standards] (strtoll): Likewise.
29347         [C99-based standards] (strtoull): Likewise.
29348         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
29349         [ISO || ISO99 || ISO11] (limits.h): Likewise.
29350         [ISO || ISO99 || ISO11] (math.h): Likewise.
29351         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
29352         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
29353         [ISO || ISO99 || ISO11] (*_t): Do not allow.
29354
29355 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
29356
29357         [BZ #14132]
29358         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
29359         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
29360         * intl/dgettext.c (DCGETTEXT): Likewise.
29361         * intl/gettext.c (DCGETTEXT): Likewise.
29362         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
29363         * posix/regex_internal.h (gettext): Likewise.
29364         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
29365         Remove declaration.
29366         * include/argz.h (__argz_count_internal)
29367         (__argz_stringify_internal): Remove declaration.
29368         (__argz_count, __argz_stringify): Declare hidden proto.
29369         * intl/dcgettext.c: Remove use of INTDEF.
29370         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
29371         * string/argz-stringify.c: Likewise.
29372         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29373         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29374         Declare hidden proto.
29375         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
29376         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
29377         Declare hidden proto.
29378         * include/stdio.h (__asprintf_internal): Don't declare.
29379         (__asprintf): Don't define as macro.  Declare hidden proto.
29380         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
29381         (__fsetlocking): Declare hidden proto.
29382         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
29383         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
29384         hidden proto.
29385         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
29386         (_IO_setlinebuf): Remove use of INTUSE.
29387         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
29388         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
29389         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
29390         Remove declaration.
29391         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
29392         (_IO_do_flush): Remove use of INTUSE.
29393         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
29394         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
29395         (_IO_adjust_column, _IO_least_wmarker)
29396         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
29397         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
29398         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
29399         (_IO_default_doallocate, _IO_wdefault_doallocate)
29400         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
29401         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
29402         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
29403         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
29404         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
29405         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
29406         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
29407         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
29408         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
29409         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
29410         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
29411         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
29412         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
29413         proto.
29414         (_IO_flush_all_internal, _IO_adjust_column_internal)
29415         (_IO_default_uflow_internal, _IO_default_finish_internal)
29416         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
29417         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
29418         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
29419         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
29420         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
29421         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
29422         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
29423         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
29424         (_IO_file_close_internal, _IO_file_close_it_internal)
29425         (_IO_file_underflow_internal, _IO_file_overflow_internal)
29426         (_IO_file_init_internal, _IO_file_attach_internal)
29427         (_IO_file_fopen_internal, _IO_file_read_internal)
29428         (_IO_file_sync_internal, _IO_file_seek_internal)
29429         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
29430         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
29431         (_IO_str_underflow_internal, _IO_str_overflow_internal)
29432         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
29433         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
29434         (_IO_list_all_internal, _IO_link_in_internal)
29435         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
29436         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
29437         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
29438         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
29439         (_IO_do_write_internal, _IO_padn_internal)
29440         (_IO_getline_info_internal, _IO_getline_internal)
29441         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
29442         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
29443         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
29444         (_IO_vfscanf_internal, _IO_vfprintf_internal)
29445         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
29446         (_IO_init_internal, _IO_un_link_internal): Don't declare.
29447         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
29448         with libc_hidden_ver, remove use of INTUSE.
29449         * libio/genops.c: Likewise.
29450         * libio/freopen.c: Likewise.
29451         * libio/freopen64.c: Likewise.
29452         * libio/iofclose.c: Likewise.
29453         * libio/iofdopen.c: Likewise.
29454         * libio/iofflush.c: Likewise.
29455         * libio/iofflush_u.c: Likewise.
29456         * libio/iofgets.c: Likewise.
29457         * libio/iofgets_u.c: Likewise.
29458         * libio/iofopen.c: Likewise.
29459         * libio/iofopncook.c: Likewise.
29460         * libio/iofread.c: Likewise.
29461         * libio/iofread_u.c: Likewise.
29462         * libio/ioftell.c: Likewise.
29463         * libio/iofwrite.c: Likewise.
29464         * libio/iogetline.c: Likewise.
29465         * libio/iogets.c: Likewise.
29466         * libio/iogetwline.c: Likewise.
29467         * libio/iopadn.c: Likewise.
29468         * libio/iopopen.c: Likewise.
29469         * libio/ioseekoff.c: Likewise.
29470         * libio/ioseekpos.c: Likewise.
29471         * libio/iosetbuffer.c: Likewise.
29472         * libio/iosetvbuf.c: Likewise.
29473         * libio/ioungetc.c: Likewise.
29474         * libio/ioungetwc.c: Likewise.
29475         * libio/iovdprintf.c: Likewise.
29476         * libio/iovsprintf.c: Likewise.
29477         * libio/iovsscanf.c: Likewise.
29478         * libio/memstream.c: Likewise.
29479         * libio/obprintf.c: Likewise.
29480         * libio/oldfileops.c: Likewise.
29481         * libio/oldiofclose.c: Likewise.
29482         * libio/oldiofdopen.c: Likewise.
29483         * libio/oldiofopen.c: Likewise.
29484         * libio/oldiopopen.c: Likewise.
29485         * libio/oldstdfiles.c: Likewise.
29486         * libio/putc.c: Likewise.
29487         * libio/setbuf.c: Likewise.
29488         * libio/setlinebuf.c: Likewise.
29489         * libio/stdfiles.c: Likewise.
29490         * libio/strops.c: Likewise.
29491         * libio/vasprintf.c: Likewise.
29492         * libio/vscanf.c: Likewise.
29493         * libio/vsnprintf.c: Likewise.
29494         * libio/vswprintf.c: Likewise.
29495         * libio/wfiledoalloc.c: Likewise.
29496         * libio/wfileops.c: Likewise.
29497         * libio/wgenops.c: Likewise.
29498         * libio/wmemstream.c: Likewise.
29499         * libio/wstrops.c: Likewise.
29500         * libio/__fpurge.c: Likewise.
29501         * libio/__fsetlocking.c: Likewise.
29502         * assert/assert.c: Likewise.
29503         * debug/fgets_chk.c: Likewise.
29504         * debug/fgets_u_chk.c: Likewise.
29505         * debug/fread_chk.c: Likewise.
29506         * debug/fread_u_chk.c: Likewise.
29507         * debug/gets_chk.c: Likewise.
29508         * debug/obprintf_chk.c: Likewise.
29509         * debug/vasprintf_chk.c: Likewise.
29510         * debug/vdprintf_chk.c: Likewise.
29511         * debug/vsnprintf_chk.c: Likewise.
29512         * debug/vsprintf_chk.c: Likewise.
29513         * malloc/mtrace.c: Likewise.
29514         * misc/error.c: Likewise.
29515         * misc/syslog.c: Likewise.
29516         * stdio-common/asprintf.c: Likewise.
29517         * stdio-common/fxprintf.c: Likewise.
29518         * stdio-common/getw.c: Likewise.
29519         * stdio-common/isoc99_fscanf.c: Likewise.
29520         * stdio-common/isoc99_scanf.c: Likewise.
29521         * stdio-common/isoc99_vfscanf.c: Likewise.
29522         * stdio-common/isoc99_vscanf.c: Likewise.
29523         * stdio-common/isoc99_vsscanf.c: Likewise.
29524         * stdio-common/printf-prs.c: Likewise.
29525         * stdio-common/printf_fp.c: Likewise.
29526         * stdio-common/printf_fphex.c: Likewise.
29527         * stdio-common/printf_size.c: Likewise.
29528         * stdio-common/putw.c: Likewise.
29529         * stdio-common/scanf.c: Likewise.
29530         * stdio-common/sprintf.c: Likewise.
29531         * stdio-common/tmpfile.c: Likewise.
29532         * stdio-common/vfprintf.c: Likewise.
29533         * stdio-common/vfscanf.c: Likewise.
29534         * stdlib/strfmon_l.c: Likewise.
29535         * sunrpc/openchild.c: Likewise.
29536         * sunrpc/xdr_stdio.c: Likewise.
29537         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
29538         * sysdeps/mach/hurd/tmpfile.c: Likewise.
29539
29540 2012-05-24  Roland McGrath  <roland@hack.frob.com>
29541
29542         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29543
29544         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
29545         in the third column, to generate for the shared library an IFUNC
29546         that uses _dl_vdso_vsym.
29547         * Makerules (COMPILE.c, compile-stdin.c): New variables.
29548         * Makeconfig (object-suffixes-noshared): New variable.
29549
29550         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
29551         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
29552         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
29553         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
29554
29555         [BZ #14132]
29556         * include/sys/time.h (__gettimeofday): Remove macro.
29557         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
29558         * time/gettimeofday.c (__gettimeofday): Remove #undef.
29559         Remove INTDEF.
29560         (__gettimeofday): Add libc_hidden_def.
29561         (gettimeofday): Add libc_hidden_weak.
29562         * sysdeps/mach/gettimeofday.c: Likewise.
29563         * sysdeps/posix/gettimeofday.c: Likewise.
29564         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
29565         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
29566         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
29567         (__gettimeofday_internal): Remove strong_alias.
29568         (__gettimeofday): Add libc_hidden_def.
29569         (gettimeofday): Add libc_hidden_weak.
29570         * sysdeps/unix/syscalls.list (gettimeofday):
29571         Remove __gettimeofday_internal alias.
29572
29573 2012-05-24  Daniel Jacobowitz  <drow@false.org>
29574             H.J. Lu  <hongjiu.lu@intel.com>
29575
29576         [BZ #12495]
29577         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
29578         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
29579         (largebin_index_32_big): New.
29580         (largebin_index): Use it for 16-byte alignment.
29581         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
29582         correction with front_misalign.
29583
29584 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
29585
29586         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
29587         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
29588         Likewise.
29589         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
29590         Likewise.
29591         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29592         Likewise.
29593         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
29594         Likewise.
29595         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
29596         Likewise.
29597         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
29598         Likewise.
29599         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
29600         Likewise.
29601         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
29602         Likewise.
29603         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
29604         Likewise.
29605         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
29606         Likewise.
29607         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
29608         Likewise.
29609         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
29610         Likewise.
29611
29612         * scripts/data/c++-types-x32-linux-gnu.data: New file.
29613         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
29614
29615 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
29616
29617         [BZ #10846]
29618         [BZ #14036]
29619         * math/libm-test.inc (exp_test): Add test from bug 14036.
29620         (pow_test): Add test from bug 10846.
29621
29622         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
29623         and other flags.
29624         (special_function): Do not include flags in test name.
29625         (parse_args): Likewise.
29626         * sysdeps/i386/fpu/libm-test-ulps: Update.
29627         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
29628         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
29629         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
29630         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29631
29632         * math/gen-libm-test.pl (%beautify): Add entries for underflow
29633         exceptions.
29634         * math/libm-test.inc ("Philosophy"): Update comment about
29635         exception testing.
29636         (UNDERFLOW_EXCEPTION): New macro.
29637         (UNDERFLOW_EXCEPTION_OK): Likewise.
29638         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
29639         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
29640         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
29641         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
29642         (INVALID_EXCEPTION_OK): Update value.
29643         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
29644         (OVERFLOW_EXCEPTION_OK): Likewise.
29645         (IGNORE_ZERO_INF_SIGN): Likewise.
29646         (test_exceptions): Handle underflow exceptions.
29647         (acos_test): Update for underflow exception expectations.
29648         (cexp_test): Likewise.
29649         (clog_test): Likewise.
29650         (clog10_test): Likewise.
29651         (csqrt_test): Likewise.
29652         (ctan_test): Likewise.
29653         (ctanh_test): Likewise.
29654         (exp_test): Likewise.
29655         (exp10_test): Likewise.
29656         (exp2_test): Likewise.
29657         (expm1_test): Likewise.
29658         (fma_test): Likewise.
29659         (j0_test): Likewise.
29660         (jn_test): Likewise.
29661         (nexttoward_test): Likewise.
29662         (pow_test): Likewise.
29663         (scalbn_test): Likewise.
29664         (scalbln_test): Likewise.
29665         (tan_test): Likewise.
29666         (y1_test): Likewise.
29667         * sysdeps/i386/fpu/libm-test-ulps: Update.
29668         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29669
29670 2012-05-23  David S. Miller  <davem@davemloft.net>
29671
29672         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
29673         (__libc_sigaction): Remove unused local variables.
29674
29675 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29676
29677         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
29678
29679 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
29680
29681         mktime: avoid signed integer overflow
29682         * time/mktime.c (__mktime_internal): Do not mishandle the case
29683         where diff == INT_MIN.
29684
29685         mktime: simplify computation of average
29686         * time/mktime.c (ranged_convert): Use new time_t_avg function
29687         instead of rolling our own (probably-slower) code.
29688
29689         mktime: do not assume signed right shift propagates sign bit
29690         * time/mktime.c (isdst_differ): New static function.
29691         (__mktime_internal): No need to normalize tm_isdst now.
29692         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
29693         tm_isdst values.
29694
29695         mktime: merge another wrapv change from gnulib
29696         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
29697         from some compilers.
29698
29699         mktime: remove incorrect attempt at unusual arithmetics
29700         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
29701         The code didn't really work on such machines anyway.
29702         (TYPE_MINIMUM): Assume two's complement.
29703         (twos_complement_arithmetic): Verify that long_int and time_t
29704         are two's complement (or unsigned, in the latter case).
29705
29706         mktime: check signed shifts on long_int and time_t, too
29707         * time/mktime.c (SHR): Check that shifts work as desired
29708         on the types long_int and time_t too, as SHR is used on
29709         such types.
29710
29711         mktime: do not assume 'long' is wide enough
29712         * time/mktime.c (verify): Move decl up.
29713         (long_int): New type.
29714         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
29715         to remove assumption in the code that 'long' is wide enough to
29716         store year values.  This assumption is not true on x32 and on
29717         some non-glibc platforms.
29718
29719         mktime: merge wrapv change from gnulib
29720         * time/mktime.c (WRAPV): New macro.
29721         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
29722         (guess_time_tm, __mktime_internal): Do not assume that signed
29723         integer overflow wraps around; modern compilers generate code
29724         where this assumption is no longer valid.
29725
29726 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29727
29728         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29729         Replace "jmp L(pseudo_end)" with "ret".
29730         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
29731         Likewise.
29732
29733 2012-05-23  Andreas Jaeger  <aj@suse.de>
29734
29735         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
29736         * sysdeps/unix/sysv/linux/poll.c: Remove file.
29737
29738 2012-05-23  Andreas Jaeger  <aj@suse.de>
29739             Maximilian Attems  <max@stro.at>
29740
29741         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
29742         New macros.
29743
29744 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
29745
29746         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
29747         code so that pseudo_end is just ret and the stack pointer is
29748         correct also for static library in error case.
29749
29750 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
29751
29752         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
29753         move to syscalls.list.
29754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
29756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
29757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
29758
29759         * manual/install.texi (Running make install): Do not mention Linux
29760         kernel version for which pt_chown is not needed.
29761         (Linux): Do not mention problems with nscd with 2.0 kernels.
29762         * INSTALL: Regenerated.
29763
29764 2012-05-23  Andreas Jaeger  <aj@suse.de>
29765
29766         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
29767         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
29768         macro.
29769         * sysdeps/unix/sysv/linux/s390/bits/mman.h
29770         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29771         * sysdeps/unix/sysv/linux/sh/bits/mman.h
29772         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29773         * sysdeps/unix/sysv/linux/i386/bits/mman.h
29774         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29775         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
29776         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29777         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
29778         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
29779         * sysdeps/unix/sysv/linux/bits/in.h
29780         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
29781
29782 2012-05-22  Roland McGrath  <roland@hack.frob.com>
29783
29784         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
29785         (PREPARE_VERSION): Just use assert instead, it will be elided
29786         under [NDEBUG] anyway.
29787
29788 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29789
29790         * sysdeps/unix/sysv/linux/Makefile: Include
29791         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
29792         (sysdep_routines): Remove sysctl.
29793         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
29794         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
29795         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
29796         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
29797         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
29798
29799 2012-05-22  Andreas Jaeger  <aj@suse.de>
29800
29801         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
29802         that pseudo_end is just ret and the stack pointer is correct also
29803         for static library in error case.
29804
29805 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
29806
29807         [BZ #14122]
29808         * nss/nsswitch.c (defconfig_entries): New variable.
29809         (__nss_database_lookup): Don't leak defconfig entries.
29810         (nss_parse_service_list): Don't leak on error paths.
29811         (free_database_entries): New function.
29812         (free_defconfig): New function.
29813         (free_mem): Move common code to free_database_entries.
29814
29815 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29816
29817         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
29818         Add arch_prctl.
29819         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
29820
29821         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
29822         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
29823         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
29824         New macro.
29825         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
29826         (INTERNAL_SYSCALL_TYPES): Likewise.
29827         (LOAD_ARGS_TYPES_[1-6]): Likewise.
29828         (LOAD_REGS_TYPES_[1-6]): Likewise.
29829         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
29830         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
29831
29832 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29833
29834         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
29835         copysignl for GLIBC_2_0.
29836         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
29837         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
29838         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
29839         logbl for GLIBC_2_0.
29840         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
29841         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
29842
29843 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29844
29845         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
29846         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
29847
29848         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
29849         Use "neg %eax".
29850
29851         * time/mktime.c: Update copyright years.
29852
29853 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
29854
29855         mktime: merge comment-quoting-style change from gnulib
29856         * time/mktime.c: Quote 'like this' in comments.
29857         The GNU coding standards suggest that we no longer quote `like this',
29858         as "`" and "'" are typically rendered asymmetrically nowadays.
29859         The typical gnulib style is to quote 'like this' when quoting
29860         code, and "like this" when quoting English.
29861
29862         * time/mktime.c (compile-command): Add "-I.".
29863
29864         mktime: merge mktime-internal.h change from gnulib
29865         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
29866
29867         mktime: merge time_r change from gnulib
29868         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
29869
29870         mktime: merge DEBUG change from gnulib
29871         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
29872         case system <time.h> has a #define.
29873
29874         mktime: merge <sys/types.h> change from gnulib
29875         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
29876         since <time.t> is now guaranteed to define time_t.
29877
29878         mktime: merge HAVE_CONFIG_H change from gnulib
29879         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
29880
29881 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
29882
29883         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29884         Use "neg %eax".
29885
29886         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
29887         __rlim_t cast.
29888         (struct rusage): Use anonymous union to pad each field to
29889         __syscall_slong_t.
29890
29891 2012-05-21  David S. Miller  <davem@davemloft.net>
29892
29893         * Makefules (o-iterator): Remove .s cases.
29894         (compile-command.s): Delete.
29895         (COMPILE.s): Delete.
29896         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
29897
29898 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
29899
29900         * configure.in (libc_cv_predef_stack_protector): Only consider
29901         "foobar" and "__stack_chk_fail" lines in libc_undefs.
29902         * configure: Regenerated.
29903
29904 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29905
29906         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
29907         New macro.  Use R*LP on int and pointer.
29908         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
29909         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
29910         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
29911         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
29912
29913         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
29914         [__WORDSIZE_TIME64_COMPAT32] instead of
29915         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
29916         (struct utmp): Likewise.
29917         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
29918         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
29919         Renamed to ...
29920         (__WORDSIZE_TIME64_COMPAT32): This.
29921         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
29922         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
29923         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
29924         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
29925         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
29926         (__WORDSIZE_TIME64_COMPAT32): New macro.
29927
29928 2012-05-21  Andreas Jaeger  <aj@suse.de>
29929
29930         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
29931         only if [SHARED]. Add prototype for __wcschr_ia32.
29932
29933 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29934
29935         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
29936         of %rbp unmolested in the jmp_buf while mangling the low bits.
29937         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
29938         unmolested high bits of %rbp while demangling the low bits.
29939         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
29940
29941 2012-05-21  Andreas Jaeger  <aj@suse.de>
29942
29943         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
29944         * sunrpc/svc_simple.c: Use it for registerrpc.
29945         * sunrpc/xcrypt.c: Use it for passwd2des.
29946
29947         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
29948
29949 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29950
29951         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
29952         Don't define if [__SYSCALL_WORDSIZE != 32].
29953         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
29954         New macro.
29955
29956 2012-05-21  Bruno Haible  <bruno@clisp.org>
29957             Andreas Jaeger  <aj@suse.de>
29958
29959         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
29960         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
29961         inptr and inend for must_buffer_ch.
29962         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
29963         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
29964         * stdio-common/Makefile (tests): Remove bug15.
29965         (bug15-ENV): Remove macro.
29966         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
29967         anymore.
29968
29969 2012-05-19  Andreas Jaeger  <aj@suse.de>
29970             Roland McGrath  <roland@hack.frob.com>
29971
29972         * manual/contrib.texi: Completely rewritten. It contains now an
29973         alphabetical list of contributors and their contributions.
29974
29975 2012-05-21  Richard Henderson  <rth@twiddle.net>
29976
29977         * misc/getauxval.c (__getauxval): Use unsigned long int.
29978         * misc/sys/auxv.h: Include <sys/cdefs.h>.
29979         (getauxval): Use unsigned long int.
29980
29981 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
29982
29983         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
29984
29985 2012-05-21  Roland McGrath  <roland@hack.frob.com>
29986
29987         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
29988         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
29989         __alignof__ (long double).
29990
29991 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29992
29993         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
29994
29995 2012-05-20  Richard Henderson  <rth@twiddle.net>
29996
29997         * misc/getauxval.c: New file.
29998         * misc/sys/auxv.h: New file.
29999         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
30000         (routines): Add getauxval.
30001         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
30002         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
30003         * elf/dl-sysdep.c (_dl_auxv): Remove.
30004         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
30005         * elf/dl-support.c (_dl_auxv): New variable.
30006         (_dl_aux_init): Initialize it.
30007         * manual/startup.texi (Auxiliary Vector): New node.
30008         * sysdeps/generic/bits/hwcap.h: New file.
30009         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
30010         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
30011         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
30012         * sysdeps/sparc/sysdep.h: ... here.  Include it.
30013         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
30014         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
30015         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
30016         Update.
30017         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
30018         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
30019         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
30020         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
30021         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30022         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
30023         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
30024         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
30025
30026 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30027
30028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30029
30030 2012-05-19  David S. Miller  <davem@davemloft.net>
30031
30032         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30033
30034 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30035
30036         [BZ #14123]
30037         * math/s_ccosh.c: Include <float.h>
30038         (__ccosh): Avoid internal overflow calculating sinh and cosh
30039         values before multiplying by sin and cos values.
30040         * math/s_ccoshf.c: Likewise.
30041         * math/s_ccoshl.c: Likewise.
30042         * math/s_csin.c: Likewise.
30043         * math/s_csinf.c: Likewise.
30044         * math/s_csinl.c: Likewise.
30045         * math/s_csinh.c: Likewise.
30046         * math/s_csinhf.c: Likewise.
30047         * math/s_csinhl.c: Likewise.
30048         * math/libm-test.inc (ccos_test): Add more tests.
30049         (ccosh_test): Likewise.
30050         (csin_test): Likewise.
30051         (csinh_test): Likewise.
30052         * sysdeps/i386/fpu/libm-test-ulps: Update.
30053         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30054
30055 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
30056
30057         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
30058         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
30059
30060         * sysdeps/x86_64/x32/_itoa.h: Add comment.
30061
30062 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
30063
30064         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
30065         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
30066         * sysdeps/powerpc/soft-fp/Versions: Likewise.
30067         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
30068         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
30069         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
30070         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
30071         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
30072         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
30073         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
30074         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
30075         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
30076         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
30077         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
30078         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
30079         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
30080         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
30081         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
30082         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
30083         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
30084         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
30085         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
30086         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
30087         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
30088         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
30089         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
30090         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
30091         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
30092         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
30093         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
30094         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
30095
30096 2012-05-18  Andreas Jaeger  <aj@suse.de>
30097
30098         * csu/.gitignore: Delete.
30099
30100 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30101
30102         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
30103         (timex): Use __syscall_slong_t.
30104
30105 2012-05-18  Andreas Jaeger  <aj@suse.de>
30106             Carlos O'Donell  <carlos_odonell@mentor.com>
30107
30108         * manual/install.texi (Configuring and compiling): Update
30109         description about files modified in the source directory.
30110         * INSTALL: Regenerated.
30111
30112 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30113
30114         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
30115         value.  Use "or" to set return value to -1.
30116         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
30117         negate return value.
30118
30119 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
30120
30121         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
30122         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
30123         failure if the compiler has Graphite support disabled.
30124         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
30125         Likewise.
30126         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
30127         (CFLAGS-memmove.c): Likewise.
30128         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
30129         Likewise.
30130
30131 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
30132
30133         * sysdeps/x86_64/x32/_itoa.h: New file.
30134
30135         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
30136         getdents system call only if kernel and user dirents have the
30137         same d_ino and d_off.
30138
30139         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
30140         LLONG_MAX != LONG_MAX.
30141         (_itoa_word): Use _ITOA_WORD_TYPE on value.
30142         (_fitoa_word): Likewise.
30143
30144         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
30145         years.
30146         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
30147         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
30148         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
30149
30150         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
30151         include <bits/wordsize.h>.  Check __x86_64__ instead of
30152         __WORDSIZE.
30153         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
30154         if __x86_64__ is defined.  Use anonymous union on fpstate.
30155
30156         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
30157         anonymous union.
30158
30159 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
30160
30161         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
30162         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
30163         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
30164         Refer to _rtld_local_ro instead of _rtld_global_ro.
30165         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
30166         Likewise.
30167         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
30168         Likewise.
30169         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
30170         Likewise.
30171         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
30172         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
30173         of _rtld_global, and rtld_progname instead of _dl_argv[0].
30174
30175         * sysdeps/powerpc/powerpc32/dl-machine.c
30176         (__elf_machine_runtime_setup) [PROF]: Don't reference
30177         _dl_prof_resolve.
30178
30179 2012-05-18  Andreas Jaeger  <aj@suse.de>
30180
30181         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
30182         function only available for GCCs before 3.4 since GCC 3.4
30183         introduced a builtin.
30184         (lrint): Likewise.
30185         (llrintf): Likewise.
30186         (llrint): Likewise.
30187         (fmaxf): Likewise.
30188         (fmax): Likewise.
30189         (fminf): Likewise.
30190         (fmin): Likewise.
30191         (rint): Likewise.
30192         (rintf): Likewise.
30193         (nearbyint): Likewise.
30194         (nearbyintf): Likewise.
30195         (ceil): Likewise.
30196         (ceilf): Likewise.
30197         (floor): Likewise.
30198         (floorf): Likewise.
30199
30200 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30201
30202         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
30203         on both fields and cast pointer to __syscall_ulong_t.
30204
30205         * bits/types.h (__fsword_t): New type.
30206         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
30207         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
30208         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30209         (__FSWORD_T_TYPE): Likewise.
30210         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30211         (__FSWORD_T_TYPE): Likewise.
30212         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30213         (__FSWORD_T_TYPE): Likewise.
30214         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
30215         (__FSWORD_T_TYPE): Likewise.
30216         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
30217         __SWORD_TYPE with __fsword_t.
30218         (statfs64): Likewise.
30219
30220 2012-05-17  David S. Miller  <davem@davemloft.net>
30221
30222         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
30223
30224 2012-05-17  Andreas Jaeger  <aj@suse.de>
30225
30226         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
30227         warning.
30228
30229 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30230
30231         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
30232
30233 2012-05-17  Andreas Jaeger  <aj@suse.de>
30234
30235         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
30236         when it is used.
30237
30238 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30239
30240         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
30241
30242 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
30243
30244         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
30245         * sysdeps/x86_64/tst-mallocalign1.c: New file.
30246
30247 2012-05-17  Andreas Jaeger  <aj@suse.de>
30248             Carlos O'Donell  <carlos_odonell@mentor.com>
30249
30250         [BZ #14059]
30251         * sysdeps/x86_64/multiarch/init-arch.h
30252         (bit_YMM_Usable): Rename to...
30253         (bit_AVX_Usable): ... this.
30254         (bit_FMA4_Usable): New macro.
30255         (bit_XMM_state): New macro.
30256         (bit_YMM_state): New macro.
30257         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
30258         [__ASSEMBLER__] (index_AVX_Usable): ... this.
30259         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
30260         (CPUID_OSXSAVE): New macro.
30261         (CPUID_AVX): New macro.
30262         (CPUID_FMA4): New macro.
30263         (index_YMM_Usable): Rename to...
30264         (index_AVX_Usable): ... this.
30265         (HAS_AVX): Use HAS_ARCH_FEATURE.
30266         (HAS_FMA4): Likewise.
30267         (HAS_YMM_USABLE): Remove.
30268         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30269         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
30270         are present.
30271         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
30272         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
30273         * sysdeps/x86_64/multiarch/Makefile: Likewise.
30274         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
30275         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
30276
30277 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
30278
30279         * math/libm-test.c: Support platforms without multiple rounding modes.
30280         * math/bug-nextafter.c: Support platforms without FP exceptions.
30281         * math/bug-nexttoward.c: Likewise.
30282         * math/test-fenv.c: Likewise.
30283         * math/test-misc.c: Likewise.
30284         * stdlib/bug-getcontext.c: Likewise.
30285
30286 2012-05-17  Andreas Jaeger  <aj@suse.de>
30287
30288         * manual/examples/search.c (critter_cmp): Change signature to
30289         avoid warnings.
30290         * manual/string.texi (Collation Functions): Likewise.
30291
30292 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30293
30294         * bits/types.h: Fold copyright years.
30295         * bits/typesizes.h: Likewise.
30296         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
30297         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
30298         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
30299         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
30300         * time/time.h: Likewise.
30301
30302 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
30303
30304         [BZ #208]
30305         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
30306         in instead of returning them.  Return void.
30307         (__libc_mallinfo): Accumulate over all arenas.
30308         (__malloc_stats): Adjust for change in int_mallinfo interface.
30309
30310 2012-05-16  Roland McGrath  <roland@hack.frob.com>
30311
30312         [BZ #10375]
30313         * configure.in (NM): Add AC_CHECK_TOOL for it.
30314         (libc_extra_cflags): New substituted variable.
30315         Check for -fstack-protector being used implicitly.
30316         * configure: Regenerated.
30317         * config.make.in (config-extra-cflags): New variable,
30318         gets @libc_extra_cflags@.
30319         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
30320
30321         [BZ #10375]
30322         * configure.in: Check for _FORTIFY_SOURCE being predefined.
30323         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
30324         * configure: Regenerated.
30325         * config.make.in (CPPUNDEFS): New substituted variable.
30326         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
30327         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
30328         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
30329
30330 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30331
30332         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
30333         (mq_attr): Use __syscall_slong_t.
30334
30335 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30336
30337         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
30338         Check __x86_64__ instead of __WORDSIZE.
30339         (_STAT_VER_LINUX): Likewise.
30340         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
30341         __syscall_ulong_t and __syscall_slong_t.
30342         (stat64): Likewise.
30343
30344 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30345
30346         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
30347
30348 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30349
30350         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
30351
30352 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30353
30354         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
30355         __syscall_ulong_t.
30356
30357         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
30358         include <bits/wordsize.h>.  Check __x86_64__ instead of
30359         __WORDSIZE.
30360         (greg_t): Use "__extension__ long long int" if __x86_64__ is
30361         defined.
30362         (mcontext_t): Replace "unsigned long" with "unsigned long long".
30363
30364         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
30365         include <bits/wordsize.h>.  Check __x86_64__ instead of
30366         __WORDSIZE.
30367         (user_regs_struct): Use "__extension__ unsigned long long"
30368         instead of "unsigned long" if __x86_64__ is defined.
30369         (user): Likewise.  Pad after pointer field if __ILP32__ is
30370         defined.
30371
30372 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
30373
30374         * configure.in (makeinfo): Require version 4.5 or later.  Allow
30375         versions 5 to 9.
30376         * configure: Regenerated.
30377         * manual/install.texi (texinfo): Increase version requirement to
30378         4.5 or later.
30379         * INSTALL: Regenerated.
30380
30381         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
30382
30383 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
30384
30385         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
30386
30387         * sysdeps/x86_64/x32/ffs.c: New file.
30388
30389         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
30390         __syscall_ulong_t.
30391         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
30392         defined.  Use __syscall_ulong_t.
30393         (shminfo): Use __syscall_ulong_t.
30394         (shm_info): Likewise.
30395
30396         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
30397         __syscall_ulong_t.
30398
30399         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
30400         <bits/wordsize.h>.
30401         (msgqnum_t): Use __syscall_ulong_t.
30402         (msglen_t): Likewise.
30403         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
30404         __syscall_ulong_t.
30405
30406         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
30407         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30408
30409         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
30410
30411         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
30412         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
30413
30414         * sysvipc/sys/msg.h (msgbuf): Replace long int with
30415         __syscall_slong_t.
30416
30417         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
30418         include <bits/wordsize.h>.  Check __x86_64__ instead of
30419         __WORDSIZE.
30420
30421         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
30422         "unsigned long long int" if __x86_64__ is defined.
30423         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
30424
30425         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
30426         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
30427         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
30428
30429         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
30430         <stdint.h>.
30431         (GET_PC): Cast to uintptr_t first.
30432         (GET_FRAME): Likewise.
30433         (GET_STACK): Likewise.
30434
30435         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
30436         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
30437         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
30438         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
30439         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
30440         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
30441         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
30442         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
30443         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
30444         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
30445         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
30446         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
30447         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
30448         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
30449         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
30450         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
30451         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
30452         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
30453         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
30454         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
30455         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
30456         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
30457         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
30458         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
30459         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
30460         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
30461         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
30462         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
30463         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
30464
30465 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
30466
30467         * Makerules (+depfiles): Also collect depfiles from .oS in
30468         $(extra-objs).
30469         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
30470         .oS, $(libnldbl-routines)).
30471
30472         * Makerules (native-compile-mkdep-flags): Define.
30473         * sunrpc/Makefile (extra-objs): Add $(addprefix
30474         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
30475         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
30476         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
30477         calling $(make-target-directory).
30478
30479 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30480
30481         * bits/types.h (__snseconds_t): Removed.
30482         * time/time.h (struct timespec): Replace __snseconds_t with
30483         __syscall_slong_t.
30484         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
30485         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
30486         Likewise.
30487         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30488         (__SNSECONDS_T_TYPE): Likewise.
30489         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30490         (__SNSECONDS_T_TYPE): Likewise.
30491         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30492         (__SNSECONDS_T_TYPE): Likewise.
30493
30494 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30495
30496         * sysdeps/mach/hurd/bits/typesizes.h
30497         (__SYSCALL_SLONG_TYPE): New macro.
30498         (__SYSCALL_ULONG_TYPE): Likewise.
30499
30500 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30501
30502         * bits/types.h (__syscall_slong_t): New type.
30503         (__syscall_ulong_t): Likewise.
30504
30505         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
30506         (__SYSCALL_ULONG_TYPE): Likewise.
30507         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
30508         (__SYSCALL_SLONG_TYPE): Likewise.
30509         (__SYSCALL_ULONG_TYPE): Likewise.
30510         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
30511         (__SYSCALL_SLONG_TYPE): Likewise.
30512         (__SYSCALL_ULONG_TYPE): Likewise.
30513         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
30514         (__SYSCALL_SLONG_TYPE): Likewise.
30515         (__SYSCALL_ULONG_TYPE): Likewise.
30516
30517 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30518
30519         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
30520         Add sigaltstack-offsets.sym.
30521         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
30522         <sigaltstack-offsets.h>.
30523         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
30524         longjmp_msg pointer.
30525         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
30526         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
30527         signal stack.
30528         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
30529
30530 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30531
30532         * elf/stackguard-macros.h: Remove file.
30533         * sysdeps/generic/stackguard-macros.h: New file.
30534         * sysdeps/i386/stackguard-macros.h: Likewise.
30535         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
30536         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
30537         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
30538         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
30539         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
30540         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
30541         * sysdeps/x86_64/stackguard-macros.h: Likewise.
30542         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
30543         <elf/stackguard-macros.h>.
30544
30545         [BZ #14109]
30546         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
30547         __aligned__ in attribute.
30548         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
30549         (gregset_t): Likewise.
30550
30551 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30552
30553         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
30554         * sysdeps/x86_64/64/Implies-after: Here.  New file.
30555         * sysdeps/x86_64/x32/Implies-after: New file.
30556
30557 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30558
30559         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
30560         and access return value for _dl_profile_fixup.  Use R10_LP to
30561         load frame size.
30562
30563 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30564
30565         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
30566
30567 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30568
30569         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
30570         * sysdeps/x86_64/x32/sysdep.h: New file.
30571
30572 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30573
30574         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
30575         * sysdeps/x86_64/setjmp.S: Likewise.
30576
30577 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30578
30579         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
30580         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
30581         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
30582         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
30583         remove unused global constant.
30584
30585 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
30586
30587         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
30588         include of <not-cancel.h>.
30589
30590 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30591
30592         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
30593
30594 2012-05-15  Jeff Law  <law@redhat.com>
30595             Andreas Jaeger  <aj@suse.de>
30596
30597         [BZ #13594]
30598         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
30599         out from...
30600         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
30601         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
30602         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
30603         code changing __hst_map_handle.map.
30604
30605 2012-05-15  Roland McGrath  <roland@hack.frob.com>
30606
30607         * configure.in (sysnames): Look for Implies-before and Implies-after
30608         files.
30609         * configure: Regenerated.
30610
30611 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30612
30613         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
30614         8-byte data alignment with LP_SIZE alignment.
30615
30616 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30617
30618         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
30619         into R10_LP.
30620
30621 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30622
30623         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
30624
30625 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30626
30627         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
30628         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
30629         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
30630         Likewise.
30631         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
30632
30633 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30634
30635         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
30636         (stackinfo_sub_sp): Likewise.
30637
30638 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30639
30640         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
30641         RAX_LP.
30642
30643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30644
30645         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
30646         into R*_LP.
30647
30648 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30649
30650         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
30651         sizes into R*_LP.
30652
30653 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30654
30655         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
30656
30657 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30658
30659         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
30660         into R11_LP and load __x86_64_shared_cache_size_half into
30661         R8_LP.
30662
30663 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
30664
30665         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
30666         R8_LP.
30667
30668 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30669
30670         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
30671         logb for POWER7.
30672         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
30673         logbf for POWER7.
30674         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
30675         logbl for POWER7.
30676         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
30677         powerpc32/power7/fpu/s_logb.c via #include.
30678         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
30679         powerpc32/power7/fpu/s_logbf.c via #include.
30680         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
30681         powerpc32/power7/fpu/s_logbl.c via #include.
30682
30683 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
30684
30685         * README.libm: Remove file.
30686
30687 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30688
30689         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
30690         count for x32.  Use R*_LP and omit operand-size suffix.
30691
30692 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30693
30694         * shlib-versions: Move x86_64-.*-linux.* entries to ...
30695         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
30696         * sysdeps/x86_64/x32/shlib-versions: New file.
30697
30698 2012-05-14  Roland McGrath  <roland@hack.frob.com>
30699
30700         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
30701         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
30702         Use _dl_fatal_printf instead.
30703
30704 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30705
30706         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
30707         set if not set by the user.  Do not allow for being unset.
30708         * sysdeps/unix/sysv/linux/configure: Regenerated.
30709
30710 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30711
30712         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
30713         the `q' suffix from lea and replace .quad with ASM_ADDR.
30714
30715 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30716
30717         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
30718         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
30719         instead of $17.
30720         (PTR_DEMANGLE): Likewise.
30721
30722 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30723
30724         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
30725         (LP_OP): Likewise.
30726         (ASM_ADDR): Likewise.
30727         (RAX_LP): Likewise.
30728         (RBP_LP): Likewise.
30729         (RBX_LP): Likewise.
30730         (RCX_LP): Likewise.
30731         (RDI_LP): Likewise.
30732         (RSI_LP): Likewise.
30733         (RSP_LP): Likewise.
30734         (R8_LP): Likewise.
30735         (R9_LP): Likewise.
30736         (R10_LP): Likewise.
30737         (R10_LP): Likewise.
30738         (R11_LP): Likewise.
30739         (R12_LP): Likewise.
30740         (R13_LP): Likewise.
30741         (R14_LP): Likewise.
30742         (R15_LP): Likewise.
30743
30744 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30745
30746         * sysdeps/x86_64/x32/dl-machine.h: New file.
30747
30748 2012-05-14  Andreas Jaeger  <aj@suse.de>
30749
30750         * manual/Makefile (subdir): Remove export of subdir.
30751         (all): Remove target.
30752         (.PHONY): Remove all from list.
30753         (mkinstalldirs): Remove.
30754         (.PHONY): Remove installdirs from list.
30755         ($(inst_infodir)/libc.info): Use make-target-directory.
30756         (installdirs): Remove.
30757         (subdir_%): Remove.
30758         (glibc-targets): Remove.
30759         (lib): Remove.
30760         (stubs): Remove.
30761         ($(objpfx)stubs ../po/manual.pot): Remove.
30762         ($(objpfx)stamp%): Remove.
30763         (make-target-directory): Remove.
30764         (subdir_install): Remove.
30765         (routines): Remove.
30766         (aux): Remove.
30767         (sources): Remove.
30768         (objects): Remove.
30769         (headers): Remove.
30770
30771         [BZ #13750]
30772         * manual/.gitignore: Remove, it's not needed anymore.
30773         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
30774         all files in it.
30775         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
30776         directory.
30777         (texis): Renamed to $(objpfx)texis.
30778         (texis-path): New, contains path to generated files.
30779         (chapters.%): Use texis-path for complete path, add extra argument
30780         libc-texinfo.sh.
30781         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
30782         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
30783         (summary,texi, stamp-summary): Use complete path of
30784         files. Generate files in build dir.
30785         (dir-add.texi): Build in build dir.
30786         (libm-err.texi,stamp-libm-err): Likewise.
30787         (version.texi, stamp-version): Likewise.
30788         (.%c.texi): Likewise.
30789         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
30790         (mostlyclean): Remove target.
30791         (realclean): Remove target.
30792         (generated): Add new variable with contents from mostlyclean and
30793         realclean, remove entries duplicated in common-mostlyclean, add
30794         stamp-libm-err and stamp-version.
30795         (generated-dirs): Add libc directory.
30796         ($(inst_infodir)/libc.info): Install files from build dir.
30797
30798         * manual/install.texi (Configuring and compiling): Adjust since
30799         the info files are not part of the tar ball anymore.
30800
30801 2012-05-14  Andreas Jaeger  <aj@suse.de>
30802
30803         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
30804         variable.
30805
30806 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
30807
30808         [BZ #13717]
30809         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
30810         to 2.2.0 where earlier.
30811         * sysdeps/unix/sysv/linux/configure: Regenerated.
30812         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
30813         Remove conditional code.
30814         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
30815         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
30816         Remove conditional code.
30817         [!__NR_lchown]: Likewise.
30818         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30819         [__NR_lchown]: Likewise.
30820         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
30821         comment referencing __ASSUME_LCHOWN_SYSCALL.
30822         * sysdeps/unix/sysv/linux/i386/sigaction.c
30823         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30824         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30825         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
30826         Remove conditional code.
30827         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
30828         (__protocol_available): Remove #if 0 code.
30829         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
30830         conditional code.
30831         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
30832         * sysdeps/unix/sysv/linux/kernel-features.h
30833         (__ASSUME_GETCWD_SYSCALL): Don't define.
30834         (__ASSUME_REALTIME_SIGNALS): Likewise.
30835         (__ASSUME_PREAD_SYSCALL): Likewise.
30836         (__ASSUME_PWRITE_SYSCALL): Likewise.
30837         (__ASSUME_POLL_SYSCALL): Likewise.
30838         (__ASSUME_LCHOWN_SYSCALL): Likewise.
30839         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
30840         non-SPARC.
30841         (__ASSUME_SIOCGIFNAME): Don't define.
30842         (__ASSUME_MSG_NOSIGNAL): Likewise.
30843         (__ASSUME_SENDFILE): Define unconditionally.
30844         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
30845         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
30846         conditional code.
30847         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
30848         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
30849         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30850         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30851         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
30852         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
30853         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
30854         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
30855         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30856         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30857         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
30858         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30859         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30860         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
30861         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30862         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30863         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
30864         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30865         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30866         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
30867         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30868         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30869         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
30870         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
30871         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30872         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
30873         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30874         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
30876         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30877         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30878         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
30879         Remove conditional code.
30880         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30881         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30882         Remove conditional code.
30883         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30884         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
30885         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
30886         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30887         Remove conditional code.
30888         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30889         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
30890         Remove conditional code.
30891         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30892         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
30893         Remove conditional code.
30894         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30895         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
30896         Remove conditional code.
30897         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
30898         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
30899         Remove conditional code.
30900         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30901         * sysdeps/unix/sysv/linux/sh/pwrite64.c
30902         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
30903         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
30904         * sysdeps/unix/sysv/linux/sigaction.c
30905         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30906         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30907         * sysdeps/unix/sysv/linux/sigpending.c
30908         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30909         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30910         * sysdeps/unix/sysv/linux/sigprocmask.c
30911         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30912         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30913         * sysdeps/unix/sysv/linux/sigsuspend.c
30914         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
30915         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
30916         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
30917         (__libc_missing_rt_sigs): Remove.
30918         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
30919         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
30920         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
30921         Remove conditional code.
30922         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
30923         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
30924         return 1.
30925         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
30926         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
30927         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
30928         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
30929
30930 2012-05-14  Andreas Jaeger  <aj@suse.de>
30931
30932         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
30933         it's not used in glibc.
30934         (__coshm1): Likewise.
30935         (__acosh1p): Likewise.
30936         (__sgn): Likewise.
30937
30938         * manual/string.texi (Copying and Concatenation): Add missing
30939         variable in concat example.
30940         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
30941
30942 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30943
30944         [BZ #14103]
30945         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
30946         __builtin_clzl with __builtin_clzll.
30947
30948 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
30949
30950         [BZ #14104]
30951         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
30952         libc_freeres_ptr.
30953
30954 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30955
30956         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
30957         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
30958         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
30959         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
30960
30961 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
30962
30963         * NEWS: Update ia64 info.
30964
30965 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
30966
30967         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
30968         used as bcopy.
30969
30970 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
30971
30972         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
30973         * sysdeps/unix/syscalls.list (dup3): Likewise.
30974         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
30975         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
30976
30977 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30978
30979         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
30980         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
30981
30982 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
30983
30984         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
30985         thread pointer.
30986         (TLS_IE): Use mov/add instead of movq/addq to load thread
30987         pointer.
30988         (TLS_GD_PREFIX): New.
30989         (TLS_GD): Use it.
30990
30991 2012-05-11  David S. Miller  <davem@davemloft.net>
30992
30993         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
30994         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
30995         (_FPU_SETCW): Likewise.
30996
30997 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
30998
30999         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
31000         is 32-byte aligned.
31001
31002 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
31003
31004         [BZ #11837]
31005         * iconvdata/gb18030.c: Update tables.
31006         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
31007         characters specially.
31008         (BODY for TO_LOOP): Add encoding of missing ranges.
31009
31010 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
31011
31012         [BZ #13673]
31013         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
31014         * sysdeps/mach/hurd/dup3.c: Likewise.
31015         * sysdeps/mach/hurd/readlinkat.c: Likewise.
31016         * sysdeps/powerpc/memmove.c:: Likewise.
31017
31018 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31019
31020         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
31021         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
31022
31023 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31024
31025         * elf/elf.h (R_X86_64_RELATIVE64): New.
31026         (R_X86_64_NUM): Updated.
31027         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
31028         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
31029         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
31030         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
31031         tst-quad1pie tst-quad2pie
31032         (modules-names): Add tst-quadmod1 tst-quadmod2.
31033         ($(objpfx)tst-quad1): New dependency.
31034         ($(objpfx)tst-quad2): Likewise.
31035         ($(objpfx)tst-quad1pie): Likewise.
31036         ($(objpfx)tst-quad2pie): Likewise.
31037         * sysdeps/x86_64/tst-quad1.c: New file.
31038         * sysdeps/x86_64/tst-quad1pie.c: New file.
31039         * sysdeps/x86_64/tst-quad2.c: Likewise.
31040         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
31041         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
31042         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
31043         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
31044         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
31045
31046 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31047
31048         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
31049         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
31050         * streams/stropts.h (t_scalar_t): Define type.
31051
31052         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
31053         (_PATH_PRESERVE): Set to "/var/lib".
31054         (_PATH_RWHODIR): Set to "/var/spool/rwho".
31055
31056         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
31057         instead of int.
31058
31059         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
31060         if __dir_mkfile succeeded.
31061
31062         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
31063         checking for _hurd_dtablesize.  Unlock it right after having
31064         finished _hurd_dtable allocation.
31065
31066 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31067
31068         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
31069         * sysdeps/mach/hurd/configure: Regenerated.
31070         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
31071         special-casing to...
31072         * sysdeps/gnu/configure.in: ... this new file.
31073         * sysdeps/unix/sysv/linux/configure: Regenerated.
31074         * sysdeps/gnu/configure: New generated file.
31075
31076         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
31077         for Linux: use nsec instead of usec, as well as:
31078         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
31079         members of type struct timespec.
31080         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
31081         New macros.
31082         (struct stat64): Likewise.
31083         (_STATBUF_ST_NSEC): New macro.
31084         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
31085
31086         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
31087         __strtoul_internal rather than strtoul.
31088
31089 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31090
31091         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
31092         and reject them.
31093
31094 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31095
31096         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
31097         which preserves existing values.
31098         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
31099
31100 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31101
31102         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
31103         TIMEOUT values.  Return EINVAL for NFDS values either negative or
31104         greater than FD_SETSIZE.
31105
31106 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31107
31108         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
31109         allocated, call __vm_protect to finish enabling the existing space, and
31110         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
31111         allocate the remainder.
31112
31113 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31114
31115         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
31116         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
31117
31118 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31119
31120         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
31121         sysdeps/mach/hurd/readlink.c.
31122
31123         * posix/tst-sysconf.c (posix_options): Only use
31124         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
31125         _POSIX_SYNCHRONIZED_IO when they are defined
31126         * sysdeps/mach/hurd/bits/posix_opt.h:
31127         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
31128         (_XOPEN_REALTIME): Undefine macro.
31129         (_XOPEN_REALTIME_THREADS): Undefine macro.
31130         (_XOPEN_SHM): Undefine macro.
31131         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
31132         macro to -1.
31133         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
31134         macro to -1.
31135         (_POSIX_ASYNC_IO): Undefine macro.
31136         (_POSIX_PRIORITIZED_IO): Undefine macro.
31137         (_POSIX_SPIN_LOCKS): Define macro to -1.
31138
31139         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
31140         SA_NODEFER, SA_RESETHAND.
31141         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
31142         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
31143         F_DUPFD_CLOEXEC.
31144
31145 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31146
31147         * elf/Makefile (pldd-modules): Define unconditionally.
31148
31149 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31150
31151         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
31152
31153 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31154
31155         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
31156         Return ENOENT when name is empty.
31157         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
31158
31159 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31160
31161         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
31162
31163         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
31164
31165 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31166
31167         Fix mlock in all cases except non-readable pages.
31168         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
31169         instead of VM_PROT_ALL as parameter to __vm_wire function.
31170
31171         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
31172         (__mkdir): When path is `/', just fail with EEXIST.
31173         * sysdeps/mach/hurd/mkdirat.c: Likewise.
31174
31175 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31176
31177         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
31178         <sys/uio.h> (for writev).
31179         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
31180         and <sys/param.h> (for MIN).
31181
31182 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
31183
31184         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
31185         REQUESTED_TIME.  Properly set the remaining time and return EINTR
31186         if interrupted.
31187
31188 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31189
31190         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
31191         Depend on against $(link-rpcuserlibs).
31192
31193 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31194
31195         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
31196         (__libc_stack_end): Do not use attribute_relro.
31197         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
31198         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
31199         to libthread-provided value.
31200         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
31201         attribute_relro.
31202
31203 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31204
31205         [BZ #3748]
31206         * bits/libc-lock.h (__libc_once_get): New macro.
31207         * sysdeps/mach/bits/libc-lock.h: Likewise.
31208         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
31209         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
31210         instead of using implementation details.
31211
31212         * libio/fileops.c: Unconditionally include <kernel-features.h>.
31213         * libio/freopen.c: Likewise.
31214         * libio/freopen64.c: Likewise.
31215         * misc/syslog.c: Likewise.
31216         * nscd/connections.c: Likewise.
31217         * nscd/netgroupcache.c: Likewise.
31218         * sysdeps/posix/getcwd.c: Likewise.
31219
31220 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31221
31222         * math/w_ilogbf.c: Add #include <limits.h>.
31223
31224 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31225
31226         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
31227         path instead of returning without unlocking.
31228
31229         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
31230         immediate-write ioctls.
31231         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
31232
31233 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31234
31235         * sysdeps/mach/hurd/i386/init-first.c (init): Use
31236         __builtin_frame_address instead of making assumptions about the
31237         location of the return address relative to DATA.  Force early load of
31238         the return address.
31239         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
31240         __builtin_frame_address.
31241
31242         dup3 for GNU Hurd.
31243         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
31244         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
31245         implement dup3 and do some further code clean-ups.
31246         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
31247         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
31248
31249 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31250
31251         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
31252
31253         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
31254         HURD_CRITICAL_END around holding _hurd_dtable_lock.
31255         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
31256         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
31257         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
31258         d->port.lock.
31259
31260         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
31261         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
31262         when handler == SIG_ERR, not when handler != SIG_ERR.
31263
31264 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31265
31266         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
31267         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
31268         definitions.
31269
31270         accept4 for GNU Hurd.
31271         * include/sys/socket.h (__libc_accept4): New prototype.
31272         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
31273         to implement __libc_accept4.
31274         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
31275         __libc_accept4.
31276         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
31277
31278         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
31279         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
31280         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
31281         signal-defines.sym.
31282
31283 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31284
31285         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
31286
31287 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
31288
31289         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
31290         assertion on O_CLOEXEC flag.
31291         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
31292         * hurd/intern-fd.c: Likewise.
31293         * hurd/port2fd.c: Likewise.
31294
31295 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31296
31297         [BZ #3906]
31298         * bits/in.h (IPV6_PKTINFO): Define new macro.
31299         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
31300
31301 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31302
31303         [BZ #13954]
31304         [BZ #13955]
31305         [BZ #13956]
31306         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
31307         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
31308         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
31309         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
31310         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31311         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
31312         * math/libm-test.inc (logb_test) : Additional logb tests.
31313
31314 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
31315             Andreas Jaeger  <aj@suse.de>
31316
31317         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
31318         * configure: Regenerated.
31319         * config.h.in (LINK_OBSOLETE_RPC): New macro.
31320         * config.make.in (link-obsolete-rpc): New substituted variable.
31321         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
31322         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
31323         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31324         (shared-only-routines): Don't set it under [link-obsolete-rpc],
31325         so that libc.a contains the symbols.
31326         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
31327         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
31328         * sunrpc/auth_none.c: Likewise.
31329         * sunrpc/auth_unix.c: Likewise.
31330         * sunrpc/authdes_prot.c: Likewise.
31331         * sunrpc/authuxprot.c: Likewise.
31332         * sunrpc/clnt_gen.c: Likewise.
31333         * sunrpc/clnt_perr.c: Likewise.
31334         * sunrpc/clnt_raw.c: Likewise.
31335         * sunrpc/clnt_simp.c: Likewise.
31336         * sunrpc/clnt_tcp.c: Likewise.
31337         * sunrpc/clnt_udp.c: Likewise.
31338         * sunrpc/clnt_unix.c: Likewise.
31339         * sunrpc/des_crypt.c: Likewise.
31340         * sunrpc/des_soft.c: Likewise.
31341         * sunrpc/get_myaddr.c: Likewise.
31342         * sunrpc/key_call.c: Likewise.
31343         * sunrpc/key_prot.c: Likewise.
31344         * sunrpc/netname.c: Likewise.
31345         * sunrpc/pm_getmaps.c: Likewise.
31346         * sunrpc/pm_getport.c: Likewise.
31347         * sunrpc/pmap_clnt.c: Likewise.
31348         * sunrpc/pmap_prot.c: Likewise.
31349         * sunrpc/pmap_prot2.c: Likewise.
31350         * sunrpc/pmap_rmt.c: Likewise.
31351         * sunrpc/publickey.c: Likewise.
31352         * sunrpc/rpc_cmsg.c: Likewise.
31353         * sunrpc/rpc_common.c: Likewise.
31354         * sunrpc/rpc_dtable.c: Likewise.
31355         * sunrpc/rpc_prot.c: Likewise.
31356         * sunrpc/rpc_thread.c: Likewise.
31357         * sunrpc/rtime.c: Likewise.
31358         * sunrpc/svc.c: Likewise.
31359         * sunrpc/svc_auth.c: Likewise.
31360         * sunrpc/svc_raw.c: Likewise.
31361         * sunrpc/svc_run.c: Likewise.
31362         * sunrpc/svc_tcp.c: Likewise.
31363         * sunrpc/svc_udp.c: Likewise.
31364         * sunrpc/svc_unix.c: Likewise.
31365         * sunrpc/svcauth_des.c: Likewise.
31366         * sunrpc/xcrypt.c: Likewise.
31367         * sunrpc/xdr.c: Likewise.
31368         * sunrpc/xdr_array.c: Likewise.
31369         * sunrpc/xdr_float.c: Likewise.
31370         * sunrpc/xdr_intXX_t.c: Likewise.
31371         * sunrpc/xdr_mem.c: Likewise.
31372         * sunrpc/xdr_rec.c: Likewise.
31373         * sunrpc/xdr_ref.c: Likewise.
31374         * sunrpc/xdr_sizeof.c: Likewise.
31375         * sunrpc/xdr_stdio.c: Likewise.
31376
31377 2012-05-10  Roland McGrath  <roland@hack.frob.com>
31378
31379         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
31380         change.  Update copyright years.
31381
31382 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31383
31384         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
31385
31386 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
31387             Joseph Myers  <joseph@codesourcery.com>
31388             Paul Pluzhnikov  <ppluzhnikov@google.com>
31389
31390         [BZ #14012]
31391         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
31392         requiring rpcgen.
31393         [cross-compiling] (extra-libs): Likewise.
31394         [cross-compiling] (extra-libs-others): Likewise.
31395         [cross-compiling] (librpcsvc-routines): Likewise.
31396         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
31397         [cross-compiling] (omit-deps): Likewise.
31398         (sunrpc-CPPFLAGS): New variable.
31399         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
31400         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
31401         (cross-rpcgen-objs): New variable.
31402         (extra-objs): Append $(cross-rpcgen-objs).
31403         ($(cross-rpcgen-objs)): New rule.
31404         ($(objpfx)cross-rpcgen): Likewise.
31405         (rpcgen-cmd): Define to use $(built-program-file).  Expand
31406         comment.
31407         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
31408         ($(objpfx)x%.stmp): Likewise.
31409         * sunrpc/proto.h [IS_IN_build] (_): Define.
31410         [IS_IN_build] (_libc_intl_domainname): Likewise.
31411
31412 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
31413
31414         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
31415         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
31416         and R_X86_64_TPOFF64.
31417
31418 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
31419
31420         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
31421         sysdeps/unix/sysv/syscalls.list.
31422         (stime): Likewise.
31423         (utime): Likewise.
31424         * sysdeps/unix/sysv/syscalls.list: Remove file.
31425
31426 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
31427
31428         [BZ #3440]
31429         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
31430         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
31431         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
31432         (__LC_IDENTIFICATION): Make these macros useful in #if
31433         expressions, as required by C99.
31434
31435 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
31436
31437         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
31438         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
31439         after this.
31440
31441 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
31442
31443         * stdlib/longlong.h: Updated from GCC.
31444
31445 2012-05-09  Andreas Jaeger  <aj@suse.de>
31446
31447         * nscd/nscd.c (run_modes): Make named enum, reorder so that
31448         default is first entry.
31449         (run_mode): Set type.
31450         (main): Remove informal message about syslog.
31451         (options): Fix typo.
31452
31453         [BZ #14053]
31454         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
31455         to asm.
31456         (lrint): Likewise.
31457         (llrintf): Likewise.
31458         (llrint): Likewise.
31459         (rint): Likewise.
31460         (rintf): Likewise.
31461         (nearbyint): Likewise.
31462         (nearbyintf): Likewise.
31463
31464 2012-05-09  Andreas Jaeger  <aj@suse.de>
31465             Pedro Alves  <palves@redhat.com>
31466
31467         * nscd/nscd.c (run_mode): Use enum.
31468         (main): Cleanup coding style issue.
31469
31470 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
31471             Andreas Jaeger  <aj@suse.de>
31472
31473         * nscd/nscd.c (go_background): Replaced with...
31474         (run_mode): ... this.
31475         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
31476         (options): Add -F --foreground.
31477         (main): Implement it.
31478         (parse_opt): Parse it.
31479
31480 2012-05-09  Andreas Jaeger  <aj@suse.de>
31481
31482         [BZ #14083]
31483         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
31484         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
31485         -Wconversion warning.
31486         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
31487         Likewise.
31488
31489 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
31490
31491         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
31492         == 0.
31493         (LC_ALL): Use macro-int-constant.
31494         (LC_COLLATE): Likewise.
31495         (LC_CTYPE): Likewise.
31496         (LC_MESSAGES): Likewise.
31497         (LC_MONETARY): Likewise.
31498         (LC_NUMERIC): Likewise.
31499         (LC_TIME): Likewise.
31500         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
31501         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31502         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31503         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
31504         Specify type.
31505         [C99-based standards] (float_t): Expect type.
31506         [C99-based standards] (double_t): Expect type.
31507         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
31508         type.
31509         [C99-based standards] (HUGE_VALL): Likewise.
31510         [C99-based standards] (INFINITY): Likewise.
31511         [C99-based standards] (NAN): Likewise.
31512         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
31513         [C99-based standards] (FP_NAN): Likewise.
31514         [C99-based standards] (FP_NORMAL): Likewise.
31515         [C99-based standards] (FP_SUBNORMAL): Likewise.
31516         [C99-based standards] (FP_ZERO): Likewise.
31517         [C99-based standards] (FP_FAST_FMA): Use
31518         optional-macro-int-constant.  Specify type.  Require == 1.
31519         [C99-based standards] (FP_FAST_FMAF): Likewise.
31520         [C99-based standards] (FP_FAST_FMAL): Likewise.
31521         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
31522         [C99-based standards] (FP_ILOGBNAN): Likewise.
31523         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
31524         Specify type.
31525         [C99-based standards] (MATH_ERREXCEPT): Likewise.
31526         [C99-based standards] (math_errhandling): Specify type.
31527         [ISO99 || ISO11] (signgam): Do not allow.
31528         [non-C99-based standards] (copysignf): Do not allow.
31529         [non-C99-based standards] (exp2f): Likewise.
31530         [non-C99-based standards] (log2f): Likewise.
31531         [non-C99-based standards] (modff): Allow.
31532         [non-C99-based standards] (erff): Do not allow.
31533         [non-C99-based standards] (erfcf): Likewise.
31534         [non-C99-based standards] (gammaf): Likewise.
31535         [non-C99-based standards] (hypotf): Likewise.
31536         [non-C99-based standards] (j0f): Likewise.
31537         [non-C99-based standards] (j1f): Likewise.
31538         [non-C99-based standards] (jnf): Likewise.
31539         [non-C99-based standards] (lgammaf): Likewise.
31540         [non-C99-based standards] (tgammaf): Likewise.
31541         [non-C99-based standards] (y0f): Likewise.
31542         [non-C99-based standards] (y1f): Likewise.
31543         [non-C99-based standards] (ynf): Likewise.
31544         [non-C99-based standards] (isnanf): Likewise.
31545         [non-C99-based standards] (acoshf): Likewise.
31546         [non-C99-based standards] (asinhf): Likewise.
31547         [non-C99-based standards] (atanhf): Likewise.
31548         [non-C99-based standards] (cbrtf): Likewise.
31549         [non-C99-based standards] (expm1f): Likewise.
31550         [non-C99-based standards] (ilogbf): Likewise.
31551         [non-C99-based standards] (log1pf): Likewise.
31552         [non-C99-based standards] (logbf): Likewise.
31553         [non-C99-based standards] (nextafterf): Likewise.
31554         [non-C99-based standards] (remainderf): Likewise.
31555         [non-C99-based standards] (rintf): Likewise.
31556         [non-C99-based standards] (scalbf): Likewise.
31557         [non-C99-based standards] (copysignl): Likewise.
31558         [non-C99-based standards] (exp2l): Likewise.
31559         [non-C99-based standards] (log2l): Likewise.
31560         [non-C99-based standards] (modfl): Allow.
31561         [non-C99-based standards] (erfl): Do not allow.
31562         [non-C99-based standards] (erfcl): Likewise.
31563         [non-C99-based standards] (gammal): Likewise.
31564         [non-C99-based standards] (hypotl): Likewise.
31565         [non-C99-based standards] (j0l): Likewise.
31566         [non-C99-based standards] (j1l): Likewise.
31567         [non-C99-based standards] (jnl): Likewise.
31568         [non-C99-based standards] (lgammal): Likewise.
31569         [non-C99-based standards] (tgammal): Likewise.
31570         [non-C99-based standards] (y0l): Likewise.
31571         [non-C99-based standards] (y1l): Likewise.
31572         [non-C99-based standards] (ynl): Likewise.
31573         [non-C99-based standards] (isnanl): Likewise.
31574         [non-C99-based standards] (acoshl): Likewise.
31575         [non-C99-based standards] (asinhl): Likewise.
31576         [non-C99-based standards] (atanhl): Likewise.
31577         [non-C99-based standards] (cbrtl): Likewise.
31578         [non-C99-based standards] (expm1l): Likewise.
31579         [non-C99-based standards] (ilogbl): Likewise.
31580         [non-C99-based standards] (log1pl): Likewise.
31581         [non-C99-based standards] (logbl): Likewise.
31582         [non-C99-based standards] (nextafterl): Likewise.
31583         [non-C99-based standards] (remainderl): Likewise.
31584         [non-C99-based standards] (rintl): Likewise.
31585         [non-C99-based standards] (scalbl): Likewise.
31586         [ISO || ISO99 || ISO11] (*_t): Do not allow.
31587         [non-C99-based standards] (FP_*): Do not allow.
31588         [C99-based standards] (FP_*): Change to
31589         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
31590         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31591         allow.
31592         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
31593         (SIG_ERR): Likewise.
31594         [X/Open-based standards] (SIG_HOLD): Likewise.
31595         (SIG_IGN): Likewise.
31596         (SIGABRT): Use macro-int-constant.  Specify type.  Require
31597         positive value.
31598         (SIGFPE): Likewise.
31599         (SIGILL): Likewise.
31600         (SIGINT): Likewise.
31601         (SIGSEGV): Likewise.
31602         (SIGTER): Likewise.
31603         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
31604         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
31605         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
31606         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
31607         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
31608         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
31609         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
31610         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
31611         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
31612         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
31613         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
31614         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
31615         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
31616         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
31617         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
31618         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
31619         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
31620         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
31621         [X/Open-based standards] (SIGTRAP): Likewise.
31622         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
31623         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
31624         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
31625         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
31626         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
31627         allow.
31628
31629 2012-05-08  Ian Wienand  <ianw@vmware.com>
31630
31631         [BZ #14080]
31632         * time/tzset.c (__tzset_parse_tz): Update default rules for
31633         daylight time changes in the Energy Policy Act of 2005.
31634
31635 2012-05-09  Andreas Jaeger  <aj@suse.de>
31636
31637         [BZ #13983]
31638         * elf/ldconfig.c (parse_conf): Change string to make clear that
31639         ldconfig only issued a warning if ld.so.conf does not exist.
31640
31641 2012-05-08  David S. Miller  <davem@davemloft.net>
31642
31643         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
31644         movxtod instead of popping the value on the stack.
31645
31646         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31647
31648 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
31649
31650         * config.h.in: Add HAVE_ARM_PCS_VFP.
31651
31652 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
31653
31654         [BZ #13979]
31655         * include/features.h: Warn if user requests __FORTIFY_SOURCE
31656         checking but the checks are disabled for any reason.
31657
31658 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
31659
31660         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
31661         and ELF64_R_TYPE with ELFW(R_TYPE).
31662
31663 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
31664
31665         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
31666         (ulimit): Likewise.
31667
31668         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
31669         (settimeofday): Likewise.
31670
31671 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
31672
31673         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
31674         a struct th_u2 inside the union, and move tu_block/tu_code into
31675         a new th_u3 union of tu_block/tu_code inside of that.  Move
31676         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
31677         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
31678         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
31679         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
31680         (th_stuff): Change to th_u1.tu_stuff.
31681         (th_data): Define.
31682         (th_msg): Change to th_u1.th_u2.tu_data.
31683
31684 2012-05-07  David S. Miller  <davem@davemloft.net>
31685
31686         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31687
31688         [BZ #14074]
31689         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
31690         (SETUP_PIC_REG): Use it.
31691         (SETUP_PIC_REG_LEAF): Use it.
31692
31693 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
31694
31695         [BZ #13885]
31696         [BZ #13923]
31697         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31698         USE_AS_EXPM1L.
31699         (EXPL_FINITE): Likewise.
31700         (FLDLOG): Likewise.
31701         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31702         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31703         e_expl.S.
31704         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31705         USE_AS_EXPM1L.
31706         (EXPL_FINITE): Likewise.
31707         (FLDLOG): Likewise.
31708         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
31709         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
31710         e_expl.S.
31711         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
31712         test of -max_value argument for long double.
31713         * sysdeps/i386/fpu/libm-test-ulps: Update.
31714         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31715
31716 2012-05-06  David S. Miller  <davem@davemloft.net>
31717
31718         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
31719         quad soft-float symbols whose references which are compiler
31720         generated.
31721         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
31722
31723 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
31724
31725         [BZ #13884]
31726         [BZ #13914]
31727         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31728         USE_AS_EXP10L.
31729         (EXPL_FINITE): Likewise.
31730         (FLDLOG): Likewise.
31731         (c0): Likewise.
31732         (c1): Likewise.
31733         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31734         Adjust comments for base varying.
31735         (__expl_finite): Change alias to EXPL_FINITE.
31736         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
31737         e_expl.S.
31738         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
31739         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
31740         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
31741         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
31742         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
31743         USE_AS_EXP10L.
31744         (EXPL_FINITE): Likewise.
31745         (FLDLOG): Likewise.
31746         (c0): Likewise.
31747         (c1): Likewise.
31748         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
31749         Adjust comments for base varying.
31750         (__expl_finite): Change alias to EXPL_FINITE.
31751         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
31752         tests for bugs.
31753         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31754
31755         [BZ #14064]
31756         * math/libm-test.inc (check_float_internal): Correct ulp
31757         calculation for subnormal expected results.
31758
31759 2012-05-06  Andreas Jaeger  <aj@suse.de>
31760
31761         * Makeconfig (+math-flags): New, set to -frounding-math.
31762         (+cflags): Add +math-flags so that all of glibc gets compiled with
31763         it.
31764
31765         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
31766
31767 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
31768
31769         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
31770         Disable one test.
31771
31772         [BZ #13787]
31773         [BZ #13922]
31774         [BZ #14036]
31775         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
31776         (__ieee754_expl): Allow for and saturate large arguments.
31777         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
31778         (u_threshold): Likewise.
31779         (__exp): Call __ieee754_exp before checking for overflow and
31780         underflow.
31781         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
31782         (u_threshold): Likewise.
31783         (__expf): Call __ieee754_expf before checking for overflow and
31784         underflow.
31785         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
31786         (u_threshold): Likewise.
31787         (__expl): Call __ieee754_expl before checking for overflow and
31788         underflow.
31789         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
31790         (__ieee754_expl): Allow for and saturate large arguments.
31791         * math/libm-test.inc (exp_test): Add another test.  Do not allow
31792         missing overflow exception on overflow.
31793         (expm1_test): Do not allow missing overflow exception on overflow.
31794
31795         * sysdeps/i386/fpu/e_expl.c: Move to ...
31796         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
31797         rather than using inline asm.
31798         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
31799         * sysdeps/x86_64/fpu/e_expl.S: Copy from
31800         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
31801
31802         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
31803         (nice): Likewise.
31804         (poll): Likewise.
31805         (signal): Likewise.
31806         (time): Likewise.
31807         (times): Likewise.
31808
31809 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31810
31811         * sysdeps/unix/syscalls.list (adjtime): Add entry from
31812         sysdeps/unix/common/syscalls.list.
31813         (fchmod): Likewise.
31814         (fchown): Likewise.
31815         (ftruncate): Likewise.
31816         (getrusage): Likewise.
31817         (gettimeofday): Likewise.
31818         (setpgid): Likewise.
31819         (setregid): Likewise.
31820         (setreuid): Likewise.
31821         (sigaction): Likewise.
31822         (truncate): Likewise.
31823         (vhangup): Likewise.
31824         * sysdeps/unix/common/syscalls.list: Remove file.
31825         * sysdeps/unix/bsd/Implies: Don't include unix/common.
31826         * sysdeps/unix/sysv/linux/Implies: Likewise.
31827
31828 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
31829
31830         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
31831         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
31832         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
31833         Moved to ...
31834         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
31835         Here.
31836         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
31837         to ...
31838         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
31839         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
31840         to ...
31841         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
31842         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
31843         to ...
31844         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
31845         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
31846         to ...
31847         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
31848         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
31849         to ...
31850         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
31851         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
31852         to ...
31853         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
31854         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
31855         to ...
31856         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
31857         Here.
31858         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
31859         to ...
31860         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
31861         Here.
31862         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
31863         to ...
31864         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
31865         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
31866         Moved to ...
31867         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
31868         Here.
31869         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
31870         to ...
31871         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
31872
31873 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31874
31875         * sysdeps/unix/common/bits/dirent.h: Remove file.
31876         * sysdeps/unix/common/bits/fcntl.h: Likewise.
31877
31878         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
31879         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
31880         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
31881         * sysdeps/unix/bsd/isatty.c: Likewise.
31882         * sysdeps/unix/bsd/tcdrain.c: Likewise.
31883         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
31884         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
31885
31886 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
31887
31888         [BZ #13563]
31889         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
31890         long double comparison inaccuracies.
31891         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
31892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31893
31894 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
31895
31896         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
31897         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
31898
31899 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
31900
31901         [BZ #14049]
31902         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
31903         nonzero digits before rounding a hex value.
31904         * stdlib/tst-strtod.c (tests): Add another test.
31905
31906 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31907
31908         * sysdeps/s390/fpu/libm-test-ulps: Update.
31909
31910 2012-05-03  Andreas Jaeger  <aj@suse.de>
31911
31912         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
31913         does not get optimized out.
31914         (malloc_opt_barrier): New.
31915
31916 2012-05-03  Andreas Jaeger  <aj@suse.de>
31917             Roland McGrath  <roland@hack.frob.com>
31918
31919         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
31920         intermediate file deletion.
31921         (generated): Add .symlist files.
31922
31923 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
31924
31925         [BZ #13775]
31926         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
31927         Redirect under this condition.
31928         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31929         [__USE_GNU] (__dprintf_chk): Not under this condition.
31930         [__USE_GNU] (__vdprintf_chk): Likewise.
31931         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
31932         under this condition.
31933         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
31934         [__USE_XOPEN2K8] (dprintf): Define under this condition.
31935         [__USE_XOPEN2K8] (vdprintf): Likewise.
31936         [__USE_GNU] (__dprintf_chk): Not under this condition.
31937         [__USE_GNU] (__vdprintf_chk): Likewise.
31938         [__USE_GNU] (dprintf): Likewise.
31939         [__USE_GNU] (vdprintf): Likewise.
31940
31941 2012-05-03  Roland McGrath  <roland@hack.frob.com>
31942
31943         * elf/Makefile (common-generated): Set this instead of generated for
31944         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
31945         $(all-built-dso)-derived lists.
31946
31947 2012-05-03  Andreas Jaeger  <aj@suse.de>
31948
31949         * sysdeps/i386/fpu/libm-test-ulps: Update.
31950
31951         * FAQ: Removed.
31952         * FAQ.in: Likewise.
31953         * scripts/gen-FAQ.pl: Likewise.
31954         * manual/install.texi (Installation): Point to online location of
31955         FAQ.
31956         * Makefile (files-for-dist): Remove FAQ.
31957         (FAQ): Remove.
31958
31959 2012-05-02  Allan McRae  <allan@archlinux.org>
31960
31961         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
31962         (LDFLAGS-reldepmod5.so): Likewise.
31963         (LDFLAGS-reldep6mod1.so): Likewise.
31964         (LDFLAGS-reldep6mod4.so): Likewise.
31965         (LDFLAGS-reldep8mod3.so): Likewise.
31966         (LDFLAGS-unload4mod1.so): Likewise.
31967         (LDFLAGS-unload4mod2.so): Likewise.
31968         (LDFLAGS-tst-initorder): Likewise.
31969         (LDFLAGS-tst-initordera2.so): Likewise.
31970         (LDFLAGS-tst-initordera3.so): Likewise.
31971         (LDFLAGS-tst-initordera4.so): Likewise.
31972         (LDFLAGS-tst-initorderb2.so): Likewise.
31973         (LDFLAGS-noload): Likewise.
31974         (LDFLAGS-next): Likewise.
31975         (LDFLAGS-order2mod1.so): Likewise.
31976         (LDFLAGS-order2mod2.so): Likewise.
31977         (LDFLAGS-tst-initorder2): Likewise.
31978         (LDFLAGS-tst-initorder2a.so): Likewise.
31979         (LDFLAGS-tst-initorder2b.so): Likewise.
31980         (LDFLAGS-tst-initorder2c.so): Likewise.
31981         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
31982
31983 2012-05-02  David S. Miller  <davem@davemloft.net>
31984
31985         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31986
31987 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
31988
31989         [BZ #14055]
31990         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
31991
31992 2012-05-02  Andreas Jaeger  <aj@suse.de>
31993
31994         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
31995         since we manipulate rounding mode.
31996         (CPPFLAGS-test-idouble.c): Likewise.
31997         (CPPFLAGS-test-ifloat.c): Likewise.
31998         (CFLAGS-test-ldouble.c): Likewise.
31999         (CFLAGS-test-double.c): Likewise.
32000         (CFLAGS-test-float.c): Likewise.
32001         (CFLAGS-test-misc.c): Likewise.
32002         (CFLAGS-test-test-fenv.c): Likewise.
32003
32004 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32005
32006         [BZ #2550]
32007         [BZ #2570]
32008         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
32009         comparisons to determine direction to adjust input.
32010
32011 2012-05-01  Roland McGrath  <roland@hack.frob.com>
32012
32013         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
32014         output to the target.
32015
32016         * scripts/localplt.awk: New file.
32017         * elf/Makefile ($(objpfx)check-localplt): Target removed.
32018         (check-localplt-CFLAGS): Variable removed.
32019         ($(all-built-dso:=.jmprel)): New static pattern rule.
32020         (generated): Add those targets.
32021         (localplt-built-dso): New variable.
32022         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
32023
32024         * elf/check-localplt.c: File removed.
32025
32026         * scripts/check-execstack.awk: New file.
32027         * elf/Makefile ($(objpfx)check-execstack): Target removed.
32028         (check-execstack-CFLAGS): Variable removed.
32029         ($(objpfx)check-execstack.h): Target removed.
32030         ($(objpfx)execstack-default): New target.
32031         (generated): Add that instead of check-execstack.h.
32032         ($(all-built-dso:=.phdr)): New static pattern rule.
32033         (generated): Add those targets.
32034         * elf/check-execstack.c: File removed.
32035
32036         * scripts/check-textrel.awk: New file.
32037         * elf/Makefile ($(objpfx)check-textrel): Target removed.
32038         (check-textrel-CFLAGS): Variable removed.
32039         (all-built-dso): Use := to define.o
32040         ($(all-built-dso:=.dyn)): New static pattern rule.
32041         (generated): Add those targets.
32042         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
32043         * config.make.in (READELF): New substituted variable.
32044         * elf/check-textrel.c: File removed.
32045
32046 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32047
32048         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
32049         allow.
32050         * conform/data/ctype.h-data [C99-based standards] (isblank):
32051         Expect function.
32052         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
32053         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
32054         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32055         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
32056         Specify type.  Require positive value.
32057         (EILSEQ): Likewise.
32058         (ERANGE): Likewise.
32059         [ISO || POSIX] (EILSEQ): Do not expect.
32060         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
32061         Specify type.  Require positive value.
32062         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
32063         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
32064         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
32065         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
32066         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
32067         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
32068         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
32069         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
32070         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
32071         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
32072         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
32073         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
32074         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
32075         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
32076         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
32077         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
32078         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
32079         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
32080         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
32081         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
32082         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
32083         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
32084         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
32085         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
32086         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
32087         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
32088         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
32089         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
32090         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
32091         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
32092         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
32093         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
32094         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
32095         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
32096         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
32097         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
32098         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
32099         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
32100         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
32101         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
32102         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
32103         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
32104         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
32105         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
32106         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
32107         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
32108         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
32109         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
32110         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
32111         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
32112         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
32113         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
32114         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
32115         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
32116         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
32117         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
32118         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
32119         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
32120         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
32121         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
32122         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
32123         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
32124         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
32125         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
32126         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
32127         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
32128         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
32129         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
32130         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
32131         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
32132         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
32133         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
32134         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
32135         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
32136         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
32137         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
32138         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
32139         Require >= 2.
32140         (FLT_ROUNDS): Expect as macro, not constant.
32141         (FLT_MANT_DIG): Use macro-int-constant.
32142         (DBL_MANT_DIG): Likewise.
32143         (LDBL_MANT_DIG): Likewise.
32144         (FLT_DIG): Likewise.
32145         (DBL_DIG): Likewise.
32146         (LDBL_DIG): Likewise.
32147         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
32148         (DBL_MIN_EXP): Likewise.
32149         (LDBL_MIN_EXP): Likewise.
32150         (FLT_MAX_EXP): Use macro-int-constant.
32151         (DBL_MAX_EXP): Likewise.
32152         (LDBL_MAX_EXP): Likewise.
32153         (FLT_MAX_10_EXP): Likewise.
32154         (DBL_MAX_10_EXP): Likewise.
32155         (LDBL_MAX_10_EXP): Likewise.
32156         (FLT_MAX): Use macro-constant.
32157         (DBL_MAX): Likewise.
32158         (LDBL_MAX): Likewise.
32159         (FLT_EPSILON): Use macro-constant.  Give upper bound.
32160         (DBL_EPSILON): Likewise.
32161         (LDBL_EPSILON): Likewise.
32162         (FLT_MIN): Likewise.
32163         (DBL_MIN): Likewise.
32164         (LDBL_MIN): Likewise.
32165         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
32166         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
32167         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
32168         [ISO11] (FLT_HAS_SUBNORM): Likewise.
32169         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
32170         [ISO11] (DBL_DECIMAL_DIG): Likewise.
32171         [ISO11] (FLT_DECIMAL_DIG): Likewise.
32172         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
32173         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
32174         [ISO11] (FLT_TRUE_MIN): Likewise.
32175         [ISO11] (LDBL_TRUE_MIN): Likewise.
32176         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32177         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
32178         (SCHAR_MIN): Use macro-int-constant.  Specify type.
32179         (SCHAR_MAX): Likewise.
32180         (UCHAR_MAX): Likewise.
32181         (CHAR_MIN): Likewise.
32182         (CHAR_MAX): Likewise.
32183         (MB_LEN_MAX): Use macro-int-constant.
32184         (SHRT_MIN): Use macro-int-constant.  Specify type.
32185         (SHRT_MAX): Likewise.
32186         (USHRT_MAX): Likewise.
32187         (INT_MAX): Likewise.
32188         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
32189         bound negative.
32190         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32191         bound with "U".
32192         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32193         bound with "L".
32194         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
32195         bound negative.  Suffix upper bound with "L".
32196         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
32197         bound with "UL".
32198         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
32199         Specify type.
32200         [C99-based standards] (LLONG_MAX): Likewise.
32201         [C99-based standards] (ULLONG_MAX): Likewise.
32202         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
32203         == 0.
32204         [ISO11] (max_align_t): Require type.
32205         [ISO || ISO99 || ISO11] (*_t): Do not allow.
32206
32207         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
32208         from $CFLAGS, without defining away __attribute__ calls.
32209         (checknamespace): Use $CFLAGS_namespace.
32210
32211         * conform/conformtest.pl (@keywords): Only include C99 keywords
32212         for standards based on C99 or C11.
32213
32214         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
32215         Disable tests.
32216         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
32217         UNIX98]: Likewise.
32218
32219         * conform/conformtest.pl: Handle "macro-int-constant" and test for
32220         usability of symbols in #if.
32221
32222         * conform/conformtest.pl: If macro or constant types start
32223         "promoted:", expect the symbol to be of the following type
32224         promoted by the integer promotions.
32225
32226         * conform/conformtest.pl: Parse all "constant" and "macro" lines
32227         in one place.  Also handle "macro-constant".
32228
32229         * conform/conformtest.pl: Only accept expected macro values with
32230         "==".  Parse all "macro" lines in one place.
32231         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
32232
32233         * conform/conformtest.pl: Handle braced types on "constant" lines
32234         instead of handling "typed-constant".
32235         * conform/data/signal.h-data: Use "constant" instead of
32236         "typed-constant".
32237
32238         * conform/conformtest.pl: Handle "optional-" at start of lines in
32239         one place rather than duplicating several cases.  Handle each
32240         format of "macro" line with initial "optional-".
32241
32242         * conform/conformtest.pl: Only accept expected constant or
32243         optional-constant values with "==".  Parse all "constant" lines in
32244         one place.  Parse all "optional-constant" lines in one place.
32245         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
32246         * conform/data/fmtmsg.h-data: Likewise.
32247         * conform/data/netinet/in.h-data: Likewise.
32248         * conform/data/tar.h-data: Likewise.
32249         * conform/data/limits.h-data: Use "==" form on "constant" and
32250         "optional-constant" lines.
32251
32252         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
32253         Use -std=c99 for XOPEN2K.
32254         (@knownproblems): Remove.
32255         (newtoken): Don't check %isknown.
32256
32257         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
32258         Do not expect macro.
32259         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
32260         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
32261         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
32262         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
32263         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
32264         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
32265         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
32266         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
32267         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
32268         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
32269         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
32270         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
32271         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
32272         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
32273         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
32274         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
32275         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
32276         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
32277         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
32278         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
32279         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
32280         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
32281         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
32282         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
32283         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
32284         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
32285         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
32286         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
32287         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
32288         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
32289         [XPG3] (acosh): Likewise.
32290         [XPG3] (asinh): Likewise.
32291         [XPG3] (atanh): Likewise.
32292         [XPG3] (cbrt): Likewise.
32293         [XPG3] (expm1): Likewise.
32294         [XPG3] (ilogb): Likewise.
32295         [XPG3] (log1p): Likewise.
32296         [XPG3] (logb): Likewise.
32297         [XPG3] (nextafter): Likewise.
32298         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
32299         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
32300         [XPG3] (remainder): Likewise.
32301         [XPG3] (rint): Likewise.
32302         [XPG3 || XPG4 || UNIX98] (round): Likewise.
32303         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
32304         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
32305         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
32306         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
32307         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
32308         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
32309         [UNIX98 || XOPEN2K] (scalb): Expect.
32310         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
32311         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
32312         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
32313         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
32314         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
32315         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
32316         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
32317         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
32318         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
32319         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
32320         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
32321         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
32322         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
32323         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
32324         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
32325         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
32326         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
32327         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
32328         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
32329         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
32330         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
32331         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
32332         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
32333         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
32334         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
32335         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
32336         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
32337         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
32338         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
32339         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
32340         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
32341         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
32342         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
32343         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
32344         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
32345         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
32346         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
32347         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
32348         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
32349         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
32350         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
32351         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
32352         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
32353         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
32354         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
32355         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
32356         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
32357         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
32358         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
32359         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
32360         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
32361         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
32362         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
32363         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
32364         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
32365         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
32366         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
32367         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
32368         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
32369         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
32370         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
32371         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
32372         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
32373         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
32374         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
32375         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
32376         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
32377         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
32378         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
32379         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
32380         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
32381         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
32382         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
32383         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
32384         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
32385         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
32386         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
32387         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
32388         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
32389         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
32390         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
32391         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
32392         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
32393         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
32394         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
32395         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
32396         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
32397         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
32398         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
32399         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
32400         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
32401         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
32402         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
32403         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
32404         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
32405         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
32406         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
32407         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
32408         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
32409         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
32410         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
32411         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
32412         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
32413         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
32414         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
32415         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
32416         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
32417         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
32418         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
32419         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
32420         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
32421         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
32422         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
32423         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
32424         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
32425         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
32426         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
32427         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
32428         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
32429         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
32430         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
32431         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
32432         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
32433         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
32434         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
32435         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
32436         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
32437         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
32438         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
32439         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
32440         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
32441         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
32442         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
32443         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
32444         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
32445         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
32446         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
32447
32448         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
32449         _XOPEN_SOURCE_EXTENDED for XPG4.
32450
32451         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
32452
32453         * Makeconfig (localtime): Remove variable.
32454         (inst_localtime-file): Likewise.
32455
32456 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32457
32458         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
32459         Update.
32460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
32461         Update.
32462         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
32463         Update.
32464         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
32465         Update.
32466         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
32467         Update.
32468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
32469         Update.
32470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
32471         Update.
32472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
32473         Update.
32474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32475         Update.
32476
32477 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
32478
32479         [BZ #2550]
32480         [BZ #2570]
32481         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
32482         comparisons to determine direction to adjust input.
32483         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
32484         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
32485         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
32486         Likewise.
32487         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
32488         Likewise.
32489         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
32490         Likewise.
32491         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
32492         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
32493         Likewise.
32494         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
32495         Likewise.
32496         * math/libm-test.inc (nexttoward_test): Add more tests.
32497
32498 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
32499
32500         [BZ #14040]
32501         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
32502         in version GLIBC_2.1, not GLIBC_2.0.
32503         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
32504         Likewise.
32505
32506 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
32507
32508         [BZ #13942]
32509         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
32510         (1 - x) * (1 + x).
32511         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32512         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
32513         * math/libm-test.inc (acos_test): Add more tests.
32514         (asin_test): Likewise.
32515         * sysdeps/i386/fpu/libm-test-ulps: Update.
32516         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32517
32518         [BZ #14034]
32519         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
32520         of square root.
32521         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
32522         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
32523         * math/libm-test.inc (acos_test_tonearest): New function.
32524         (acos_test_towardzero): Likewise.
32525         (acos_test_downward): Likewise.
32526         (acos_test_upward): Likewise.
32527         (asin_test_tonearest): Likewise.
32528         (asin_test_towardzero): Likewise.
32529         (asin_test_downward): Likewise.
32530         (asin_test_upward): Likewise.
32531         (main): Call the new functions.
32532         * sysdeps/i386/fpu/libm-test-ulps: Update.
32533         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32534
32535         [BZ #13884]
32536         [BZ #13924]
32537         * math/e_exp10.c: Include <float.h>.
32538         (__ieee754_exp10): Handle underflow here rather than multiplying
32539         large negative argument by M_LN10.
32540         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
32541         of __ieee754_expf.
32542         * math/e_exp10l.c: Include <float.h>.
32543         (__ieee754_exp10l): Handle underflow here rather than multiplying
32544         large negative argument by M_LN10l.
32545         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
32546         spurious overflow exception on underflow.
32547
32548 2012-04-29  Marek Polacek  <polacek@redhat.com>
32549
32550         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
32551         (__fortify_function): New macro.
32552         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
32553         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
32554         __extern_always_inline.
32555         * libio/bits/stdio2.h: Likewise.
32556         * libio/bits/stdio.h: Likewise.
32557         * string/string.h: Likewise.
32558         * string/bits/string3.h: Likewise.
32559         * include/stdio.h: Likewise.
32560         * stdlib/bits/stdlib.h: Likewise.
32561         * stdlib/stdlib.h: Likewise.
32562         * rt/bits/mqueue2.h: Likewise.
32563         * rt/mqueue.h: Likewise.
32564         * posix/bits/unistd.h: Likewise.
32565         * posix/unistd.h: Likewise.
32566         * io/bits/poll2.h: Likewise.
32567         * io/bits/fcntl2.h: Likewise.
32568         * io/fcntl.h: Likewise.
32569         * io/sys/poll.h: Likewise.
32570         * misc/bits/syslog.h: Likewise.
32571         * misc/bits/syslog-ldbl.h: Likewise.
32572         * misc/sys/syslog.h: Likewise.
32573         * socket/bits/socket2.h: Likewise.
32574         * socket/sys/socket.h: Likewise.
32575         * debug/tst-chk1.c: Likewise.
32576         * wcsmbs/bits/wchar2.h: Likewise.
32577         * wcsmbs/bits/wchar-ldbl.h: Likewise.
32578         * wcsmbs/wchar.h: Likewise.
32579
32580 2012-04-29  Andreas Jaeger  <aj@suse.de>
32581
32582         * Makerules (tests): Remove enable-check-abi protection.
32583         (check-abi-warn): Remove.
32584         (check-abi-%): Remove check-abi-warn usage.
32585
32586         * configure.in: Remove check-abi configure option.
32587         * configure: Regenerated.
32588         * config.make.in (enable-check-abi): Remove.
32589
32590 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
32591
32592         [BZ #14033]
32593         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
32594         double functions to double *_finite functions.
32595
32596         [BZ #13941]
32597         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
32598         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
32599         LDBL_MIN_EXP.
32600         * stdio-common/Makefile (tests): Add tst-sprintf3.
32601         * stdio-common/tst-sprintf3.c: New file.
32602
32603         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
32604         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
32605
32606 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32607
32608         * conform/conformtest.pl: Remove duplicate typed-constant
32609         handling.
32610
32611 2012-04-28  David S. Miller  <davem@davemloft.net>
32612
32613         * Makerules (%.abilist): Add vpath on sysdep_dirs.
32614         (check-abi-%): Remove AWK script prerequisite and explicit
32615         abilist directory.
32616         (check-abi): Rewrite to just diff the symlist with the abilist.
32617         (config-tls, config-abi-config): Delete, no longer used.
32618         (update-abi-%): Remove AWK script and explicit abilist directory.
32619         (update-abi): Rewrite to simply compare and conditionally copy the
32620         symlist and the sysdep abilist file.  Remove update-abi-config
32621         checks.
32622         * abilist/ld.abilist: Remove.
32623         * abilist/libBrokenLocale.abilist: Remove.
32624         * abilist/libanl.abilist: Remove.
32625         * abilist/libcrypt.abilist: Remove.
32626         * abilist/libdl.abilist: Remove.
32627         * abilist/librt.abilist: Remove.
32628         * abilist/libthread_db.abilist: Remove.
32629         * abilist/libutil.abilist: Remove.
32630         * scripts/extract-abilist.awk: Remove.
32631         * scripts/merge-abilist.awk: Remove.
32632         * sysdeps/generic/libcidn.abilist: New file.
32633         * sysdeps/generic/libnss_compat.abilist: New file.
32634         * sysdeps/generic/libnss_db.abilist: New file.
32635         * sysdeps/generic/libnss_dns.abilist: New file.
32636         * sysdeps/generic/libnss_files.abilist: New file.
32637         * sysdeps/generic/libnss_hesiod.abilist: New file.
32638         * sysdeps/generic/libnss_nis.abilist: New file.
32639         * sysdeps/generic/libnss_nisplus.abilist: New file.
32640         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
32641         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
32642         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
32643         file.
32644         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
32645         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
32646         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
32647         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
32648         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
32649         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
32650         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
32651         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
32652         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
32653         file.
32654         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
32655         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
32656         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
32657         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
32658         file.
32659         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
32660         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
32661         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
32662         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
32663         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
32664         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
32665         file.
32666         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
32667         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
32668         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
32669         file.
32670         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
32671         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
32672         New file.
32673         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
32674         New file.
32675         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
32676         New file.
32677         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
32678         New file.
32679         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
32680         New file.
32681         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
32682         New file.
32683         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
32684         New file.
32685         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
32686         New file.
32687         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
32688         New file.
32689         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
32690         New file.
32691         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
32692         New file.
32693         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
32694         New file.
32695         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
32696         New file.
32697         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
32698         file.
32699         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
32700         New file.
32701         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
32702         New file.
32703         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
32704         file.
32705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
32706         New file.
32707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
32708         New file.
32709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
32710         file.
32711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
32712         New file.
32713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
32714         New file.
32715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
32716         New file.
32717         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
32718         New file.
32719         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
32720         New file.
32721         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
32722         New file.
32723         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
32724         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
32725         file.
32726         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
32727         New file.
32728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
32729         file.
32730         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
32731         file.
32732         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
32733         file.
32734         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
32735         file.
32736         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
32737         file.
32738         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
32739         New file.
32740         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
32741         file.
32742         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
32743         file.
32744         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
32745         New file.
32746         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
32747         file.
32748         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
32749         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
32750         file.
32751         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
32752         New file.
32753         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
32754         file.
32755         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
32756         file.
32757         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
32758         file.
32759         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
32760         file.
32761         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
32762         file.
32763         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
32764         New file.
32765         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
32766         file.
32767         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
32768         file.
32769         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
32770         New file.
32771         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
32772         file.
32773         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
32774         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
32775         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
32776         file.
32777         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
32778         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
32779         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
32780         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
32781         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
32782         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
32783         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
32784         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
32785         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
32786         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
32787         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
32788         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
32789         file.
32790         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
32791         New file.
32792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
32793         file.
32794         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
32795         file.
32796         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
32797         file.
32798         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
32799         file.
32800         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
32801         file.
32802         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
32803         New file.
32804         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
32805         New file.
32806         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
32807         file.
32808         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
32809         New file.
32810         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
32811         file.
32812         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
32813         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
32814         file.
32815         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
32816         New file.
32817         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
32818         file.
32819         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
32820         file.
32821         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
32822         file.
32823         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
32824         file.
32825         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
32826         file.
32827         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
32828         New file.
32829         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
32830         New file.
32831         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
32832         file.
32833         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
32834         New file.
32835         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
32836         file.
32837
32838 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
32839
32840         * conform/conformtest.pl: Fix typo in handling typed-constant from
32841         allow-header.
32842
32843 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32844
32845         * README: Cut down references to pre-2.6 Linux kernels and
32846         Linuxthreads.  Update lists of configurations in libc and ports
32847         and sort alphabetically.  Say "or newer" with Linux kernel version
32848         requirements.
32849
32850         * config.h.in [IS_IN_build]: Allow compiling without optimization.
32851
32852 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
32853
32854         [BZ #887]
32855         * math/libm-test.inc (logb_test_downward): New test to expose
32856         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
32857         rounding mode.
32858
32859 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
32860
32861         [BZ #14027]
32862         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
32863         to be done.
32864         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
32865         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
32866
32867 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
32868
32869         * sysdeps/unix/i386/brk.S: Remove file.
32870         * sysdeps/unix/i386/dl-brk.S: Likewise.
32871         * sysdeps/unix/i386/pipe.S: Likewise.
32872         * sysdeps/unix/i386/sigreturn.S: Likewise.
32873         * sysdeps/unix/i386/syscall.S: Likewise.
32874         * sysdeps/unix/i386/vfork.S: Likewise.
32875         * sysdeps/unix/i386/wait.S: Likewise.
32876
32877         * sysdeps/unix/common/tcsendbrk.c: Move to ...
32878         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
32879
32880         * configure.in (arm*-none*): Do not allow without
32881         --enable-hacker-mode.
32882         (netbsd*): Remove case setting base_os.
32883         (386bsd*): Likewise.
32884         (freebsd*): Likewise.
32885         (bsdi*): Likewise.
32886         (osf*): Likewise.
32887         (sunos*): Likewise.
32888         (ultrix*): Likewise.
32889         (newsos*): Likewise.
32890         (dynix*): Likewise.
32891         (*bsd*): Likewise.
32892         (sysv*): Likewise.
32893         (isc*): Likewise.
32894         (esix*): Likewise.
32895         (sco*): Likewise.
32896         (minix*): Likewise.
32897         (irix4*): Likewise.
32898         (irix6*): Likewise.
32899         (solaris[2-9]*): Likewise.
32900         (none): Likewise.
32901         * configure: Regenerated.
32902
32903 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32904
32905         [BZ #11521]
32906         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
32907         overflow or cancellation in calculating denominator.
32908         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
32909         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
32910         down expression to avoid unexpected rounding in newer GCCs.
32911         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
32912
32913 2012-04-26  David S. Miller  <davem@davemloft.net>
32914
32915         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
32916         long-double compat symbols.
32917         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
32918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
32919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
32920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
32921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
32922         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
32923         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
32924         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
32925         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
32926         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
32927         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
32928         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
32929         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
32930
32931 2012-04-25  David S. Miller  <davem@davemloft.net>
32932
32933         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
32934         HWCAP_* values only after the memory barriers have been defined.
32935         (atomic_full_barrier): Define.
32936         (atomic_read_barrier): Define.
32937         (atomic_write_barrier): Define.
32938
32939 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
32940
32941         * shlib-versions: Add libgcc_s version information.
32942         * sysdeps/generic/libgcc_s.h: Remove.
32943         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
32944         libgcc_s.h.
32945         * sysdeps/gnu/unwind-resume.c: Likewise.
32946         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
32947
32948 2012-04-25  David S. Miller  <davem@davemloft.net>
32949
32950         * sysdeps/unix/sparc/brk.S: Delete.
32951         * sysdeps/unix/sparc/dl-brk.S: Delete.
32952         * sysdeps/unix/sparc/pipe.S: Delete.
32953         * sysdeps/unix/sparc/sysdep.S: Delete.
32954         * sysdeps/unix/sparc/sysdep.h: Delete.
32955         * sysdeps/unix/sparc/vfork.S: Delete.
32956         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
32957         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
32958         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
32959         (ret_ERRVAL, r0, r1, MOVE): Define.
32960         (JUMPTARGET): Remove.
32961         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
32962         sysdeps/unix/sparc/sysdep.h
32963         (ENTRY, END): Remove.
32964         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32965
32966 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
32967
32968         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
32969         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
32970         -DIS_IN_build.
32971
32972         * timezone/README: Update upstream location and email address for
32973         tzcode and tzdata.
32974         * timezone/zdump.c: Update from tzcode 2012b.
32975         * timezone/zic.c: Likewise.
32976
32977         * configure.in (libc_cv_as_needed): Remove test.
32978         * configure: Regenerated.
32979         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
32980         conditional definition.
32981         [$(have-as-needed) != yes] (no-as-needed): Likewise.
32982         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
32983         * config.make.in (have-as-needed): Remove variable.
32984
32985 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
32986             Paul Pluzhnikov  <ppluzhnikov@google.com>
32987
32988         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
32989         strings correctly.
32990
32991 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
32992
32993         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
32994         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
32995         * sysdeps/sh/strlen.S: Likewise.
32996
32997 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
32998
32999         * sysdeps/unix/fork.S: Remove file.
33000         * sysdeps/unix/i386/fork.S: Likewise.
33001         * sysdeps/unix/sparc/fork.S: Likewise.
33002
33003         * sysdeps/unix/system.c: Remove file.
33004         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
33005
33006         * sysdeps/unix/getegid.S: Remove file.
33007         * sysdeps/unix/geteuid.S: Likewise.
33008
33009 2012-04-24  Roland McGrath  <roland@hack.frob.com>
33010
33011         * scripts/check-localplt.awk: New file.
33012         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
33013         of diff.
33014         * scripts/data/localplt-generic.data: Add a comment.
33015
33016         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
33017         NODE when __dir_mkfile failed.
33018         * sysdeps/mach/hurd/symlinkat.c: Likewise.
33019         Reported by Ludovic Courtès <ludo@gnu.org>.
33020
33021 2012-04-24  Andreas Jaeger  <aj@suse.de>
33022
33023         * Makerules (common-clean): Also remove gen-as-const-headers
33024         files.
33025
33026 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33027
33028         * Makerules (native-compile): Do not change working directory for
33029         build.  Use $(OUTPUT_OPTION) in command.
33030         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
33031
33032 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33033
33034         [BZ #13886]
33035         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
33036         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
33037         * math/libm-test.inc (floor_test): Add more tests.
33038         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
33039
33040 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
33041
33042         * sysdeps/unix/getdents.c: Remove file.
33043         * sysdeps/unix/sysv/getdents.c: Likewise.
33044         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
33045
33046         * sysdeps/unix/syscalls.list (madvise): Add syscall from
33047         sysdeps/unix/mman/syscalls.list.
33048         (mmap): Likewise.
33049         (mprotect): Likewise.
33050         (msync): Likewise.
33051         (munmap): Likewise.
33052         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
33053         * sysdeps/unix/mman/syscalls.list: Remove.
33054         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
33055
33056         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
33057         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
33058         * configure: Regenerated.
33059         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
33060         $(libgcc_s_suffix).
33061         * config.make.in (libgcc_s_suffix): Remove variable.
33062
33063 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
33064
33065         * sysdeps/unix/sysv/gethostname.c: Move to ...
33066         * sysdeps/posix/gethostname.c: ... here.
33067
33068         * sysdeps/unix/execve.S: Remove file.
33069
33070         * sysdeps/unix/_exit.S: Remove file.
33071
33072 2012-04-23  Andreas Jaeger  <aj@suse.de>
33073
33074         [BZ #13739]
33075         * manual/Makefile: Remove make dist support, there's no
33076         need for a stand-alone documentation tar ball.
33077         (TEXI2DVI): Define always, it's not in Makeconfig.
33078         (dist): Removed.
33079         (tar-it): Removed.
33080         (edition): Removed.
33081         (glibc-doc-$(edition).tar): Removed
33082         (%.Z): Removed.
33083         (%.gz): Removed.
33084         (%.uu): Removed.
33085         (ETAGS): Remove, it's in Makeconfig.
33086         (move-if-change): Remove, it's in Makeconfig.
33087
33088 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
33089
33090         [BZ #13970]
33091         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
33092         (strtod, strtof, strtold, strtol, strtoul, strtoq)
33093         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
33094         (strtod_l, strtof_l, strtold_l): Remove __wur.
33095         It is not necessarily an error to ignore strtol's return value.
33096         One can reliably look at the stored endptr to decide whether
33097         the number had valid syntax.
33098
33099 2012-04-21  Andreas Jaeger  <aj@suse.de>
33100
33101         [BZ #13739]
33102         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
33103
33104 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
33105
33106         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
33107         * sysdeps/unix/sysv/Versions: Remove file.
33108
33109 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
33110
33111         [BZ #13927]
33112         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33113
33114 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
33115
33116         [BZ #7064]
33117         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
33118         version from __vm86.
33119
33120 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
33121
33122         * sysdeps/unix/common/lxstat.c: Remove file.
33123         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
33124
33125         * sysdeps/unix/sysv/Makefile: Remove file.
33126
33127         * sysdeps/unix/sysv/direct.h: Remove file.
33128
33129         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
33130         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
33131         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
33132         * sysdeps/unix/sysv/bits/signum.h: Likewise.
33133         * sysdeps/unix/sysv/bits/stat.h: Likewise.
33134         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
33135         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
33136
33137         * sysdeps/unix/sysv/setrlimit.c: Remove file.
33138
33139         * sysdeps/unix/xmknod.c: Remove file.
33140         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
33141
33142         * sysdeps/unix/sysv/settimeofday.c: Remove file.
33143
33144         * sysdeps/unix/sysv/i386/time.S: Remove file.
33145
33146         * sysdeps/unix/fxstat.c: Remove file.
33147         * sysdeps/unix/xstat.c: Likewise.
33148         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
33149
33150         * sysdeps/unix/sysv/sigaction.c: Remove file.
33151
33152         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
33153         (sysdep_headers): Remove variable.
33154         [termio.h not in sysdep_headers] (generated): Likewise.
33155         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
33156         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
33157         * sysdeps/unix/sysv/tcdrain.c: Likewise.
33158         * sysdeps/unix/sysv/tcflow.c: Likewise.
33159         * sysdeps/unix/sysv/tcflush.c: Likewise.
33160         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
33161         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
33162         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
33163         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
33164         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
33165
33166         * sysdeps/unix/siglist.c: Remove file.
33167
33168         * sysdeps/unix/getppid.S: Remove file.
33169
33170         * sysdeps/unix/mkdir.c: Remove file.
33171         * sysdeps/unix/rmdir.c: Likewise.
33172
33173 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
33174
33175         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
33176         ERR_MAX value.
33177         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
33178         errlist-compat value.
33179
33180 2012-04-18  David S. Miller  <davem@davemloft.net>
33181
33182         * sysdeps/generic/memcopy.h (reg_char): Delete.
33183         * debug/strcat_chk.c: Use char, not reg_char.
33184         * debug/strcpy_chk.c: Likewise.
33185         * debug/strncat_chk.c: Likewise.
33186         * debug/strncpy_chk.c: Likewise.
33187         * string/memchr.c: Likewise.
33188         * string/memrchr.c: Likewise.
33189         * string/rawmemchr.c: Likewise.
33190         * string/strcat.c: Likewise.
33191         * string/strchr.c: Likewise.
33192         * string/strchrnul.c: Likewise.
33193         * string/strcmp.c: Likewise.
33194         * string/strcpy.c: Likewise.
33195         * string/strncat.c: Likewise.
33196         * string/strncmp.c: Likewise.
33197         * string/strncpy.c: Likewise.
33198
33199 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33200
33201         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
33202         __builtin_memcopy is called when src and dest ranges are known to not
33203         overlap.
33204
33205 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33206
33207         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
33208         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
33209         fwd_align_merge macro call.
33210         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
33211         bwd_align_merge macro call.
33212         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33213
33214 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
33215
33216         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
33217         bwd_align_merge macros.
33218         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
33219         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
33220         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
33221
33222 2012-04-18  David S. Miller  <davem@davemloft.net>
33223
33224         * sysdeps/sparc/sparc64/memcopy.h: Delete.
33225
33226 2012-04-18  Andreas Jaeger  <aj@suse.de>
33227
33228         [BZ# 6794]
33229         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
33230         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
33231         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33232
33233         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
33234         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
33235         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33236
33237         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
33238         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
33239         Adjust for changed ldbl-128 files.
33240
33241         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
33242         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
33243         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
33244
33245 2012-04-17  David S. Miller  <davem@davemloft.net>
33246
33247         * sysdeps/sparc/sparc32/memcopy.h: Delete.
33248
33249 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
33250
33251         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
33252         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
33253         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
33254         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
33255         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
33256         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
33257
33258 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
33259
33260         [BZ #6794]
33261         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
33262         * math/libm-test.inc: Add ilogb errno and exception tests.
33263         * math/w_ilogb.c: New file: ilogb wrapper.
33264         * math/w_ilogbf.c: New file: ilogbf wrapper.
33265         * math/w_ilogbl.c: New file: ilogbl wrapper.
33266         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
33267         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
33268         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
33269         exception being thrown with 0.0 as argument.
33270         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
33271         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
33272         exception being thrown with 0.0 as argument.
33273         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
33274         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33275         exception being thrown with 0.0 as argument.
33276         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
33277         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
33278         exception being thrown with 0.0 as argument.
33279         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
33280         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
33281         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
33282         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
33283         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
33284         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
33285         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
33286         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
33287         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
33288
33289 2012-04-17  Petr Baudis  <pasky@ucw.cz>
33290
33291         * include/sys/uio.h: Change __vector to __iovec to avoid clash
33292         with altivec.
33293
33294 2012-04-16  Marek Polacek  <polacek@redhat.com>
33295
33296         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
33297
33298 2012-04-16  Marek Polacek  <polacek@redhat.com>
33299
33300         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
33301         operands of fdivp instruction.
33302
33303 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33304
33305         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
33306         * elf/tst-auditmod3b.c: Likewise.
33307         * elf/tst-auditmod4b.c: Likewise.
33308         * elf/tst-auditmod5b.c: Likewise.
33309         * elf/tst-auditmod6b.c: Likewise.
33310         * elf/tst-auditmod6c.c: Likewise.
33311         * elf/tst-auditmod7b.c: Likewise.
33312         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
33313         * sysdeps/x86_64/preconfigure.in: Likewise.
33314         * sysdeps/x86_64/preconfigure: Regenerated.
33315
33316 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
33317
33318         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
33319         __ILP32__.
33320
33321 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
33322
33323         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33324         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
33325
33326 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
33327
33328         [BZ #13973]
33329         * locale/iso-639.def: Fix gl language name. Spotted by
33330         Yaron Shahrabani.
33331
33332 2012-04-12  Roland McGrath  <roland@hack.frob.com>
33333
33334         [BZ #2074]
33335         * libio/libio.h (__io_write_fn): Update comment.
33336
33337 2012-04-12  Petr Baudis  <pasky@ucw.cz>
33338
33339         [BZ #2074]
33340         * stdio.texi (Hook Functions): The user provided writer function
33341         is not allowed to return -1.
33342
33343 2012-04-11  David S. Miller  <davem@davemloft.net>
33344
33345         * sysdeps/sparc/fpu/libm-test-ulps: Update.
33346
33347 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
33348
33349         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
33350         Add a leading slash to rtkaio.
33351
33352 2012-04-11  Jim Meyering  <meyering@redhat.com>
33353
33354         [BZ #11959]
33355         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
33356         It is not necessarily an error to ignore fwrite's return
33357         value.  One can reliably use ferror to test for errors after
33358         the fact.
33359
33360 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33361
33362         * bits/types.h (__snseconds_t): New type.
33363         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
33364
33365         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
33366         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
33367         (__SNSECONDS_T_TYPE): Likewise.
33368         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
33369         (__SNSECONDS_T_TYPE): Likewise.
33370         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
33371         (__SNSECONDS_T_TYPE): Likewise.
33372
33373 2012-04-10  Andreas Jaeger  <aj@suse.de>
33374
33375         [BZ #2636]
33376         * manual/time.texi (Processor Time): Return type of times is
33377         elapsed real time since an arbitrary point in the past.
33378         (CPU Time): Move CLK_TCK from here...
33379         (Processor Time): ...to here.  Correct description.
33380         * manual/conf.texi (Constants for Sysconf): Correct description of
33381         _SC_CLK_TCK.
33382
33383 2012-04-10  David S. Miller  <davem@davemloft.net>
33384
33385         [BZ #13967]
33386         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
33387         where the is a gap between DT_REL(A) and DT_JMPREL.
33388
33389 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
33390
33391         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
33392         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33393         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33394
33395 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
33396
33397         * elf/dl-support.c (_dl_inhibit_cache): New variable.
33398         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
33399         (dl_main): Handle --inhibit-cache.
33400         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
33401         _dl_inhibit_cache.
33402         * elf/dl-load.c (_dl_map_object): Use it.
33403         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
33404
33405 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33406
33407         [BZ #13872]
33408         * sysdeps/i386/fpu/e_powl.S (p78): New object.
33409         (__ieee754_powl): Saturate large exponents rather than testing for
33410         overflow of y*log2(x).
33411         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
33412         * math/libm-test.inc (pow_test): Do not permit spurious overflow
33413         exceptions.
33414
33415         [BZ #11521]
33416         * math/s_ctan.c: Include <float.h>.
33417         (__ctan): Avoid internal overflow or cancellation in calculating
33418         denominator.
33419         * math/s_ctanf.c: Likewise.
33420         * math/s_ctanl.c: Likewise.
33421         * math/s_ctanh.c: Likewise.
33422         * math/s_ctanhf.c: Likewise.
33423         * math/s_ctanhl.c: Likewise.
33424         * math/libm-test.inc (ctan_test): Add more tests.
33425         (ctanh_test): Likewise.
33426         * sysdeps/i386/fpu/libm-test-ulps: Update.
33427         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
33428
33429 2012-04-09  Andreas Jaeger  <aj@suse.de>
33430
33431         [BZ #6894]
33432         * manual/filesys.texi (Directory Entries): Mention that d_namlen
33433         is an optional BSD extension.
33434
33435         [BZ #10254]
33436         * manual/stdio.texi (Opening Streams): Document additional fopen
33437         parameters.
33438
33439 2012-04-09  Roland McGrath  <roland@hack.frob.com>
33440
33441         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
33442         %eax without telling the compiler.
33443
33444 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
33445
33446         [BZ # 13963]
33447         * manual/install.texi: Use sourceware.org.
33448
33449 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
33450
33451         [BZ #13873]
33452         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
33453         (__ieee754_pow): Generate overflow and underflow using huge*huge
33454         and tiny*tiny rather than just returning constant infinity or zero
33455         for large exponents.
33456         * math/libm-test.inc (pow_test): Require overflow exceptions for
33457         applicable cases of large exponents.
33458
33459         [BZ #706]
33460         * sysdeps/i386/fpu/e_pow.S (p10): New object.
33461         (__ieee754_pow): Use iterative multiplication algorithm only for
33462         integer exponents with absolute value below 1024.  Check for odd
33463         integer exponents when using algorithm for real exponents.
33464         * math/libm-test.inc (pow_test): Add more tests.
33465         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
33466
33467 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
33468
33469         [BZ #13705]
33470         * math/libm-test.inc (exp_test): Do not allow overflow exception
33471         on underflow test.
33472
33473 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
33474
33475         [BZ #13705]
33476         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
33477         instead of __kernel_standard_f.
33478
33479 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
33480
33481         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
33482         * sysdeps/x86_64/memset_chk.S: Likewise.
33483
33484 2012-04-08  Andreas Jaeger  <aj@suse.de>
33485
33486         [BZ #10153]
33487         * manual/startup.texi (Environment Access): Describe return value
33488         for putenv and setenv.
33489
33490         [BZ #6895]
33491         * manual/filesys.texi (Directory Entries): Add description for
33492         DT_LNK.
33493
33494         [BZ #6890]
33495         * manual/filesys.texi (Directory Entries): Clarify that it's file
33496         system not operating system in the description of DT_UNKNOWN.
33497
33498         [BZ #6578]
33499         * manual/syslog.texi (closelog): Fix reference, it's openlog.
33500
33501 2012-04-08  Stephen Compall  <s11@member.fsf.org>
33502
33503         [BZ #6649]
33504         * manual/llio.texi (Opening and Closing Files): Add cross
33505         reference to explain mode argument.
33506
33507 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
33508
33509         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
33510         * sysdeps/x86_64/memset_chk.S: Likewise.
33511
33512 2012-04-07  David S. Miller  <davem@davemloft.net>
33513
33514         * elf/elf.h (R_SPARC_WDISP10): Define.
33515         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
33516         R_SPARC_SIZE32.
33517         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
33518         R_SPARC_SIZE64 and R_SPARC_H34.
33519
33520 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
33521
33522         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
33523         conditions and remove no longer applicable assertion.
33524
33525 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33526
33527         * bits/byteswap.h: Include <features.h>.
33528         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
33529         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
33530
33531 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
33532
33533         * bits/byteswap.h (__bswap_16): Removed.
33534         Include <bits/byteswap-16.h> to get __bswap_16.
33535         * sysdeps/i386/bits/byteswap.h: Likewise.
33536         * sysdeps/s390/bits/byteswap.h: Likewise.
33537         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33538         * bits/byteswap-16.h: New file.
33539         * sysdeps/i386/bits/byteswap-16.h: Likewise.
33540         * sysdeps/s390/bits/byteswap-16.h: Likewise.
33541         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
33542         * string/Makefile (headers): Add bits/byteswap-16.h.
33543
33544 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
33545
33546         [BZ #13895]
33547         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
33548         extra indirection.
33549         * nss/Makefile (tests-static, tests): Add tst-nss-static.
33550         * nss/tst-nss-static.c: New.
33551
33552 2012-04-06  Robert Millan  <rmh@gnu.org>
33553
33554         [BZ #6486]
33555         * manual/llio.texi (File Position Primitive): lseek
33556         refers to WHENCE when it really means OFFSET.
33557
33558 2012-04-06  Andreas Jaeger  <aj@suse.de>
33559
33560         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
33561         strncmp declarations.
33562
33563         * abilist/libc.abilist: Add __poll and __ppoll.
33564
33565 2012-04-05  David S. Miller  <davem@davemloft.net>
33566
33567         * scripts/check-local-headers.sh: Accept a host triplet in the
33568         path matched by the exclude regexp.
33569
33570         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
33571         definition.
33572         * sysdeps/powerpc/powerpc32/dl-machine.h
33573         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
33574         * sysdeps/s390/s390-32/dl-machine.h
33575         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33576         * sysdeps/sparc/sparc32/dl-machine.h
33577         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33578         * sysdeps/sparc/sparc64/dl-machine.h
33579         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
33580
33581         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
33582         lazy binding.
33583         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
33584         undefined symbol errors.
33585
33586         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
33587         DT_NEEDED entries.
33588
33589 2012-04-05  Michael Matz  <matz@suse.de>
33590
33591         [BZ #13592]
33592         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
33593
33594 2012-04-05  Andreas Jaeger  <aj@suse.de>
33595
33596         [BZ #13908]
33597         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
33598         comment.
33599
33600 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33601
33602         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
33603         which ROUND is no valid rounding mode.
33604
33605 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33606
33607         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
33608         read again.
33609         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
33610
33611 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33612
33613         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
33614         an exception using FPU order intentionally.
33615
33616 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
33617
33618         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
33619         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
33620         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
33621         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
33622
33623 2012-04-05  Simon Josefsson  <simon@josefsson.org>
33624
33625         [BZ #12340]
33626         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
33627         EINVAL when BUFLEN is too smal.
33628
33629 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
33630
33631         [BZ #13553]
33632         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
33633         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
33634
33635 2012-04-03  Andreas Jaeger  <aj@suse.de>
33636
33637         [BZ #13938]
33638         * manual/setjmp.texi (System V contexts): Fix sentence.
33639
33640         [BZ #13926]
33641         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
33642         New macro for this case.
33643         [!__GNUC__] (__bswap_64): New inline function for this case.
33644         * sysdeps/x86_64/bits/byteswap.h: Likewise.
33645         * bits/byteswap.h: Likewise.
33646         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
33647         ull, guard with __GLIBC_HAVE_LONG_LONG.
33648
33649         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
33650         __GLIBC_HAVE_LONG_LONG.
33651
33652         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
33653         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
33654
33655 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
33656
33657         [BZ #13691]
33658         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
33659         inptr and inend, rather than using last_ch.
33660
33661 2012-04-02  David S. Miller  <davem@davemloft.net>
33662
33663         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
33664         * stdio-common/printf-parse.h (read_int): Change return type to
33665         'int', return -1 on INT_MAX overflow.
33666         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
33667         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
33668         overflows INT_MAX.  Check for overflow of in-format-string precision
33669         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
33670         SIZE_MAX not INT_MAX for integer overflow test.
33671         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
33672         skip the construct in the format string but do not record anything.
33673         * stdio-common/bug22.c: Adjust to test both width/prevision
33674         INT_MAX overflow as well as total length INT_MAX overflow.  Check
33675         explicitly for proper errno values.
33676
33677 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
33678
33679         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
33680         CHAR_MAX.
33681         * string/test-strcmp.c [! WIDE]: Likewise.
33682         * time/tst-mktime2.c: Likewise for INT_MAX.
33683         * string/test-string.h: #include <sys/param.h> for MIN.
33684
33685         * csu/init-first.c (__libc_init_first): Call __ctype_init.
33686         * sysdeps/i386/init-first.c (init): Likewise.
33687         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
33688         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
33689         * sysdeps/sh/init-first.c (init): Likewise.
33690
33691 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
33692
33693         * po/ru.po: Update from translation team.
33694         * po/vi.po: Likewise.
33695
33696 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
33697
33698         * resolv/nss_dns/dns-host.c: Merge copyright years.
33699
33700 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33701
33702         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
33703         Optimize memcpy with prefetch if
33704         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
33705         src, dst pointers have unequal 16 byte alignments.
33706
33707 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
33708
33709         [BZ #13928]
33710         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
33711         from a CNAME entry and return the minimum ttl for the query.
33712         (gaih_getanswer_slice): Likewise.
33713
33714 2012-03-30  Jeff Law  <law@redhat.com>
33715
33716         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
33717         due to long keys.
33718         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
33719         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
33720
33721         * resolv/nss_dns/dns-host.c: Update copyright year.
33722
33723 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
33724
33725         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
33726         requests to save a system call.  Fix check that all bytes are sent.
33727
33728         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
33729         comments for sendmmsg.
33730
33731 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33732
33733         [BZ #13691]
33734         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
33735         with only 1 character between 0x0041 and 0x01b0.
33736         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
33737         * wcsmbs/tst-mbsnrtowcs.c: New file.
33738
33739 2012-03-29  David S. Miller  <davem@davemloft.net>
33740
33741         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
33742         small copies by hand.
33743
33744 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
33745
33746         [BZ #13761]
33747         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
33748         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
33749         group memberships.
33750
33751 2012-03-28  David S. Miller  <davem@davemloft.net>
33752
33753         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
33754         that branches into memcpy.
33755         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
33756         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33757         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33758         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33759         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
33760         bits.
33761         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
33762         implementation too.
33763         * sysdeps/sparc/mempcpy.S: New file.
33764
33765         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
33766         the IFUNC routine in the libc case.
33767         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33768
33769         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
33770         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
33771         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
33772         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
33773         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
33774         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
33775         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
33776         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
33777
33778         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
33779         loop to 256 bytes instead of 64 bytes and fix test signedness.
33780
33781         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
33782         * sysdeps/sparc/sparc32/Makefile: rather than here...
33783         * sysdeps/sparc/sparc64/Makefile: and here.
33784
33785 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
33786
33787         * malloc/mallocbug.c: Avoid warnings about unused variables.
33788
33789 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
33790
33791         [BZ #13760]
33792         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
33793         in the right place. Discard and retry query if response is
33794         larger than input buffer size.
33795
33796 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
33797
33798         [BZ #369]
33799         [BZ #2678]
33800         [BZ #3866]
33801         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
33802         x for large integer exponent.
33803         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
33804         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
33805         sign of result as needed afterwards.
33806         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
33807         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
33808         result for underflowing pow the same as for overflow.
33809         (__kernel_standard_l): Handle powl overflow and underflow here
33810         rather than calling __kernel_standard.
33811         * math/libm-test.inc (pow_test): Add more tests.
33812
33813         [BZ #3868]
33814         [BZ #13879]
33815         [BZ #13910]
33816         [BZ #13911]
33817         [BZ #13912]
33818         [BZ #13913]
33819         [BZ #13915]
33820         [BZ #13916]
33821         [BZ #13917]
33822         [BZ #13918]
33823         [BZ #13919]
33824         [BZ #13920]
33825         [BZ #13921]
33826         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
33827         * sysdeps/ieee754/k_standard.c: Include <float.h>.
33828         (__kernel_standard_l): New function.
33829         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
33830         __kernel_standard.
33831         * math/w_acosl.c (__acosl): Likewise.
33832         * math/w_asinl.c (__asinl): Likewise.
33833         * math/w_atan2l.c (__atan2l): Likewise.
33834         * math/w_atanhl.c (__atanhl): Likewise.
33835         * math/w_coshl.c (__coshl): Likewise.
33836         * math/w_exp10l.c (__exp10l): Likewise.
33837         * math/w_exp2l.c (__exp2l): Likewise.
33838         * math/w_fmodl.c (__fmodl): Likewise.
33839         * math/w_hypotl.c (__hypotl): Likewise.
33840         * math/w_j0l.c (__j0l, __y0l): Likewise.
33841         * math/w_j1l.c (__j1l, __y1l): Likewise.
33842         * math/w_jnl.c (__jnl, __ynl): Likewise.
33843         * math/w_lgammal.c (__lgammal): Likewise.
33844         * math/w_log10l.c (__log10l): Likewise.
33845         * math/w_log2l.c (__log2l): Likewise.
33846         * math/w_logl.c (__logl): Likewise.
33847         * math/w_powl.c (__powl): Likewise.
33848         * math/w_remainderl.c (__remainderl): Likewise.
33849         * math/w_scalbl.c (sysv_scalbl): Likewise.
33850         * math/w_sinhl.c (__sinhl): Likewise.
33851         * math/w_sqrtl.c (__sqrtl): Likewise.
33852         * math/w_tgammal.c (__tgammal): Likewise.
33853         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
33854         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
33855         * math/libm-test.inc (acos_test): Add more tests.
33856         (acosh_test): Likewise.
33857         (asin_test): Likewise.
33858         (atanh_test): Likewise.
33859         (exp_test): Likewise.
33860         (exp10_test): Likewise.
33861         (exp2_test): Likewise.
33862         (expm1_test): Likewise.
33863         (lgamma_test): Likewise.
33864         (log_test): Likewise.
33865         (log10_test): Likewise.
33866         (log1p_test): Likewise.
33867         (log2_test): Likewise.
33868         (pow_test): Do not allow some spurious overflow exceptions.
33869         (sqrt_test): Add more tests.
33870         (tgamma_test): Likewise.
33871         (y0_test): Likewise.
33872         (y1_test): Likewise.
33873         (yn_test): Likewise.
33874
33875 2012-03-27  Anton Blanchard  <anton@samba.org>
33876
33877         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
33878         MAP_HUGETLB.
33879         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
33880         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
33881         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
33882
33883 2012-03-27  David S. Miller  <davem@davemloft.net>
33884
33885         * conform/Makefile: Run run-conformtest.sh using $(BASH).
33886
33887         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
33888         have-as-vis3 check.
33889
33890 2012-03-27  Andreas Jaeger  <aj@suse.de>
33891
33892         * sysdeps/x86_64/elf/configure.in: Moved to ...
33893         * sysdeps/x86_64/configure.in: ... here.
33894         * sysdeps/x86_64/elf/start.S: Moved to ...
33895         * sysdeps/x86_64/start.S: ... here.
33896         * sysdeps/x86_64/elf/configure: Delete.
33897
33898         * sysdeps/x86_64/configure.in: Merge contents from
33899         sysdeps/i386/configure.in (without i686 check).
33900
33901         * sysdeps/i386/elf/Versions: Merge into ...
33902         * sysdeps/i386/Versions: ... this.
33903         * sysdeps/i386/elf/Versions: Delete file.
33904         * sysdeps/i386/elf/start.S: Moved to ...
33905         * sysdeps/i386/start.S: ...here.
33906         * sysdeps/i386/elf/configure.in: Merge into...
33907         * sysdeps/i386/configure.in: ...here.
33908         * sysdeps/i386/elf/configure.in: Delete file.
33909         * sysdeps/i386/elf/configure: Delete file.
33910
33911         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
33912         * debug/backtracesyms.c: ... here.
33913         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
33914         * debug/backtracesymsfd.c: ... here.
33915         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
33916         * sysdeps/generic/ifunc-sel.h: ... here.
33917
33918         * sysdeps/unix/i386/start.c: Delete file.
33919         * sysdeps/unix/sparc/start.c: Delete file.
33920         * sysdeps/unix/start.c: Delete file.
33921
33922         * sysdeps/sh/elf/configure.in: Moved to ...
33923         * sysdeps/sh/configure.in: ... here.
33924         * sysdeps/sh/elf/start.S: Moved to ...
33925         * sysdeps/sh/start.S: ... here.
33926         * sysdeps/sh/elf/configure: Delete file.
33927
33928         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
33929         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
33930         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
33931         * sysdeps/powerpc/powerpc64/entry.h: ... here.
33932         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
33933         * sysdeps/powerpc/powerpc64/start.S: here.
33934         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
33935         * sysdeps/powerpc/powerpc64/Makefile: ... this.
33936         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
33937         * sysdeps/powerpc/powerpc64/configure.in: ... this.
33938         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
33939
33940         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
33941         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
33942         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
33943         * sysdeps/powerpc/powerpc32/start.S: ... here.
33944         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
33945         * sysdeps/powerpc/powerpc32/configure.in: ... this.
33946         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
33947
33948         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
33949         * sysdeps/powerpc/ifunc-sel.h: ... here.
33950         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
33951         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
33952
33953         * sysdeps/sparc/elf/configure.in: Moved to ...
33954         * sysdeps/sparc/configure.in: ... here.
33955         * sysdeps/sparc/elf/configure: Delete file.
33956         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
33957         * sysdeps/sparc/sparc32/start.S: ... here.
33958         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
33959         * sysdeps/sparc/sparc64/start.S: ... here.
33960         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
33961         * sysdeps/sparc/sparc32/Makefile: ... this.
33962         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
33963         * sysdeps/sparc/sparc64/Makefile: ... this.
33964
33965         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
33966         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
33967         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
33968         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
33969         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
33970         * sysdeps/s390/s390-32/setjmp.S: ... here.
33971         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
33972         * sysdeps/s390/s390-32/configure.in: ... here.
33973         * sysdeps/s390/s390-32/elf/configure: Delete file.
33974         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
33975         * sysdeps/s390/s390-32/start.S: ... here.
33976
33977         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
33978         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
33979         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
33980         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
33981         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
33982         * sysdeps/s390/s390-64/setjmp.S: ... here.
33983         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
33984         * sysdeps/s390/s390-64/configure.in: ... here
33985         * sysdeps/s390/s390-64/elf/configure: Delete file.
33986         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
33987         * sysdeps/s390/s390-64/start.S: ... here.
33988         * sysdeps/s390/s390-64/elf/configure: Delete.
33989
33990         * configure.in: Remove support for elf directories in sysdeps.
33991
33992         * configure: Regenerated.
33993         * sysdeps/i386/configure: Regenerated.
33994         * sysdeps/powerpc/powerpc32/configure: Regenerated.
33995         * sysdeps/powerpc/powerpc64/configure: Regenerated.
33996         * sysdeps/s390/s390-32/configure: Regenerated.
33997         * sysdeps/s390/s390-64/configure: Regenerated.
33998         * sysdeps/sh/configure: Regenerated.
33999         * sysdeps/sparc/configure: Regenerated.
34000         * sysdeps/x86_64/configure: Regenerated.
34001
34002 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
34003
34004         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34005
34006         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
34007         denormal result into account.
34008
34009 2012-03-25  Roland McGrath  <roland@hack.frob.com>
34010
34011         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
34012         Reported by Allan McRae <allan@archlinux.org>.
34013
34014 2012-03-23  Jeff Law  <law@redhat.com>
34015
34016         * nss/getnssent.c (__nss_getent): Fix typo.
34017
34018 2012-03-23  David S. Miller  <davem@davemloft.net>
34019
34020         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34021
34022 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
34023
34024         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
34025         to pad to uint64_t for each field.
34026         (dl_tls_index): Replace unsigned long with uint64_t.
34027
34028 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
34029         Paul Pluzhnikov  <ppluzhnikov@google.com>
34030
34031         [BZ #6528]
34032         * grp/Makefile (otherlibs): Don't set it.
34033         * inet/Makefile (otherlibs): Likewise.
34034         * login/Makefile (otherlibs): Likewise.
34035         * nscd/Makefile (otherlibs): Likewise.
34036         * posix/Makefile (otherlibs): Likewise.
34037         * pwd/Makefile (otherlibs): Likewise.
34038         * rt/Makefile (otherlibs): Likewise.
34039         * sunrpc/Makefile (otherlibs): Likewise.
34040         * nss/Makefile (otherlibs): Likewise.
34041         Add libnss_files to routines and static-only-routines.
34042         ($(objpfx)getent): Remove rule.
34043         * resolv/Makefile: Add libnss_dns and libresolv to routines and
34044         static-only-routines.
34045
34046 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34047
34048         [BZ #13892]
34049         * math/s_cexp.c: Include <float.h>.
34050         (__cexp): Handle exp result overflowing not necessarily
34051         overflowing both real and imaginary parts of result.
34052         * math/s_cexpf.c: Likewise.
34053         * math/s_cexpl.c: Likewise.
34054         * math/libm-test.inc (cexp_test): Add more tests.
34055         * sysdeps/i386/fpu/libm-test-ulps: Update.
34056         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34057
34058 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34059
34060         * include/link.h (ELFW): New macro.
34061         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
34062         Replace ELF64_R_TYPE with ELFW(R_TYPE).
34063
34064 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34065
34066         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
34067         with uint64_t.
34068
34069 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34070
34071         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
34072         declaration.
34073         (struct La_x32_retval): Likewise.
34074
34075 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
34076
34077         * sysdeps/x86_64/preconfigure.in: New file.
34078         * sysdeps/x86_64/preconfigure: New generated file.
34079
34080 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
34081
34082         [BZ #13824]
34083         * math/e_exp2l.c: Include <float.h>.
34084         (__ieee754_exp2l): Handle overflow and underflow cases
34085         separately.  Only pass fractional part of argument to
34086         __ieee754_expl.
34087         * math/libm-test.inc (exp2_test): Add more tests.
34088
34089         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
34090         negating x to take absolute value.
34091         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
34092         Likewise.
34093         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
34094         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
34095         Likewise.
34096         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
34097         computing low part if x was negated.
34098         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
34099
34100 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34101
34102         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
34103         la_x32_gnu_pltexit.
34104         (pltexit): Cast int_retval to ptrdiff_t.
34105         * elf/tst-auditmod3b.c: Likewise.
34106         * elf/tst-auditmod4b.c: Likewise.
34107         * elf/tst-auditmod5b.c: Likewise.
34108         * elf/tst-auditmod6b.c: Likewise.
34109         * elf/tst-auditmod6c.c: Likewise.
34110         * elf/tst-auditmod7b.c: Likewise.
34111
34112         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
34113         and x32_gnu_pltexit.
34114
34115         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
34116         __ELF_NATIVE_CLASS.
34117         (La_x32_regs): New macro.
34118         (La_x32_retval): Likewise.
34119         (la_x32_gnu_pltenter): New function prototype.
34120         (la_x32_gnu_pltexit): Likewise.
34121
34122 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
34123
34124         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
34125         exponent.
34126
34127         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34128
34129         * configure.in (libc_cv_cc_nofma): Check for option to disable
34130         generation of FMA instructions.
34131         * configure: Regenerate.
34132         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
34133         * sysdeps/ieee754/dbl-64/Makefile: New file.
34134         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
34135         Remove brandred-fma4.
34136         (CFLAGS-brandred-fma4.c): Remove.
34137         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
34138         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
34139         define.
34140         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
34141         define.
34142
34143 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34144
34145         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
34146         LLONG_MAX != LONG_MAX.
34147         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34148         (_fitoa_word): Likewise.
34149         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
34150         LLONG_MAX != LONG_MAX.
34151         * stdio-common/_itowa.h: Include <_itoa.h>.
34152         (_itowa_word): Use _ITOA_WORD_TYPE on value.
34153         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
34154         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
34155         only if not defined.
34156         (_ITOA_WORD_TYPE): Likewise.
34157         (_itoa_word): Use _ITOA_WORD_TYPE on value.
34158         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
34159
34160 2012-03-21  David S. Miller  <davem@davemloft.net>
34161
34162         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34163
34164 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
34165
34166         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
34167         of x86_64 when setting libc_cv_slibdir, libdir and
34168         libc_cv_localedir.
34169         * sysdeps/unix/sysv/linux/configure: Regenerated.
34170
34171 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34172
34173         * manual/lang.texi (Old Varargs): Remove section.
34174         (How Variadic): Update menu.
34175         (va_start): Do not mention varargs.h.
34176
34177 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34178             Joseph Myers  <joseph@codesourcery.com>
34179
34180         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
34181         link test.
34182         * configure: Regenerated.
34183
34184 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
34185
34186         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
34187         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
34188         conformtest.pl
34189
34190 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34191
34192         * NOTES: Remove.
34193         * Makefile (files-for-dist): Remove NOTES.
34194         (NOTES): Remove rule.
34195         * README: Don't refer to NOTES.
34196         * manual/creature.texi: Don't include macros.texi.
34197         * manual/intro.texi (creature.texi): Remove comment referring to
34198         NOTES.
34199
34200         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
34201         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
34202         * configure: Regenerated.
34203         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
34204         LIBC_TRY_CC_OPTION.
34205         (libc_cv_as_i686): Likewise.
34206         (libc_cv_cc_avx): Likewise.
34207         (libc_cv_cc_sse2avx): Likewise.
34208         (libc_cv_cc_fma4): Likewise.
34209         (libc_cv_cc_novzeroupper): Likewise.
34210         * sysdeps/i386/configure: Regenerated.
34211
34212         [BZ #13883]
34213         * sysdeps/i386/fpu/s_cexp.S: Remove.
34214         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
34215         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
34216         * math/libm-test.inc (cexp_test): Add more tests.
34217         * sysdeps/i386/fpu/libm-test-ulps: Update.
34218         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34219
34220 2012-03-21  Allan McRae  <allan@archlinux.org>
34221
34222         * timezone/Makefile: Do not install iso3166.tab and zone.tab
34223
34224 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
34225
34226         [BZ #13871]
34227         * math/w_exp2.c: Do not include <float.h>.
34228         (o_threshold, u_threshold): Remove.
34229         (__exp2): Calculate result before checking finiteness and calling
34230         __kernel_standard.
34231         * math/w_exp2f.c: Likewise.
34232         * math/w_exp2l.c: Likewise.
34233         * math/libm-test.inc (exp2_test): Require overflow exception for
34234         1e6 input.
34235
34236         [BZ #3866]
34237         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
34238         range of signed 64-bit integers before using fistpll.  Remove
34239         checks for whether integers fit in mantissa bits.
34240         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
34241         the range of signed 32-bit integers before using fistpl.  Remove
34242         checks for whether integers fit in mantissa bits.
34243         * sysdeps/i386/fpu/e_powl.S (p64): New object.
34244         (__ieee754_powl): Test for y outside the range of signed 64-bit
34245         integers before using fistpll.  Reduce 64-bit values to 63-bit
34246         ones as needed.
34247         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
34248         divide-by-zero is raised for zero to large negative powers.
34249         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
34250         (__ieee754_powl): Test for y outside the range of signed 64-bit
34251         integers before using fistpll.  Reduce 64-bit values to 63-bit
34252         ones as needed.
34253         * math/libm-test.inc (pow_test): Add more tests.
34254
34255 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34256
34257         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
34258         <stdio-common/_itoa.h>.
34259         * debug/segfault.c: Likewise.
34260         * elf/dl-cache.c: Likewise.
34261         * elf/dl-minimal.c: Likewise.
34262         * elf/dl-misc.c: Likewise.
34263         * elf/dl-sysdep.c: Likewise.
34264         * elf/dl-version.c: Likewise.
34265         * elf/rtld.c: Likewise.
34266         * hurd/hurdsock.c: Likewise.
34267         * hurd/lookup-retry.c: Likewise.
34268         * malloc/malloc.c: Likewise.
34269         * malloc/mtrace.c: Likewise.
34270         * nscd/nscd_getgr_r.c: Likewise.
34271         * nscd/nscd_getpw_r.c: Likewise.
34272         * nscd/nscd_getserv_r.c: Likewise.
34273         * posix/getopt_init.c: Likewise.
34274         * posix/wordexp.c: Likewise.
34275         * stdio-common/_itoa.c: Likewise.
34276         * stdio-common/printf_fphex.c: Likewise.
34277         * stdio-common/vfprintf.c: Likewise.
34278         * string/_strerror.c: Likewise.
34279         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
34280         * sysdeps/i386/i686/hp-timing.h: Likewise.
34281         * sysdeps/mach/_strerror.c: Likewise.
34282         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
34283         * sysdeps/mach/hurd/sethostid.c: Likewise.
34284         * sysdeps/mach/hurd/xmknodat.c: Likewise.
34285         * sysdeps/mach/xpg-strerror.c: Likewise.
34286         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
34287         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
34288         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
34289         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
34290         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
34291         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
34292         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
34293         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
34294         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
34295         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
34296         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
34297         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
34298         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
34299         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
34300         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
34301         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
34302         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
34303         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
34304         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
34305         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
34306         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
34307
34308         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
34309
34310         * stdio-common/_itoa.h: Moved to ...
34311         * sysdeps/generic/_itoa.h: Here.
34312
34313         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
34314
34315         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
34316         instead of "_itoa.h" and "_itowa.h".
34317         * stdio-common/vfprintf.: Likewise.
34318
34319 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34320
34321         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
34322         <bits/wordsize.h>.
34323         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
34324         (__signbit): Likwise.
34325         (llrintf): Likwise.
34326         (llrint): Likwise.
34327
34328 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
34329
34330         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
34331         __WORDSIZE != 64.
34332
34333 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
34334
34335         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
34336         OVERFLOW_EXCEPTION_OK.
34337         * math/libm-test.inc ("Philosophy"): Update comment about
34338         exception testing.
34339         (OVERFLOW_EXCEPTION): Define.
34340         (OVERFLOW_EXCEPTION_OK): Likewise.
34341         (INVALID_EXCEPTION_OK): Renumber.
34342         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
34343         (IGNORE_ZERO_INF_SIGN): Likewise.
34344         (test_exceptions): Handle FE_OVERFLOW.
34345         (exp10_test): Expect overflow exceptions.
34346         (exp2_test): Likewise.
34347         (expm1_test): Likewise.
34348         (nextafter_test): Likewise.
34349         (pow_test): Likewise.
34350         (scalbn_test): Likewise.
34351         (scalbln_test): Likewise.
34352
34353 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34354
34355         * sysdeps/x86_64/bits/atomic.h
34356         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
34357         64bit integer.
34358         (atomic_exchange_acq): Likewise.
34359         (__arch_exchange_and_add_body): Likewise.
34360         (__arch_add_body): Likewise.
34361         (atomic_add_negative): Likewise.
34362         (atomic_add_zero): Likewise.
34363
34364 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34365
34366         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
34367         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
34368
34369 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34370
34371         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
34372         Check __x86_64__ instead of __WORDSIZE.
34373
34374 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34375
34376         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
34377
34378 2012-03-19  David S. Miller  <davem@davemloft.net>
34379
34380         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34381
34382         * sysdeps/sparc/fpu/fenv_private.h: New file.
34383         * sysdeps/sparc/fpu/math_private.h: Use it.
34384         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
34385         Remove.
34386         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
34387         (libc_feholdexcept_setroundl): Remove.
34388         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
34389         Remove.
34390         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
34391         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
34392
34393 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34394
34395         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
34396         int64_t instead of long int.
34397         (INSERT_WORDS64): Likwise.
34398
34399 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
34400
34401         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
34402         _Unwind_GetCFA return to _Unwind_Ptr first.
34403
34404 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
34405
34406         [BZ #13629]
34407         * math/s_clog.c: Include <float.h>.
34408         (__clog): Scale large or subnormal inputs.
34409         * math/s_clogf.c: Likewise.
34410         * math/s_clogl.c: Likewise.
34411         * math/s_clog10.c: Include <float.h>.
34412         (M_LOG10_2): Define.
34413         (__clog10): Scale large or subnormal inputs.
34414         * math/s_clog10f.c: Likewise.
34415         * math/s_clog10l.c: Likewise.
34416         * math/libm-test.inc (clog_test): Add more tests.
34417         (clog10_test): Likewise.
34418         * sysdeps/i386/fpu/libm-test-ulps: Update.
34419         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34420
34421         [BZ #11451]
34422         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
34423         x and y.
34424         * math/libm-test.inc (atan2_test): Add another test.
34425
34426         * Makerules (common-objdir-compile): Remove.
34427         * sysdeps/unix/Makefile (config-generated): Do not add
34428         $(unix-generated) to variable.
34429         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
34430         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
34431         Remove rule.
34432         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
34433         Likewise.
34434         [generic bits/local_lim.h] (before-compile): Do not append to
34435         variable.
34436         [generic bits/local_lim.h] (common-generated): Likewise.
34437         [generic sys/param.h] (before-compile): Do not append to variable.
34438         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
34439         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
34440         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
34441         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
34442         include.
34443         [generic sys/param.h] (sys/param.h-includes): Remove variable.
34444         [generic sys/param.h] (sys/param.h-includes): Remove rule.
34445         [generic sys/param.h] ($(addprefix
34446         $(common-objpfx),$(sys/param.h-includes))): Likewise.
34447         [generic sys/param.h] (common-generated): Do not append to
34448         variable.
34449         [generic sys/param.h] (sysdep_headers): Likewise.
34450         [generic bits/errno.h] (before-compile): Do not append to
34451         variable.
34452         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
34453         rule.
34454         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
34455         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
34456         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
34457         [generic bits/errno.h] (common-generated): Do not append to
34458         variable.
34459         [generic bits/ioctls.h] (before-compile): Do not append to
34460         variable.
34461         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
34462         rule.
34463         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
34464         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
34465         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
34466         rule.
34467         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
34468         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
34469         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
34470         [generic bits/ioctls.h] (common-generated): Do not append to
34471         variable.
34472         [generic sys/syscall.h] (syscall.h): Remove variable.
34473         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
34474         rule.
34475         [generic sys/syscall.h] (before-compile): Do not append to
34476         variable.
34477         [generic sys/syscall.h] (common-generated): Likewise.
34478         * sysdeps/unix/errnos-tmpl.c: Remove file.
34479         * sysdeps/unix/errnos.awk: Likewise.
34480         * sysdeps/unix/ioctls-tmpl.c: Likewise.
34481         * sysdeps/unix/ioctls.awk: Likewise.
34482         * sysdeps/unix/mk-local_lim.c: Likewise.
34483         * sysdeps/unix/snarf-ioctls: Likewise.
34484
34485 2012-03-19  Richard Henderson  <rth@twiddle.net>
34486
34487         * sysdeps/i386/fpu/fenv_private.h: New file.
34488         * sysdeps/i386/fpu/math_private.h: Use it.
34489         (math_opt_barrier, math_force_eval): Remove.
34490         (libc_feholdexcept_setround_53bit): Remove.
34491         (libc_feupdateenv_53bit): Remove.
34492         * sysdeps/x86_64/fpu/math_private.h: Likewise.
34493         (math_opt_barrier, math_force_eval): Remove.
34494         (libc_feholdexcept): Remove.
34495         (libc_feholdexcept_setround): Remove.
34496         (libc_fetestexcept, libc_fesetenv): Remove.
34497         (libc_feupdateenv_test): Remove.
34498         (libc_feupdateenv, libc_feholdsetround): Remove.
34499         (libc_feresetround): Remove.
34500
34501         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
34502         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
34503
34504         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
34505         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
34506         (libc_feupdateenv_testl): New.
34507         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
34508         (libc_feupdateenv_testf): New.
34509         (libc_feupdateenv): Use libc_feupdateenv_test.
34510         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
34511         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
34512
34513         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
34514         (libc_feholdsetroundf, libc_feholdsetroundl): New.
34515         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
34516         (libc_feresetround_noex): New.
34517         (libc_feresetround_noexf): New.
34518         (libc_feresetround_noexl): New.
34519         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
34520         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
34521         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
34522         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
34523         SET_RESTORE_ROUND.
34524         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
34525         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
34526         (__cos): Likewise.
34527         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
34528         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
34529         SET_RESTORE_ROUND_NOEX.
34530         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
34531         SET_RESTORE_ROUND_NOEXF.
34532         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
34533         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
34534         (libc_feholdsetroundf): New.
34535         (libc_feresetround, libc_feresetroundf): New.
34536
34537         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
34538         (libc_feholdexcept_setround_53bit): Convert from macro to function.
34539         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
34540
34541         * sysdeps/generic/math_private.h: Include <fenv.h>.
34542         (default_libc_feholdexcept): New.
34543         (default_libc_feholdexcept_setround): New.
34544         (default_libc_fesetenv, default_libc_feupdateenv): New.
34545         (libc_feholdexcept): Only define if undefined.
34546         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
34547         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
34548         (libc_feholdexcept_setroundl): Likewise.
34549         (libc_feholdexcept_setround_53bit): Likewise.
34550         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
34551         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
34552         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
34553         (libc_feupdateenv_53bit): Likewise.
34554         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
34555         (libc_feholdexcept): Convert from macro to inline function.
34556         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
34557         (libc_fesetenv, libc_feupdateenv): Likewise.
34558
34559         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
34560         not previously defined.
34561         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
34562         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
34563         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
34564         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
34565         * sysdeps/ieee754/flt-32/math_private.h: New file.
34566         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
34567         math_private.h below SET_FLOAT_WORD.
34568         (__isnan, __isinf_ns, __finite): Remove.
34569         (__isnanf, __isinf_nsf, __finitef): Remove.
34570
34571 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
34572
34573         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34574
34575 2012-03-17  David S. Miller  <davem@davemloft.net>
34576
34577         [BZ #6471]
34578         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
34579         for 2.16.
34580
34581 2012-03-16  David S. Miller  <davem@davemloft.net>
34582
34583         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
34584         warnings.
34585
34586         [BZ #6471]
34587         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
34588         properly.
34589         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
34590         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
34591         sysdep_routines when subdir is sysvipc.
34592         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
34593         __getshmlba helper.
34594
34595         * sysdeps/sparc/fpu/libm-test/ulps: Update.
34596
34597 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34598
34599         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
34600         [__LP64__].
34601
34602 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34603
34604         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
34605         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
34606         (__lround): Renamed to ...
34607         (__llround): This.  Replace long int with long long int.
34608         Define lround functions as aliases of llround functions.
34609         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
34610
34611 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34612
34613         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
34614         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
34615         adresses to uintptr_t.  Replace "long int" and "unsigned long
34616         int" with "greg_t" on va_arg.
34617
34618 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34619
34620         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
34621         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
34622
34623         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
34624         Move e_machine check before EI_CLASS check.  Handle x32
34625         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
34626         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
34627         SKIP_EM_IA_64 and include
34628         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
34629
34630         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
34631         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
34632         (add_system_dir): New macro.
34633
34634         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
34635         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
34636
34637 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34638
34639         [BZ #2551]
34640         [BZ #2552]
34641         [BZ #2553]
34642         [BZ #2554]
34643         [BZ #2562]
34644         [BZ #2563]
34645         [BZ #2565]
34646         [BZ #2566]
34647         [BZ #2576]
34648         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
34649         (y0): Likewise.
34650         * math/w_j0f.c (j0f): Likewise.
34651         (y0f): Likewise.
34652         * math/w_j0l.c (__j0l): Likewise.
34653         (__y0l): Likewise.
34654         * math/w_j1.c (j1): Likewise.
34655         (y1): Likewise.
34656         * math/w_j1f.c (j1f): Likewise.
34657         (y1f): Likewise.
34658         * math/w_j1l.c (__j1l): Likewise.
34659         (__y1l): Likewise.
34660         * math/w_jn.c (jn): Likewise.
34661         (yn): Likewise.
34662         * math/w_jnf.c (jnf): Likewise.
34663         (ynf): Likewise.
34664         * math/w_jnl.c (__jnl): Likewise.
34665         (__ynl): Likewise.
34666         * math/libm-test.inc (j0_test): Add more tests.
34667         (j1_test): Likewise.
34668         (jn_test): Likewise.  Add trailing semicolon to existing test.
34669         (y0_test): Likewise.
34670         (y1_test): Likewise.
34671         * sysdeps/i386/fpu/libm-test-ulps: Update.
34672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34673
34674         [BZ #13851]
34675         [BZ #13854]
34676         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
34677         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
34678         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
34679         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
34680         (__tanl): Set errno for infinite argument.
34681         * sysdeps/i386/fpu/mptan.c: Remove.
34682         * sysdeps/i386/fpu/s_tan.S: Likewise.
34683         * sysdeps/i386/fpu/s_tanl.S: Likewise.
34684         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
34685         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
34686         * math/libm-test.inc (tan_test): Add more tests and enable more
34687         tests for double and long double.
34688         * sysdeps/i386/fpu/libm-test-ulps: Update.
34689         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34690
34691 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
34692
34693         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
34694         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
34695
34696 2012-03-16  Roland McGrath  <roland@hack.frob.com>
34697
34698         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
34699         * configure.in: Use it for both main tree and add-ons.
34700         * configure: Regenerated.
34701
34702 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
34703
34704         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
34705
34706 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
34707
34708         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
34709         in comment.
34710
34711         [BZ #13851]
34712         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
34713         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
34714         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
34715         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
34716         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
34717         infinite argument.
34718         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
34719         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
34720         != 0 for prec == 2.
34721         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
34722         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
34723         * sysdeps/i386/fpu/s_cosl.S: Likewise.
34724         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
34725         * sysdeps/i386/fpu/s_sinl.S: Likewise.
34726         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
34727         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
34728         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
34729         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
34730         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
34731         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
34732         * math/libm-test.inc (cos_test): Add more tests and enable more
34733         tests for long double.
34734         (sin_test): Likewise.
34735         (sincos_test): Likewise.
34736         * sysdeps/i386/fpu/libm-test-ulps: Update.
34737         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34738
34739 2012-03-16  David S. Miller  <davem@davemloft.net>
34740
34741         * sysdeps/sparc/fpu/math_private.h: New file.
34742
34743 2012-03-15  David S. Miller  <davem@davemloft.net>
34744
34745         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
34746         file.
34747         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
34748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
34749         file.
34750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
34751         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
34752         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
34753         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
34754         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
34755         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
34756         sysdep routines.
34757         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34758
34759         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
34760         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
34761
34762         * sysdeps/sparc/sparc-ifunc.h: New file.
34763         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
34764         sparc-ifunc.h
34765         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
34766         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
34767         Likewise.
34768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
34769         Likewise.
34770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
34771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
34772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
34773         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
34774         Likewise.
34775         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
34776         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
34777         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
34778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
34779         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
34780         Likewise.
34781         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
34782         Likewise.
34783         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
34784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
34785         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
34786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
34787         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
34788         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
34789         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
34790         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
34791         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
34792         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
34793         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
34794         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34795         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
34796         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
34797         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
34798         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
34799         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
34800         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
34801         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
34802         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
34803         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
34804         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
34805         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
34806         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
34807
34808 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34809
34810         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
34811         scaling.
34812         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34813
34814 2012-03-15  Andreas Jaeger  <aj@suse.de>
34815
34816         [BZ #13852]
34817         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
34818         ieee754/flt-32 implementation for sin, cos and sincos.
34819         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
34820         * sysdeps/i386/fpu/s_cosf.S: Likewise.
34821         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
34822         * sysdeps/i386/fpu/s_sinf.S: Likewise.
34823         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
34824         ieee754/flt-32 implementation for tan.
34825
34826         * math/libm-test.inc (cos_test): Enable some large input tests for
34827         float as well
34828         (sin_test): Likewise.
34829         (sincos_test): Likewise.
34830         (tan_test): Add tests for large input.
34831
34832         * sysdeps/i386/fpu/libm-test-ulps: Update.
34833
34834 2012-03-15  Andreas Jaeger  <aj@suse.de>
34835
34836         [BZ #13658]
34837         * math/libm-test.inc (cos_test): Add more test cases.
34838         (sin_test): Likewise.
34839         (sincos_test): Likewise.
34840
34841 2012-03-15  Andreas Jaeger  <aj@suse.de>
34842
34843         [BZ #13837]
34844         * math/libm-test.inc (cos_test): Add a test case for large input
34845         value.
34846         (sin_test): Likewise.
34847         (sincos_test): Likewise.
34848
34849 2012-03-15  Andreas Jaeger  <aj@suse.de>
34850             Joseph Myers  <joseph@codesourcery.com>
34851
34852         [BZ #13658]
34853         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
34854         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
34855         * sysdeps/i386/fpu/branred.c: Likewise.
34856         * sysdeps/i386/fpu/dosincos.c: Likewise.
34857         * sysdeps/i386/fpu/mpa.c: Likewise.
34858         * sysdeps/i386/fpu/s_cos.S: Likewise.
34859         * sysdeps/i386/fpu/s_sin.S: Likewise.
34860         * sysdeps/i386/fpu/s_sincos.S: Likewise.
34861         * sysdeps/i386/fpu/sincos32.c: Likewise.
34862
34863         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
34864         Define.
34865         (libc_feupdateenv_53bit): Define.
34866         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
34867         Define.
34868         (libc_feupdateenv_53bit): Define.
34869
34870         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
34871         53 bit (without extend i386 double precision).
34872
34873         * math/libm-test.inc (sincos_test): Add tests for large input.
34874         (sin): Likewise.
34875         (cos): Likewise.
34876
34877         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
34878
34879 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
34880
34881         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
34882
34883 2012-03-15  David S. Miller  <davem@davemloft.net>
34884
34885         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
34886         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
34887         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
34888         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
34889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
34890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
34891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
34892         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
34893         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
34894         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
34895         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
34896         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
34897         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
34898         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
34899         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
34900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
34901         file.
34902         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
34903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
34904         file.
34905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
34906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
34907         file.
34908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
34909         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
34910         file.
34911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
34912         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
34913         fmin/fmax sysdep routines.
34914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
34915
34916 2012-03-14  David S. Miller  <davem@davemloft.net>
34917
34918         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
34919         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
34920         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
34921         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
34922         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
34923         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
34924         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
34925         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
34926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
34927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
34928         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
34929         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
34930         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
34931         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
34932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
34933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
34934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
34935         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
34936         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
34937         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
34938         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
34939         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
34940         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
34941         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
34942         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
34943         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
34944         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
34945         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
34946         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
34947         routines.
34948         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
34949         file.
34950         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
34951         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
34952         file.
34953         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
34954         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
34955         file.
34956         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
34957         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
34958         file.
34959         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
34960         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
34961         file.
34962         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
34963         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
34964         file.
34965         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
34966         file.
34967         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
34968         file.
34969         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
34970         file.
34971         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
34972         New file.
34973         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
34974         file.
34975         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
34976         file.
34977         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
34978         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
34979         file.
34980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
34981         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
34982         file.
34983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
34984         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
34985         file.
34986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
34987         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
34988         VIS3 routines.
34989
34990         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
34991         New file.
34992
34993         * sysdeps/sparc/fpu/libm-test-ulps: Update.
34994
34995         * sysdeps/sparc/configure.in: New file.
34996         * sysdeps/sparc/configure: Generate.
34997         * configure.in (libc_cv_sparc_as_vis3): Substitute.
34998         * configure: Regenerate.
34999         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
35000         * config.make.in (have-as-vis3): New.
35001         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
35002         available use -Av9d instead of -Av9a.
35003         * sysdeps/sparc/sparc64/Makefile: Likewise.
35004         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
35005         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
35006         New file.
35007         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
35008         file.
35009         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
35010         New file.
35011         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
35012         file.
35013         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
35014         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
35015         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
35016         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
35017         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
35018
35019         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
35020         fzeros/fnegs to load 0x80000000 into a float register instead of
35021         using the stack.
35022         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
35023
35024 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35025
35026         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35027         bits/syscall.h.
35028         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
35029         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
35030         ($(inst_includedir)/bits/syscall.h): Remove rule.
35031         ($(objpfx)bits/syscall.d): Include instead of
35032         $(objpfx)syscall-list.d.
35033         (generated): Change syscall-list.h and syscall-list.d to
35034         bits/syscall.h and bits/syscall.d.
35035
35036 2012-03-14  Roland McGrath  <roland@hack.frob.com>
35037
35038         [BZ #13846]
35039         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
35040
35041 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
35042
35043         [BZ #13841]
35044         * math/s_csqrt.c: Include <float.h>.
35045         (__csqrt): Scale large or subnormal inputs.
35046         * math/s_csqrtf.c: Likewise.
35047         * math/s_csqrtl.c: Likewise.
35048         * math/libm-test.inc (csqrt_test): Add more tests.
35049         * sysdeps/i386/fpu/libm-test-ulps: Update.
35050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35051
35052         [BZ #13840]
35053         * math/libm-test.inc (hypot_test): Add more tests.
35054
35055 2012-03-13  David S. Miller  <davem@davemloft.net>
35056
35057         [BZ #13840]
35058         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
35059         double-precision for the calculation instead of scaling.
35060
35061 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
35062
35063         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
35064         manipulate bits before adding and subtracting TWO52[sx].
35065         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
35066         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
35067         Likewise.
35068         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
35069
35070 2012-03-13  David S. Miller  <davem@davemloft.net>
35071
35072         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
35073         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
35074         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
35075         rtld-global-offsets.h
35076         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
35077
35078         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
35079         large parameters.
35080
35081         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
35082
35083         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
35084         'err' in the ifdef scope in which it is actually used.
35085
35086         * nss/nss_db/db-init.c: Include string.h
35087
35088 2012-03-12  David S. Miller  <davem@davemloft.net>
35089
35090         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
35091         masking out of the most significant byte of random value used.
35092         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35093         Fix coding style in previous change.
35094
35095         * sysdeps/unix/sysv/linux/kernel-features.h
35096         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
35097         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
35098         expression.
35099         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
35100         later.
35101
35102 2012-03-11  David S. Miller  <davem@davemloft.net>
35103
35104         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
35105         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
35106         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
35107         for 'resultvar' otherwise things get truncated on 64-bit.
35108
35109         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
35110         Fix masking out of the most significant byte of random value used.
35111
35112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35113
35114 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
35115
35116         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35117
35118 2012-03-09  David S. Miller  <davem@davemloft.net>
35119
35120         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
35121         variables with appropriate CPP guards.
35122         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
35123         from the frame pointer, not the stack pointer.  Correct layout
35124         comments.  Fix test on resulting framesize and the management of
35125         the outregs buffer for pltexit.  Preserve floating point return
35126         values across _dl_call_pltexit call.
35127         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
35128         framesize and the management of the outregs buffer for pltexit.
35129         Preserve floating point return values across _dl_call_pltexit
35130         call.
35131         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
35132         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
35133         (la_sparc64_gnu_pltexit): New functions.
35134         (print_exit): Fix format string for return register value.
35135
35136 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
35137
35138         * sunrpc/Makefile (others): Add rpcgen.
35139         ($(objpfx)rpcgen): Remove special build rule and dependency on
35140         libc.
35141         * sunrpc/rpcgen.c: New file.
35142
35143 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
35144
35145         [BZ #13673]
35146         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
35147         * stdio-common/bug-vfprintf-nargs.c: Likewise.
35148         * sysdeps/i386/crti.S: Likewise.
35149         * sysdeps/i386/crtn.S: Likewise.
35150         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
35151         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
35152         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
35153         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
35154         * sysdeps/sh/crti.S: Likewise.
35155         * sysdeps/sh/crtn.S: Likewise.
35156         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
35157
35158         [BZ #13673]
35159         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
35160         with URL.
35161         * locale/programs/locfile-kw.gperf: Likewise.
35162         * locale/programs/charmap-kw.h: Regenerated.
35163         * locale/programs/locfile-kw.h: Likewise.
35164
35165         [BZ #13673]
35166         * intl/plural.y: Replace FSF snail mail address with URL.
35167         * intl/plural.c: Regenerated.
35168
35169 2012-03-09  Richard Henderson  <rth@twiddle.net>
35170
35171         * include/math_private.h: Remove file.
35172         * math/math_private.h: Move file ...
35173         * sysdeps/generic/math_private.h: ... here.
35174
35175         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
35176         * sysdeps/powerpc/fpu/math_private.h: Likewise.
35177         * sysdeps/x86_64/fpu/math_private.h: Likewise.
35178
35179         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
35180         and <math_private.h>.
35181         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
35182         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
35183         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
35184         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
35185         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
35186         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
35187         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
35188         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
35189         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
35190         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
35191         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
35192         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
35193         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
35194         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
35195         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
35196         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
35197         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
35198         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
35199         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
35200         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
35201         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
35202         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
35203         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
35204         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
35205         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
35206         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
35207         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
35208         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
35209         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
35210         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
35211         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
35212         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
35213         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
35214         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
35215         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
35216         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
35217         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
35218         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
35219         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
35220         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
35221         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
35222         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
35223         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
35224         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
35225         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
35226         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
35227         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
35228         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
35229         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
35230         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
35231         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
35232         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
35233         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
35234         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
35235         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
35236         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
35237         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
35238         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
35239         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
35240         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
35241         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
35242         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
35243         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
35244         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
35245         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
35246         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
35247         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
35248         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
35249         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
35250         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
35251         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
35252         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
35253         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
35254         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
35255         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
35256         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
35257         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
35258         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
35259         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
35260         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
35261         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
35262         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
35263         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
35264         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
35265         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
35266         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
35267         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
35268         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
35269         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
35270         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
35271         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
35272         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
35273         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
35274         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
35275         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
35276         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
35277         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
35278         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
35279         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
35280         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
35281         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
35282         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
35283         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
35284         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
35285         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
35286         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
35287         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
35288         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
35289         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
35290         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
35291         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
35292         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
35293         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
35294         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
35295         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
35296         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
35297         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
35298         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
35299         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
35300         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
35301         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
35302         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
35303         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
35304         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
35305         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
35306         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
35307         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
35308         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
35309         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
35310         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
35311         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
35312         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
35313         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
35314         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
35315         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
35316         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
35317         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
35318         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
35319         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
35320         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
35321         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
35322         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
35323         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
35324         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
35325         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
35326         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
35327         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
35328         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
35329         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
35330         * sysdeps/ieee754/k_standard.c: Likewise.
35331         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
35332         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
35333         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
35334         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
35335         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
35336         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
35337         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
35338         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
35339         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
35340         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
35341         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
35342         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
35343         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
35344         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
35345         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
35346         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
35347         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
35348         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
35349         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
35350         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
35351         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
35352         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
35353         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
35354         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
35355         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
35356         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
35357         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
35358         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
35359         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
35360         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
35361         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
35362         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
35363         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
35364         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
35365         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
35366         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
35367         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
35368         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
35369         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
35370         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
35371         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
35372         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
35373         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
35374         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
35375         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
35376         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
35377         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
35378         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
35379         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
35380         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
35381         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
35382         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
35383         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
35384         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
35385         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
35386         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
35387         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
35388         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
35389         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
35390         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
35391         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
35392         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
35393         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
35394         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
35395         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
35396         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
35397         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
35398         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
35399         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
35400         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
35401         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
35402         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
35403         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
35404         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
35405         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
35406         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
35407         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
35408         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
35409         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35410         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
35411         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
35412         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
35413         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
35414         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
35415         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
35416         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
35417         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
35418         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
35419         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
35420         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
35421         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
35422         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
35423         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
35424         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
35425         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
35426         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
35427         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
35428         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
35429         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
35430         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
35431         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
35432         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
35433         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
35434         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
35435         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
35436         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
35437         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
35438         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
35439         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
35440         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
35441         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
35442         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
35443         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
35444         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
35445         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
35446         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
35447         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
35448         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
35449         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
35450         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
35451         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
35452         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
35453         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
35454         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
35455         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
35456         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
35457         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
35458         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
35459         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
35460         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
35461         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
35462         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
35463         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
35464         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
35465         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
35466         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
35467         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
35468         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
35469         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
35470         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
35471         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
35472         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
35473         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
35474         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
35475         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
35476         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
35477         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
35478         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
35479         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
35480         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
35481         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
35482         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
35483         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
35484         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
35485         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
35486         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
35487         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
35488         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
35489         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
35490         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
35491         * sysdeps/ieee754/s_lib_version.c: Likewise.
35492         * sysdeps/ieee754/s_matherr.c: Likewise.
35493         * sysdeps/ieee754/s_signgam.c: Likewise.
35494         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
35495         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
35496         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
35497         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
35498         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
35499         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
35500         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
35501         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
35502         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
35503         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
35504         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
35505         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
35506         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
35507         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
35508         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
35509         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
35510         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
35511         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
35512         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
35513         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
35514         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
35515
35516 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35517
35518         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
35519         * sunrpc/rpc_main.c: Likewise.
35520         * sunrpc/rpc_svcout.c: Likewise.
35521
35522 2012-03-09  David S. Miller  <davem@davemloft.net>
35523
35524         * include/math_private.h: New file.
35525
35526 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
35527
35528         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
35529         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
35530         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
35531         from <bits/socket_type.h>.
35532         (enum __socket_type): Don't define here.
35533         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
35534         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35535         bits/socket_type.h.
35536
35537         [BZ #13566]
35538         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
35539         checking __USE_GNU.
35540
35541         * Makerules ($(inst_includedir)/%.h): New rule.
35542         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
35543         (install-others): Remove variable setting.
35544         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
35545
35546 2012-03-08  Richard Henderson  <rth@twiddle.net>
35547
35548         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
35549         from macro to inline function; merge with the
35550         !__LIBC_INTERNAL_MATH_INLINES version.
35551         (__ieee754_sqrtf): Likewise.
35552
35553         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
35554         to inline function.
35555         (__rintf, __floor, __floorf): Likewise.
35556
35557         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
35558         macro to inline function.
35559         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
35560
35561         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
35562         not <math/math_private.h>.
35563
35564 2012-03-08  David S. Miller  <davem@davemloft.net>
35565
35566         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
35567         copyright year.
35568         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
35569
35570 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
35571
35572         * resolv/gai_misc.c (handle_requests): Fix struct timespec
35573         normalization.
35574         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
35575         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
35576
35577 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
35578
35579         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
35580         be defined individually, they must be defined as a block.  Define
35581         S for printing a string instead of hidint the different by using a
35582         macro for adding the 'l'.
35583         * stdio-common/tst-fphex-wide.c: Adjust.
35584
35585 2012-03-07  Marek Polacek  <polacek@redhat.com>
35586
35587         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
35588
35589 2012-03-08  Marek Polacek  <polacek@redhat.com>
35590
35591         [BZ #13806]
35592         * stdio-common/Makefile (tests): Add tst-fphex-wide.
35593         * stdio-common/tst-fphex.c: Define a few macros to make the
35594         test reusable.  Use them.
35595         * stdio-common/tst-fphex-wide.c: New file.
35596
35597 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
35598
35599         [BZ #6911]
35600         * manual/macros.texi (gnusystems): New macro.
35601         (nongnusystems): Likewise.
35602         (gnulinuxhurdsystems): Likewise.
35603         (gnuhurdsystems): Likewise..
35604         (gnulinuxsystems): Likewise.
35605         * manual/charset.texi: Use new macros or @theglibc{} to refer to
35606         variants of the GNU system, not "GNU system".
35607         * manual/conf.texi: Likewise.
35608         * manual/errno.texi: Likewise.  Update example of errno macro
35609         expansion.
35610         * manual/filesys.texi: Likewise.
35611         (getumask): Document as specific to GNU/Hurd.
35612         * manual/install.texi: Likewise.  Reword some references to
35613         GNU/Linux.
35614         * manual/intro.texi: Likewise.
35615         * manual/io.texi: Likewise.
35616         (File Name Portability): Detail which constraints are inapplicable
35617         to all GNU systems and which are only inapplicable to GNU/Hurd.
35618         * manual/job.texi: Likewise.
35619         * manual/llio.texi: Likewise.
35620         (O_NOCTTY): Document as present on GNU/Linux.
35621         * manual/maint.texi: Likewise.
35622         * manual/memory.texi: Likewise.
35623         * manual/pattern.texi: Likewise.
35624         * manual/pipe.texi: Likewise.
35625         * manual/process.texi: Likewise.
35626         * manual/resource.texi: Likewise.
35627         (RUSAGE_CHILDREN): Remove statement about specifying a particular
35628         child on GNU/Hurd.
35629         * manual/setjmp.texi: Likewise.
35630         * manual/signal.texi: Likewise.
35631         * manual/startup.texi: Likewise.
35632         * manual/stdio.texi: Likewise.
35633         * manual/terminal.texi: Likewise.
35634         (ONLCR): Document as POSIX.
35635         (OXTABS): Document availability on GNU/Linux as XTABS.
35636         (ONOEOT): Document availability separately from other bits.
35637         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
35638         * manual/time.texi: Likewise.
35639         * manual/users.texi: Likewise.
35640         * INSTALL: Regenerated.
35641         * sysdeps/gnu/errlist.c: Regenerated.
35642
35643         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
35644         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
35645         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
35646         puts.
35647         * configure: Regenerated.
35648
35649 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
35650
35651         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
35652         default includes instead of AC_HEADER_CHECK.
35653         * sysdeps/i386/configure: Regenerated.
35654
35655         [BZ #10716]
35656         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
35657         * math/s_cacoshf.c (__cacoshf): Likewise.
35658         * math/s_cacoshl.c (__cacoshl): Likewise.
35659         * math/s_casinh.c (__casinh): Set signs of result from argument.
35660         * math/s_casinhf.c (__casinhf): Likewise.
35661         * math/s_casinhl.c (__casinhl): Likewise.
35662         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
35663         (casinh_test): Add more tests.
35664         * sysdeps/i386/fpu/libm-test-ulps: Update.
35665         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35666
35667 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
35668
35669         * po/zh_TW.po: Update from translation team.
35670
35671         * login/Makefile (distribute): Remove variable.
35672         * catgets/Makefile: Likewise.
35673         * mach/Makefile: Likewise.
35674         * malloc/Makefile: Likewise.
35675         * misc/Makefile: Likewise.
35676         * iconv/Makefile: Likewise.
35677         * nscd/Makefile: Likewise.
35678         * hurd/Makefile: Likewise.
35679         * manual/Makefile: Likewise.
35680         * locale/Makefile: Likewise.
35681         * intl/Makefile: Likewise.
35682         * conform/Makefile: Likewise.
35683         * nss/Makefile: Likewise.
35684         * time/Makefile: Likewise.
35685         * soft-fp/Makefile: Likewise.
35686         * dirent/Makefile: Likewise.
35687         * gmon/Makefile: Likewise.
35688         * po/Makefile: Likewise.
35689         * rt/Makefile: Likewise.
35690         * socket/Makefile: Likewise.
35691         * math/Makefile: Likewise.
35692         * signal/Makefile: Likewise.
35693         * debug/Makefile: Likewise.
35694         * elf/Makefile: Likewise.
35695         * timezone/Makefile: Likewise.
35696         * stdlib/Makefile: Likewise.
35697         * iconvdata/Makefile: Likewise.
35698         * sunrpc/Makefile: Likewise.
35699         * io/Makefile: Likewise.
35700         * argp/Makefile: Likewise.
35701         * inet/Makefile: Likewise.
35702         * hesiod/Makefile: Likewise.
35703         * grp/Makefile: Likewise.
35704         * csu/Makefile: Likewise.
35705         * wctype/Makefile: Likewise.
35706         * crypt/Makefile: Likewise.
35707         * libio/Makefile: Likewise.
35708         * string/Makefile: Likewise.
35709         * nis/Makefile: Likewise.
35710         * resolv/Makefile: Likewise.
35711         * stdio-common/Makefile: Likewise.
35712         * wcsmbs/Makefile: Likewise.
35713         * dlfcn/Makefile: Likewise.
35714         * posix/Makefile: Likewise.
35715
35716         [BZ #6959]
35717         * timezone/Makefile: Don't install timezone files, just the programs
35718         and scripts.
35719
35720 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
35721
35722         * nss/databases.def: Add missing gshadow entry.
35723
35724         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
35725
35726 2012-03-06  Marek Polacek  <polacek@redhat.com>
35727
35728         [BZ #13726]
35729         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
35730         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
35731         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
35732         * stdio-common/tst-long-dbl-fphex.c: New file.
35733
35734 2012-03-06  David S. Miller  <davem@davemloft.net>
35735
35736         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
35737         (set_obp_int): New function.
35738         (get_obp_int): New function.
35739         (__get_clockfreq_via_dev_openprom): Likewise.
35740         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
35741         Avoid unused variable warnings on 'val' and use builtin_expect.
35742         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
35743         __builtin_expect.
35744         (INLINE_CLONE_SYSCALL): Likewise.
35745
35746 2012-03-05  David S. Miller  <davem@davemloft.net>
35747
35748         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35749
35750 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
35751
35752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35753
35754         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
35755         only for |x| >= 40.
35756         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
35757
35758 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
35759
35760         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
35761         Replace gettimeofday with __vdso_gettimeofday.
35762
35763         * sysdeps/unix/sysv/linux/x86_64/init-first.c
35764         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
35765         __vdso_clock_gettime and __vdso_getcpu.
35766
35767         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
35768         time with __vdso_time.
35769
35770 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35771
35772         * manual/lang.texi (size_t): Note types to which size_t may be
35773         equivalent with the GNU C Library, but do not describe when
35774         differences between them are significant.
35775
35776 2012-03-05  Andreas Jaeger  <aj@suse.de>
35777
35778         * sysdeps/i386/fpu/libm-test-ulps: Update.
35779
35780 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
35781
35782         [BZ #3976]
35783         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
35784         (__ieee754_pow): Save and restore rounding mode and use
35785         round-to-nearest for main computations.
35786         * math/libm-test.inc (pow_test_tonearest): New function.
35787         (pow_test_towardzero): Likewise.
35788         (pow_test_downward): Likewise.
35789         (pow_test_upward): Likewise.
35790         (main): Call the new functions.
35791         * sysdeps/i386/fpu/libm-test-ulps: Update.
35792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35793
35794         [BZ #3976]
35795         * math/libm-test.inc (cosh_test_tonearest): New function.
35796         (cosh_test_towardzero): Likewise.
35797         (cosh_test_downward): Likewise.
35798         (cosh_test_upward): Likewise.
35799         (sinh_test_tonearest): Likewise.
35800         (sinh_test_towardzero): Likewise.
35801         (sinh_test_downward): Likewise.
35802         (sinh_test_upward): Likewise.
35803         (main): Call the new functions.
35804         * sysdeps/i386/fpu/libm-test-ulps: Update.
35805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35806
35807 2012-03-05  Tom de Vries  <tom@codesourcery.com>
35808
35809         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
35810         default stack guard is set in last bytes.
35811         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
35812
35813 2012-03-05  Kees Cook  <keescook@chromium.org>
35814
35815         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
35816
35817         [BZ #13656]
35818         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
35819         possibly allocate from heap instead of stack.
35820         * stdio-common/bug-vfprintf-nargs.c: New file.
35821         * stdio-common/Makefile (tests): Add nargs overflow test.
35822
35823 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
35824
35825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
35826
35827 2012-03-03  Marek Polacek  <polacek@redhat.com>
35828
35829         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
35830         * math/math_private.h: Likewise.
35831         * stdlib/tst-strtod.c: Likewise.
35832         * sysdeps/i386/i486/bits/atomic.h: Likewise.
35833         * sysdeps/x86_64/bits/atomic.h: Likewise.
35834
35835 2012-03-02  David S. Miller  <davem@davemloft.net>
35836
35837         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
35838         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
35839         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
35840         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
35841         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
35842         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
35843         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
35844         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
35845
35846 2012-03-02  Roland McGrath  <roland@hack.frob.com>
35847
35848         [BZ #13792]
35849         * manual/examples/README: New file, says the example source files
35850         can be used under GPL>=2.
35851         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
35852         line containing just "*/".
35853         * manual/examples/add.c: Add copyright header (GPL>=2).
35854         * manual/examples/argp-ex1.c: Likewise.
35855         * manual/examples/argp-ex2.c: Likewise.
35856         * manual/examples/argp-ex3.c: Likewise.
35857         * manual/examples/argp-ex4.c: Likewise.
35858         * manual/examples/atexit.c: Likewise.
35859         * manual/examples/db.c: Likewise.
35860         * manual/examples/dir.c: Likewise.
35861         * manual/examples/dir2.c: Likewise.
35862         * manual/examples/execinfo.c: Likewise.
35863         * manual/examples/filecli.c: Likewise.
35864         * manual/examples/filesrv.c: Likewise.
35865         * manual/examples/fmtmsgexpl.c: Likewise.
35866         * manual/examples/genpass.c: Likewise.
35867         * manual/examples/inetcli.c: Likewise.
35868         * manual/examples/inetsrv.c: Likewise.
35869         * manual/examples/isockad.c: Likewise.
35870         * manual/examples/longopt.c: Likewise.
35871         * manual/examples/memopen.c: Likewise.
35872         * manual/examples/memstrm.c: Likewise.
35873         * manual/examples/mkfsock.c: Likewise.
35874         * manual/examples/mkisock.c: Likewise.
35875         * manual/examples/mygetpass.c: Likewise.
35876         * manual/examples/pipe.c: Likewise.
35877         * manual/examples/popen.c: Likewise.
35878         * manual/examples/rprintf.c: Likewise.
35879         * manual/examples/search.c: Likewise.
35880         * manual/examples/select.c: Likewise.
35881         * manual/examples/setjmp.c: Likewise.
35882         * manual/examples/sigh1.c: Likewise.
35883         * manual/examples/sigusr.c: Likewise.
35884         * manual/examples/stpcpy.c: Likewise.
35885         * manual/examples/strdupa.c: Likewise.
35886         * manual/examples/strftim.c: Likewise.
35887         * manual/examples/strncat.c: Likewise.
35888         * manual/examples/subopt.c: Likewise.
35889         * manual/examples/swapcontext.c: Likewise.
35890         * manual/examples/termios.c: Likewise.
35891         * manual/examples/testopt.c: Likewise.
35892         * manual/examples/testpass.c: Likewise.
35893         * manual/examples/timeval_subtract.c: Likewise.
35894
35895         [BZ #13792]
35896         * manual/time.texi (Elapsed Time): Move timeval_subtract example
35897         function to ...
35898         * manual/timeval_subtract.c.texi: ... here, new file.
35899
35900 2012-03-02  David S. Miller  <davem@davemloft.net>
35901
35902         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
35903
35904 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
35905
35906         [BZ #3976]
35907         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
35908         (__sin): Save and restore rounding mode and use round-to-nearest
35909         for all computations.
35910         (__cos): Save and restore rounding mode and use round-to-nearest
35911         for all computations.
35912         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
35913         <fenv.h>.
35914         (tan): Save and restore rounding mode and use round-to-nearest for
35915         all computations.
35916         * math/libm-test.inc (cos_test_tonearest): New function.
35917         (cos_test_towardzero): Likewise.
35918         (cos_test_downward): Likewise.
35919         (cos_test_upward): Likewise.
35920         (sin_test_tonearest): Likewise.
35921         (sin_test_towardzero): Likewise.
35922         (sin_test_downward): Likewise.
35923         (sin_test_upward): Likewise.
35924         (tan_test_tonearest): Likewise.
35925         (tan_test_towardzero): Likewise.
35926         (tan_test_downward): Likewise.
35927         (tan_test_upward): Likewise.
35928         (main): Call the new functions.
35929         * sysdeps/i386/fpu/libm-test-ulps: Update.
35930         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35931
35932         [BZ #10135]
35933         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
35934         small n, then large n, before computing and testing k+n.
35935         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
35936         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
35937         Likewise.
35938         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
35939         Likewise.
35940         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
35941         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
35942         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
35943         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
35944         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
35945         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
35946         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
35947         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
35948         * math/libm-test.inc (scalbn_test): Add more tests.
35949         (scalbln_test): Likewise.
35950
35951         * manual/filesys.texi (mode_t): Describe constraints on size and
35952         signedness, not exact equivalence to a particular type.
35953         (ino_t): Likewise.
35954         (ino64_t): Likewise.
35955         (dev_t): Likewise.
35956         (nlink_t): Likewise.
35957         (blkcnt_t): Likewise.
35958         (blkcnt64_t): Likewise.
35959         * manual/llio.texi (off_t): Likewise.
35960
35961         [BZ #3976]
35962         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
35963         (__ieee754_exp): Save and restore rounding mode and use
35964         round-to-nearest for all computations.
35965         * math/libm-test.inc (exp_test_tonearest): New function.
35966         (exp_test_towardzero): Likewise.
35967         (exp_test_downward): Likewise.
35968         (exp_test_upward): Likewise.
35969         (main): Call the new functions.
35970         * sysdeps/i386/fpu/libm-test-ulps: Update.
35971         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35972
35973 2012-03-01  Chris Demetriou  <cgd@google.com>
35974
35975         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
35976         have predictable order.
35977
35978 2012-03-01  David S. Miller  <davem@davemloft.net>
35979
35980         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
35981
35982         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
35983         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
35984         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
35985         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
35986
35987         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
35988         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
35989         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
35990         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
35991         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
35992         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
35993         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
35994         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
35995         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
35996
35997         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35998
35999         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
36000         * sysdeps/sparc/fpu/libm-test-ulps: to here.
36001         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
36002
36003         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
36004         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
36005         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36006         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
36007         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
36008         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
36009         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
36010         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
36011         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36012         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
36013         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
36014         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36015         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36016         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36017         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36018         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36019         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
36020         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
36021         * sysdeps/sparc/elf/configure: Regenerated.
36022
36023 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
36024
36025         * configure.in (AS, LD): Require binutils 2.20 or later.
36026         * configure: Regenerated.
36027         * manual/install.texi (Tools for Compilation): Give binutils 2.20
36028         as required minimum version.
36029         * INSTALL: Regenerated.
36030
36031         [BZ #2541]
36032         [BZ #4108]
36033         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
36034         before squaring exponent.
36035         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
36036         bottom long double and 27 bits of top long double before squaring
36037         exponent.
36038         * math/libm-test.inc (erfc_test): Add more tests.
36039         * sysdeps/i386/fpu/libm-test-ulps: Update.
36040         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36041         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36042
36043 2012-03-01  Kai Tietz  <ktietz@redhat.com>
36044
36045         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
36046         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
36047         containing bit-fields.
36048         * soft-fp/extended.h (_FP_UNION_E): Likewise.
36049         * soft-fp/single.h (_FP_UNION_S): Likewise.
36050         * soft-fp/double.h (_FP_UNION_D): Likewise.
36051
36052 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36053
36054         [BZ #13786]
36055         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
36056         not include ../strcmp.S.
36057         [USE_AS_STRNCASECMP_L]: Likewise.
36058         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
36059         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
36060         * sysdeps/i386/i686/multiarch/strncase_l-c.c
36061         (__strncasecmp_l_ia32): Define as alias to
36062         __strncasecmp_l_nonascii.
36063
36064         [BZ #5794]
36065         * math/libm-test.inc (expm1_test): Add test for bug 5794.
36066         * sysdeps/i386/fpu/libm-test-ulps: Update.
36067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36068
36069         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
36070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36071
36072 2012-02-29  Jeff Law  <law@redhat.com>
36073
36074         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
36075         out of bounds read.
36076
36077 2012-02-29  Marek Polacek  <polacek@redhat.com>
36078
36079         [BZ #13706]
36080         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
36081         * elf/Makefile: Add rules to run tst-unused-dep.out.
36082
36083 2012-02-28  David S. Miller  <davem@davemloft.net>
36084
36085         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
36086         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
36087         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
36088         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
36089         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
36090         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
36091
36092 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
36093
36094         * math/libm-test.inc (llround_test): Move one test from
36095         lround_test.  Use TEST_f_L in moved test.
36096         (lround_test): Move misplaced test to llround_test.  Add testcase
36097         from bug 2561.
36098
36099 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
36100
36101         * sysdeps/x86_64/fpu/e_expf.S: New file.
36102         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
36103
36104 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
36105
36106         [BZ #13637]
36107         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
36108         of remain_len that may cause incomplete multi-byte character and
36109         false match.
36110         * posix/bug-regex33.c: New file.
36111         * posix/Makefile (tests): Add bug-regex33.
36112
36113 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
36114
36115         * manual/macros.texi: New file.
36116         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
36117         * manual/libc.texinfo: Include macros.texi.
36118         * manual/creatute.texi: Likewise.
36119         * manual/install.texi: Likewise.
36120         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
36121         @glibcadj{} in references to the GNU C Library.
36122         * manual/charset.texi: Likewise.
36123         * manual/conf.texi: Likewise.
36124         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
36125         when not using those macros.
36126         * manual/creature.texi: Likewise.
36127         * manual/crypt.texi: Likewise.
36128         * manual/errno.texi: Likewise.
36129         * manual/filesys.texi: Likewise.
36130         * manual/header.texi: Likewise.
36131         * manual/install.texi: Likewise.
36132         * manual/intro.texi: Likewise.
36133         * manual/io.texi: Likewise.
36134         * manual/job.texi: Likewise.
36135         * manual/lang.texi: Likewise.
36136         * manual/libc.texiinfo: Likewise.
36137         * manual/llio.texi: Likewise.
36138         * manual/locale.texi: Likewise.
36139         * manual/maint.texi: Likewise.
36140         * manual/math.texi: Likewise.
36141         * manual/memory.texi: Likewise.
36142         * manual/message.texi: Likewise.
36143         * manual/nss.texi: Likewise.
36144         * manual/pattern.texi: Likewise.
36145         * manual/process.texi: Likewise.
36146         * manual/resource.texi: Likewise.
36147         * manual/search.texi: Likewise.
36148         * manual/setjmp.texi: Likewise.
36149         * manual/signal.texi: Likewise.
36150         * manual/socket.texi: Likewise.
36151         * manual/startup.texi: Likewise.
36152         * manual/stdio.texi: Likewise.
36153         * manual/string.texi: Likewise.
36154         * manual/sysinfo.texi: Likewise.
36155         * manual/syslog.texi: Likewise.
36156         * manual/terminal.texi: Likewise.
36157         * manual/time.texi: Likewise.
36158         * manual/users.texi: Likewise.
36159         * INSTALL: Regenerated.
36160         * NOTES: Regenerated.
36161         * sysdeps/gnu/errlist.c: Regenerated.
36162
36163 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
36164
36165         * include/dirent.h: Include <dirstream.h> before
36166         <dirent/dirent.h>.
36167
36168 2012-02-28  David S. Miller  <davem@davemloft.net>
36169
36170         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
36171         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
36172         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
36173         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
36174
36175 2012-02-27  David S. Miller  <davem@davemloft.net>
36176
36177         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
36178         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
36179         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
36180         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
36181
36182         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
36183         frame pointer instead of stack pointer relative arg slot.
36184         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36185         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36186         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36187
36188 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
36189
36190         [BZ #3992]
36191         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
36192
36193 2012-02-27  David S. Miller  <davem@davemloft.net>
36194
36195         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
36196         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
36197         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
36198         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
36199         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
36200         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
36201         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
36202         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
36203
36204 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36205
36206         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
36207         later.  Allow versions 5-9.
36208         * configure: Regenerated.
36209         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
36210         required minimum version and 4.6 as recommended version.  Do not
36211         mention bugs in GCC 2.7 and 2.8.
36212         * INSTALL: Regenerated.
36213
36214 2012-02-27  David S. Miller  <davem@davemloft.net>
36215
36216         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
36217         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
36218         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
36219         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
36220         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
36221         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
36222         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
36223         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
36224
36225         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
36226         manipulate bits before adding and subtracting TWO112[sx].
36227         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
36228
36229 2012-02-27  Roland McGrath  <roland@hack.frob.com>
36230
36231         [BZ #13775]
36232         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
36233         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
36234         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
36235         being in POSIX, because they are in 1003.1-2008.
36236
36237         * rt/tst-aio.c: Include <fcntl.h>.
36238         * rt/tst-aio7.c: Likewise.
36239         * rt/tst-aio64.c: Likewise.
36240
36241         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
36242
36243 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
36244
36245         * manual/install.texi (--with-headers): Describe headers as
36246         interface headers, not private headers.
36247         (Specific advice for GNU/Linux systems): Describe use of headers
36248         from "make headers_install", not private headers from older
36249         kernels.
36250         * INSTALL: Regenerated.
36251         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
36252         Change to 2.6.19.
36253         * sysdeps/unix/sysv/linux/configure: Regenerated.
36254
36255         * manual/llio.texi (fclean): Remove documentation.
36256
36257         * manual/Makefile (libc-texi-generated): New variable.  Include
36258         version.texi.
36259         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
36260         $(libc-texi-generated), not duplicated list of files.
36261         (version.texi, stamp-version): New rules.
36262         (realclean): Remove $(libc-texi-generated), not individual files
36263         from that list.  Do not remove dir-add.texinfo.
36264         * manual/libc.texinfo: Comment out uses of edition numbers and
36265         references to printed manual.  Remove last-updated dates.
36266         (EDITION): Comment out.
36267         (ISBN): Likewise.
36268         (VERSION, UPDATED): Remove.
36269         (version.texi): Include.
36270
36271 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
36272
36273         * sysdeps/posix/spawni.c: Include <signal.h>.
36274         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
36275         * sysdeps/pthread/aio_fsync.c: Likewise.
36276
36277 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
36278
36279         * conform/Makefile (tests): Run only when not cross-compiling and
36280         when fast-check is not defined.
36281
36282         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
36283         * conform/data/limits.h-data: Fixes for POSIX2008.
36284         * conform/run-conformtest.sh: Run all tests.
36285         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
36286         headers.
36287         * include/bits/dlfcn.h: Likewise.
36288         * include/langinfo.h: Likewise.
36289         * include/monetary.h: Likewise.
36290         * include/sys/poll.h: Likewise.
36291
36292         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
36293         for __USE_GNU.
36294         * posix/spawn.h: Define __need_sigset_t.
36295         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
36296         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
36297         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
36298         to get sigevent_t only.
36299         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
36300         only for __USE_GNU.
36301         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
36302         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
36303         process_vm_writev only for __USE_GNU.
36304         * termios/termios.h: Declare tcgetsid also for POSIX2008.
36305
36306         * conform/Makefile: For now ignore errors from run-conformtest.
36307         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
36308         POSIX to avoid namespace pollution.  Don't prepend headers.
36309         * conform/data/aio.h-data: Fixes for POSIX testing.
36310         * conform/data/fcntl.h-data: Likewise.
36311         * conform/data/glob.h-data: Likewise.
36312         * conform/data/grp.h-data: Likewise.
36313         * conform/data/pthread.h-data: Likewise.
36314         * conform/data/pwd.h-data: Likewise.
36315         * conform/data/signal.h-data: Likewise.
36316         * conform/data/spawn.h-data: Likewise.
36317         * conform/data/stdio.h-data: Likewise.
36318         * conform/data/stdlib.h-data: Likewise.
36319         * conform/data/stropts.h-data: Likewise.
36320         * conform/data/sys/mman.h-data: Likewise.
36321         * conform/data/sys/stat.h-data: Likewise.
36322         * conform/data/sys/types.h-data: Likewise.
36323         * conform/data/sys/wait.h-data: Likewise.
36324         * conform/data/time.h-data: Likewise.
36325         * conform/data/unistd.h-data: Likewise.
36326         * conform/data/utime.h-data: Likewise.
36327
36328         * io/sys/stat.h: fchmod was always in POSIX.
36329         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
36330         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
36331         * rt/aio.h: Define __need_timespec before including <time.h>.
36332         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
36333         struct.  Add forward declaration of pthread_attr_t and use it in
36334         sigevent.
36335         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
36336         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
36337         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
36338         always remove CLK_TCK definition.
36339
36340 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
36341
36342         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
36343
36344 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
36345
36346         * conform/run-conformtest.sh: New file.
36347         * conform/Makefile: Run run-conformtest for tests.
36348         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
36349         support.
36350
36351         * conform/data/uchar.h-data: New file.
36352         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
36353         * conform/data/arpa/inet.h-data: Likewise.
36354         * conform/data/assert.h-data: Likewise.
36355         * conform/data/complex.h-data: Likewise.
36356         * conform/data/cpio.h-data: Likewise.
36357         * conform/data/ctype.h-data: Likewise.
36358         * conform/data/dirent.h-data: Likewise.
36359         * conform/data/dlfcn.h-data: Likewise.
36360         * conform/data/errno.h-data: Likewise.
36361         * conform/data/fcntl.h-data: Likewise.
36362         * conform/data/float.h-data: Likewise.
36363         * conform/data/fmtmsg.h-data: Likewise.
36364         * conform/data/fnmatch.h-data: Likewise.
36365         * conform/data/ftw.h-data: Likewise.
36366         * conform/data/glob.h-data: Likewise.
36367         * conform/data/grp.h-data: Likewise.
36368         * conform/data/iconv.h-data: Likewise.
36369         * conform/data/inttypes.h-data: Likewise.
36370         * conform/data/langinfo.h-data: Likewise.
36371         * conform/data/libgen.h-data: Likewise.
36372         * conform/data/limits.h-data: Likewise.
36373         * conform/data/locale.h-data: Likewise.
36374         * conform/data/math.h-data: Likewise.
36375         * conform/data/monetary.h-data: Likewise.
36376         * conform/data/mqueue.h-data: Likewise.
36377         * conform/data/ndbm.h-data: Likewise.
36378         * conform/data/net/if.h-data: Likewise.
36379         * conform/data/netdb.h-data: Likewise.
36380         * conform/data/netinet/in.h-data: Likewise.
36381         * conform/data/nl_types.h-data: Likewise.
36382         * conform/data/poll.h-data: Likewise.
36383         * conform/data/pthread.h-data: Likewise.
36384         * conform/data/pwd.h-data: Likewise.
36385         * conform/data/regex.h-data: Likewise.
36386         * conform/data/sched.h-data: Likewise.
36387         * conform/data/search.h-data: Likewise.
36388         * conform/data/semaphore.h-data: Likewise.
36389         * conform/data/setjmp.h-data: Likewise.
36390         * conform/data/signal.h-data: Likewise.
36391         * conform/data/spawn.h-data: Likewise.
36392         * conform/data/stdarg.h-data: Likewise.
36393         * conform/data/stdio.h-data: Likewise.
36394         * conform/data/stdlib.h-data: Likewise.
36395         * conform/data/string.h-data: Likewise.
36396         * conform/data/strings.h-data: Likewise.
36397         * conform/data/stropts.h-data: Likewise.
36398         * conform/data/sys/ipc.h-data: Likewise.
36399         * conform/data/sys/mman.h-data: Likewise.
36400         * conform/data/sys/msg.h-data: Likewise.
36401         * conform/data/sys/resource.h-data: Likewise.
36402         * conform/data/sys/select.h-data: Likewise.
36403         * conform/data/sys/sem.h-data: Likewise.
36404         * conform/data/sys/shm.h-data: Likewise.
36405         * conform/data/sys/socket.h-data: Likewise.
36406         * conform/data/sys/stat.h-data: Likewise.
36407         * conform/data/sys/statvfs.h-data: Likewise.
36408         * conform/data/sys/time.h-data: Likewise.
36409         * conform/data/sys/timeb.h-data: Likewise.
36410         * conform/data/sys/times.h-data: Likewise.
36411         * conform/data/sys/types.h-data: Likewise.
36412         * conform/data/sys/uio.h-data: Likewise.
36413         * conform/data/sys/un.h-data: Likewise.
36414         * conform/data/sys/utsname.h-data: Likewise.
36415         * conform/data/sys/wait.h-data: Likewise.
36416         * conform/data/syslog.h-data: Likewise.
36417         * conform/data/tar.h-data: Likewise.
36418         * conform/data/termios.h-data: Likewise.
36419         * conform/data/utime.h-data: Likewise.
36420         * conform/data/utmpx.h-data: Likewise.
36421         * conform/data/varargs.h-data: Likewise.
36422         * conform/data/wchar.h-data: Likewise.
36423         * conform/data/wctype.h-data: Likewise.
36424         * conform/data/wordexp.h-data: Likewise.
36425
36426         * include/stropts.h: New file.
36427         * include/uchar.h: New file.
36428         * include/aio.h: Changes to allow conformtest.pl to use the headers.
36429         * include/assert.h: Likewise.
36430         * include/ctype.h: Likewise.
36431         * include/dirent.h: Likewise.
36432         * include/dlfcn.h: Likewise.
36433         * include/fcntl.h: Likewise.
36434         * include/fnmatch.h: Likewise.
36435         * include/glob.h: Likewise.
36436         * include/grp.h: Likewise.
36437         * include/libio.h: Likewise.
36438         * include/locale.h: Likewise.
36439         * include/math.h: Likewise.
36440         * include/net/if.h: Likewise.
36441         * include/netdb.h: Likewise.
36442         * include/netinet/in.h: Likewise.
36443         * include/pthread.h: Likewise.
36444         * include/pwd.h: Likewise.
36445         * include/regex.h: Likewise.
36446         * include/sched.h: Likewise.
36447         * include/search.h: Likewise.
36448         * include/setjmp.h: Likewise.
36449         * include/signal.h: Likewise.
36450         * include/stdio.h: Likewise.
36451         * include/stdlib.h: Likewise.
36452         * include/string.h: Likewise.
36453         * include/sys/cdefs.h: Likewise.
36454         * include/sys/mman.h: Likewise.
36455         * include/sys/msg.h: Likewise.
36456         * include/sys/resource.h: Likewise.
36457         * include/sys/select.h: Likewise.
36458         * include/sys/socket.h: Likewise.
36459         * include/sys/stat.h: Likewise.
36460         * include/sys/statvfs.h: Likewise.
36461         * include/sys/time.h: Likewise.
36462         * include/sys/times.h: Likewise.
36463         * include/sys/uio.h: Likewise.
36464         * include/sys/utsname.h: Likewise.
36465         * include/sys/wait.h: Likewise.
36466         * include/termios.h: Likewise.
36467         * include/time.h: Likewise.
36468         * include/ulimit.h: Likewise.
36469         * include/unistd.h: Likewise.
36470         * include/utime.h: Likewise.
36471         * include/wchar.h: Likewise.
36472         * include/wctype.h: Likewise.
36473         * include/wordexp.h: Likewise.
36474
36475         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
36476
36477         * time/time.h: TIME_UTC must be a macro.
36478         Make timespec_get available for ISO C11 only as well.
36479
36480 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
36481
36482         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
36483         Reported by Peng Haitao <penght@cn.fujitsu.com>.
36484
36485 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36486
36487         * configure.in: Use -o not -a in test for unsupported multi-arch.
36488
36489 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36490
36491         * manual/texinfo.tex: Update to version 2012-01-19.16.
36492
36493 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
36494
36495         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
36496
36497 2012-02-24  Roland McGrath  <roland@hack.frob.com>
36498
36499         [BZ #13738]
36500         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
36501         * manual/fdl-1.3.texi: New file.
36502         * manual/fdl-1.1.texi: File removed.
36503
36504         [BZ #13738]
36505         * manual/libc.texinfo (FDL_VERSION): New @set.
36506         Use it for mention of FDL in cover text.
36507         (Documentation License): Use it in @include file name.
36508
36509 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36510             Roland McGrath  <roland@hack.frob.com>
36511
36512         [BZ #5461]
36513         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
36514         (not LONG_LONG_MAX and LONG_LONG_MIN.
36515         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
36516         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
36517         name.
36518         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
36519
36520 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36521
36522         [BZ #2547]
36523         [BZ #11365]
36524         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
36525         manipulate bits before adding and subtracting TWO23[sx].
36526         * math/libm-test.inc (nearbyint_test): Add more tests.
36527
36528 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36529
36530         [BZ #2548]
36531         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
36532         bits before adding and subtracting TWO23[sx].
36533         * math/libm-test.inc (rint_test): Add more tests.
36534         (rint_test_tonearest): Likewise.
36535         (rint_test_towardzero): Likewise.
36536         (rint_test_downward): Likewise.
36537         (rint_test_upward: Likewise.
36538
36539 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36540
36541         [BZ #10110]
36542         * include/stdc-predef.h: New file.  Extracted from features.h.
36543         * include/features.h: Include stdc-predef.h.
36544         * Makefile (headers): Add stdc-predef.h.
36545         * CONFORMANCE (Compiler limitations): Update.
36546
36547 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
36548
36549         * manual/libc.texinfo (VERSION, UPDATED): Revert.
36550
36551 2012-02-21  David S. Miller  <davem@davemloft.net>
36552
36553         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
36554         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36555
36556 2012-02-20  David S. Miller  <davem@davemloft.net>
36557
36558         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
36559         using a normal save/restore sequence, rather than allocating a
36560         dummy stack frame just to store a frame pointer and restore.
36561         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36562
36563 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36564
36565         * manual/install.texi: Fix stray word in line-wrapped comment.
36566
36567 2012-02-20  David S. Miller  <davem@davemloft.net>
36568
36569         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
36570         both binutils and gcc support GOTDATA.
36571
36572         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
36573         "rd %pc" in the PIC register setup sequences.
36574
36575         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
36576         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
36577         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
36578         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
36579         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
36580         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
36581         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
36582         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
36583         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
36584         (SYSCALL_ERROR_HANDLER): Likewise.
36585         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
36586         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
36587         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
36588         (SYSCALL_ERROR_HANDLER): Likewise.
36589
36590         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
36591         (HAVE_GCC_GOTDATA): New.
36592         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
36593         relocation support in both binutils and gcc.
36594         * sysdeps/sparc/elf/configure: Regenerate.
36595
36596         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
36597         * sysdeps/sparc/sparc32/elf/configure: Delete.
36598         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
36599         * sysdeps/sparc/sparc64/elf/configure: Delete.
36600         * sysdeps/sparc/elf/configure.in: New file.
36601         * sysdeps/sparc/elf/configure: Generate.
36602
36603         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
36604         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
36605         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
36606         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
36607         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
36608
36609 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36610
36611         * manual/install.texi: Do not mention specific glibc version
36612         numbers.
36613         * manual/libc.texinfo (VERSION, UPDATED): Update.
36614         (@copying): Use @copyright{} and range of years.
36615
36616 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
36617
36618         [BZ #13695]
36619         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
36620         [crti.S not in sysdirs] (generated): Do not append.
36621         [crti.S not in sysdirs] (omit-deps): Likewise.
36622         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
36623         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
36624         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
36625         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
36626         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
36627         Likewise.
36628         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
36629         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
36630         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
36631         * csu/defs.awk: Remove file.
36632         * sysdeps/generic/initfini.c: Likewise.
36633         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
36634         variable.
36635         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
36636         Likewise.
36637
36638 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36639
36640         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
36641         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
36642         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
36643         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
36644         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
36645         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
36646         <bits/epoll.h>.
36647         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
36648         (__EPOLL_PACKED): Define to empty if not defined by
36649         <bits/epoll.h>.
36650         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
36651         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36652         bits/epoll.h.
36653
36654 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36655
36656         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
36657         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
36658         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
36659         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
36660         <bits/timerfd.h>.
36661         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
36662         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36663         bits/timerfd.h.
36664
36665 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
36666
36667         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
36668         in C locale.
36669         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
36670         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
36671         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
36672         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36673
36674 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
36675
36676         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
36677         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
36678
36679 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
36680
36681         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
36682         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
36683         defined.
36684         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
36685         Likewise.
36686         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
36687         entry for 2.16.
36688
36689 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
36690
36691         * math/w_acos.c: Use non-signaling floating-point comparisons.
36692         * math/w_acosf.c: Likewise.
36693         * math/w_acosh.c: Likewise.
36694         * math/w_acoshf.c: Likewise.
36695         * math/w_acoshl.c: Likewise.
36696         * math/w_acosl.c: Likewise.
36697         * math/w_asin.c: Likewise.
36698         * math/w_asinf.c: Likewise.
36699         * math/w_asinl.c: Likewise.
36700         * math/w_atanh.c: Likewise.
36701         * math/w_atanhf.c: Likewise.
36702         * math/w_atanhl.c: Likewise.
36703         * math/w_exp2.c: Likewise.
36704         * math/w_exp2f.c: Likewise.
36705         * math/w_exp2l.c: Likewise.
36706         * math/w_j0.c: Likewise.
36707         * math/w_j0f.c: Likewise.
36708         * math/w_j0l.c: Likewise.
36709         * math/w_j1.c: Likewise.
36710         * math/w_j1f.c: Likewise.
36711         * math/w_j1l.c: Likewise.
36712         * math/w_jn.c: Likewise.
36713         * math/w_jnf.c: Likewise.
36714         * math/w_log.c: Likewise.
36715         * math/w_log10.c: Likewise.
36716         * math/w_log10f.c: Likewise.
36717         * math/w_log10l.c: Likewise.
36718         * math/w_log2.c: Likewise.
36719         * math/w_log2f.c: Likewise.
36720         * math/w_log2l.c: Likewise.
36721         * math/w_logf.c: Likewise.
36722         * math/w_logl.c: Likewise.
36723         * math/w_sqrt.c: Likewise.
36724         * math/w_sqrtf.c: Likewise.
36725         * math/w_sqrtl.c: Likewise.
36726         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
36727         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
36728         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
36729         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
36730         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
36731
36732 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36733
36734         [BZ #9739]
36735         * manual/string.texi (strnlen): Use correct parameter name in
36736         equivalent expression.
36737
36738 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36739
36740         [BZ #11174]
36741         * manual/users.texi (seteuid): Consistently use neweuid for
36742         argument name.
36743
36744 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
36745
36746         [BZ #13704]
36747         * manual/nss.texi (Services in the NSS configuration): Correct
36748         list of services in example configuration file.
36749
36750 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
36751
36752         [BZ #11322]
36753         * manual/arith.texi: Remove statements about negative zero
36754         behaving identically to zero.
36755
36756 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36757
36758         [BZ #5993]
36759         * manual/install.texi: Do not document upgrading from libc5.
36760
36761 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
36762
36763         [BZ #4596]
36764         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
36765
36766 2012-02-18  David S. Miller  <davem@davemloft.net>
36767
36768         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
36769         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
36770         %o7 across the call.
36771         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
36772         instead.
36773         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
36774         SETUP_PIC_REG_LEAF.
36775         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36776         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
36777         * sysdeps/sparc/crtn.S: Likewise.
36778
36779 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
36780
36781         * aout/Makefile: Remove.
36782
36783 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
36784
36785         [BZ #13058]
36786         * manual/examples/argp-ex1.c (main): Format definition in GNU
36787         style.
36788         * manual/examples/argp-ex2.c (main): Likewise.
36789         * manual/examples/argp-ex3.c (main): Likewise.
36790         * manual/examples/argp-ex4.c (main): Likewise.
36791         * manual/examples/longopt.c (main): Use new-style prototype
36792         definition.
36793         * manual/examples/strncat.c (main): Specify return type and use
36794         (void) for arguments.
36795         * manual/examples/subopt.c (main): Use char **argv argument.
36796
36797 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36798
36799         [BZ #5077]
36800         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
36801         rounding modes.
36802
36803 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
36804
36805         [BZ #6907]
36806         * manual/string.texi (strchr): Change when strchrnul is
36807         recommended.
36808
36809 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
36810
36811         [BZ #174]
36812         * manual/locale.texi (setlocale): Document LOCPATH.
36813
36814 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36815
36816         [BZ #10210]
36817         * manual/process.texi (execle): Move @dots{} before last argument.
36818
36819 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
36820
36821         [BZ #12047]
36822         * manual/charset.texi (Generic Charset Conversion): Fix typo
36823         (LC_TYPE -> LC_CTYPE).
36824
36825 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
36826
36827         [BZ #5805]
36828         * manual/arith.texi (scalbn): Use @var{} on parameter names.
36829         (scalbnf): Likewise.
36830         (scalbnl): Likewise.
36831         (scalbln): Likewise.
36832         (scalblnf): Likewise.
36833         (scalblnl): Likewise.
36834         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
36835         (vwarnx): Likewise.
36836         (verr): Likewise.
36837         (verrx): Likewise.
36838         * manual/filesys.texi (telldir): Use braces around return type.
36839         * manual/llio.texi (mmap): Add space after comma.
36840         (mmap64): Likewise.
36841         * manual/math.texi (jn): Use @var{} on parameter names.
36842         (jnf): Likewise.
36843         (jnl): Likewise.
36844         (yn): Likewise.
36845         (ynf): Likewise.
36846         (ynl): Likewise.
36847         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
36848         line.
36849         * manual/resource.texi (ulimit): Use @dots{} instead of literal
36850         "...".
36851         (sched_get_priority_min): Remove semicolon on @deftypefun line.
36852         (sched_get_priority_max): Likewise.
36853         * manual/signal.texi (sigvec): Add space after comma.
36854         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
36855         names.
36856         (if_indextoname): Likewise.
36857         (if_freenameindex): Likewise.
36858         (sendto): Use ',' instead of '.' in prototype.
36859         * manual/startup.texi (syscall): Use @dots{} instead of literal
36860         "...".
36861         * manual/stdio.texi (__fpending): Separate initial words of
36862         paragraph from @deftypefun line.
36863         * manual/syslog.texi (syslog): Use @dots{} instead of literal
36864         "...".
36865         (vsyslog): Use @var{} on parameter names.
36866         * manual/terminal.texi (stty): Use @var{} on parameter names.
36867         * manual/users.texi (getutmp): Use @var{} on parameter names.
36868         (getutmpx): Likewise.
36869
36870 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36871
36872         [BZ #6884]
36873         * manual/stdio.texi (fopen): Fix typos in description of
36874         ",ccs=STRING".
36875
36876 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
36877
36878         [BZ #4026]
36879         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
36880         get clock_id definition.
36881
36882 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
36883
36884         [BZ #4822]
36885         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
36886         (madvise): Cast every argument to void on its own.
36887
36888 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36889
36890         [BZ #9902]
36891         * manual/startup.texi (Exit Status): Fix typo.
36892
36893 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
36894
36895         [BZ #10140]
36896         * manual/examples/argp-ex1.c: Include <stdlib.h>.
36897         * manual/examples/argp-ex2.c: Likewise.
36898         * manual/examples/argp-ex3.c: Likewise.
36899
36900 2012-02-16  Richard Henderson  <rth@redhat.com>
36901
36902         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
36903         * sysdeps/s390/s390-32/initfini.c: Remove.
36904         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
36905         * sysdeps/s390/s390-64/initfini.c: Remove.
36906
36907 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
36908
36909         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
36910         compiler output for sysdeps/generic/initfini.c.
36911         * sysdeps/sh/elf/initfini.c: Remove file.
36912
36913 2012-02-16  David S. Miller  <davem@davemloft.net>
36914
36915         [BZ #11494]
36916         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
36917
36918         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
36919         * sysdeps/sparc/crti.S: New file.
36920         * sysdeps/sparc/crtn.S: New file.
36921         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
36922         * sysdeps/sparc/sparc64/Makefile: Likewise.
36923
36924 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
36925
36926         [BZ #3335]
36927         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
36928
36929 2012-02-15  Roland McGrath  <roland@hack.frob.com>
36930
36931         [BZ #4822]
36932         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
36933
36934         * mach/devstream.c (cookie_io_functions_t): Macro removed.
36935         (write, read, close): Likewise.
36936         Patch by Aurelien Jarno <aurelien@aurel32.net>.
36937
36938 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
36939
36940         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
36941         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
36942         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
36943         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
36944         <bits/signalfd.h>.
36945         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
36946         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36947         bits/signalfd.h.
36948
36949 2012-02-14  Marek Polacek  <polacek@redhat.com>
36950
36951         * sysdeps/x86_64/crti.S: New file.
36952         * sysdeps/x86_64/crtn.S: New file.
36953         * sysdeps/x86_64/elf/initfini.c: Remove file.
36954
36955 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36956
36957         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
36958         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
36959         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
36960         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
36961         <bits/inotify.h>.
36962         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
36963         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36964         bits/inotify.h.
36965
36966 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
36967
36968         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
36969         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
36970         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
36971         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
36972         <bits/eventfd.h>.
36973         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
36974         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
36975         bits/eventfd.h.
36976
36977 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
36978
36979         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
36980         __feraiseexcept instead of feraiseexcept.
36981
36982         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
36983         nanosleep invocations.
36984         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
36985         strings, and add error checking for a nanosleep invocations.
36986
36987 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
36988
36989         Replace FSF snail mail address with URLs, as per GNU coding standards.
36990         Most of the snail mail addresses were wrong anyway, and omitting
36991         them makes the source code easier to maintain.  Almost all of the
36992         changes are to license notices and to locale LC_IDENTIFICATION
36993         addresses, except for this one:
36994         * manual/libc.texinfo: In "Published by", give the FSF's URL,
36995         not its snail mail address.
36996
36997 2012-02-09  Richard Henderson  <rth@twiddle.net>
36998
36999         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
37000         of kernel-features.h.
37001
37002         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
37003
37004 2012-02-08  Marek Polacek  <polacek@redhat.com>
37005
37006         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
37007         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
37008         * sysdeps/gnu/_G_config.h: Likewise.
37009         * sysdeps/generic/_G_config.h: Likewise.
37010
37011 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
37012
37013         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
37014         tests.
37015         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37016
37017         * sysdeps/powerpc/powerpc32/crti.S: New file.
37018         * sysdeps/powerpc/powerpc32/crtn.S: New file.
37019         * sysdeps/powerpc/powerpc64/crti.S: New file.
37020         * sysdeps/powerpc/powerpc64/crtn.S: New file.
37021
37022         * Makeconfig (have-initfini): Don't set.
37023         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
37024         * configure.in (nopic_initfini): Don't substitute.
37025         * config.h.in (HAVE_INITFINI): Don't #undef.
37026         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
37027         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
37028
37029 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
37030
37031         Support crti.S and crtn.S provided directly by architectures.
37032         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
37033         [crti.S in sysdirs] (omit-deps): Likewise.
37034         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
37035         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
37036         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
37037         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
37038         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
37039         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
37040         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
37041         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
37042         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
37043         compiler output for sysdeps/generic/initfini.c.
37044         * sysdeps/i386/elf/Makefile: Remove file.
37045         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
37046
37047 2012-02-07  Marek Polacek  <polacek@redhat.com>
37048
37049         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
37050         * sysdeps/gnu/_G_config.h: Likewise.
37051         * sysdeps/mach/hurd/_G_config.h: Likewise.
37052
37053 2012-02-07  Marek Polacek  <polacek@redhat.com>
37054
37055         * math/Makefile (tests): Add tst-CMPLX2.
37056         * math/tst-CMPLX2.c: New file.
37057
37058 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
37059
37060         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
37061
37062         * math/libm-test.inc (jn_test): Add missing L suffix.
37063
37064 2012-02-06  Marek Polacek  <polacek@redhat.com>
37065
37066         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
37067         * sysdeps/i386/fpu/e_powf.S: Likewise.
37068         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
37069         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
37070         * sysdeps/i386/fpu/e_acosh.S: Likewise.
37071         * sysdeps/i386/fpu/e_pow.S: Likewise.
37072         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
37073         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
37074         * sysdeps/i386/fpu/s_expm1.S: Likewise.
37075         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
37076         * sysdeps/i386/fpu/e_log2.S: Likewise.
37077         * sysdeps/i386/fpu/e_log2l.S: Likewise.
37078         * sysdeps/i386/fpu/e_scalb.S: Likewise.
37079         * sysdeps/i386/fpu/e_powl.S: Likewise.
37080         * sysdeps/i386/fpu/s_log1p.S: Likewise.
37081         * sysdeps/i386/fpu/e_log10f.S: Likewise.
37082         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
37083         * sysdeps/i386/fpu/e_logl.S: Likewise.
37084         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
37085         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
37086         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
37087         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
37088         * sysdeps/i386/fpu/e_log2f.S: Likewise.
37089         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
37090         * sysdeps/i386/fpu/e_log.S: Likewise.
37091         * sysdeps/i386/fpu/s_cexp.S: Likewise.
37092         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
37093         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
37094         * sysdeps/i386/fpu/e_logf.S: Likewise.
37095         * sysdeps/i386/fpu/e_log10l.S: Likewise.
37096         * sysdeps/i386/fpu/e_atanh.S: Likewise.
37097         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
37098         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
37099         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
37100         * sysdeps/i386/fpu/e_log10.S: Likewise.
37101         * sysdeps/i386/fpu/s_frexp.S: Likewise.
37102         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
37103         * sysdeps/i386/fpu/s_asinh.S: Likewise.
37104         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
37105         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
37106         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
37107         * sysdeps/i386/asm-syntax.h: Likewise.
37108         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
37109         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
37110         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
37111         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
37112         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
37113         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
37114         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
37115         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
37116         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
37117         * sysdeps/powerpc/sysdep.h: Likewise.
37118         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
37119         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37120
37121 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37122
37123         [BZ #411]
37124         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
37125
37126 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
37127
37128         * sysdeps/i386/sysdep.h: Include <features.h>.
37129         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
37130         version.
37131
37132 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
37133
37134         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
37135         Define.
37136         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
37137         LOAD_PIC_REG_STR.
37138
37139 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37140
37141         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
37142         (SETUP_PIC_REG): Use GET_PC_THUNK.
37143         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
37144         macro.
37145
37146 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37147
37148         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
37149         for non-PIC compilation.
37150         (SETUP_PIC_REG): Add .p2align directive.
37151         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
37152         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
37153         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
37154         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
37155         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
37156         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
37157         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
37158         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
37159         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
37160         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
37161         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
37162         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
37163         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
37164         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
37165         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
37166         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
37167         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
37168         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
37169         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
37170         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
37171         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
37172         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
37173         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
37174         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
37175         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
37176         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
37177         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
37178         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
37179         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
37180         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
37181         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
37182         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
37183         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
37184         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
37185         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
37186         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
37187         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
37188         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
37189         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
37190         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
37191         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
37192
37193 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
37194
37195         * math/tst-CMPLX.c: Include <stdio.h>.
37196
37197 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
37198
37199         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
37200         float.
37201         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37202         * sysdeps/sparc/bits/mathdef.h: Likewise.
37203
37204 2012-01-31  Marek Polacek  <polacek@redhat.com>
37205
37206         * libio/libio.h: Don't define _PARAMS.
37207         * locale/programs/config.h: Don't define PARAMS.
37208         * stdlib/strtol_l.c: Likewise.
37209         (__strtol_l): Remove PARAMS from the prototype.
37210
37211 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
37212
37213         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
37214         names.  Just use the correct names.  Remove unnecessary wrapper
37215         functions.
37216         * malloc/arena.c: Likewise.
37217         * malloc/hooks.c: Likewise.
37218
37219         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
37220         ARENA_TEST says not to.  Simplify test for creation of a new arena.
37221         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
37222
37223 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
37224
37225         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
37226         into tail calls.
37227         (update_get_addr): New function.
37228         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
37229         GET_ADDR_MODULE parameter.
37230
37231 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37232
37233         * crypt/cert.c: Remove __STDC__ conditionals.
37234         * crypt/crypt-entry.c: Likewise.
37235         * crypt/crypt_util.c: Likewise.
37236         * libio/filedoalloc.c: Likewise.
37237         * libio/fileops.c: Likewise.
37238         * libio/genops.c: Likewise.
37239         * libio/iofclose.c: Likewise.
37240         * libio/iofdopen.c: Likewise.
37241         * libio/iofopen.c: Likewise.
37242         * libio/iofopen64.c: Likewise.
37243         * libio/iogetdelim.c: Likewise.
37244         * libio/iopopen.c: Likewise.
37245         * libio/obprintf.c: Likewise.
37246         * libio/oldfileops.c: Likewise.
37247         * libio/oldiofclose.c: Likewise.
37248         * libio/oldiofdopen.c: Likewise.
37249         * libio/oldiofopen.c: Likewise.
37250         * libio/oldiopopen.c: Likewise.
37251         * libio/wfiledoalloc.c: Likewise.
37252         * libio/wgenops.c: Likewise.
37253         * locale/programs/xmalloc.c: Likewise.
37254         * misc/syslog.c: Likewise.
37255         * stdio-common/xbug.c: Likewise.
37256         * string/memchr.c: Likewise.
37257         * string/memcmp.c: Likewise.
37258         * string/memrchr.c: Likewise.
37259         * string/rawmemchr.c: Likewise.
37260         * sysdeps/posix/getcwd.c: Likewise.
37261         * time/strftime_l.c: Likewise.
37262
37263 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
37264
37265         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
37266         * config.make.in (config-cflags-sse2avx): Define.
37267         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
37268         Fix typo.
37269
37270 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
37271
37272         * scripts/config.guess: Update from upstream config git repository.
37273         * scripts/config.sub: Likewise.
37274
37275 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
37276
37277         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
37278         (EM_NUM): Update.
37279         (R_TILEPRO_*, R_TILEGX_*): New macros.
37280
37281         * scripts/firstversions.awk: Fix bug in version range handling.
37282
37283         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
37284
37285         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
37286
37287         * include/sys/epoll.h: New file.
37288         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
37289         libc_hidden_def.
37290
37291 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
37292
37293         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
37294         Avoid unnecessary __WORDSIZE == 64 test.
37295         (fmaxf): Use VEX format if possible.
37296         (fmax): Likewise.
37297         (fminf): Likewise.
37298         (fmin): Likewise.
37299
37300         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
37301         * math/math_private.h: Remove libc_fegetround* and
37302         libc_fesetround*.
37303         * sysdeps/i386/configure.in: Check for -msse2avx.
37304         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
37305         also if SSE2AVX is defined.
37306         Remove libc_fegetround* and libc_fesetround*.
37307         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
37308         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
37309         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
37310         of HAS_YMM_USABLE.
37311         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37312         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37313         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37314         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37315         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37316
37317         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
37318
37319 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37320
37321         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
37322         size is not set.
37323         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
37324
37325 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
37326
37327         [BZ #13618]
37328         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
37329         relocation.
37330         * Makeconfig (libm): Define.
37331         * elf/Makefile: Add rules to build and run tst-relsort1.
37332         * elf/tst-relsort1.c: New file.
37333         * elf/tst-relsort1mod1.c: New file.
37334         * elf/tst-relsort1mod2.c: New file.
37335
37336 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
37337
37338         * math/s_ldexp.c: Remove __STDC__ conditionals.
37339         * math/s_ldexpf.c: Likewise.
37340         * math/s_ldexpl.c: Likewise.
37341         * math/s_nextafter.c: Likewise.
37342         * math/s_nexttowardf.c: Likewise.
37343         * math/s_significand.c: Likewise.
37344         * math/s_significandf.c: Likewise.
37345         * math/s_significandl.c: Likewise.
37346         * math/w_jnl.c: Likewise.
37347         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
37348         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
37349         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
37350         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
37351         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
37352         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
37353         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
37354         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
37355         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
37356         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
37357         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
37358         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
37359         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
37360         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
37361         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
37362         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
37363         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
37364         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
37365         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
37366         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
37367         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
37368         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
37369         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
37370         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
37371         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
37372         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
37373         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
37374         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
37375         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
37376         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
37377         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
37378         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
37379         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
37380         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
37381         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
37382         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
37383         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
37384         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
37385         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
37386         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
37387         * sysdeps/ieee754/k_standard.c: Likewise.
37388         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
37389         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
37390         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
37391         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
37392         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
37393         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
37394         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
37395         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
37396         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
37397         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
37398         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
37399         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
37400         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
37401         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
37402         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
37403         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
37404         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
37405         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
37406         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
37407         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
37408         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
37409         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
37410         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
37411         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
37412         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
37413         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
37414         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
37415         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
37416         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
37417         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
37418         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
37419         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
37420         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
37421         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
37422         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
37423         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
37424         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
37425         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
37426         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
37427         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
37428         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
37429         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
37430         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
37431         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
37432         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
37433         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
37434         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
37435         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
37436         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
37437         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
37438         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
37439         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
37440         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
37441         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
37442         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
37443         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
37444         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
37445         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
37446         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
37447         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
37448         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
37449         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
37450         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
37451         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
37452         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
37453         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
37454         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
37455         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
37456         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
37457         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
37458         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
37459         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
37460         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
37461         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
37462         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
37463         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
37464         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
37465         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
37466         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
37467         * sysdeps/ieee754/s_matherr.c: Likewise.
37468         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
37469         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
37470         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
37471         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
37472
37473 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37474
37475         * crypt/md5.h: Remove __STDC__ conditionals.
37476         * libio/libioP.h: Likewise.
37477         * locale/programs/config.h: Likewise.
37478         * sysdeps/generic/sysdep.h: Likewise.
37479         * sysdeps/i386/asm-syntax.h: Likewise.
37480         * sysdeps/s390/asm-syntax.h: Likewise.
37481         * sysdeps/unix/sysdep.h: Likewise.
37482         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
37483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
37484
37485 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
37486
37487         * libio/libio.h: Remove __STDC__ conditionals.
37488         * malloc/obstack.h: Likewise.
37489         * math/complex.h: Likewise.
37490         * math/math.h: Likewise.
37491         * sysdeps/generic/_G_config.h: Likewise.
37492         * sysdeps/gnu/_G_config.h: Likewise.
37493         * sysdeps/mach/hurd/_G_config.h: Likewise.
37494         * sysdeps/powerpc/bits/mathdef.h: Likewise.
37495         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
37496         * sysdeps/sparc/bits/mathdef.h: Likewise.
37497
37498 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
37499
37500         [BZ #13583]
37501         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
37502         Clean up HAS_* macros.
37503         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
37504         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
37505         possible.
37506         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
37507         HAS_AVX.
37508         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
37509         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
37510         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
37511         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
37512         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
37513
37514 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
37515
37516         * elf/tst-unique3.cc (gets): Remove declaration.
37517         * elf/tst-unique3lib.cc (gets): Likewise.
37518         * elf/tst-unique3lib2.cc (gets): Likewise.
37519         * elf/tst-unique4.cc (gets): Likewise.
37520
37521 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
37522
37523         * include/stdio.h: Add C++ protection.  Add gets declarations and
37524         definitions.
37525         * debug/tst-chk1.c: Don't declare gets here.
37526         * stdio-common/tst-gets.c: Likewise.
37527
37528 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37529
37530         * posix/glob: Remove directory.
37531
37532 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
37533
37534         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
37535
37536 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
37537
37538         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
37539         of the non-standard EPFNOSUPPORT.
37540
37541 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
37542
37543         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
37544         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
37545         ANYWHERE set to 1 only on KERN_NO_SPACE error.
37546
37547 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
37548
37549         * wcsmbs/uchar.h: Test __STDC_VERSION__.
37550
37551 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
37552
37553         * nscd/aicache.c (addhstaiX): Do not cache negative results of
37554         transient errors.
37555         * nscd/grpcache.c (cache_addgr): Likewise.
37556         * nscd/hstcache.c (cache_addhst): Likewise.
37557         * nscd/initgrcache.c (addinitgroupsX): Likewise.
37558         * nscd/pwdcache.c (cache_addpw): Likewise.
37559         * nscd/servicescache.c (cache_addserv): Likewise.
37560
37561 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
37562
37563         * malloc/malloc.c: Various cleanups.
37564         * malloc/hooks.c: Likewise.
37565
37566         * stdlib/Makefile (tests): Add bug-fmtmsg1.
37567         * stdlib/bug-fmtmsg1.c: New file.
37568
37569         * stdlib/fmtmsg.c (init): Add missing unlock.
37570         Patch by Peng Haitao <penght@cn.fujitsu.com>.
37571
37572 2012-01-12  Marek Polacek  <polacek@redhat.com>
37573
37574         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
37575         and _GNU_SOURCE.
37576
37577 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
37578
37579         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
37580         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
37581         macro to ensure uniqueness of label name.
37582         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
37583         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
37584
37585 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
37586
37587         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
37588
37589         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
37590         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
37591         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
37592         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
37593
37594 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
37595
37596         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
37597
37598         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
37599         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
37600         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
37601
37602         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
37603
37604         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
37605         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
37606         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
37607         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
37608
37609         * math/bits/math-finite.h: Add ldexp support.
37610
37611 2012-01-10  Marek Polacek  <polacek@redhat.com>
37612
37613         * locale/programs/localedef.h (show_archive_content): Add noreturn
37614         attribute.
37615
37616 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
37617
37618         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
37619
37620 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37621
37622         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
37623
37624         * io/Makefile (headers): Add bits/poll2.h.
37625
37626 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
37627
37628         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
37629         typo #include statement.
37630
37631 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37632
37633         * include/sys/cdefs.h: Define __attribute_alloc_size.
37634         * catgets/gencat.c: Add alloc_size attribute and apply consistently
37635         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
37636         * elf/pldd.c: Likewise.
37637         * iconv/iconv_charmap.c: Likewise.
37638         * iconv/iconvconfig.c: Likewise.
37639         * iconv/strtab.c: Likewise.
37640         * locale/programs/locale.c: Likewise.
37641         * locale/programs/localedef.h: Likewise.
37642         * locale/programs/simple-hash.c: Likewise.
37643         * nscd/nscd.h: Likewise.
37644         * nss/makedb.c: Likewise.
37645         * sysdeps/generic/ldconfig.h: Likewise.
37646         * locale/programs/localedef.c: Remove xmalloc prototype.
37647         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
37648
37649 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37650
37651         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
37652         appropriate.
37653
37654 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
37655
37656         * math/Makefile (tests): Add tst-CMPLX.
37657         * math/tst-CMPLX.c: New file.
37658
37659         * math/complex.h (CMPLXL): Fix typo.
37660
37661         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
37662         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
37663         GLIBC_2.16.
37664         * debug/tst-chk1.c: Add poll and ppoll tests.
37665         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
37666         * include/sys/poll.h: Add hidden proto for ppoll.
37667         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
37668         * sysdeps/mach/hurd/ppoll.c: Likewise.
37669         * io/ppoll.c: Likewise.
37670         * debug/poll_chk.c: New file.
37671         * debug/ppoll_chk.c: New file.
37672         * include/bits/poll2.h: New file.
37673         * io/bits/poll2.h: New file.
37674
37675         [BZ #1350]
37676         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
37677
37678         * configure.in: static is always set to yes.  Remove.
37679         * config.make.in: Don't set build-static.
37680         * Makeconfig: Remove use of build-static.
37681         * dlfcn/Makefile: Likewise.
37682         * elf/Makefile: Likewise.
37683         * math/Makefile: Likewise.
37684         * misc/Makefile: Likewise.
37685         * nptl/Makefile: Likewise.
37686         * sysdeps/mach/hurd/Makefile: Likewise.
37687
37688         * configure.in: PWD_P is not used anymore.
37689         * config.make.in: Remove PWD_P entry.
37690
37691         * configure.in: Remove last remnants of RANLIB.
37692         No need to check for signed size_t anymore.
37693         Don't set libc_commonpagesize and libc_relro_required here for Alpha
37694         and IA-64.
37695         Remove __builtin_expect test because we require at least gcc 3.4.
37696         * aclocal.m4: Likewise.
37697
37698         * wcsmbs/mbrtoc16.c: Implement using towc function.
37699         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
37700         * wcsmbs/wcsmbsload.c: Likewise.
37701         * iconv/gconv_simple.c: Likewise.
37702         * iconv/gconv_int.h: Likewise.
37703         * iconv/gconv_builtin.h: Likewise.
37704         * iconv/iconv_prog.c: Remove CHAR16 handling.
37705
37706         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
37707
37708         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
37709
37710         * configure.in: Remove --with-elf and --enable-bounded options.
37711         Dont set base_machine for ia64.  More non-ELF conditions removed.
37712         Remove testing and setting of leading underscore information.
37713         * config.make.in (build-bounded): Set to no.
37714         * config.h.in: Remove NO_UNDERSCORES entry.
37715         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
37716         them.
37717         * csu/start.c: Remove !NO_UNDERSCORE code.
37718         * locale/localeinfo.h: Likewise.
37719         * sysdeps/generic/machine-gmon.h: Likewise.
37720         * sysdeps/generic/sysdep.h: Likewise.
37721         * sysdeps/i386/sysdep.h: Likewise.
37722         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37723         * sysdeps/mach/sysdep.h: Likewise.
37724         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37725         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37726         * sysdeps/sh/sysdep.h: Likewise.
37727         * sysdeps/sparc/sparc32/alloca.S: Likewise.
37728         * sysdeps/unix/i386/sysdep.S: Likewise.
37729         * sysdeps/unix/sparc/start.c: Likewise.
37730         * sysdeps/unix/sparc/sysdep.S: Likewise.
37731         * sysdeps/unix/sparc/sysdep.h: Likewise.
37732         * sysdeps/unix/start.c: Likewise.
37733         * sysdeps/unix/x86_64/sysdep.S: Likewise.
37734         * sysdeps/x86_64/sysdep.h: Likewise.
37735
37736 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
37737
37738         [BZ #13553]
37739         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
37740         for non-gcc.
37741         * argp/argp-fmtstream.h: Use const instead __const.
37742         * argp/argp.h: Likewise.
37743         * assert/assert.h: Likewise.
37744         * bits/fenv.h: Likewise.
37745         * bits/sched.h: Likewise.
37746         * bits/sigset.h: Likewise.
37747         * bits/sigthread.h: Likewise.
37748         * catgets/nl_types.h: Likewise.
37749         * conform/data/pthread.h-data: Likewise.
37750         * crypt/crypt-private.h: Likewise.
37751         * crypt/crypt.h: Likewise.
37752         * crypt/crypt_util.c: Likewise.
37753         * ctype/ctype.h: Likewise.
37754         * debug/execinfo.h: Likewise.
37755         * debug/mbsnrtowcs_chk.c: Likewise.
37756         * debug/mbsrtowcs_chk.c: Likewise.
37757         * debug/wcsnrtombs_chk.c: Likewise.
37758         * debug/wcsrtombs_chk.c: Likewise.
37759         * debug/wcstombs_chk.c: Likewise.
37760         * dirent/dirent.h: Likewise.
37761         * dlfcn/dlfcn.h: Likewise.
37762         * elf/neededtest4.c: Likewise.
37763         * grp/grp.h: Likewise.
37764         * gshadow/gshadow.h: Likewise.
37765         * iconv/gconv.h: Likewise.
37766         * iconv/gconv_int.h: Likewise.
37767         * iconv/gconv_simple.c: Likewise.
37768         * iconv/iconv.h: Likewise.
37769         * iconv/loop.c: Likewise.
37770         * iconv/skeleton.c: Likewise.
37771         * include/aio.h: Likewise.
37772         * include/aliases.h: Likewise.
37773         * include/argz.h: Likewise.
37774         * include/arpa/inet.h: Likewise.
37775         * include/assert.h: Likewise.
37776         * include/dirent.h: Likewise.
37777         * include/dlfcn.h: Likewise.
37778         * include/execinfo.h: Likewise.
37779         * include/fcntl.h: Likewise.
37780         * include/fenv.h: Likewise.
37781         * include/glob.h: Likewise.
37782         * include/grp.h: Likewise.
37783         * include/libintl.h: Likewise.
37784         * include/mntent.h: Likewise.
37785         * include/netdb.h: Likewise.
37786         * include/pwd.h: Likewise.
37787         * include/rpc/netdb.h: Likewise.
37788         * include/sched.h: Likewise.
37789         * include/search.h: Likewise.
37790         * include/shadow.h: Likewise.
37791         * include/signal.h: Likewise.
37792         * include/stdio.h: Likewise.
37793         * include/stdlib.h: Likewise.
37794         * include/string.h: Likewise.
37795         * include/sys/socket.h: Likewise.
37796         * include/sys/stat.h: Likewise.
37797         * include/sys/statfs.h: Likewise.
37798         * include/sys/statvfs.h: Likewise.
37799         * include/sys/syslog.h: Likewise.
37800         * include/sys/time.h: Likewise.
37801         * include/sys/uio.h: Likewise.
37802         * include/time.h: Likewise.
37803         * include/unistd.h: Likewise.
37804         * include/utmp.h: Likewise.
37805         * include/wchar.h: Likewise.
37806         * include/wctype.h: Likewise.
37807         * inet/aliases.h: Likewise.
37808         * inet/arpa/inet.h: Likewise.
37809         * inet/netinet/ether.h: Likewise.
37810         * inet/netinet/in.h: Likewise.
37811         * intl/libintl.h: Likewise.
37812         * io/bits/fcntl2.h: Likewise.
37813         * io/fcntl.h: Likewise.
37814         * io/ftw.h: Likewise.
37815         * io/sys/poll.h: Likewise.
37816         * io/sys/stat.h: Likewise.
37817         * io/sys/statfs.h: Likewise.
37818         * io/sys/statvfs.h: Likewise.
37819         * io/utime.h: Likewise.
37820         * libio/bits/stdio.h: Likewise.
37821         * libio/bits/stdio2.h: Likewise.
37822         * libio/libio.h: Likewise.
37823         * libio/libioP.h: Likewise.
37824         * libio/stdio.h: Likewise.
37825         * locale/lc-ctype.c: Likewise.
37826         * locale/locale.h: Likewise.
37827         * login/utmp.h: Likewise.
37828         * malloc/arena.c: Likewise.
37829         * malloc/malloc.c: Likewise.
37830         * malloc/malloc.h: Likewise.
37831         * malloc/mcheck.c: Likewise.
37832         * malloc/mtrace.c: Likewise.
37833         * math/bits/mathcalls.h: Likewise.
37834         * math/fenv.h: Likewise.
37835         * math/math_private.h: Likewise.
37836         * misc/bits/error.h: Likewise.
37837         * misc/bits/syslog.h: Likewise.
37838         * misc/err.h: Likewise.
37839         * misc/error.h: Likewise.
37840         * misc/fstab.h: Likewise.
37841         * misc/mntent.h: Likewise.
37842         * misc/regexp.h: Likewise.
37843         * misc/search.h: Likewise.
37844         * misc/sgtty.h: Likewise.
37845         * misc/sys/mman.h: Likewise.
37846         * misc/sys/syslog.h: Likewise.
37847         * misc/sys/uio.h: Likewise.
37848         * misc/sys/xattr.h: Likewise.
37849         * misc/ttyent.h: Likewise.
37850         * nis/rpcsvc/ypclnt.h: Likewise.
37851         * nss/nss.h: Likewise.
37852         * posix/bits/unistd.h: Likewise.
37853         * posix/fnmatch.h: Likewise.
37854         * posix/glob.h: Likewise.
37855         * posix/sched.h: Likewise.
37856         * posix/spawn.h: Likewise.
37857         * posix/sys/wait.h: Likewise.
37858         * posix/unistd.h: Likewise.
37859         * posix/wordexp.h: Likewise.
37860         * pwd/pwd.h: Likewise.
37861         * resolv/netdb.h: Likewise.
37862         * resource/sys/resource.h: Likewise.
37863         * rt/aio.h: Likewise.
37864         * rt/bits/mqueue2.h: Likewise.
37865         * rt/mqueue.h: Likewise.
37866         * shadow/shadow.h: Likewise.
37867         * signal/signal.h: Likewise.
37868         * socket/send.c: Likewise.
37869         * socket/sendto.c: Likewise.
37870         * socket/sys/socket.h: Likewise.
37871         * stdio-common/printf.h: Likewise.
37872         * stdlib/bits/stdlib.h: Likewise.
37873         * stdlib/fmtmsg.h: Likewise.
37874         * stdlib/monetary.h: Likewise.
37875         * stdlib/stdlib.h: Likewise.
37876         * stdlib/ucontext.h: Likewise.
37877         * streams/stropts.h: Likewise.
37878         * string/argz.h: Likewise.
37879         * string/bits/string2.h: Likewise.
37880         * string/string.h: Likewise.
37881         * string/strings.h: Likewise.
37882         * sunrpc/rpc/auth.h: Likewise.
37883         * sunrpc/rpc/auth_des.h: Likewise.
37884         * sunrpc/rpc/clnt.h: Likewise.
37885         * sunrpc/rpc/netdb.h: Likewise.
37886         * sunrpc/rpc/pmap_clnt.h: Likewise.
37887         * sunrpc/rpc/xdr.h: Likewise.
37888         * sysdeps/generic/inttypes.h: Likewise.
37889         * sysdeps/generic/net/if.h: Likewise.
37890         * sysdeps/generic/sys/swap.h: Likewise.
37891         * sysdeps/gnu/net/if.h: Likewise.
37892         * sysdeps/gnu/utmpx.h: Likewise.
37893         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
37894         * sysdeps/i386/i486/bits/string.h: Likewise.
37895         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
37896         * sysdeps/s390/bits/string.h: Likewise.
37897         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
37898         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
37899         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
37900         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
37901         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
37902         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
37903         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
37904         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
37905         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
37906         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
37907         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
37908         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
37909         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
37910         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
37911         * sysdeps/unix/sysv/linux/readv.c: Likewise.
37912         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
37913         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
37914         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
37915         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37916         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37917         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
37918         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
37919         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
37920         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
37921         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
37922         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
37923         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
37924         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
37925         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
37926         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
37927         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
37928         * sysvipc/sys/ipc.h: Likewise.
37929         * sysvipc/sys/msg.h: Likewise.
37930         * sysvipc/sys/sem.h: Likewise.
37931         * sysvipc/sys/shm.h: Likewise.
37932         * termios/termios.h: Likewise.
37933         * time/sys/time.h: Likewise.
37934         * time/time.h: Likewise.
37935         * wcsmbs/bits/wchar2.h: Likewise.
37936         * wcsmbs/uchar.h: Likewise.
37937         * wcsmbs/wchar.h: Likewise.
37938         * wctype/wctype.h: Likewise.
37939
37940         [BZ #13551]
37941         * Makeconfig: Remove all but ELF support including AIX support.
37942         * Makerules: Likewise.
37943         * config.h.in: Likewise.
37944         * config.make.in: Likewise.
37945         * configure: Likewise.
37946         * configure.in: Likewise.
37947         * csu/Makefile: Likewise.
37948         * csu/version.c: Likewise.
37949         * debug/Makefile: Likewise.
37950         * dlfcn/Makefile: Likewise.
37951         * elf/Makefile: Likewise.
37952         * extra-lib.mk: Likewise.
37953         * iconv/Makefile: Likewise.
37954         * include/libc-symbols.h: Likewise.
37955         * include/shlib-compat.h: Likewise.
37956         * resolv/Makefile: Likewise.
37957         * resolv/res_libc.c: Likewise.
37958         * rt/Makefile: Likewise.
37959         * sysdeps/i386/asm-syntax.h: Likewise.
37960         * sysdeps/i386/sysdep.h: Likewise.
37961         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
37962         * sysdeps/mach/sysdep.h: Likewise.
37963         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
37964         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
37965         * sysdeps/s390/asm-syntax.h: Likewise.
37966         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37967         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37968         * sysdeps/sh/sysdep.h: Likewise.
37969         * sysdeps/unix/sparc/sysdep.h: Likewise.
37970         * sysdeps/wordsize-32/divdi3.c: Likewise.
37971         * sysdeps/x86_64/sysdep.h: Likewise.
37972
37973         * argp/Versions: Remove _argp_unlock_xxx.
37974
37975         [BZ #13559]
37976         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
37977         * abilist/libBrokenLocale.abilist: Likewise.
37978         * abilist/libanl.abilist: Likewise.
37979         * abilist/libc.abilist: Likewise.
37980         * abilist/libcrypt.abilist: Likewise.
37981         * abilist/libdl.abilist: Likewise.
37982         * abilist/libm.abilist: Likewise.
37983         * abilist/libnsl.abilist: Likewise.
37984         * abilist/libpthread.abilist: Likewise.
37985         * abilist/libresolv.abilist: Likewise.
37986         * abilist/librt.abilist: Likewise.
37987         * abilist/libthread_db.abilist: Likewise.
37988         * abilist/libutil.abilist: Likewise.
37989         * abilist/libnss_db.abilist: New file.
37990
37991         * scripts/abilist.awk: Add support for indirect functions.
37992
37993         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
37994
37995         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
37996
37997         * shlib-versions: Remove entries for ports architectures.
37998
37999         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
38000         files in ports.
38001         * elf/stackguard-macros.h: Remove support for IA-64.
38002         * elf/tst-auditmod1.c: Likewise.
38003         * sysdeps/generic/ldsodefs.h: Likewise.
38004
38005         * sysdeps/unix/sysv/linux/configure.in: Ports should define
38006         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
38007         configure files.
38008
38009         [BZ #13552]
38010         * configure.in: Remove --enable-omitfp support.
38011         * FAQ.in: Adjust.
38012         * config.make.in: Likewise.
38013         * Makeconfig: Likewise.
38014         * manual/install.texi: Likewise.
38015
38016         In case anyone cares, the IA-64 architecture could move to ports.
38017         * sysdeps/ia64/*: Removed.
38018         * sysdeps/unix/sysv/linux/ia64/*: Removed.
38019         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
38020
38021         [BZ #13555]
38022         * configure.in: Remove entries for unsupported architectures.
38023
38024         [BZ #13533]
38025         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
38026         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
38027         routines.
38028         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
38029         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
38030         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
38031         fall back to using wcrtomb.
38032         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
38033         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
38034         renaming.
38035         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
38036         * wcsmbs/tst-c16c32-1.c: New file.
38037
38038         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
38039         local variable.
38040
38041         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
38042
38043         * elf/tst-unique3.cc: Add explicit declaration of gets.
38044         * elf/tst-unique3lib.cc: Likewise.
38045         * elf/tst-unique3lib2.cc: Likewise.
38046         * elf/tst-unique4.cc: Likewise.
38047
38048         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
38049
38050 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
38051
38052         [BZ #13566]
38053         * assert/assert.h (static_assert): Don't define for C++.
38054         * libio/stdio.h (gets): Do declare for C++ <= C++11.
38055         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
38056
38057 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
38058
38059         * iconv/loop.c (single loop): Fix assertion in storing of
38060         remaining bytes.
38061
38062         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
38063
38064 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
38065
38066         * posix/getconf.c: Update copyright year.
38067         * nss/getent.c: Likewise.
38068         * nss/makedb.c: Likewise.
38069         * iconv/iconvconfig.c: Likewise.
38070         * iconv/iconv_prog.c: Likewise.
38071         * elf/ldconfig.c: Likewise.
38072         * elf/pldd.c: Likewise.
38073         * elf/sotruss.ksh: Likewise.
38074         * catgets/gencat.c: Likewise.
38075         * csu/version.c: Likewise.
38076         * elf/ldd.bash.in: Likewise.
38077         * elf/sprof.c (print_version): Likewise.
38078         * locale/programs/locale.c: Likewise.
38079         * locale/programs/localedef.c: Likewise.
38080         * login/programs/pt_chown.c: Likewise.
38081         * nscd/nscd.c (print_version): Likewise.
38082         * debug/xtrace.sh: Likewise.
38083         * malloc/memusage.sh: Likewise.
38084         * malloc/mtrace.pl: Likewise.
38085         * debug/catchsegv.sh: Likewise.
38086
38087 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
38088
38089         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
38090         pure attribute.
38091
38092 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
38093
38094         [BZ #13533]
38095         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
38096         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
38097         transformations.
38098         * iconv/gconv_int.h: Likewise.
38099         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
38100         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
38101         from libc for GLIBC_2.16.
38102         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
38103         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
38104         * wcsmbs/uchar.h: Really define mbstate_t.
38105         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
38106         * wcsmbs/c16rtomb.c: New file.
38107         * wcsmbs/mbrtoc16.c: New file.
38108         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
38109         for C/POSIX locale.
38110         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
38111         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
38112
38113         * wcsmbs/wchar.h: Add missing __restrict.
38114
38115 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38116
38117         [BZ #13532]
38118         * time/Makefile (routines): Add timespec_get.
38119         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
38120         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
38121         timespec for ISO C11.
38122         * time/timespec_get.c: New file.
38123         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
38124         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
38125
38126         [BZ #13531]
38127         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
38128         * stdlib/stdlib.h: Declare aligned_alloc.
38129         * Versions.def: Add GLIBC_2.16 for libc.
38130         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
38131
38132         [BZ 13527]
38133         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
38134         ISO C11.
38135
38136         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
38137         code.
38138
38139         [BZ #13528]
38140         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
38141
38142         [BZ #13529]
38143         * assert/assert.h (static_assert): Define.
38144
38145         * version.h: Update for 2.16 development version.
38146
38147         [BZ #13526]
38148         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
38149         _ISOC11_SOURCE.
38150
38151         * version.h (RELEASE): Bump for 2.15 release.
38152         * include/features.h (__GLIBC_MINOR__): Bump to 15.
38153
38154         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
38155         Patch by Marek Polacek <mpolacek@redhat.com>.
38156
38157         * bits/byteswap.h: Protect long long constants with __extension__.
38158         * sysdeps/i386/bits/byteswap.h: Likewise.
38159         * sysdeps/ia64/bits/byteswap.h: Likewise.
38160         * sysdeps/s390/bits/byteswap.h: Likewise.
38161         * sysdeps/x86_64/bits/byteswap.h: Likewise.
38162
38163 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38164
38165         [BZ #13540]
38166         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
38167         destination buffer.
38168         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
38169
38170 2011-12-23  Marek Polacek  <polacek@redhat.com>
38171
38172         * elf/dl-addr.c (determine_info): Add inline keyword.
38173         * elf/tst-auditmod4b.c (check_avx): Likewise.
38174         * elf/tst-auditmod6b.c (check_avx): Likewise.
38175         * elf/tst-auditmod6c.c (check_avx): Likewise.
38176         * elf/tst-auditmod7b.c (check_avx): Likewise.
38177
38178 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
38179
38180         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
38181         !__SSE_MATH__.
38182
38183 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38184
38185         [BZ #13540]
38186         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
38187         processing for last bytes.
38188
38189 2011-08-06  Bruno Haible  <bruno@clisp.org>
38190
38191         [BZ #13061]
38192         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
38193         U+0385, not to U+1FEE.
38194
38195         [BZ #13062]
38196         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
38197         entry for U+00A5 U+0301.
38198
38199 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38200
38201         [BZ #13166]
38202         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
38203         buffer for the output is too small.
38204
38205         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
38206         optimization.
38207
38208         [BZ #13185]
38209         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
38210         SSE flags if possible.
38211
38212 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38213
38214         [BZ #13540]
38215         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
38216         processing for last bytes.
38217
38218 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
38219
38220         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
38221         (syscall-list-default-options, syscall-list-default-condition)
38222         (syscall-list-includes): Define.
38223         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
38224         list of ABIs and options and #if conditions for each ABI.  Do not
38225         handle common syscalls between ABIs specially.
38226         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
38227         Remove.
38228         (syscall-list-variants, syscall-list-32bit-options)
38229         (syscall-list-32bit-condition, syscall-list-64bit-options)
38230         (syscall-list-64bit-condition): Define.
38231         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
38232         (syscall-list-variants, syscall-list-32bit-options)
38233         (syscall-list-32bit-condition, syscall-list-64bit-options)
38234         (syscall-list-64bit-condition): Define.
38235         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
38236         Remove.
38237         (syscall-list-variants, syscall-list-32bit-options)
38238         (syscall-list-32bit-condition, syscall-list-64bit-options)
38239         (syscall-list-64bit-condition): Define.
38240         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
38241         Remove.
38242         (syscall-list-variants, syscall-list-32bit-options)
38243         (syscall-list-32bit-condition, syscall-list-64bit-options)
38244         (syscall-list-64bit-condition): Define.
38245
38246 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
38247
38248         * locale/iso-639.def: Add brx entry.
38249
38250         [BZ #13328]
38251         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
38252         Proposed by Mariusz_Cukr <marcukr@op.pl>.
38253
38254         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
38255         __feraiseexcept_renamed.
38256
38257 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38258
38259         [BZ #13538]
38260         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
38261         EPOLLET with unsigned values.
38262         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
38263         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
38264
38265         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
38266         to large cancellation.
38267         * math/s_cacoshf.c: Likewise.
38268         * math/s_cacoshl.c: Likewise.
38269
38270 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
38271
38272         [BZ #13305]
38273         [BZ #12786]
38274         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
38275         * math/s_cacoshf.c: Likewise.
38276         * math/s_cacoshl.c: Likewise.
38277
38278 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
38279
38280         [BZ #13439]
38281         * iconv/gconv.h: Define __GCONV_SWAP.
38282         * iconvdata/unicode.c: The swap bit must be stored in __flags.
38283         * iconvdata/utf-16.c: Likewise.
38284         * iconvdata/utf-32.c: Likewise.
38285
38286 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
38287
38288         [BZ #13524]
38289         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
38290         numerator after shifting it by one limb.
38291
38292 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
38293
38294         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
38295         under [__USE_EXTERN_INLINES].
38296
38297 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38298
38299         [BZ #13446]
38300         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
38301
38302 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38303
38304         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
38305         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
38306         optimized code.
38307         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
38308         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
38309         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
38310         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
38311         for strncasecmp/strncasecmp_l compilation.
38312         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
38313         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
38314
38315 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
38316
38317         [BZ #13484]
38318         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
38319         of __asm__.
38320
38321 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
38322
38323         [BZ #13506]
38324         * time/tzfile.c (__tzfile_read): Check values from file header.
38325
38326 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
38327
38328         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
38329         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
38330         * powerpc/powerpc32/dl-start.S: Likewise.
38331         * powerpc/powerpc32/elf/start.S: Likewise.
38332         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
38333         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
38334         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
38335         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
38336         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
38337         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
38338         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
38339         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
38340         * powerpc/powerpc32/fpu/s_round.S: Likewise.
38341         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
38342         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
38343         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
38344         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
38345         * powerpc/powerpc32/memset.S: Likewise.
38346         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
38347         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
38348         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
38349         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
38350         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
38351         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
38352         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
38353         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
38354         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
38355         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
38356         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
38357         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
38358         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
38359
38360 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38361
38362         * math/libm-test.inc: Added more nearbyint tests.
38363         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
38364         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
38365         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
38366         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
38367
38368 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
38369
38370         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
38371         FD_CLOEXEC.
38372
38373 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38374
38375         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
38376         Add wcscpy-ssse3 wcscpy-c.
38377         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
38378         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
38379         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
38380         * sysdeps/x86_64/wcschr.S: New file.
38381         * sysdeps/x86_64/wcsrchr.S: New file.
38382         * string/test-strcmp.c: Remove checking of wcscmp function for
38383         wrong alignments.
38384         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
38385         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
38386         wcsrchr-sse2 wcsrchr-c.
38387         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
38388         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
38389         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
38390         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
38391         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
38392         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
38393         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
38394         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
38395         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
38396         * wcsmbc/wcschr.c (WCSCHR): New macro.
38397
38398 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
38399
38400         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
38401         * wcsmbs/test-wcsrchr.c: New file.
38402         * string/test-strrchr.c: Add wcsrchr support.
38403         (WIDE): New macro.
38404         * wcsmbs/test-wcscpy.c: New file.
38405         * string/test-strcpy.c: Add wcscpy support.
38406         (WIDE): New macro.
38407
38408 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
38409
38410         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
38411         the inner loop.
38412
38413 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
38414
38415         [BZ #13472]
38416         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
38417
38418 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
38419
38420         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
38421         Minor optimizations.
38422
38423         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
38424         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
38425         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
38426
38427 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
38428
38429         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
38430         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
38431         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
38432         for gcc to avoid warnings.
38433         * inet/Makefile (tests): Add tst-checks.
38434         * inet/tst-checks.c: New file.
38435
38436         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
38437         warning.
38438
38439         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
38440         __wmemcmp_sse2.
38441
38442         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
38443         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
38444
38445         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
38446
38447 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
38448
38449         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
38450         problem.
38451
38452         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
38453
38454 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
38455
38456         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
38457         conditional on GCC version.
38458         (__arch_compare_and_exchange_val_8_acq)
38459         (__arch_compare_and_exchange_val_16_acq)
38460         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
38461         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
38462         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
38463
38464 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
38465
38466         * sysdeps/sh/backtrace.c: New file.
38467
38468 2011-12-02  Andreas Schwab  <schwab@redhat.com>
38469
38470         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
38471         parenthesis.
38472
38473 2011-12-01  Andreas Schwab  <schwab@redhat.com>
38474
38475         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
38476         falling back to utime.
38477
38478 2011-11-30  Andreas Schwab  <schwab@redhat.com>
38479
38480         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
38481         expectations for float.
38482
38483 2011-11-29  Andreas Schwab  <schwab@redhat.com>
38484
38485         * locale/weight.h (findidx): Add parameter len.
38486         * locale/weightwc.h (findidx): Likewise.
38487         * posix/fnmatch_loop.c (FCT): Adjust caller.
38488         * posix/regcomp.c (build_equiv_class): Likewise.
38489         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
38490         * posix/regexec.c (check_node_accept_bytes): Likewise.
38491         * string/strcoll_l.c (STRCOLL): Likewise.
38492         * string/strxfrm_l.c (STRXFRM): Likewise.
38493
38494 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
38495
38496         * Makefile.in: Remove CVSOPT handling.
38497         * configure.in: Remove use of AC_REVISION.
38498         * iconvdata/Makefile (distribute): No need to filter out CVS.
38499         * scripts/list-sources.sh: Remove CVS, subversion and monotone
38500         handling.
38501
38502 2011-11-16  Andreas Schwab  <schwab@redhat.com>
38503
38504         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
38505         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
38506         [USE_AS_STRNCASECMP_L]: Likewise.
38507         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
38508         NO_TLS_DIRECT_SEG_REFS.
38509         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
38510         Fix argument offsets for non-PIC.
38511         [USE_AS_STRNCASECMP_L]: Likewise.
38512         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
38513         NO_TLS_DIRECT_SEG_REFS.
38514
38515 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38516
38517         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
38518         O_CLOEXEC.
38519         * locale/loadlocale.c (_nl_load_locale): Likewise.
38520
38521 2011-11-15  Andreas Schwab  <schwab@redhat.com>
38522
38523         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
38524         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
38525         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
38526         (SYSCALL_GETTIME): Set errno on error.
38527
38528         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
38529         count references to noai6ai_cached.
38530
38531 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
38532
38533         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
38534
38535         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
38536         FD_CLOEXEC for /proc/self/maps.
38537
38538         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
38539         FD_CLOEXEC for /proc/meminfo.
38540
38541         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
38542         gai.conf.
38543
38544         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
38545         FD_CLOEXEC for given file.
38546
38547         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
38548
38549         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
38550         FD_CLOEXEC for /etc/hosts.
38551         (_gethtent): Likewise.
38552
38553         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
38554
38555         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
38556         cancellation and set FD_CLOEXEC for /etc/netgroup.
38557
38558         * nss/nss_files/files-key.c (search): Don't allow cancellation when
38559         reading /etc/publickey.
38560
38561         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
38562         allow cancellation when reading /etc/group.
38563
38564         * nss/nss_files/files-alias.c (internal_setent): Don't allow
38565         cancellation.
38566         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
38567
38568         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
38569         when using data file.
38570
38571         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
38572
38573         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
38574         (write_nis_obj): Use "c" and "e" in fopen.
38575
38576         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
38577
38578         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
38579
38580         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
38581
38582         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
38583
38584         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
38585         locale.alias.
38586
38587         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
38588
38589         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
38590
38591         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
38592
38593         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
38594         file parsing and set FD_CLOEXEC.
38595
38596 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38597
38598         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
38599
38600 2011-11-14  Andreas Schwab  <schwab@redhat.com>
38601
38602         * malloc/arena.c (arena_get2): Don't call reused_arena when
38603         _int_new_arena failed.
38604
38605 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
38606
38607         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
38608         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
38609         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
38610         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
38611         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
38612         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
38613         to compile strcasecmp and strncasecmp.
38614         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
38615         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
38616
38617         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
38618
38619 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
38620
38621         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
38622         locale-defines.sym to gen-as-const-headers.
38623         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
38624         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
38625         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
38626         to compile strcasecmp and strncasecmp.
38627         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
38628         strcasecmp_l and strncasecmp_l.
38629         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
38630         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
38631         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
38632         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
38633         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
38634         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
38635         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
38636         * sysdeps/i386/i686/multiarch/strncase.S: New file.
38637         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
38638         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
38639         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
38640
38641 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
38642
38643         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
38644         result of SYSDEP_GETTIME_CPU to retval.
38645         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
38646         parameter list to macro.  Remove trailing semicolon.  Adjust users.
38647
38648         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
38649         variable.
38650
38651         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
38652         mantissa words.
38653         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
38654
38655         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
38656         from unused variable.
38657
38658         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
38659         DWARF definitions.
38660         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
38661         for assembling.
38662
38663         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
38664         over namespaces.
38665
38666         * sunrpc/rpc_prot.c (rejected): Fix case value.
38667
38668         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
38669         unsigned long long int to avoid warnings in shift.
38670
38671         * posix/regex_internal.c (re_string_reconstruct): Actually use result
38672         of use of trans.
38673         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
38674         variable tmp.
38675
38676         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
38677         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
38678         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
38679
38680         * nis/nis_table.c (nis_list): Use variable of correct type for
38681         result of __follow_path call.
38682
38683 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38684
38685         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
38686         of math functions ceil, trunc, floor, round, and sqrt, when
38687         avaliable on the platform.
38688         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
38689         name clash.
38690         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
38691         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
38692         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
38693
38694 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
38695
38696         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
38697         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
38698
38699 2011-11-11  Roland McGrath  <roland@hack.frob.com>
38700
38701         * include/unistd.h: Fix __readlink return type.
38702         Reported by Chris Metcalf <cmetcalf@tilera.com>.
38703
38704 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
38705
38706         * stdlib/ucontext.h: Undo last change for makecontext.
38707
38708 2011-11-11  Andreas Schwab  <schwab@redhat.com>
38709
38710         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
38711
38712         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
38713         * setjmp/setjmp.h: Mark functions as non-leaf.
38714         * setjmp/bits/setjmp2.h: Likewise.
38715         * stdlib/ucontext.h: Likewise.
38716
38717 2011-11-10  Andreas Schwab  <schwab@redhat.com>
38718
38719         * malloc/arena.c (_int_new_arena): Don't increment narenas.
38720         (reused_arena): Don't check arena limit.
38721         (arena_get2): Atomically check arena limit.
38722
38723 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
38724
38725         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
38726         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
38727
38728         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
38729         instructions.
38730
38731 2011-11-07  Andreas Schwab  <schwab@redhat.com>
38732
38733         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
38734         handler when locking.
38735
38736         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
38737         Fix size of allocated buffer.
38738
38739 2011-11-04  Andreas Schwab  <schwab@redhat.com>
38740
38741         [BZ #10103]
38742         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
38743         declarations for long double functions.
38744         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
38745
38746         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
38747
38748 2011-11-03  Andreas Schwab  <schwab@redhat.com>
38749
38750         * nscd/nscd.c (main): Don't start AVC thread until credentials are
38751         installed.
38752
38753         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
38754         is disabled.
38755
38756 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
38757
38758         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
38759
38760 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
38761
38762         * include/alloca.h (stackinfo_alloca_round): Define.
38763         (extend_alloca): Use it.
38764         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
38765         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
38766         here.
38767
38768         * scripts/check-local-headers.sh: Ignore libaudit.h.
38769
38770         * nscd/Makefile (extra-objs): Make recursively expanded.
38771
38772 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
38773
38774         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
38775         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
38776
38777         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
38778         * posix/tst-rfc3484-2.c: Likewise.
38779         * posix/tst-rfc3484-3.c: Likewise.
38780
38781         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
38782         process_vm_writev.
38783         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
38784         process_vm_writev.
38785         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
38786         process_vm_writev from libc using GLIBC_2.15 version.
38787
38788         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
38789
38790 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
38791
38792         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
38793         stack usage.
38794
38795 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
38796
38797         [BZ #13367]
38798         * nss/getent.c (initgroups_keys): Show error message in case no group
38799         names are given.
38800
38801         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
38802         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
38803         __bump_nl_timestamp.
38804         * nscd/connections (nscd_init): When host database is served open
38805         netlink socket and request notification about configuration changes.
38806         (main_loop_poll): Track netlink file descriptor and bump timestamp
38807         in case data becomes available.
38808         (main_loop_epoll): Likewise.
38809         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
38810         (database_pers_head): Add extra_data fileds.
38811         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
38812         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
38813         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
38814         Adjust caller.
38815         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
38816         in6ai data, call __free_in6ai.
38817         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
38818         Add -DHAVE_NETLINK.
38819         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
38820         interface information.  Reuse previous data if netlink timestamp
38821         is not changed.
38822         (__bump_nl_timestamp): New function.
38823         (__free_in6ai): New function.
38824
38825 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
38826
38827         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
38828         close_not_cancel_no_status here.
38829         (__check_pf): Reorganize code a bit to not call close twice if OOM.
38830
38831 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38832
38833         [BZ #13276]
38834         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
38835         return value.
38836
38837         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
38838         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
38839         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
38840
38841 2011-07-03  Andreas Jaeger  <aj@suse.de>
38842
38843         [BZ #10709]
38844         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
38845         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
38846         * math/libm-test.inc (sin_test): Add test case.
38847
38848 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
38849
38850         [BZ #13337]
38851         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
38852         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38853
38854         * elf/chroot_canon.c (chroot_canon): Cleanups.
38855
38856         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
38857
38858         [BZ #13335]
38859         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
38860         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
38861
38862         * string/test-strchr.c: Make usable for strchrnul testing.
38863         * string/test-strchrnul.c: New file.
38864         * string/Makefile (strop-tests): Add strchrnul.
38865
38866         * po/it.po: Update from translation team.
38867         * po/es.po: Likewise.
38868
38869 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
38870
38871         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
38872         the three constants needed as parameters.  Drop the others.
38873         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
38874         __m128i_strloadu_tolower.
38875         Create and initialize variable zero and use it in all the places
38876         where _mm_setzero_si128 was used.
38877
38878         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
38879         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
38880         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
38881         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
38882         anymore.
38883         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
38884         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
38885         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
38886         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
38887         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
38888         __mpranred, __mptan.
38889         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
38890         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
38891         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
38892         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
38893         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
38894         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
38895         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
38896         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
38897         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
38898
38899 2011-10-28  Andreas Schwab  <schwab@redhat.com>
38900
38901         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
38902         redefine if SHARED.
38903         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
38904
38905         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
38906         wide char related routines to wcsmbs subdir.
38907
38908 2011-10-27  Andreas Schwab  <schwab@redhat.com>
38909
38910         [BZ #13344]
38911         * misc/sys/cdefs.h (__THROWNL): Define.
38912         * posix/unistd.h: Use __THREADNL instead of __THREAD
38913         for memory synchronization functions.
38914
38915 2011-10-26  Roland McGrath  <roland@hack.frob.com>
38916
38917         [BZ #13349]
38918         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
38919         doesn't exist.
38920         * manual/stdio.texi (Obstack Streams): Node removed.
38921
38922 2011-10-26  Andreas Schwab  <schwab@redhat.com>
38923
38924         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
38925         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38926         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38927
38928         * math/math_private.h (math_force_eval): Allow non-addressable
38929         arguments.
38930         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
38931
38932 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38933
38934         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
38935         file is not needed.
38936
38937         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
38938         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
38939         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
38940         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
38941         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
38942         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
38943         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
38944         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
38945         Add AVX variants.
38946         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
38947         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
38948         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
38949         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
38950         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
38951         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
38952         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
38953         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
38954         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
38955         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
38956         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
38957         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
38958         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
38959         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
38960         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
38961         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
38962         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
38963         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
38964         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
38965
38966         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
38967         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
38968
38969         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
38970         place.  Use VEX encoding when compiling for AVX.
38971
38972 2011-10-25  Andreas Schwab  <schwab@redhat.com>
38973
38974         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
38975         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
38976
38977         * string/test-strchr.c (do_test): Don't generate NUL bytes.
38978
38979 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
38980
38981         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
38982         useless if() expression.
38983         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
38984         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
38985         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
38986         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
38987         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
38988         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
38989         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
38990         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
38991         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
38992         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
38993         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
38994         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
38995         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
38996         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
38997         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
38998         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
38999         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39000         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39001         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
39002
39003         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
39004
39005 2011-10-25  Andreas Schwab  <schwab@redhat.com>
39006
39007         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
39008         condition.
39009         * elf/dl-fini.c (_dl_sort_fini): Likewise.
39010
39011 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
39012
39013         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
39014         .text section.  Avoid duplicate constants.
39015         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
39016         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39017         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39018         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39019         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39022         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39023         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
39024         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
39025         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
39026         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
39027         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
39028         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
39029         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
39030         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
39031         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
39032         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
39033         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
39034         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39035         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
39036         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
39037         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
39038         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
39039         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
39040         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
39041         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
39042         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
39043         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
39044         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
39045         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
39046         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
39047         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
39048         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
39049         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
39050         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
39051         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
39052         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
39053         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
39054         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
39055         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
39056         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
39057         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
39058         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
39059         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
39060
39061 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
39062
39063         * sysdeps/x86_64/dla.h: Move to ...
39064         * sysdeps/x86_64/fpu/dla.h: ...here.
39065         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
39066         situations.  Use __builtin_fma only for gcc 4.6 and up.
39067
39068         * config.make.in: Add have-mfma4 entry.
39069         * configure.in: Substitute libc_cv_cc_fma4.
39070         * math/Makefile (dbl-only-routines): Add sincostab.
39071         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
39072         Use __sincostab not sincos.
39073         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
39074         name is a macro.
39075         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39076         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39077         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39078         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
39079         using __copysign.
39080         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
39081         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
39082         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
39083         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
39084         and __inv.
39085         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
39086         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
39087         __copysign.
39088         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
39089         define aliases when function name is a macro.
39090         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
39091         sysdeps/ieee754/dbl-64/sincos.tbl.
39092         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
39093         fma4-enabled routines.
39094         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
39095         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
39096         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
39097         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
39098         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
39099         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
39100         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
39101         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
39102         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
39103         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
39104         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
39105         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
39106         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
39107         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
39108         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
39109         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
39110         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
39111         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
39112         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
39113         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
39114         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
39115         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
39116         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
39117         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
39118         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
39119         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
39120         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
39121         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
39122         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
39123         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
39124
39125         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
39126         rename.
39127         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39128         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39129         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39130         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39131         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39132         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39133         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39134         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39135
39136 2011-10-24  Andreas Schwab  <schwab@redhat.com>
39137
39138         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
39139
39140 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39141
39142         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
39143
39144         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
39145         prediction.
39146         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
39147
39148         * string/strnlen.c: Don't define STRNLEN, reverse logic.
39149         Remove unused variable magic_bits.
39150         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
39151
39152         * string/strnlen.c: Define and use STRNLEN macro.
39153         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
39154         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
39155         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
39156         * wcsmbs/wcslen.c: Define and use WCSLEN.
39157         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
39158         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
39159         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
39160         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
39161         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
39162         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
39163         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
39164
39165 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39166
39167         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
39168         strnlen-sse2-no-bsf.
39169         Rename strlen-no-bsf to strlen-sse2-no-bsf.
39170         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
39171         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
39172         Add strnlen support.
39173         (USE_AS_STRNLEN): New macro.
39174         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
39175         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
39176         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
39177         * sysdeps/x86_64/wcslen.S: New file.
39178
39179 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
39180
39181         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
39182         XMM-moves are used for copying on small sizes.
39183
39184 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39185
39186         * wcsmbs/Makefile (strop-tests): Add wcschr.
39187         * wcsmbs/test-wcschr.c: New file.
39188         * string/test-strchr.c: Update.
39189         Add wcschr support.
39190         (WIDE): New macro.
39191
39192 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39193
39194         * wcsmbs/Makefile (strop-tests): Add wcslen.
39195         * wcsmbs/test-wcslen.c: New file.
39196         * string/test-strlen.c: Update.
39197         Add wcslen support.
39198         (WIDE): New macro.
39199
39200 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39201
39202         * po/it.po: Update from translation team.
39203
39204 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39205
39206         * sysdeps/x86_64/wcscmp.S: Update.
39207         Fix wrong comparison semantics.
39208         wcscmp shall use signed comparison not unsigned.
39209         Don't use substraction to avoid overflow bug.
39210         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
39211         * wcsmbc/wcscmp.c: Likewise.
39212         * string/test-strcmp.c: Likewise.
39213         Add new tests to check cases with negative values.
39214
39215 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
39216
39217         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
39218         * sysdeps/x86_64/dla.h: ...here.  New file.
39219         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
39220         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39221         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39222         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39223         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39224         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39225         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39226         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39227         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39228
39229 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
39230
39231         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
39232         __ynl_finite aliases.
39233
39234 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39235
39236         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
39237
39238         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
39239         define DLA_FMA.
39240         [DLA_FMA] (EMULV): Use DLA_FMA.
39241         [DLA_FMA] (MUL12): Use EMULV.
39242         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
39243         that are not needed.
39244         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
39245         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39246         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39247         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39248         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39249         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
39250         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
39251
39252 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
39253
39254         * math/s_nan.c: Undef __nan.
39255         * math/s_nanf.c: Undef __nanf.
39256         * math/s_nanl.c: Undef __nanl.
39257         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
39258         "math_private.h".
39259
39260 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
39261
39262         * math/s_catan.c: Add branch predictions.
39263         * math/s_catanf.c: Likewise.
39264         * math/s_catanh.c: Likewise.
39265         * math/s_catanhf.c: Likewise.
39266         * math/s_catanhl.c: Likewise.
39267         * math/s_catanl.c: Likewise.
39268         * math/s_cexp.c: Likewise.
39269         * math/s_cexpf.c: Likewise.
39270         * math/s_cexpl.c: Likewise.
39271         * math/s_clog.c: Likewise.
39272         * math/s_clog10.c: Likewise.
39273         * math/s_clog10f.c: Likewise.
39274         * math/s_clog10l.c: Likewise.
39275         * math/s_clogf.c: Likewise.
39276         * math/s_clogl.c: Likewise.
39277         * math/s_csqrt.c: Likewise.
39278         * math/s_csqrtf.c: Likewise.
39279         * math/s_csqrtl.c: Likewise.
39280         * math/s_ctanf.c: Likewise.
39281         * math/s_ctanh.c: Likewise.
39282         * math/s_ctanhf.c: Likewise.
39283         * math/s_ctanhl.c: Likewise.
39284         * math/s_ctanl.c: Likewise.
39285
39286         * math/math_private.h: Define __nan, __nanf, __nanl.
39287         * math/s_cacosh.c: Include <math_private.h>.
39288         * math/s_cacoshl.c: Likewise.
39289         * math/s_casinh.c: Likewise.
39290         * math/s_casinhf.c: Likewise.
39291         * math/s_casinhl.c: Likewise.
39292         * math/s_ccos.c: Rely entire on ccosh.
39293         * math/s_ccosf.c: Rely entire on ccoshf.
39294         * math/s_ccosl.c: Rely entirely on ccoshl.
39295         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
39296         Remove tests for FE_INVALID.
39297         * math/s_ccoshf.c: Likewise.
39298         * math/s_ccoshl.c: Likewise.
39299         * math/s_csin.c: Likewise.
39300         * math/s_csinf.c: Likewise.
39301         * math/s_csinh.c Likewise.
39302         * math/s_csinhf.c: Likewise.
39303         * math/s_csinhl.c: Likewise.
39304         * math/s_csinl.c: Likewise.
39305         * math/s_ctan.c: Likewise.
39306         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
39307         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
39308         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
39309
39310 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
39311
39312         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
39313         compilation problems.
39314
39315         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
39316         __builtin_expect.
39317
39318 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
39319
39320         * sysdeps/i386/configure.in: Test for -mfma4 option.
39321         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
39322         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
39323         COMMON_CPUID_INDEX_80000001.
39324         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
39325         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
39326         use it if FMA3 is not supported.
39327         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
39328
39329         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
39330         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
39331
39332 2011-10-20  Andreas Schwab  <schwab@redhat.com>
39333
39334         [BZ #12892]
39335         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
39336         it would create a cycle with a link time dependency.
39337
39338 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
39339
39340         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
39341         instruction.
39342         * string/Makefile (strop-tests): Add rawmemchr.
39343         * string/test-rawmemchr.c: New file.
39344
39345         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
39346         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
39347         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
39348         when compiling str{,n}casecmp and when AVX is available.  Hook up
39349         new optimized code in initializers.
39350
39351 2011-10-19  Andreas Schwab  <schwab@redhat.com>
39352
39353         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
39354         __feraiseexcept instead of feraiseexcept.
39355
39356 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
39357
39358         * math/math_private.h: Define defaults for libc_fetestexcept and
39359         libc_feupdateenv.
39360         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
39361         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
39362         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39363         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39364         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
39365         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39366         libc_fetestexcept and libc_feupdateenv.
39367
39368         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
39369         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
39370         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
39371         * sysdeps/x86_64/fpu/math_private.h: Define special version of
39372         libc_feholdexcept_setround.
39373
39374         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
39375         Add s_nearbyint-c and s_nearbyintf-c.
39376         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
39377         nearbyintf inlines.
39378         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
39379         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
39380         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
39381         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
39382
39383         * math/math_private.h: Define defaults for libc_fegetround,
39384         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
39385         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
39386         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
39387         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
39388         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
39389         standard functions.
39390         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39391         Remove comments and hacks for old compiler versions.
39392         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
39393         libc_fegetround, libc_fesetround, libc_feholdexcept, and
39394         libc_feholdexceptl.
39395
39396 2011-10-18  Andreas Schwab  <schwab@redhat.com>
39397
39398         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
39399         (__feraiseexcept_renamed): Add __NTH.
39400         (feraiseexcept): Add __NTH.  Rename local variables to fix
39401         namespace violations.
39402
39403 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
39404
39405         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
39406
39407         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
39408
39409         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
39410         recently added interfaces.
39411         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
39412
39413         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
39414         about macro parameter expansion.
39415
39416         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
39417         __NO_MATH_INLINES is defined.  Cleanups.
39418
39419         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
39420         and __floorf is target has SSE4.1.
39421         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
39422         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
39423         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
39424         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
39425
39426         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
39427         name.
39428         (floorf): Likewise.
39429
39430         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
39431
39432 2011-10-17  Andreas Schwab  <schwab@redhat.com>
39433
39434         * misc/sys/cdefs.h: Fix last change.
39435
39436         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
39437         database lookup.
39438
39439 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
39440
39441         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
39442
39443         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
39444         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
39445         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
39446         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
39447         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
39448         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
39449         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
39450         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
39451         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
39452         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
39453         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
39454         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
39455         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
39456         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
39457         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
39458         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
39459         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
39460         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
39461         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
39462         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
39463         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
39464         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
39465
39466         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
39467         ceil, ceilf, floor, floorf.
39468
39469         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
39470         Perform IRELATIVE relocations last.
39471
39472         * elf/do-rel.h: Add another parameter nrelative, replacing the
39473         local variable with the same name.  Change name of the function
39474         to end in Rel or Rela (uppercase).
39475         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
39476         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
39477         elf_dynamic_do_##reloc function.
39478
39479 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39480
39481         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
39482         is sufficient, at least on modern CPUs.
39483
39484         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
39485
39486         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
39487         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
39488
39489         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
39490         __expl_finite.
39491         * math/bits/math-finite.h: Add entries for exp.
39492         * math/e_expl.c: Add __*_finite alias.
39493         * sysdeps/i386/fpu/e_exp.S: Likewise.
39494         * sysdeps/i386/fpu/e_expf.S: Likewise.
39495         * sysdeps/i386/fpu/e_expl.c: Likewise.
39496         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
39497         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
39498         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
39499         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
39500         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
39501         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
39502         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
39503
39504         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
39505         is sufficient, at least on modern CPUs.
39506
39507         * ctype/ctype-info.c (__ctype_init): Define.
39508         * include/ctype.h (__ctype_init): Declare.
39509         (__ctype_b_loc): The variable is always initialized.
39510         (__ctype_toupper_loc): Likewise.
39511         (__ctype_tolower_loc): Likewise.
39512         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
39513         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
39514
39515 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
39516
39517         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
39518
39519         * configure.in: Also look in $cxxmachine/include for C++ system
39520         headers.
39521
39522 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39523
39524         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
39525         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
39526         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
39527         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
39528         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
39529         (USE_AS_WMEMCMP): New macro.
39530         Fixing indents.
39531         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
39532         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
39533         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
39534         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
39535         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39536         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
39537         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
39538         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
39539         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
39540         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
39541         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
39542         (USE_AS_WMEMCMP): New macro.
39543         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
39544         * sysdeps/string/test-memcmp.c: Update.
39545         Fix simple_wmemcmp.
39546         Add new tests.
39547         * wcsmbs/wmemcmp.c: Update.
39548         (WMEMCMP): New macro.
39549         Fix overflow bug.
39550
39551 2011-10-12  Andreas Jaeger  <aj@suse.de>
39552
39553         [BZ #13268]
39554         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
39555
39556 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
39557
39558         * libio/iofwide.c (do_length): Avoid warning.
39559
39560         * ctype/ctype.h (__isctype_f): Add missing __THROW.
39561
39562 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
39563
39564         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
39565
39566         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
39567         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
39568         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
39569         * sysdeps/i386/i686/fpu/e_log.S: New file.
39570         * sysdeps/i386/i686/fpu/e_logf.S: New file.
39571         * sysdeps/i386/i686/fpu/e_logl.S: New file.
39572
39573         * ctype/ctype.h: Add support for inlined isXXX functions when
39574         compiling C++ code.
39575
39576 2011-10-14  Andreas Schwab  <schwab@redhat.com>
39577
39578         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
39579
39580         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
39581
39582 2011-10-13  Roland McGrath  <roland@hack.frob.com>
39583
39584         [BZ #13291]
39585         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
39586
39587 2011-10-13  Andreas Schwab  <schwab@redhat.com>
39588
39589         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
39590         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
39591         feraiseexcept.
39592
39593         * sysdeps/x86_64/memrchr.S: Check for zero size.
39594
39595         * string/stratcliff.c: Add memrchr tests.
39596
39597 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
39598
39599         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
39600         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
39601         rawmemchr-sse2 rawmemchr-sse2-bsf.
39602         * sysdeps/i386/i686/multiarch/memchr.S: New file.
39603         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
39604         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
39605         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
39606         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
39607         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
39608         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
39609         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
39610         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
39611         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
39612         * string/memrchr.c (MEMRCHR): New macro.
39613
39614 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
39615
39616         Add integration with gcc's -ffinite-math-only and optimize wrapper
39617         functions in libm.
39618         * Versions.def: Define GLIBC_2.15 version for libm.
39619         * math/Makefile (headers): Add bits/math-finite.h.
39620         * math/bits/math-finite.h: New file.
39621         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
39622         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
39623         * math/e_acoshl.c: Add __*_finite alias.
39624         * math/e_acosl.c: Likewise.
39625         * math/e_asinl.c: Likewise.
39626         * math/e_atan2l.c: Likewise.
39627         * math/e_atanhl.c: Likewise.
39628         * math/e_coshl.c: Likewise.
39629         * math/e_exp10.c: Likewise.
39630         * math/e_exp10f.c: Likewise.
39631         * math/e_exp10l.c: Likewise.
39632         * math/e_exp2l.c: Likewise.
39633         * math/e_fmodl.c: Likewise.
39634         * math/e_gammal_r.c: Likewise.
39635         * math/e_hypotl.c: Likewise.
39636         * math/e_j0l.c: Likewise.
39637         * math/e_j1l.c: Likewise.
39638         * math/e_jnl.c: Likewise.
39639         * math/e_lgammal_r.c: Likewise.
39640         * math/e_log10l.c: Likewise.
39641         * math/e_log2l.c: Likewise.
39642         * math/e_logl.c: Likewise.
39643         * math/e_powl.c: Likewise.
39644         * math/e_sinhl.c: Likewise.
39645         * math/e_sqrtl.c: Likewise.
39646         * math/e_scalb.c: Completely rewritten and optimized.
39647         * math/e_scalbf.c: Likewise.
39648         * math/e_scalbl.c: Likewise.
39649         * math/w_acos.c: Likewise.
39650         * math/w_acosf.c: Likewise.
39651         * math/w_acosl.c: Likewise.
39652         * math/w_acosh.c: Likewise.
39653         * math/w_acoshf.c: Likewise.
39654         * math/w_acoshl.c: Likewise.
39655         * math/w_asin.c: Likewise.
39656         * math/w_asinf.c: Likewise.
39657         * math/w_asinl.c: Likewise.
39658         * math/w_atan2.c: Likewise.
39659         * math/w_atan2f.c: Likewise.
39660         * math/w_atan2l.c: Likewise.
39661         * math/w_atanh.c: Likewise.
39662         * math/w_atanhf.c: Likewise.
39663         * math/w_atanhl.c: Likewise.
39664         * math/w_exp10.c: Likewise.
39665         * math/w_exp10f.c: Likewise.
39666         * math/w_exp10l.c: Likewise.
39667         * math/w_fmod.c: Likewise.
39668         * math/w_fmodf.c: Likewise.
39669         * math/w_fmodl.c: Likewise.
39670         * math/w_j0.c: Likewise.
39671         * math/w_j0f.c: Likewise.
39672         * math/w_j0l.c: Likewise.
39673         * math/w_j1.c: Likewise.
39674         * math/w_j1f.c: Likewise.
39675         * math/w_j1l.c: Likewise.
39676         * math/w_jn.c: Likewise.
39677         * math/w_jnf.c: Likewise.
39678         * math/w_log.c: Likewise.
39679         * math/w_logf.c: Likewise.
39680         * math/w_logl.c: Likewise.
39681         * math/w_log10.c: Likewise.
39682         * math/w_log10f.c: Likewise.
39683         * math/w_log10l.c: Likewise.
39684         * math/w_log2.c: Likewise.
39685         * math/w_log2f.c: Likewise.
39686         * math/w_log2l.c: Likewise.
39687         * math/w_pow.c: Likewise.
39688         * math/w_powf.c: Likewise.
39689         * math/w_powl.c: Likewise.
39690         * math/w_remainder.c: Likewise.
39691         * math/w_remainderf.c: Likewise.
39692         * math/w_remainderl.c: Likewise.
39693         * math/w_scalb.c: Likewise.
39694         * math/w_scalbf.c: Likewise.
39695         * math/w_scalbl.c: Likewise.
39696         * math/w_sqrt.c: Likewise.
39697         * math/w_sqrtf.c: Likewise.
39698         * math/w_sqrtl.c: Likewise.
39699         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
39700         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
39701         used.
39702         * math/math_private.h: Declare __kernel_standard_f.
39703         * math/w_cosh.c: Remove cruft and optimize a bit.
39704         * math/w_coshf.c: Likewise.
39705         * math/w_coshl.c: Likewise.
39706         * math/w_exp2.c: Likewise.
39707         * math/w_exp2f.c: Likewise.
39708         * math/w_exp2l.c: Likewise.
39709         * math/w_hypot.c: Likewise.
39710         * math/w_hypotf.c: Likewise.
39711         * math/w_hypotl.c: Likewise.
39712         * math/w_lgamma.c: Likewise.
39713         * math/w_lgamma_r.c: Likewise.
39714         * math/w_lgammaf.c: Likewise.
39715         * math/w_lgammaf_r.c: Likewise.
39716         * math/w_lgammal.c: Likewise.
39717         * math/w_lgammal_r.c: Likewise.
39718         * math/w_sinh.c: Likewise.
39719         * math/w_sinhf.c: Likewise.
39720         * math/w_sinhl.c: Likewise.
39721         * math/w_tgamma.c: Likewise.
39722         * math/w_tgammaf.c: Likewise.
39723         * math/w_tgammal.c: Likewise.
39724         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
39725         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
39726         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
39727         Minor optimizations.  Pretty printing.  Remove cruft.
39728         * sysdeps/i386/fpu/e_acosf.S: Likewise.
39729         * sysdeps/i386/fpu/e_acosh.S: Likewise.
39730         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
39731         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
39732         * sysdeps/i386/fpu/e_acosl.c: Likewise.
39733         * sysdeps/i386/fpu/e_asin.S: Likewise.
39734         * sysdeps/i386/fpu/e_asinf.S: Likewise.
39735         * sysdeps/i386/fpu/e_atan2.S: Likewise.
39736         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
39737         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
39738         * sysdeps/i386/fpu/e_atanh.S: Likewise.
39739         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
39740         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
39741         * sysdeps/i386/fpu/e_exp10.S: Likewise.
39742         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
39743         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
39744         * sysdeps/i386/fpu/e_exp2.S: Likewise.
39745         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
39746         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
39747         * sysdeps/i386/fpu/e_fmod.S: Likewise.
39748         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
39749         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
39750         * sysdeps/i386/fpu/e_hypot.S: Likewise.
39751         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
39752         * sysdeps/i386/fpu/e_log.S: Likewise.
39753         * sysdeps/i386/fpu/e_log10.S: Likewise.
39754         * sysdeps/i386/fpu/e_log10f.S: Likewise.
39755         * sysdeps/i386/fpu/e_log10l.S: Likewise.
39756         * sysdeps/i386/fpu/e_log2.S: Likewise.
39757         * sysdeps/i386/fpu/e_log2f.S: Likewise.
39758         * sysdeps/i386/fpu/e_log2l.S: Likewise.
39759         * sysdeps/i386/fpu/e_logf.S: Likewise.
39760         * sysdeps/i386/fpu/e_logl.S: Likewise.
39761         * sysdeps/i386/fpu/e_pow.S: Likewise.
39762         * sysdeps/i386/fpu/e_powf.S: Likewise.
39763         * sysdeps/i386/fpu/e_powl.S: Likewise.
39764         * sysdeps/i386/fpu/e_remainder.S: Likewise.
39765         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
39766         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
39767         * sysdeps/i386/fpu/e_scalb.S: Likewise.
39768         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
39769         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
39770         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
39771         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
39772         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
39773         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
39774         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
39775         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
39776         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
39777         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
39778         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
39779         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
39780         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
39781         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
39782         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
39783         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
39784         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
39785         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
39786         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
39787         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
39788         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
39789         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
39790         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
39791         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
39792         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
39793         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
39794         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
39795         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
39796         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
39797         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
39798         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
39799         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
39800         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
39801         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
39802         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
39803         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
39804         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
39805         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
39806         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
39807         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
39808         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
39809         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
39810         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
39811         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
39812         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
39813         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
39814         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
39815         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
39816         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
39817         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
39818         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
39819         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
39820         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
39821         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
39822         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
39823         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
39824         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
39825         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
39826         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
39827         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
39828         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
39829         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
39830         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
39831         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
39832         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
39833         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
39834         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
39835         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
39836         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
39837         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
39838         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
39839         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
39840         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
39841         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
39842         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
39843         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
39844         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
39845         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
39846         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
39847         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
39848         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
39849         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
39850         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
39851         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
39852         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
39853         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
39854         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
39855         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
39856         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
39857         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
39858         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
39859         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
39860         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
39861         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
39862         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
39863         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
39864         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
39865         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
39866         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
39867         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
39868         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
39869         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
39870         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
39871         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
39872         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
39873         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
39874         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
39875         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
39876         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
39877         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
39878         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
39879         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
39880         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
39881         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
39882         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
39883         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
39884         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
39885         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
39886         (__isnanf): Likewise.
39887         (__isinf_ns): Likewise.
39888         (__isinf_nsf): Likewise.
39889         (__finite): Likewise.
39890         (__finitef): Likewise.
39891         (__ieee754_sqrt): Define as macro.
39892         (__ieee754_sqrtf): Define as macro.
39893         (__ieee754_sqrtl): Define as macro.
39894         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
39895         inlined copy.
39896         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
39897         __FINITE_MATH_ONLY__ consistent.
39898         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
39899
39900 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
39901
39902         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
39903         of rawmemchr.
39904
39905         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
39906
39907 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
39908
39909         * po/ja.po: Update from translation team.
39910
39911 2011-10-08  Roland McGrath  <roland@hack.frob.com>
39912
39913         * locale/programs/locarchive.c (prepare_address_space): New function.
39914         (create_archive, enlarge_archive, open_archive): Use it.
39915
39916         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
39917         inside [SHARED], where it is used.
39918
39919         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
39920
39921         * nss/getent.c (netgroup_keys): Remove unused variable.
39922         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
39923
39924 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
39925
39926         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
39927         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
39928         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
39929         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
39930         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
39931         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
39932         * math/Makefile (libm-calls): Add s_isinf_ns.
39933         * math/divtc3.c: Use __isinf_nsl instead of isinf.
39934         * math/multc3.c: Likewise.
39935         * math/s_casin.c: Likewise.
39936         * math/s_casinf.c: Likewise.
39937         * math/s_casinl.c: Likewise.
39938         * math/s_ccos.c: Likewise.
39939         * math/s_ccosf.c: Likewise.
39940         * math/s_ccosl.c: Likewise.
39941         * math/s_ctan.c: Likewise.
39942         * math/s_ctanf.c: Likewise.
39943         * math/s_ctanh.c: Likewise.
39944         * math/s_ctanhf.c: Likewise.
39945         * math/s_ctanhl.c: Likewise.
39946         * math/s_ctanl.c: Likewise.
39947         * math/w_fmod.c: Likewise.
39948         * math/w_fmodf.c: Likewise.
39949         * math/w_fmodl.c: Likewise.
39950         * math/w_remainder.c: Likewise.
39951         * math/w_remainderf.c: Likewise.
39952         * math/w_remainderl.c: Likewise.
39953         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
39954         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
39955         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
39956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
39957         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
39958         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
39959         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
39960         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
39961
39962         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
39963         of the number.
39964         * stdio-common/printf_fphex.c: Likewise.
39965         * stdio-common/printf_size.c: Likewise.
39966
39967         * math/e_exp10.c: Include math_private.h using <...> not "...".
39968         * math/e_exp10f.c: Likewise.
39969         * math/e_exp10l.c: Likewise.
39970         * math/e_exp2l.c: Likewise.
39971         * math/e_j0l.c: Likewise.
39972         * math/e_j1l.c: Likewise.
39973         * math/e_jnl.c: Likewise.
39974         * math/e_lgammal_r.c: Likewise.
39975         * math/e_rem_pio2l.c: Likewise.
39976         * math/e_scalb.c: Likewise.
39977         * math/e_scalbf.c: Likewise.
39978         * math/e_scalbl.c: Likewise.
39979         * math/k_cosl.c: Likewise.
39980         * math/k_sinl.c: Likewise.
39981         * math/k_tanl.c: Likewise.
39982         * math/s_cacoshf.c: Likewise.
39983         * math/s_catan.c: Likewise.
39984         * math/s_catanf.c: Likewise.
39985         * math/s_catanh.c: Likewise.
39986         * math/s_catanhf.c: Likewise.
39987         * math/s_catanhl.c: Likewise.
39988         * math/s_catanl.c: Likewise.
39989         * math/s_ccosh.c: Likewise.
39990         * math/s_ccoshf.c: Likewise.
39991         * math/s_ccoshl.c: Likewise.
39992         * math/s_cexp.c: Likewise.
39993         * math/s_cexpf.c: Likewise.
39994         * math/s_cexpl.c: Likewise.
39995         * math/s_clog.c: Likewise.
39996         * math/s_clog10.c: Likewise.
39997         * math/s_clog10f.c: Likewise.
39998         * math/s_clog10l.c: Likewise.
39999         * math/s_clogf.c: Likewise.
40000         * math/s_clogl.c: Likewise.
40001         * math/s_csin.c: Likewise.
40002         * math/s_csinf.c: Likewise.
40003         * math/s_csinh.c: Likewise.
40004         * math/s_csinhf.c: Likewise.
40005         * math/s_csinhl.c: Likewise.
40006         * math/s_csinl.c: Likewise.
40007         * math/s_csqrt.c: Likewise.
40008         * math/s_csqrtf.c: Likewise.
40009         * math/s_csqrtl.c: Likewise.
40010         * math/s_ctan.c: Likewise.
40011         * math/s_ctanf.c: Likewise.
40012         * math/s_ctanh.c: Likewise.
40013         * math/s_ctanhf.c: Likewise.
40014         * math/s_ctanhl.c: Likewise.
40015         * math/s_ctanl.c: Likewise.
40016         * math/s_ldexp.c: Likewise.
40017         * math/s_ldexpf.c: Likewise.
40018         * math/s_ldexpl.c: Likewise.
40019         * math/s_significand.c: Likewise.
40020         * math/s_significandf.c: Likewise.
40021         * math/s_significandl.c: Likewise.
40022         * math/w_acos.c: Likewise.
40023         * math/w_acosf.c: Likewise.
40024         * math/w_acosh.c: Likewise.
40025         * math/w_acoshf.c: Likewise.
40026         * math/w_acoshl.c: Likewise.
40027         * math/w_acosl.c: Likewise.
40028         * math/w_asin.c: Likewise.
40029         * math/w_asinf.c: Likewise.
40030         * math/w_asinl.c: Likewise.
40031         * math/w_atan2.c: Likewise.
40032         * math/w_atan2f.c: Likewise.
40033         * math/w_atan2l.c: Likewise.
40034         * math/w_atanh.c: Likewise.
40035         * math/w_atanhf.c: Likewise.
40036         * math/w_atanhl.c: Likewise.
40037         * math/w_cosh.c: Likewise.
40038         * math/w_coshf.c: Likewise.
40039         * math/w_coshl.c: Likewise.
40040         * math/w_dremf.c: Likewise.
40041         * math/w_exp10.c: Likewise.
40042         * math/w_exp10f.c: Likewise.
40043         * math/w_exp10l.c: Likewise.
40044         * math/w_exp2.c: Likewise.
40045         * math/w_exp2f.c: Likewise.
40046         * math/w_fmod.c: Likewise.
40047         * math/w_fmodf.c: Likewise.
40048         * math/w_fmodl.c: Likewise.
40049         * math/w_hypot.c: Likewise.
40050         * math/w_hypotf.c: Likewise.
40051         * math/w_hypotl.c: Likewise.
40052         * math/w_j0.c: Likewise.
40053         * math/w_j0f.c: Likewise.
40054         * math/w_j0l.c: Likewise.
40055         * math/w_j1.c: Likewise.
40056         * math/w_j1f.c: Likewise.
40057         * math/w_j1l.c: Likewise.
40058         * math/w_jn.c: Likewise.
40059         * math/w_jnf.c: Likewise.
40060         * math/w_jnl.c: Likewise.
40061         * math/w_lgamma.c: Likewise.
40062         * math/w_lgamma_r.c: Likewise.
40063         * math/w_lgammaf.c: Likewise.
40064         * math/w_lgammaf_r.c: Likewise.
40065         * math/w_lgammal.c: Likewise.
40066         * math/w_lgammal_r.c: Likewise.
40067         * math/w_log.c: Likewise.
40068         * math/w_log10.c: Likewise.
40069         * math/w_log10f.c: Likewise.
40070         * math/w_log10l.c: Likewise.
40071         * math/w_log2.c: Likewise.
40072         * math/w_log2f.c: Likewise.
40073         * math/w_log2l.c: Likewise.
40074         * math/w_logf.c: Likewise.
40075         * math/w_logl.c: Likewise.
40076         * math/w_pow.c: Likewise.
40077         * math/w_powf.c: Likewise.
40078         * math/w_powl.c: Likewise.
40079         * math/w_remainder.c: Likewise.
40080         * math/w_remainderf.c: Likewise.
40081         * math/w_remainderl.c: Likewise.
40082         * math/w_scalb.c: Likewise.
40083         * math/w_scalbf.c: Likewise.
40084         * math/w_scalbl.c: Likewise.
40085         * math/w_sinh.c: Likewise.
40086         * math/w_sinhf.c: Likewise.
40087         * math/w_sinhl.c: Likewise.
40088         * math/w_sqrt.c: Likewise.
40089         * math/w_sqrtf.c: Likewise.
40090         * math/w_sqrtl.c: Likewise.
40091         * math/w_tgamma.c: Likewise.
40092         * math/w_tgammaf.c: Likewise.
40093         * math/w_tgammal.c: Likewise.
40094
40095         * po/ja.po: Update from translation team.
40096
40097 2011-09-29  Andreas Jaeger  <aj@suse.de>
40098
40099         [BZ #13179]
40100         * sunrpc/netname.c (netname2host): Fix logic.
40101
40102         [BZ #6779]
40103         [BZ #6783]
40104         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
40105         correctly.
40106         * math/w_remainder.c (__remainder): Likewise.
40107         * math/w_remainderf.c (__remainderf): Likewise.
40108         * math/libm-test.inc (remainder_test): Add test cases.
40109
40110 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
40111
40112         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
40113         sdiv_qrnnd.
40114
40115 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40116
40117         * string/test-memcmp.c: Avoid unncessary #defines.
40118         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
40119
40120 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40121
40122         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
40123         Use new sse2 version for core i3 - i7 as it's faster
40124         than sse42 version.
40125         (bit_Prefer_PMINUB_for_stringop): New.
40126         * sysdeps/x86_64/rawmemchr.S: Update.
40127         Replace with faster SSE2 version.
40128         * sysdeps/x86_64/memrchr.S: New file.
40129         * sysdeps/x86_64/memchr.S: Update.
40130         Replace with faster SSE2 version.
40131
40132 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
40133
40134         * elf/dl-load.c (lose): Add cast to avoid warning.
40135
40136 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
40137
40138         * po/ca.po: Update from translation team.
40139
40140         * inet/getnetgrent_r.c: Hook up nscd.
40141         * nscd/Makefile (routines): Add nscd_netgroup.
40142         (nscd-modules): Add netgroupcache.
40143         (CFLAGS-netgroupcache.c): Define.
40144         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
40145         (cache_search): Add const to second parameter.
40146         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
40147         INNETGR.
40148         (dbs): Add netgrdb entry.
40149         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
40150         (verify_persistent_db): Handle netgrdb.
40151         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
40152         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
40153         GETFDNETGR.
40154         (netgroup_response_header): Define.
40155         (innetgroup_response_header): Define.
40156         (datahead): Add netgroup_response_header and innetgroup_response_header
40157         elements.
40158         * nscd/nscd.conf: Add entries for netgroup cache.
40159         * nscd/nscd.h (dbtype): Add netgrdb.
40160         (_PATH_NSCD_NETGROUP_DB): Define.
40161         (netgroup_iov_disabled): Declare.
40162         (xmalloc, xcalloc, xrealloc): Move declarations here.
40163         (cache_search): Adjust prototype.
40164         Add netgroup-related prototypes.
40165         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
40166         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
40167         (__nscd_innetgr): Declare.
40168         * nscd/selinux.c (perms): Use access_vector_t as element type and
40169         add netgroup-related initializers.
40170         * nscd/netgroupcache.c: New file.
40171         * nscd/nscd_netgroup.c: New file.
40172         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
40173         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
40174         For four parameters use innetgr.
40175         * nss/nss_files/files-init.c: Add definition and callback for netgr.
40176         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
40177         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
40178         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
40179
40180         * nscd/connections.c (register_traced_file): Don't register file
40181         for disabled databases.
40182
40183 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
40184
40185         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
40186
40187         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
40188         from tree and freeing node.
40189
40190 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
40191
40192         * nss/nsswitch.c (__nss_database_lookup): Handle
40193         nss_parse_service_list out of memory case.
40194
40195 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
40196
40197         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
40198         out of memory case.
40199
40200 2011-10-04  Andreas Schwab  <schwab@redhat.com>
40201
40202         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
40203         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
40204         pass it down.
40205         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
40206         elf_machine_rela, elf_machine_lazy_rel.
40207         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
40208         (ELF_DYNAMIC_DO_REL): Likewise.
40209         (ELF_DYNAMIC_DO_RELA): Likewise.
40210         (ELF_DYNAMIC_RELOCATE): Likewise.
40211         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
40212         to ELF_DYNAMIC_DO_REL.
40213         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
40214         (dl_main): In trace mode always set __RTLD_NOIFUNC.
40215         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
40216         elf_machine_rela.
40217         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
40218         skip_ifunc, don't call ifunc function if non-zero.
40219         (elf_machine_rela): Likewise.
40220         (elf_machine_lazy_rel): Likewise.
40221         (elf_machine_lazy_rela): Likewise.
40222         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
40223         (elf_machine_lazy_rel): Likewise.
40224         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
40225         Likewise.
40226         (elf_machine_lazy_rel): Likewise.
40227         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40228         Likewise.
40229         (elf_machine_lazy_rel): Likewise.
40230         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
40231         (elf_machine_lazy_rel): Likewise.
40232         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
40233         (elf_machine_lazy_rel): Likewise.
40234         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
40235         (elf_machine_lazy_rel): Likewise.
40236         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
40237         (elf_machine_lazy_rel): Likewise.
40238         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
40239         (elf_machine_lazy_rel): Likewise.
40240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
40241         (elf_machine_lazy_rel): Likewise.
40242
40243 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
40244
40245         * nss/nss_files/files-init.c (_nss_files_init): Use static
40246         initialization for all the *_traced_file variables.
40247
40248 2011-09-28  Andreas Schwab  <schwab@redhat.com>
40249
40250         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40251
40252 2011-09-27  Roland McGrath  <roland@hack.frob.com>
40253
40254         [BZ #13226]
40255         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
40256
40257 2011-09-27  Andreas Schwab  <schwab@redhat.com>
40258
40259         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
40260         Reread the line before reparsing it.
40261
40262 2011-09-26  Andreas Schwab  <schwab@redhat.com>
40263
40264         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
40265
40266 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
40267             Maxim Kuvyrkov  <maxim@codesourcery.com>
40268             Joseph Myers  <joseph@codesourcery.com>
40269
40270         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
40271         if needed for __stack_chk_guard.
40272
40273 2011-09-19  Roland McGrath  <roland@hack.frob.com>
40274
40275         * sysdeps/posix/spawni.c (script_execute): Always define it.
40276         It will be optimized away if unused.
40277         (maybe_script_execute): New function.
40278         (__spawni): Call it.
40279
40280         * Makerules: Don't include tls.make.
40281         (config-tls): Always set to thread.
40282         * tls.make.c: File removed.
40283
40284 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
40285
40286         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
40287         * config.make.in (CPPFLAGS-config): New substituted variable.
40288
40289 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40290
40291         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
40292
40293         [BZ #13192]
40294         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
40295         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
40296
40297 2011-09-15  Roland McGrath  <roland@hack.frob.com>
40298
40299         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
40300         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
40301         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
40302         (CALL_FAIL): Likewise.
40303         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
40304         (CALL_FAIL): Macro removed.
40305         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
40306
40307 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
40308
40309         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
40310         for __FINITE_MATH_ONLY__ == 1.
40311
40312 2011-09-15  Andreas Schwab  <schwab@redhat.com>
40313
40314         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
40315         __ieee754_sqrt instead of sqrt.
40316         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
40317         __ieee754_sqrtf instead of sqrtf.
40318         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
40319         __floorf instead of floorf.
40320         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
40321         __floorf, __truncf instead of floorf, truncf.
40322
40323 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
40324
40325         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
40326
40327         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
40328         __extern_always_inline.
40329         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
40330         32-bit.
40331
40332 2011-09-14  Andreas Schwab  <schwab@redhat.com>
40333
40334         * elf/rtld.c (dl_main): Also relocate in dependency order when
40335         doing symbol dependency testing.
40336
40337 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
40338
40339         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
40340         Always define `refsym'.
40341
40342 2011-09-13  Andreas Schwab  <schwab@redhat.com>
40343
40344         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
40345         (__FD_ELT): Renamed from __FDELT.
40346         * misc/bits/select2.h (__FD_ELT): Likewise.
40347         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
40348         __FD_MASK instead of __FDELT, __FDMASK.
40349         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40350         Likewise.
40351         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
40352         Likewise.
40353
40354         * elf/Makefile (gen-ldd): Fix pattern.
40355
40356         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
40357         (init_tls): Likewise.
40358
40359 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
40360
40361         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
40362
40363 2011-09-12  Andreas Schwab  <schwab@redhat.com>
40364
40365         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
40366         `struct cmsghdr *' instead of `void *'.
40367         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
40368         Likewise.
40369
40370 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
40371
40372         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
40373         if non-absolute.
40374         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
40375         ldd_rewrite_script.
40376
40377 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
40378
40379         * configure.in: Remove --with-tls option.
40380         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
40381         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
40382         out in case it is missing.
40383         * sysdeps/ia64/elf/configure.in: Likewise.
40384         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
40385         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
40386         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
40387         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
40388         * sysdeps/sh/elf/configure.in: Likewise.
40389         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
40390         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
40391         * sysdeps/x86_64/elf/configure.in: Likewise.
40392         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
40393         * sysdeps/mach/hurd/tls.h: Likewise.
40394
40395         [BZ #13067]
40396         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
40397
40398         [BZ #13090]
40399         * configure.in: Fix use of AC_INIT.
40400
40401         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
40402
40403 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
40404
40405         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
40406         __set_errno.
40407         * malloc/hooks.c: Likewise.
40408
40409         [BZ #11929]
40410         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
40411         variables statically.
40412         (narenas): Initialize.
40413         (list_lock): Initialize.
40414         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
40415         initializtion of main_arena and list_lock.  Small cleanups.
40416         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
40417         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
40418         Add initializers to main_arena and mp_.
40419         (malloc_state): Remove pagesize member.  Change all users to use
40420         GLRO(dl_pagesize).
40421
40422         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
40423         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
40424         is always initialized.
40425
40426         * malloc/malloc.c: Removed unused configurations and dead code.
40427         * malloc/arena.c: Likewise.
40428         * malloc/hooks.c: Likewise.
40429         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
40430
40431         * include/tls.h: Removed.  USE___THREAD must always be defined.
40432         * bits/libc-tsd.h: Don't handle !USE___THREAD.
40433         * elf/dl-libc.c: Likewise.
40434         * elf/dl-tsd.c: Likewise.
40435         * include/errno.h: Likewise.
40436         * include/netdb.h: Likewise.
40437         * include/resolv.h: Likewise.
40438         * inet/herrno-loc.c: Likewise.
40439         * inet/herrno.c: Likewise.
40440         * malloc/arena.c: Likewise.
40441         * malloc/hooks.c: Likewise.
40442         * malloc/malloc.c: Likewise.
40443         * resolv/res-state.c: Likewise.
40444         * resolv/res_libc.c: Likewise.
40445         * sysdeps/i386/dl-machine.h: Likewise.
40446         * sysdeps/ia64/dl-machine.h: Likewise.
40447         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
40448         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
40449         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
40450         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
40451         * sysdeps/sh/dl-machine.h: Likewise.
40452         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
40453         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
40454         * sysdeps/unix/i386/sysdep.S: Likewise.
40455         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40456         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40457         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40458         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40459         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40460         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40461         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40462         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40463         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40464         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40465         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40466         * sysdeps/x86_64/dl-machine.h: Likewise.
40467         * tls.make.c: Likewise.
40468
40469         * configure.in: Remove --with-__thread option.  Make tests for
40470         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
40471         tls_model attribute fail if no support is available.  Remove
40472         USE_IN_LIBIO.
40473         * Makeconfig: Adjust for dropped configure option.  All features are
40474         now mandatory.
40475         * Makerules: Likewise.
40476         * Versions.def: Likewise.
40477         * argp/argp-fmtstream.c: Likewise.
40478         * argp/argp-fmtstream.h: Likewise.
40479         * argp/argp-help.c: Likewise.
40480         * assert/assert.c: Likewise.
40481         * config.h.in: Likewise.
40482         * config.make.in: Likewise.
40483         * configure: Likewise.
40484         * configure.in: Likewise.
40485         * csu/Versions: Likewise.
40486         * csu/init.c: Likewise.
40487         * elf/tst-audit2.c: Likewise.
40488         * elf/tst-tls10.c: Likewise.
40489         * elf/tst-tls10.h: Likewise.
40490         * elf/tst-tls11.c: Likewise.
40491         * elf/tst-tls12.c: Likewise.
40492         * elf/tst-tls14.c: Likewise.
40493         * elf/tst-tlsmod11.c: Likewise.
40494         * elf/tst-tlsmod12.c: Likewise.
40495         * elf/tst-tlsmod13.c: Likewise.
40496         * elf/tst-tlsmod13a.c: Likewise.
40497         * elf/tst-tlsmod14a.c: Likewise.
40498         * elf/tst-tlsmod15b.c: Likewise.
40499         * elf/tst-tlsmod16a.c: Likewise.
40500         * elf/tst-tlsmod16b.c: Likewise.
40501         * elf/tst-tlsmod7.c: Likewise.
40502         * elf/tst-tlsmod8.c: Likewise.
40503         * elf/tst-tlsmod9.c: Likewise.
40504         * gmon/gmon.c: Likewise.
40505         * grp/fgetgrent_r.c: Likewise.
40506         * grp/putgrent.c: Likewise.
40507         * hurd/fopenport.c: Likewise.
40508         * include/libc-symbols.h: Likewise.
40509         * include/tls.h: Likewise.
40510         * intl/gettextP.h: Likewise.
40511         * intl/loadinfo.h: Likewise.
40512         * locale/global-locale.c: Likewise.
40513         * locale/localeinfo.h: Likewise.
40514         * mach/devstream.c: Likewise.
40515         * malloc/arena.c: Likewise.
40516         * malloc/set-freeres.c: Likewise.
40517         * misc/err.c: Likewise.
40518         * misc/getttyent.c: Likewise.
40519         * misc/mntent_r.c: Likewise.
40520         * posix/getopt.c: Likewise.
40521         * posix/wordexp.c: Likewise.
40522         * pwd/fgetpwent_r.c: Likewise.
40523         * resolv/Versions: Likewise.
40524         * resolv/res_hconf.c: Likewise.
40525         * shadow/fgetspent_r.c: Likewise.
40526         * shadow/putspent.c: Likewise.
40527         * stdio-common/printf_fphex.c: Likewise.
40528         * stdio-common/tmpfile.c: Likewise.
40529         * stdlib/abort.c: Likewise.
40530         * stdlib/fmtmsg.c: Likewise.
40531         * sunrpc/auth_unix.c: Likewise.
40532         * sunrpc/clnt_perr.c: Likewise.
40533         * sunrpc/clnt_tcp.c: Likewise.
40534         * sunrpc/clnt_udp.c: Likewise.
40535         * sunrpc/clnt_unix.c: Likewise.
40536         * sunrpc/openchild.c: Likewise.
40537         * sunrpc/svc_simple.c: Likewise.
40538         * sunrpc/svc_tcp.c: Likewise.
40539         * sunrpc/svc_udp.c: Likewise.
40540         * sunrpc/svc_unix.c: Likewise.
40541         * sunrpc/xdr.c: Likewise.
40542         * sunrpc/xdr_array.c: Likewise.
40543         * sunrpc/xdr_rec.c: Likewise.
40544         * sunrpc/xdr_ref.c: Likewise.
40545         * sunrpc/xdr_stdio.c: Likewise.
40546
40547 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40548
40549         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
40550
40551 2011-07-03  Andreas Jaeger  <aj@suse.de>
40552
40553         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
40554         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
40555         regenerate with gen-libm-tests.pl.
40556
40557 2010-05-12  Petr Baudis  <pasky@suse.cz>
40558
40559         [BZ #11589]
40560         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
40561         around j0() zero points by switching to j1().
40562         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
40563         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
40564         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
40565         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
40566
40567 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40568
40569         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
40570         instead of 0.
40571         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
40572         instead of 0.
40573         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
40574         Patch in part by Pavel Roskin <proski@gnu.org>.
40575
40576         [BZ #13138]
40577         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
40578         realloc.
40579         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
40580         Free memory block if necessary.
40581
40582         [BZ #12847]
40583         * libio/genops.c (INTDEF): For string streams the _lock pointer can
40584         be NULL.  Don't lock in this case.
40585
40586 2011-09-09  Roland McGrath  <roland@hack.frob.com>
40587
40588         * elf/elf.h (ELFOSABI_GNU): New macro.
40589         (ELFOSABI_LINUX): Define to that.
40590
40591 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
40592
40593         * string/strncat.c (strncat): Undef the symbol in case it has been
40594         defined in bits/string.h.
40595
40596 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
40597
40598         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
40599
40600         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
40601         link map.
40602
40603 2011-08-17  Andreas Jaeger  <aj@suse.de>
40604
40605         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
40606
40607 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
40608             Ian Lance Taylor  <iant@google.com>
40609
40610         * math/libm-test.inc (lround_test): New testcase.
40611         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
40612
40613 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
40614
40615         * Makefile: Remove support for automatic cvs check-ins.
40616         * Makerules: Likewise.
40617         * config.make.in: Likewise.
40618         * configure.in: Likewise.
40619         * intl/Makefile: Likewise.
40620         * locale/Makefile: Likewise.
40621         * po/Makefile: Likewise.
40622         * posix/Makefile: Likewise.
40623         * sysdeps/gnu/Makefile: Likewise.
40624         * sysdeps/mach/hurd/Makefile: Likewise.
40625         * sysdeps/sparc/sparc32/Makefile: Likewise.
40626
40627         [BZ #13118]
40628         * posix/Makefile (bug-regex32-ENV): Define.
40629         Patch by John Stanley <jpsinthemix@verizon.net>.
40630
40631         * misc/Makefile (headers): Add bits/select2.h.
40632         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
40633         * misc/bits/select2.h: New file.
40634         * include/bits/select2.h: New file.
40635         * debug/Makefile (routines): Add fdelt_chk.
40636         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
40637         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
40638         FD_ISSET.
40639         * debug/fdelt_chk.c: New file.
40640
40641         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
40642         * wcsmbs/test-wmemcmp.c: Likewise.
40643         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
40644         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
40645
40646 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40647
40648         * string/Makefile (strop-tests): Add memcmp.
40649         * string/test-wmemcmp.c: New file.
40650         * string/test-memcmp.c: Add wmemcmp support.
40651
40652 2011-09-08  Roland McGrath  <roland@hack.frob.com>
40653
40654         [BZ #13153]
40655         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
40656         2011-07-19 change.
40657
40658         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
40659         garbage value in a __mach_port_mod_refs call in the cases of the
40660         task-self and thread-self ports.
40661
40662 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40663
40664         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
40665
40666 2011-09-08  Andreas Schwab  <schwab@redhat.com>
40667
40668         * elf/dl-load.c (lose): Check for non-null L.
40669
40670 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40671
40672         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
40673
40674         * elf/dl-libc.c (dlerror_run): Pass back error code from
40675         dl_catch_error.
40676
40677         [BZ #13123]
40678         * elf/dl-load.c (lose): Free l_origin if it is valid.
40679
40680         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
40681         names.
40682         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40683         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40684         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40685         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40686         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40687         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
40688
40689 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40690
40691         * sysdeps/powerpc/fpu/e_hypot.c: New file.
40692         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
40693         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
40694         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
40695         * sysdeps/powerpc/fpu/k_cosf.c: New file.
40696         * sysdeps/powerpc/fpu/k_sinf.c: New file.
40697         * sysdeps/powerpc/fpu/s_cosf.c: New file.
40698         * sysdeps/powerpc/fpu/s_sinf.c: New file.
40699         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
40700         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
40701
40702 2011-08-15  Alan Modra  <amodra@gmail.com>
40703
40704         [BZ #13092]
40705         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
40706         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
40707         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
40708         ppc_mcount to static-only-routines.
40709         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
40710         __mcount_internal.
40711         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
40712         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
40713
40714 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
40715
40716         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
40717         for finite and infinity parameters.
40718
40719 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
40720
40721         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
40722         and add nop instructions for throughput optimization.
40723         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
40724
40725 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
40726
40727         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
40728         aligned copy for power7 with vector-scalar instructions.
40729         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
40730
40731 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
40732
40733         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
40734         AVX check.
40735
40736 2011-09-07  Andreas Schwab  <schwab@redhat.com>
40737
40738         [BZ #13144]
40739         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
40740         last change.
40741
40742 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
40743
40744         * sysdeps/unix/sysv/linux/x86_64/init-first.c
40745         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
40746         syscall wrapper around clock_gettime in __vdso_clock_gettime.
40747         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
40748         clock_gettime.
40749
40750 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40751
40752         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
40753         Forgot to demangle the pointer.
40754
40755         * sysdeps/i386/sysdep.h: Define atom_text_section.
40756         * sysdeps/x86_64/sysdep.h: Likewise.
40757         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
40758         section with atom_text_section.
40759         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40760         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40761         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40762         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
40763         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
40764
40765         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
40766         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
40767         already be defined.  Change to take two parameters and don't assign
40768         result to variable.  Adjust all users.
40769         Define INTERNAL_GETTIME if not already defined.
40770         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
40771         call.
40772         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
40773         HAVE_CLOCK_GETTIME_VSYSCALL.
40774         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
40775
40776         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
40777         gettimeofday vsyscall, just use time.
40778
40779 2011-09-06  Andreas Schwab  <schwab@redhat.com>
40780
40781         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
40782         <errno.h>.
40783
40784 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
40785
40786         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
40787         syscall on x86-64.
40788         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
40789         syscall.
40790         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
40791         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
40792         syscall if possible.
40793
40794 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40795
40796         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
40797         e_ident.  Don't pass to find_mapsXX.
40798         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
40799
40800 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40801
40802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
40803         strchr-sse2-no-bsf strrchr-sse2-no-bsf
40804         * sysdeps/x86_64/multiarch/strchr.S: Update.
40805         Check bit_slow_BSF bit.
40806         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
40807         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
40808         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
40809
40810 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40811
40812         [BZ #13134]
40813         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
40814         before glibc 2.15.
40815         (tryshell): Define.
40816         (__spawni): Change last parameter to be flag.  Test
40817         SPAWN_XFLAGS_USE_PATH flag to use path or not.
40818         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
40819         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
40820         * posix/spawni.c: Likewise.
40821         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
40822         * posix/spawnp.c: Likewise.  Change normal version to use
40823         SPAWN_XFLAGS_USE_PATH.
40824         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
40825         SPAWN_XFLAGS_TRY_SHELL.
40826
40827         [BZ #13150]
40828         * posix/glob.h: Remove gcc 1.x support.
40829
40830         [BZ #13068]
40831         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
40832
40833 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
40834
40835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
40836         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
40837         strrchr-sse2-bsf
40838         * sysdeps/i386/i686/multiarch/strchr.S: New file.
40839         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
40840         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
40841         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
40842         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
40843         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
40844
40845 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40846
40847         * sysdeps/x86_64/wcscmp.S: New file.
40848
40849         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
40850         wcscmp-c wcscmp-sse2
40851         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
40852         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
40853         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
40854         * wcsmbs/wcscmp.c: Allow renaming.
40855
40856 2011-09-05  David S. Miller  <davem@davemloft.net>
40857
40858         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
40859         stack slot, rather than the struct return pointer slot.
40860         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
40861         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
40862         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
40863         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
40864
40865 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
40866
40867         * po/ja.po: Update from translation team.
40868
40869         [BZ #13144]
40870         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
40871         kernel in 64-bit binaries.
40872
40873 2011-09-01  David S. Miller  <davem@davemloft.net>
40874
40875         * elf/elf.h (HWCAP_SPARC_*): Move to..
40876         * sysdeps/sparc/sysdep.h: this new file and add new values.
40877         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
40878         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
40879         _DL_HWCAP_COUNT to 24.
40880         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
40881         entries.
40882         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
40883         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
40884         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
40885         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
40886         instead of magic constants.
40887         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40888
40889 2011-08-31  David S. Miller  <davem@davemloft.net>
40890
40891         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
40892         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
40893         Reimplement to do errno handling inline.
40894         (SYSCALL_ERROR_HANDLER): New macro.
40895         (__SYSCALL_STRING): Do not do errno handling in asm.
40896         (__CLONE_SYSCALL_STRING): Delete.
40897         (__INTERNAL_SYSCALL_STRING): Delete.
40898         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
40899         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
40900         (PSEUDO): Reimplement to do errno handling inline.
40901         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
40902         (SYSCALL_ERROR_HANDLER): New macro.
40903         (__SYSCALL_STRING): Do not do errno handling in asm.
40904         (__CLONE_SYSCALL_STRING): Delete.
40905         (__INTERNAL_SYSCALL_STRING): Delete.
40906         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
40907         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
40908         i386.
40909         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
40910         (inline_syscall*): Add 'err' argument.
40911         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
40912         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
40913         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
40914         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
40915
40916         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
40917         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
40918
40919 2011-08-30  Andreas Schwab  <schwab@redhat.com>
40920
40921         * elf/rtld.c (dl_main): Relocate objects in dependency order.
40922
40923 2011-08-29  Jiri Olsa <jolsa@redhat.com>
40924
40925         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
40926         directive.
40927
40928 2011-08-24  David S. Miller  <davem@davemloft.net>
40929
40930         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
40931
40932 2011-08-24  Andreas Schwab  <schwab@redhat.com>
40933
40934         * elf/Makefile: Add rules to build and run unload8 test.
40935         * elf/unload8.c: New file.
40936         * elf/unload8mod1.c: New file.
40937         * elf/unload8mod1x.c: New file.
40938         * elf/unload8mod2.c: New file.
40939         * elf/unload8mod3.c: New file.
40940
40941         * elf/dl-close.c (_dl_close_worker): Reset private search list if
40942         it wasn't used.
40943
40944 2011-08-23  David S. Miller  <davem@davemloft.net>
40945
40946         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
40947         subtract stack bias.
40948         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
40949         %sp not %fp in calculations.
40950         (_JMPBUF_UNWINDS_ADJ): Likewise.
40951
40952         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
40953         (aio_suspend): Call it to force an exception region around the
40954         AIO_MISC_WAIT() invocation.
40955
40956 2011-08-23  Andreas Schwab  <schwab@redhat.com>
40957
40958         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
40959         backslash.
40960
40961 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
40962
40963         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
40964         protection macro.
40965         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
40966         and <dl-machine.h>.
40967         (Elf64_FuncDesc): Remove.
40968
40969 2011-08-22  David S. Miller  <davem@davemloft.net>
40970
40971         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
40972         sigaltstack check, add missing cfi directives.
40973         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
40974         missing cfi directives, and sigaltstack handling.
40975
40976 2011-08-16  Andreas Schwab  <schwab@redhat.com>
40977
40978         [BZ #11724]
40979         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
40980         object is seen twice.
40981         * elf/dl-fini.c (_dl_sort_fini): Likewise.
40982
40983         * elf/Makefile (distribute): Add tst-initorder2.c.
40984         (tests): Add tst-initorder2.
40985         (modules-names): Add tst-initorder2a tst-initorder2b
40986         tst-initorder2c tst-initorder2d.  Add rules to build them.
40987         ($(objpfx)tst-initorder2.out): New rule.
40988         * elf/tst-initorder2.c: New file.
40989         * elf/tst-initorder2.exp: New file.
40990
40991 2011-08-22  Andreas Schwab  <schwab@redhat.com>
40992
40993         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
40994
40995         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
40996         dependencies back to end of function.
40997
40998         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
40999         $(elfobjdir)/ld.so.
41000
41001 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
41002
41003         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
41004         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
41005         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
41006         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
41007         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
41008         of __vdso_gettimeofday.
41009         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
41010         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
41011         attribute_hidden.
41012         (_libc_vdso_platform_setup): Remove initialization of
41013         __vdso_gettimeofday and __vdso_time.
41014
41015 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41016
41017         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
41018         and fgetc_unlocked.
41019         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
41020         getc_unlocked.
41021
41022         * elf/dl-open.c (add_to_global): Report additions to the global scope
41023         for LD_DEBUG=scopes.
41024         (dl_open_worker): Also print scope of newly loaded dependencies.
41025         (_dl_show_scope): Indicate if there is no scope.
41026
41027         [BZ #13114]
41028         * stdio-common/Makefile (tests): Add bug24.
41029         * stdio-common/bug24.c: New file.
41030
41031 2011-08-19  Andreas Jaeger  <aj@suse.de>
41032
41033         [BZ #13114]
41034         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
41035         non-existant file when using close-on-exec mode.
41036
41037 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
41038
41039         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
41040         the very first instruction.
41041
41042         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
41043         the CFI state in the end.
41044         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
41045         inclusion of dl-trampoline.h.
41046         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
41047
41048 2011-08-19  Andreas Schwab  <schwab@redhat.com>
41049
41050         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
41051         expectations for long double.
41052
41053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
41054         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
41055
41056 2011-08-14  David S. Miller  <davem@davemloft.net>
41057
41058         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
41059         artificual limit depends upon the system page size.
41060
41061 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41062
41063         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
41064         * resolv/Makefile: Define CFLAGS-libresolv.
41065
41066 2011-08-17  Andreas Schwab  <schwab@redhat.com>
41067
41068         * nss/makedb.c (compute_tables): Make variables used in nested
41069         function static.
41070
41071 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
41072
41073         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
41074         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
41075         if buffer was too small.
41076
41077         * elf/pldd.c (main): Attach to all threads in the process.
41078         Rewrite /proc handling to use *at functions.
41079
41080 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
41081
41082         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
41083         specifies first scope to show.
41084         (dl_open_worker): Update callers.  Move printing scope of new
41085         object to before the relocation.
41086         * elf/rtld.c (dl_main): Update _dl_show_scope call.
41087         * sysdeps/generic/ldsodefs.h: Update declaration.
41088
41089         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
41090         string for the scope number.
41091
41092 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
41093
41094         * nscd/servicescache.c (cache_addserv): Make sure written is always
41095         initialized.
41096
41097 2011-08-14  Roland McGrath  <roland@hack.frob.com>
41098
41099         * sysdeps/i386/i486/bits/atomic.h
41100         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
41101         statement expression, so as to suppress "set but not used" warning.
41102         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
41103
41104         * string/strncat.c (STRNCAT): Use prototype definition.
41105
41106         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
41107         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
41108         -Iprograms here.
41109         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
41110         (localedef-modules): Add localedef.
41111         (locale-modules): Add locale.
41112
41113         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
41114         * elf/rtld.c (dl_main): Invert order of assignment in last change,
41115         to avoid a warning.
41116
41117 2011-08-14  David S. Miller  <davem@davemloft.net>
41118
41119         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
41120         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
41121
41122 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
41123
41124         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
41125         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
41126         * elf/rtld.c (dl_main): Set l_name of vDSO.
41127         Call _dl_show_scope when DL_DEBUG_SCOPES.
41128         (process_dl_debug): Recognize scopes flag and also set it for all.
41129         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
41130         Declare _dl_show_scope.
41131
41132         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
41133         (do_dlopen): Pass caller_dlopen to dl_open.
41134         (__libc_dlopen_mode): Initialize caller_dlopen.
41135
41136         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
41137         of libc.  Make tolower call locale-independent.  Optimize a bit by
41138         using isdigit instead of isalnum.
41139         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
41140
41141 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
41142
41143         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
41144         was a dependency or dynamically loaded.
41145
41146 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
41147
41148         * intl/l10nflist.c: Allow architecture-specific pop function.
41149         * sysdeps/x86_64/l10nflist.c: New file.
41150
41151         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
41152         classification.
41153
41154 2011-08-10  Andreas Schwab  <schwab@redhat.com>
41155
41156         * include/dirent.h: Add libc_hidden_proto for scandirat and
41157         scandirat64.  Don't declare __scandirat64.
41158         * dirent/scandirat.c: Add libc_hidden_def.
41159         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
41160         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
41161
41162 2011-08-10  David S. Miller  <davem@davemloft.net>
41163
41164         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
41165         enum.
41166         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41167         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41168         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41169
41170 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
41171
41172         * Versions.def [libc]: Add GLIBC_2.15.
41173         * dirent/Makefile (routines): Add scandirat and scandirat64.
41174         * dirent/Versions [libc]: Export scandirat and scandirat64 for
41175         GLIBC_2.15.
41176         * dirent/dirent.h: Declare scandirat and scandirat64.
41177         * dirent/scandirat.c: New file.
41178         * dirent/scandirat64.c: New file.
41179         * sysdeps/wordsize-64/scandirat.c: New file.
41180         * sysdeps/wordsize-64/scandirat64.c: New file.
41181         * dirent/opendir.c: Define opendirat.
41182         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
41183         using scandirat.
41184         * dirent/scandir64.c: Adjust for scandir.c change.
41185         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
41186         __scandirat64, and __scandir_cancel_handler.
41187         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
41188         additional parameter and use openat instead of open (outside of ld.so).
41189         Add new __opendir as wrapper around __opendirat.
41190         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
41191         here without requiring old scandirat implementation.
41192
41193 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
41194
41195         * dirent/scandir.c (cancel_handler): Renamed to
41196         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
41197         defined.  Adjust users.
41198         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
41199         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
41200
41201 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
41202
41203         * string/test-string.h (IMPL): Use __STRING to expand name and then
41204         stringify it.
41205
41206         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
41207         of cleanups.
41208
41209 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41210
41211         * string/Makefile: Update.
41212         (strop-tests): Append strncat.
41213         * string/test-wcscmp.c: New file.
41214         New comprehensive test for wcscmp.
41215         * string/test-strcmp.c: Update.
41216         (WIDE): New define.
41217
41218 2011-07-22  Andreas Schwab  <schwab@redhat.com>
41219
41220         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
41221         line.
41222
41223 2011-07-26  Andreas Schwab  <schwab@redhat.com>
41224
41225         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
41226         encoding to ACE if AI_IDN.
41227
41228 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
41229
41230         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
41231         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
41232
41233 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41234
41235         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
41236         Fix overflow bug in strncat.
41237         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
41238
41239         * string/test-strncat.c: Update.
41240         Add new tests for checking overflow bugs.
41241
41242 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41243
41244         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41245         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
41246         * sysdeps/i386/i686/multiarch/strcat.S: New file.
41247         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
41248         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
41249         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
41250         * sysdeps/i386/i686/multiarch/strncat.S: New file.
41251         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
41252         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
41253
41254         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
41255         (USE_AS_STRCAT): Define.
41256         Add strcat and strncat support.
41257         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
41258
41259 2011-07-25  Andreas Schwab  <schwab@redhat.com>
41260
41261         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
41262         __n bigger than INT_MAX+1.
41263         (__strncmp_g): Likewise.
41264
41265 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
41266
41267         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
41268         * libio/stido.h: Likewise.
41269
41270         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
41271         (AF_NFC): Define.
41272         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
41273         (AF_NFC): Define.
41274
41275         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
41276         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
41277         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
41278         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
41279         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
41280
41281         [BZ #13021]
41282         * scripts/test-installation.pl: Don't expect libnss_test1 to be
41283         installed.
41284
41285         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
41286         typo.
41287         (_dl_x86_64_save_sse): Likewise.
41288
41289 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
41290
41291         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
41292         OSXSAVE.
41293         (_dl_x86_64_save_sse): Likewise.
41294
41295         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
41296
41297         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
41298
41299 2011-07-21  Andreas Schwab  <schwab@redhat.com>
41300
41301         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
41302         change.
41303         (_dl_x86_64_save_sse): Use correct AVX check.
41304
41305 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
41306
41307         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
41308         bug in strncpy/strncat.
41309         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
41310
41311 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
41312
41313         * string/tester.c (test_strcat): Add tests for different alignments
41314         of source and destination.
41315         (test_strncat): Likewise.
41316
41317 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41318
41319         [BZ #12852]
41320         * posix/glob.c (glob): Check passed in values before using them in
41321         expressions to avoid some overflows.
41322         (glob_in_dir): Likewise.
41323
41324         [BZ #13007]
41325         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
41326         check for AVX enablement so that we don't crash with old kernels and
41327         new hardware.
41328         * elf/tst-audit4.c: Add same checks here.
41329         * elf/tst-audit6.c: Likewise.
41330
41331         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
41332
41333 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
41334
41335         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
41336
41337 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
41338
41339         * po/cs.po: Update from translation team.
41340         * po/bg.po: Likewise.
41341
41342 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
41343
41344         * misc/sys/cdefs.h: Add support for const attribute.
41345         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
41346         to gnu_dev_{major,minor,makedev} functions.
41347
41348 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
41349
41350         * intl/dcigettext.c (get_output_charset): Add missing bracket.
41351
41352 2011-07-20  Andreas Schwab  <schwab@redhat.com>
41353
41354         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
41355         strlen results.
41356
41357 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41358
41359         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
41360         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
41361         register in order to avoid conflicts with the soft frame pointer
41362         being held in r11 when necessary.
41363         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
41364         (INTERNAL_VSYSCALL_NCS): Likewise.
41365
41366 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
41367
41368         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
41369         * elf/dl-fini.c (_dl_fini): Adjust caller.
41370         * elf/dl-close.c (_dl_close_worker): Likewise.
41371         * sysdeps/generic/ldsodefs.h: Adjust declaration.
41372
41373 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41374
41375         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
41376         "aux_cache->nlibs < 0".
41377
41378         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
41379         in the reload-count case.
41380
41381 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
41382
41383         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41384         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
41385         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
41386         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
41387         * sysdeps/x86_64/multiarch/strcat.S: New file.
41388         * sysdeps/x86_64/multiarch/strncat.S: New file.
41389         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
41390         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
41391         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
41392         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
41393         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
41394         (USE_AS_STRCAT): Define.
41395         Add strcat and strncat support.
41396         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
41397         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
41398         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
41399         * string/strncat.c: Update.
41400         (USE_AS_STRNCAT): Define.
41401         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41402         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
41403         and i7.
41404         * sysdeps/x86_64/multiarch/init-arch.h
41405         (bit_Prefer_PMINUB_for_stringop): New.
41406         (index_Prefer_PMINUB_for_stringop): Likewise.
41407         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
41408         bit_Prefer_PMINUB_for_stringop.
41409
41410 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41411
41412         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
41413         buffer64.
41414         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
41415         of casting of buffer.
41416         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
41417         buffer32 and buffer64.
41418         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
41419         writes instead of casting of buffer.
41420         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
41421         buffer32.
41422         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
41423         casting of buffer.
41424
41425 2011-07-19  Andreas Schwab  <schwab@redhat.com>
41426
41427         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
41428
41429 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
41430
41431         * nscd/nscd.c (termination_handler): Don't do anything for a database
41432         if it has not yet been initialized.
41433
41434 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41435
41436         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41437
41438 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
41439
41440         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
41441
41442 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
41443
41444         * po/nl.po: Update from translation team.
41445         * po/sv.po: Likewise.
41446
41447 2011-07-16  Roland McGrath  <roland@hack.frob.com>
41448
41449         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
41450         now disallowed by GCC.
41451
41452         * configure.in (use-default-link): Default to yes if a test -shared
41453         link meets our qualifications.
41454         * configure: Regenerated.
41455
41456         * config.make.in (output-format): New variable.
41457         * configure.in: Check for ld --print-output-format support.
41458         * configure: Regenerated.
41459         * Makerules ($(common-objpfx)format.lds)
41460         [$(output-format) != unknown]: Just use $(output-format),
41461         instead of the linker-script munging.
41462
41463 2011-07-14  Roland McGrath  <roland@hack.frob.com>
41464
41465         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
41466         of $(common-objpfx)shlib.lds.
41467         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
41468
41469         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
41470         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
41471
41472         * configure.in (-z relro check): Adjust test code to add a large
41473         writable data section after it.
41474         * configure: Regenerated.
41475
41476 2011-07-11  Roland McGrath  <roland@hack.frob.com>
41477
41478         * configure.in (-z relro check): Fix test code to make the variable
41479         truly const.
41480         * configure: Regenerated.
41481
41482 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
41483
41484         * nscd/nscd.h (struct traced_file): Define.
41485         (struct database_dyn): Remove inotify_descr, reset_res, and filename
41486         elements.  Add traced_files.
41487         (inotify_fd): Declare.
41488         (register_traced_file): Declare.
41489         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
41490         (inotify_fd): Export.
41491         (resolv_conf_descr): Remove.
41492         (nscd_init): Move inotify descriptor creation to main.
41493         Don't register files for notification here.
41494         (register_traced_file): New function.
41495         (invalidate_cache): Don't use reset_res to determine whether to call
41496         res_init, go through the list of registered files.
41497         (main_loop_poll): The inotify descriptors are now stored in the
41498         structures for the traced files.
41499         (main_loop_epoll): Likewise
41500         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
41501         to __nss_disable_nscd.
41502         * nscd/cache.c (prune_cache): There is no single inotify descriptor
41503         for a database anymore.  Check the records for all the registered
41504         files instead.
41505         * nss/Makefile (libnss_files-routines): Add files-init.
41506         (libnss_db-routines): Add db-init.
41507         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
41508         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
41509         * nss/nss_db/db-init.c: New file.
41510         * nss/nss_files/files-init.c: New file.
41511         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
41512         __nss_lookup_function.
41513         (__nss_lookup_function): Call nss_load_library.
41514         (nss_load_all_libraries): New function.
41515         (__nss_disable_nscd): Take parameter with callback function for files
41516         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
41517         used for the cached services.
41518         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
41519         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
41520         options for features to all the files in nscd.
41521
41522         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
41523
41524 2011-07-10  Roland McGrath  <roland@hack.frob.com>
41525
41526         * csu/elf-init.c (__libc_csu_init): Comment typo.
41527
41528 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
41529
41530         * po/pl.po: Update from translation team.
41531         * po/ja.po: Likewise.
41532         * po/ru.po: Likewise.
41533         * po/ko.po: Likewise.
41534         * po/fr.po: Likewise.
41535
41536 2011-07-09  Roland McGrath  <roland@hack.frob.com>
41537
41538         * configure.in (.ctors/.dtors header and trailer check):
41539         Use an empirical test on a built program.
41540         * configure: Regenerated.
41541
41542         * configure.in (-z relro check): Use an empirical test on a built DSO.
41543         Detect, but do not require, on ia64.
41544         * configure: Regenerated.
41545
41546         * configure.in (READELF): Find it with AC_CHECK_TOOL.
41547         Update tests that use readelf to use $READELF instead.
41548         * configure: Regenerated.
41549
41550 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
41551
41552         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
41553         if the result is not used.
41554
41555 2011-07-05  Andreas Jaeger  <aj@suse.de>
41556
41557         [BZ#9696]
41558         * stdlib/tst-strtod.c: Add testcase.
41559
41560 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
41561
41562         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
41563         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
41564         The latter has a higher limit.  Take additional parameter to pass to
41565         the new function.
41566         (__pathconf): Pass file to __statfs_link_max.
41567         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
41568         __statfs_link_max.
41569         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
41570         __statfs_link_max.
41571
41572         [BZ #12868]
41573         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
41574         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41575         Handle Lustre.
41576         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
41577         (__statfs_filesize_max): Likewise.
41578         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
41579
41580 2011-07-05  Andreas Jaeger  <aj@suse.de>
41581
41582         * resolv/res_comp.c (dn_skipname): Remove unused variable.
41583
41584 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
41585
41586         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
41587         `status' variable.
41588         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
41589         Likewise.
41590
41591 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
41592
41593         * Makefile (strop-tests): Add strncat.
41594         * string/test-strncat.c: New file.
41595
41596 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
41597
41598         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
41599
41600 2011-06-21  Andreas Jaeger  <aj@suse.de>
41601
41602         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
41603         Copy rule from iconvdata/Makefile.
41604
41605 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41606
41607         [BZ #12922]
41608         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
41609         but no long options are defined, just return 'W'.
41610
41611 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
41612
41613         [BZ #9696]
41614         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
41615
41616 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
41617
41618         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
41619         netgroups to read.
41620         (innetgr): Likewise.
41621
41622 2011-07-05  Roland McGrath  <roland@hack.frob.com>
41623
41624         * config.make.in (install_root): Default to $(DESTDIR).
41625
41626 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
41627
41628         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
41629
41630 2011-07-02  Roland McGrath  <roland@hack.frob.com>
41631
41632         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
41633
41634         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
41635         containing directory rather than embedding absolute directory names.
41636
41637         * scripts/check-local-headers.sh: Rewritten using awk.
41638         Match by word, not by line.  Print error messages for matches.
41639         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
41640
41641         * Makerules [shlib-lds-flags empty]:
41642         ($(common-objpfx)libc_pic.opts): New target.
41643         ($(common-objpfx)libc_pic.os.clean): New target.
41644         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
41645
41646         * config.make.in (OBJCOPY): New variable.
41647         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
41648         * configure: Regenerated.
41649
41650         * config.make.in (use-default-link): New variable.
41651         * configure.in (use_default_link): Grok --with-default-link to set it.
41652         * configure: Regenerated.
41653         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
41654         (shlib-lds, shlib-lds-flags): Define to empty.
41655
41656         * Makerules (shlib-lds): New variable.
41657         (shlib-lds-flags): New variable.
41658         (build-shlib, build-moduile, build-module-asneeded): Use it.
41659         ($(common-objpfx)libc.so): Use $(shlib-lds).
41660         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
41661         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
41662
41663         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
41664         DT_FLAGS/DT_FLAGS_1 with zero flags.
41665
41666         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
41667         linker script munging.
41668
41669 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
41670
41671         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
41672         as 128-bit value.
41673         * crypt/sha512.c (sha512_process_block): Perform total addition using
41674         128-bit if possible.
41675         (__sha512_finish_ctx): Likewise.
41676         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
41677         as 64-bit value.
41678         * crypt/sha256.c (SWAP64): Define.
41679         (sha256_process_block): Perform total addition using 64-bit if
41680         possible.
41681         (__sha256_finish_ctx): Likewise.
41682
41683 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
41684
41685         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
41686         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41687         * nscd/hstcache.c (cache_addhst): Likewise.
41688         * nscd/grpcache.c (cache_addgr): Likewise.
41689         * nscd/aicache.c (addhstaiX): Likewise
41690         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
41691
41692 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
41693
41694         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
41695         * nscd/initgrcache.c (addinitgroupsX): Likewise.
41696         * nscd/hstcache.c (cache_addhst): Likewise.
41697         * nscd/grpcache.c (cache_addgr): Likewise.
41698         * nscd/aicache.c (addhstaiX): Likewise
41699
41700 2011-07-01  Andreas Schwab  <schwab@redhat.com>
41701
41702         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
41703         domain only when needed.
41704
41705 2011-06-30  Andreas Schwab  <schwab@redhat.com>
41706
41707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
41708         is always restored.
41709
41710 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
41711
41712         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
41713         are re-adding the entry.
41714         * nscd/servicescache.c (cache_addserv): Likewise.
41715
41716 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
41717
41718         * sysdeps/generic/dl-irel.h: fix protection against multiple
41719         inclusions.
41720         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
41721
41722 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
41723
41724         [BZ #12935]
41725         * malloc/memusage.sh: Fix quoting in message.
41726         * debug/xtrace.sh: Likewise.
41727
41728         * configure.in: Remove support for --experimental-malloc option, make
41729         it the default.
41730         * config.make.in: Likewise.
41731         * malloc/Makefile: Likewise.
41732
41733 2011-06-27  Andreas Schwab  <schwab@redhat.com>
41734
41735         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
41736         two-byte characters.
41737
41738 2011-06-27  Roland McGrath  <roland@hack.frob.com>
41739
41740         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
41741         AC_CACHE_CHECK invocation.
41742         * configure: Regenerated.
41743
41744         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
41745
41746 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
41747
41748         [BZ #12350]
41749         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
41750         bit from old_res_options.
41751
41752         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
41753
41754         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
41755         value type for setfct.
41756
41757 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
41758
41759         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41760         __gettimeofday instead of gettimeofday.
41761
41762 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
41763
41764         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
41765
41766 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
41767
41768         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
41769
41770         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
41771         info.
41772
41773 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41774
41775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
41776         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41777         strcpy-sse2-unaligned strncpy-sse2-unaligned
41778         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
41779         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
41780         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
41781         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
41782         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
41783         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
41784         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
41785         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
41786         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
41787         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
41788         (STRCPY): Support SSE2 and SSSE3 versions.
41789
41790 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
41791
41792         [BZ #12874]
41793         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
41794         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
41795         kernels which artificially limit size of requests.
41796
41797 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
41798
41799         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
41800         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
41801         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
41802         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
41803         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
41804         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
41805         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
41806         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
41807         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
41808         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
41809         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
41810         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
41811         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
41812         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
41813         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
41814         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
41815         Enable unaligned load optimization for Intel Core i3, i5 and i7
41816         processors.
41817         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
41818         Define.
41819         (index_Fast_Unaligned_Load): Define.
41820         (HAS_FAST_UNALIGNED_LOAD): Define.
41821
41822 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
41823
41824         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
41825
41826 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41827
41828         [BZ #12907]
41829         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
41830         until it is clear that the information is realy needed.
41831         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
41832
41833 2011-06-22  Andreas Schwab  <schwab@redhat.com>
41834
41835         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
41836
41837 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
41838
41839         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
41840         /sys/devices/system/cpu/online if it is usable.
41841
41842         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
41843         reading the information from the /proc filesystem to once a second.
41844
41845 2011-06-21  Andreas Jaeger  <aj@suse.de>
41846
41847         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
41848         NULL after inclusion of kernel headers.
41849
41850 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
41851
41852         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
41853         calls to internal_setent.
41854
41855         [BZ #12885]
41856         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
41857         addresses using gethostbyname4_r ignore IPv4 addresses.
41858
41859         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
41860         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
41861
41862         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
41863
41864 2011-06-20  David S. Miller  <davem@davemloft.net>
41865
41866         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
41867         inclusions.
41868         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
41869
41870         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
41871         (elf_irel): Use it.
41872         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
41873         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
41874         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
41875         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
41876         * sysdeps/x86_64/dl-irel.h: Likewise.
41877
41878         * elf/dl-runtime.c: Use elf_ifunc_invoke.
41879         * elf/dl-sym.c: Likewise.
41880
41881 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41882
41883         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
41884         need to dereference resplen2.
41885
41886 2011-06-14  Andreas Schwab  <schwab@redhat.com>
41887
41888         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
41889
41890 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
41891
41892         * Makeconfig: Define vardbdir and inst_vardbdir.
41893         * nss/Makefile: Add rules to install db-Makefile.
41894
41895         * nss/nss_db/db-XXX.c: Cleanup.
41896
41897         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
41898         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
41899         GLIBC_PRIVATE.
41900         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
41901         * nss/makedb.c: Implement -g option to specify that value strings
41902         are generated and should not be added to table iterated over for
41903         get*ent calls.
41904         * nss/nss_db/db-initgroups.c: New file.
41905
41906         * nss/getent.c: Add support for initgroups lookups through getgrouplist
41907         interface.
41908
41909         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
41910         (internal_getgrouplist): Adjust to name change.
41911         Update use_initgroups_entry if this is not the first call.
41912         * nss/databases.def: Add initgroups entry.
41913
41914         * nss/makedb.c (compute_tables): Check result of multiple hash table
41915         sizes to minimize maximum chain length.
41916
41917 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
41918
41919         * Versions.def: Add entry for libnss_db.
41920         * shlib-versions: Likewise.
41921         * nss/Makefile: Add rules to build libnss_db.
41922         * nss/Versions: Add libnss_db information.  Organize libnss_files
41923         entries better.
41924         * nss/db-Makefile: Add gshadow support.  Change rules for the new
41925         makedb progra.  Some minor improvements to generate smaller files.
41926         * nss/nss_db/nss_db.h: Move NSS database header data structures to
41927         here from...
41928         * nss/makedb.c: ...here.
41929         Improve database format to be smaller and require less memory at
41930         runtime.
41931         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
41932         db anymore.
41933         * nss/nss_db/db-netgrp.c: Likewise.
41934         * nss/nss_db/db-open.c: Likewise.
41935         * nss/nss_files/flies-XXX.x: Adjust comments.
41936         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
41937         * nss/nss_files/files-grp.c: Likewise.
41938         * nss/nss_files/files-hosts.c: Likewise.
41939         * nss/nss_files/files-network.c: Likewise.
41940         * nss/nss_files/files-proto.c: Likewise.
41941         * nss/nss_files/files-pwd.c: Likewise.
41942         * nss/nss_files/files-rpc.c: Likewise.
41943         * nss/nss_files/files-service.c: Likewise.
41944         * nss/nss_files/files-sgrp.c: Likewise.
41945         * nss/nss_files/files-spwd.c: Likewise.
41946         * nss/nss_db/db-alias.c: Removed.
41947         * nss/nss_db/dummy-db.h: Removed.
41948
41949 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
41950
41951         * nss/makedb.c: Rewritten to not use database library.
41952         * nss/Makefile: Update to build new makedb program.
41953
41954 2011-06-14  Andreas Jaeger  <aj@suse.de>
41955
41956         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
41957         memset declaration.
41958
41959 2011-06-10  Andreas Schwab  <schwab@redhat.com>
41960
41961         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
41962         tmpbuf.
41963
41964 2011-06-10  Roland McGrath  <roland@hack.frob.com>
41965
41966         * Makerules (shlib.lds): Fail if the linker script comes out empty.
41967         * elf/Makefile ($(objpfx)ld.so): Likewise.
41968
41969         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
41970         Don't list ld.so twice in dependencies.
41971
41972         * posix/bug-regex31.c: Include <stdlib.h>.
41973
41974         * nscd/hstcache.c (cache_addhst): Remove unused variable.
41975
41976         * nis/nss_compat/compat-spwd.c
41977         (getspent_next_nss_netgr): Remove unused variable.
41978         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
41979
41980         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
41981         nonmembers" output to use the right array.
41982
41983         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
41984
41985         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
41986
41987         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
41988         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
41989         * catgets/gencat.c (read_input_file): Likewise.
41990         * locale/programs/locarchive.c (enlarge_archive): Likewise.
41991
41992         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
41993         variable definition inside #if's controlling its use.
41994
41995         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
41996
41997         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
41998
41999         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
42000
42001         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
42002         unreachable code.
42003
42004         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
42005
42006         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
42007         * configure: Regenerated.
42008
42009         * Makerules: Revert last change.
42010         * elf/Makefile: Likewise.
42011
42012 2011-06-09  Roland McGrath  <roland@hack.frob.com>
42013
42014         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
42015         * elf/Makefile ($(objpfx)librtld.os): Likewise.
42016         (reloc-link): Likewise.
42017
42018 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
42019
42020         * elf/Makefile: Add rules to build pldd.
42021         * elf/pldd.c: New file.
42022         * elf/pldd-xx.c: New file.
42023
42024 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
42025
42026         * version.h: Update for 2.15 development version.
42027
42028 2011-06-07  David S. Miller  <davem@davemloft.net>
42029
42030         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
42031         ifuncs.
42032         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
42033         elf_machine_lazy_rel): Likewise.
42034         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
42035         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
42036         elf_machine_lazy_rel): Likewise.
42037         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
42038         dl_hwcap via passed in argument.
42039         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
42040         Likewise.
42041
42042 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42043
42044         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
42045
42046 2011-06-06  Roland McGrath  <roland@hack.frob.com>
42047
42048         [BZ #12849]
42049         * manual/fdl-1.1.texi: New file, verbatim from:
42050         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
42051         * manual/lgpl-2.1.texi: New file, verbatim from:
42052         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
42053         * manual/Makefile (licenses): New variable, list those new file names.
42054         (texis): Use it.
42055         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
42056
42057         * manual/fdl.texi: File removed.
42058         * manual/lesser.texi: File removed.
42059         * manual/libc.texinfo (Copying, Documentation License):
42060         Use new @include file names, put @appendix directive before @include.
42061
42062 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
42063
42064         [BZ #12841]
42065         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
42066         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
42067         (mq_open): Add __NTH.
42068
42069 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
42070
42071         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
42072         Assume Intel Core i3/i5/i7 processor if AVX is available.
42073
42074 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42075
42076         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
42077         typo.
42078
42079 2011-05-31  Andreas Schwab  <schwab@redhat.com>
42080
42081         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
42082         memory.  Use alloca_account.  Fix memory leak when retrying.
42083
42084 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
42085
42086         * version.h (RELEASE): Bump for 2.14 release.
42087         * include/features.h (__GLIBC_MINOR__): Bump to 14.
42088
42089         * config.make.in (RANLIB): Remove entry.
42090
42091 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
42092
42093         * po/Makefile (po-sed-cmd): Add ksh to extensions.
42094         (libc.pot): Work around missing support for .ksh extension in xgettext.
42095
42096         [BZ #12684]
42097         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
42098         if both request failed.
42099         (send_dg): In case of server errors clear resplen or *resplen2.
42100
42101         [BZ #12454]
42102         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
42103         when there are multiple maps.
42104         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
42105         (_dl_fini): Remove test here.
42106
42107         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
42108
42109 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
42110
42111         [BZ #12350]
42112         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
42113         bit from old_res_options.
42114         (gaih_inet): Likewise.
42115
42116         [BZ #11099]
42117         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
42118         as signed.
42119
42120         * resolv/res_init.c (res_setoptions): Make the code more compact.
42121
42122         [BZ #11558]
42123         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
42124         set RES_USEVC.
42125
42126         [BZ #11634]
42127         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
42128
42129         * malloc/malloc.h: Mark malloc hook variables as deprecated.
42130
42131         [BZ #11781]
42132         * malloc/malloc.h: Declare malloc hook variables as volatile.
42133
42134         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
42135         in last patch.
42136
42137         [BZ #11799]
42138         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
42139         raise in the comment.
42140         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
42141         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
42142         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
42143
42144 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
42145
42146         [BZ #12811]
42147         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
42148         grow the buffers more if it already has to be sufficient.
42149         (build_wcs_upper_buffer): Likewise.
42150         * posix/regexec.c (check_matching): Likewise.
42151         (clean_state_log_if_needed): Likewise.
42152         (extend_buffers): Don't enlarge buffers beyond size of the input
42153         buffer.
42154         Patches mostly by Emil Wojak <emil@wojak.eu>.
42155         * posix/bug-regex32.c: New file.
42156         * posix/Makefile (tests): Add bug-regex32.
42157
42158         * locale/findlocale.c (_nl_find_locale): Return right away if
42159         _nl_explode_name failed.
42160         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
42161
42162         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
42163
42164         * debug/xtrace.sh: Unify messages.
42165         * malloc/memusage.sh: Likewise.
42166
42167         [BZ #12813]
42168         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
42169         time symbol from vDSO.  Substitute with vsyscall if not available.
42170         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
42171         __vdso_time.
42172
42173         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
42174         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
42175         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
42176         Add sendmmsg and internal_sendmmsg.
42177         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
42178         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
42179         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
42180
42181         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
42182         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
42183         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
42184
42185 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
42186
42187         [BZ #12813]
42188         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
42189         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
42190         available.
42191         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
42192         __vdso_getcpu.
42193
42194         [BZ #12814]
42195         * iconvdata/Makefile (tests): Add bug-iconv9.
42196         * iconvdata/bug-iconv9.c: New file.
42197
42198 2011-05-27  Andreas Schwab  <schwab@redhat.com>
42199
42200         [BZ #12814]
42201         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
42202
42203 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
42204
42205         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42206         (struct user_regs_struct): Change intcs field back to cs.
42207
42208 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
42209
42210         * po/ja.po: Update from translation team.
42211
42212 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
42213
42214         [BZ #12795]
42215         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
42216         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
42217
42218 2011-05-20  Andreas Schwab  <schwab@redhat.com>
42219
42220         * stdlib/longlong.h: Update from GCC.
42221
42222 2011-05-23  Andreas Schwab  <schwab@redhat.com>
42223
42224         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
42225         parameter name.
42226         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
42227         Add parameter name.
42228         (__sysconf): Pass it down.
42229
42230 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
42231
42232         [BZ #12671]
42233         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
42234         some situations.
42235         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
42236         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
42237         add in in __libc_use_alloca calls.  Adjust callers.
42238         (glob): Use malloc in some situations.
42239
42240         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
42241         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
42242         pltexit.
42243
42244 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
42245
42246         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
42247         and CLOCK_BOOTTIME_ALARM.
42248
42249         [BZ #12782]
42250         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
42251         is returned.
42252
42253         * string/_strerror.c (__strerror_r): Print negative errors as signed
42254         numbers.
42255
42256         [BZ #12777]
42257         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
42258         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
42259         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
42260
42261         * configure.in: Fix typo in redirection and correct removal of test
42262         files in two cases.
42263
42264         [BZ #12788]
42265         * locale/setlocale.c (new_composite_name): Fix test to check for
42266         identical name of all categories.
42267
42268         [BZ #12792]
42269         * libio/filedoalloc.c (local_isatty): New function.
42270         (_IO_file_doallocate): Use local_isatty.
42271         * stdio-common/perror.c (perror): In case a new stream is used
42272         forward the stream error.
42273         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
42274         error flag.
42275
42276 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
42277
42278         [BZ #11869]
42279         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
42280         alloca.
42281         * include/alloca.h (extend_alloca_account): Define.
42282
42283         [BZ #11857]
42284         * posix/regex.h: Fix comments with documentation of user-accessible
42285         fields after compilation and describe correct free'ing of pattern
42286         after re_compile_pattern.
42287         Patch by Reuben Thomas <rrt@sc3d.org>.
42288
42289 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
42290
42291         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
42292         and -mno-altivec to prevent the compiler from using Altivec and/or
42293         VSX instructions when the corresponding registers are not available.
42294
42295 2011-05-19  Andreas Schwab  <schwab@redhat.com>
42296
42297         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
42298
42299 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
42300
42301         * libio/freopen.c (freopen): Use __dup2, not dup2.
42302         * libio/freopen64.c (freopen64): Likewise.
42303
42304 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
42305
42306         [BZ #12775]
42307         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
42308         * math/Makefile (tests): Add test-powl.
42309         (CFLAGS-test-powl.c): Define.
42310         * math/test-powl.c: New file.
42311
42312 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
42313
42314         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
42315
42316 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
42317
42318         [BZ #11837]
42319         * iconvdata/gb18030.c: Update to GB18020-2005.
42320
42321 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
42322
42323         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
42324         RE_SYNTAX_POSIX_AWK): Update to match recent development.
42325         Patch by Aharon Robbins <arnold@skeeve.com>.
42326
42327         [BZ #11892]
42328         * stdlib/putenv.c (putenv): Don't always create copy of the variable
42329         on the stack.
42330
42331         [BZ #11895]
42332         * misc/pselect.c (__pselect): Handle timeout value errors hidden
42333         through underflows.
42334
42335         [BZ #12766]
42336         * misc/error.c (error_at_line): Ensure file_name and old_file_name
42337         point to strings before performing equality test for error_one_per_line
42338         mode.
42339
42340         [BZ #11697]
42341         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
42342
42343         [BZ #11820]
42344         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
42345         (struct user_fpregs_struct): Avoid __uint*_t types.
42346
42347         [BZ #6420]
42348         * malloc/mtrace.c (tr_where): Add additional parameter to point to
42349         symbol info.  Use it instead of calling _dl_addr locally.
42350         (lock_and_info): New function.
42351         (tr_freehook): Call lock_and_info and pass symbol info as additional
42352         parameter to tr_where.
42353         (tr_mallochook): Likewise.
42354         (tr_reallochook): Likewise.
42355         (tr_memalignhook): Likewise.
42356
42357         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
42358         used and couldn't be at all thread-safe.
42359
42360 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
42361
42362         * libio/freopen.c (freopen): Don't close old file descriptor
42363         before the new one is opened.  Instead dup the new file descriptor
42364         to the old one after the new stream is created.
42365         * libio/freopen64.c (freopen64): Likewise.
42366         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
42367         * libio/fileops.c (_IO_new_file_close_it): Handle new
42368         _IO_FLAGS2_NOCLOSE flag.
42369         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
42370         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
42371         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
42372         _IO_FLAGS2_NOCLOSE flag.
42373         * include/unistd.h: Add hidden_proto for dup3.
42374         Define __have_dup3.
42375         * io/dup3.c: Define hidden symbol.
42376         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
42377
42378         [BZ #7101]
42379         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
42380         when an incomplete long option is used.
42381         * posix/tst-getopt_long1.c: New file.
42382         * posix/Makefile (tests): Add tst-getopt_long1.
42383
42384         [BZ #10138]
42385         * scripts/config.guess: Update from autoconf-2.68.
42386         * scripts/config.sub: Likewise.
42387
42388         [BZ #10157]
42389         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
42390         tests into ...
42391         (has_cpuclock): ...this.  New function.
42392         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
42393         macro here based on has_cpuclock code.
42394
42395         [BZ #10149]
42396         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42397         First byte (not low byte) is now always NUL.
42398         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
42399
42400         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
42401         Use non-cancelable interfaces.
42402
42403         [BZ #9809]
42404         * locale/iso-639.def: Add entry for Sorani.
42405
42406         [BZ #11901]
42407         * include/stdlib.h: Move include protection to the right place.
42408         Define abort_msg_s.  Declare __abort_msg with it.
42409         * stdlib/abort.c (__abort_msg): Adjust type.
42410         * assert/assert.c (__assert_fail_base): New function.  Majority
42411         of code from __assert_fail.  Allocate memory for __abort_msg with
42412         mmap.
42413         (__assert_fail): Now call __assert_fail_base.
42414         * assert/assert-perr.c: Remove bulk of implementation.  Use
42415         __assert_fail_base.
42416         * include/assert.hL Declare __assert_fail_base.
42417         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
42418         mmap.
42419         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
42420
42421 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
42422
42423         [BZ #11952]
42424         [BZ #12453]
42425         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
42426         until all modules are registered in the DTV.
42427         * elf/Makefile: Add rules to build and run tst-tls19.
42428         * elf/tst-tls19.c: New file.
42429         * elf/tst-tls19mod1.c: New file.
42430         * elf/tst-tls19mod2.c: New file.
42431         * elf/tst-tls19mod3.c: New file.
42432         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
42433
42434         [BZ #12083]
42435         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
42436         correctly.
42437
42438         [BZ #12601]
42439         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
42440         two-byte sequence errors.
42441         * iconvdata/Makefile (tests): Add bug-iconv8.
42442         * iconvdata/bug-iconv8.c: New file.
42443
42444         [BZ #12626]
42445         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
42446         buf2 definition.
42447
42448         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
42449
42450         [BZ #12432]
42451         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
42452         (dummy_getcfa): New function.
42453         (init): Get _Unwind_GetCFA address, use dummy if not found.
42454         (backtrace_helper): In recursion check, also check whether CFA changes.
42455         (__backtrace): Completely initialize arg.
42456
42457         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
42458         storing incomplete byte sequence in state object.  Avoid testing for
42459         guaranteed too small input if we know there is enough data available.
42460
42461 2011-05-11  Andreas Schwab  <schwab@redhat.com>
42462
42463         * Makeconfig (+link-pie): Indent.
42464         * Rules (binaries-pie): Define if $(have-fpie) and
42465         $(build-shared).
42466         (binaries-shared): Also filter out $(binaries-pie).
42467         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
42468         * nscd/Makefile (others-pie): Add nscd.
42469         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
42470         ($(objpfx)nscd): Remove command override.
42471         * login/Makefile (others-pie): Add pt_chown.
42472         ($(objpfx)pt_chown): Remove command override.
42473         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
42474         remove command overrides.
42475
42476 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
42477
42478         * libio/tst_putwc.c: Fix error messages.
42479
42480         [BZ #12724]
42481         * libio/fileops.c (_IO_new_file_close_it): Always flush when
42482         currently writing and seek to current position when not.
42483         * libio/Makefile (tests): Add bug-fclose1.
42484         * libio/bug-fclose1.c: New file.
42485
42486 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
42487
42488         [BZ #12511]
42489         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
42490         don't set DF_1_NODELETE here.
42491         (do_lookup_x): When entering new entry test for copy relocation
42492         and if necessary set DF_1_NODELETE flag.
42493         * elf/tst-unique4.cc: New file.
42494         * elf/tst-unique4.h: New file.
42495         * elf/tst-unique4lib.cc: New file.
42496         * elf/Makefile: Add rules to build and run tst-unique4.
42497         Patch by Piotr Bury <pbury@goahead.com>.
42498
42499 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
42500
42501         [BZ #12052]
42502         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
42503
42504         [BZ #12625]
42505         * misc/mntent_r.c (addmntent): Flush the stream after the output
42506
42507         [BZ #12393]
42508         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
42509         (is_trusted_path_normalize): Skip initial colon.  Append slash
42510         to empty buffer.  Duplicate is_trusted_path code but allow
42511         constructed patch to be prefix.
42512         (is_dst): Allow $ORIGIN followed by /.
42513         (_dl_dst_substitute): Correct clearing of check_for_trusted.
42514         Correct testing of result of is_trusted_path_normalize
42515         (decompose_rpath): Fix warning.
42516
42517 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
42518
42519         [BZ #11257]
42520         * grp/initgroups.c (internal_getgrouplist): When we found the service
42521         list through the initgroups entry in nsswitch.conf do not always
42522         continue on a successful lookup.  Don't always use the
42523         __nss_group_database value if it is set.
42524         * nss/nsswitch.conf (initgroups): Change action for successful db
42525         lookup to continue for compatibility.
42526
42527 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
42528
42529         [BZ #11532]
42530         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
42531         and CP774 modules.
42532         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
42533         and CP774 modules.
42534         * iconvdata/tst-tables.sh: Likewise.
42535         * iconvdata/cp770.c: New file.
42536         * iconvdata/cp771.c: New file.
42537         * iconvdata/cp772.c: New file.
42538         * iconvdata/cp773.c: New file.
42539         * iconvdata/cp774.c: New file.
42540         * iconvdata/testdata/CP770: New file.
42541         * iconvdata/testdata/CP770..UTF8: New file.
42542         * iconvdata/testdata/CP771: New file.
42543         * iconvdata/testdata/CP771..UTF8: New file.
42544         * iconvdata/testdata/CP772: New file.
42545         * iconvdata/testdata/CP772..UTF8: New file.
42546         * iconvdata/testdata/CP773: New file.
42547         * iconvdata/testdata/CP773..UTF8: New file.
42548         * iconvdata/testdata/CP774: New file.
42549         * iconvdata/testdata/CP774..UTF8: New file.
42550
42551         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
42552         END CHARMAP line.
42553         * iconvdata/gen-8bit-gap.sh: Likewise.
42554         * iconvdata/gen-8bit.sh: Likewise.
42555
42556         * locale/iso-639.def: Add ary entry.
42557
42558         [BZ #11258]
42559         * locale/C-translit.h.in: Add U20A1 transliteration.
42560
42561         [BZ #12178]
42562         * locale/iso-639.def: Add wae entry.
42563         Patch by Kevin Bortis <bortis@translate-wae.ch>.
42564
42565         [BZ #12545]
42566         * locale/programs/localedef.c (construct_output_path): Use ssize_t
42567         for n.
42568
42569         [BZ #12711]
42570         * locale/C-translit.h.in: Add entry for U20B9.
42571         Patch by pravin.d.s@gmail.com.
42572
42573 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
42574
42575         [BZ #12713]
42576         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
42577         ENAMETOOLONG use generic getcwd.
42578         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
42579         in rtld.  Use *stat64.
42580         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
42581         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
42582         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
42583         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
42584         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
42585         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
42586         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
42587         __fstatat64 macros.
42588         * include/dirent.h: Add libc_hidden_proto for rewinddir.
42589         * dirent/rewinddir.c: Add libc_hidden_def.
42590         * sysdeps/mach/hurd/rewinddir.c: Likewise.
42591         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
42592
42593         * include/dirent.h (__alloc_dir): Add flags parameter.
42594         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
42595         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
42596         __alloc_dir.
42597         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
42598         from fdopendir if O_CLOEXEC is already set.
42599
42600 2011-03-15  Alan Modra  <amodra@gmail.com>
42601
42602         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
42603         l_tls_firstbyte_offset non-zero.  Save padding offset in
42604         l_tls_firstbyte_offset for later use.
42605         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
42606         freeing static tls block.
42607
42608 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
42609
42610         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
42611         where #ifdef was intended.  The intent is to prevent ARG_MAX from
42612         being defined by the kernel headers.
42613
42614 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
42615
42616         [BZ #12734]
42617         * resolv/resolv.h: Define RES_NOTLDQUERY.
42618         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
42619         no-tld-query and set RES_NOTLDQUERY.
42620         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
42621         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
42622         modern BIND to search name as TLD unless forbidden.
42623
42624 2011-05-07  Petr Baudis  <pasky@suse.cz>
42625             Ulrich Drepper  <drepper@gmail.com>
42626
42627         [BZ #12393]
42628         * elf/dl-load.c (fillin_rpath): Move trusted path check...
42629         (is_trusted_path): ...to here.
42630         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
42631         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
42632         using is_trusted_path_normalize() in setuid scripts.
42633
42634 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
42635
42636         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
42637         __BEGIN/__END_DECLS.
42638
42639 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
42640
42641         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
42642         NSS_STATUS_NOTFOUND if no record was found.
42643
42644 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42645
42646         * sunrpc/Makefile (headers): Add rpc/netdb.h.
42647         (headers-not-in-tirpc): Remove rpc/netdb.h
42648         * resolv/netdb.h: Revert last change.
42649
42650 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
42651
42652         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
42653         circular dependency between libgcc.a and libc.a.
42654
42655 2011-05-05  Andreas Schwab  <schwab@redhat.com>
42656
42657         * resolv/netdb.h: Don't include <rpc/netdb.h>.
42658         * nis/Makefile: Don't install rpcsvc/*.
42659         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
42660         instead of <rpc/types.h>.
42661         (MAXHOSTNAMELEN): Define.
42662
42663 2011-05-03  Andreas Schwab  <schwab@redhat.com>
42664
42665         * elf/ldconfig.c (add_dir): Don't crash on empty path.
42666
42667 2011-04-28  Maciej Babinski  <mbabinski@google.com>
42668
42669         [BZ #12714]
42670         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
42671         gethostbyname4_r when IPv6 results are possible.
42672
42673 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
42674
42675         [BZ #12723]
42676         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
42677         _PC_PIPE_BUF handling.
42678
42679 2011-04-30  Bruno Haible  <bruno@clisp.org>
42680
42681         [BZ #12717]
42682         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
42683         * resolv/netdb.h (getnameinfo): Change type of flags parameter
42684         to 'int'.
42685         * inet/getnameinfo.c (getnameinfo): Likewise.
42686
42687 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
42688
42689         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
42690         to groups setting in database lookup.
42691         * nss/nsswitch.conf: Add initgroups entry.
42692
42693 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
42694
42695         [BZ #12685]
42696         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
42697         mode string.
42698         Patch by Eric Blake <eblake@redhat.com>.
42699
42700 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
42701
42702         * sunrpc/Makefile (need-export-routines): Add svc_run.
42703         (routines): Remove svc_run.
42704         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
42705         * sunrpc/clnt_perr.c (clnt_perrno): Export.
42706         * sunrpc/svc_run.c (svc_run): Likewise.
42707         * sunrpc/svc_udp.c (svcudp_create): Likewise.
42708
42709 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
42710
42711         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
42712         problem in reallocation in last patch.
42713
42714 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
42715
42716         * sunrpc/Makefile: Move inclusion of Rules.
42717
42718 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42719
42720         * nss/nss_files/files-initgroups.c: New file.
42721         * nss/Makefile (libnss_files-routines): Add files-initgroups.
42722         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
42723         _nss_files_initgroups_dyn.
42724
42725 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
42726
42727         * elf/elf.h (R_ARM_IRELATIVE): Define.
42728
42729 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
42730
42731         * po/ru.po: Update from translation team.
42732
42733 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42734
42735         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
42736         dependencies.
42737
42738 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
42739
42740         [BZ #12653]
42741         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
42742         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
42743         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
42744         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
42745         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
42746
42747 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
42748
42749         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
42750         differing bytes.
42751         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
42752         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
42753         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
42754
42755 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
42756
42757         [BZ #12420]
42758         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
42759         storing it.
42760         * stdlib/bug-getcontext.c: New file.
42761         * stdlib/Makefile: Add rules to build and run bug-getcontext.
42762
42763 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42764
42765         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
42766         instructions into .machine "z9-109".
42767         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
42768         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
42769
42770 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
42771
42772         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
42773         between environment variables and auxiliary vector.
42774
42775 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
42776
42777         * Makefile: Add rules to build linkobj/libc.so.
42778         * include/libc-symbols.h: Define libc_hidden_nolink.
42779         * include/rpc/auth.h: Mark functions which are to be hidden.
42780         * include/rpc/auth_des.h: Likewise.
42781         * include/rpc/auth_unix.h: Likewise.
42782         * include/rpc/clnt.h: Likewise.
42783         * include/rpc/des_crypt.h: Likewise.
42784         * include/rpc/key_prot.h: Likewise.
42785         * include/rpc/pmap_clnt.h: Likewise.
42786         * include/rpc/pmap_prot.h: Likewise.
42787         * include/rpc/pmap_rmt.h: Likewise.
42788         * include/rpc/rpc_msg.h: Likewise.
42789         * include/rpc/svc.h: Likewise.
42790         * include/rpc/svc_auth.h: Likewise.
42791         * include/rpc/xdr.h: Likewise.
42792         * nis/Makefile: Link all DSOs against linkobj/libc.so.
42793         * nss/Makefile: Likewise.
42794         * sunrpc/Makefile: Don't install headers.  Build library with normal
42795         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
42796         * sunrpc/auth_des.c: Hide exported symbols by default, export some
42797         for the compat linking library.  Remove use of INTDEF/INTUSE.
42798         * sunrpc/auth_none.c: Likewise.
42799         * sunrpc/auth_unix.c: Likewise.
42800         * sunrpc/authdes_prot.c: Likewise.
42801         * sunrpc/authuxprot.c: Likewise.
42802         * sunrpc/clnt_gen.c: Likewise.
42803         * sunrpc/clnt_perr.c: Likewise.
42804         * sunrpc/clnt_raw.c: Likewise.
42805         * sunrpc/clnt_simp.c: Likewise.
42806         * sunrpc/clnt_tcp.c: Likewise.
42807         * sunrpc/clnt_udp.c: Likewise.
42808         * sunrpc/clnt_unix.c: Likewise.
42809         * sunrpc/des_crypt.c: Likewise.
42810         * sunrpc/des_soft.c: Likewise.
42811         * sunrpc/get_myaddr.c: Likewise.
42812         * sunrpc/key_call.c: Likewise.
42813         * sunrpc/key_prot.c: Likewise.
42814         * sunrpc/netname.c: Likewise.
42815         * sunrpc/pm_getmaps.c: Likewise.
42816         * sunrpc/pm_getport.c: Likewise.
42817         * sunrpc/pmap_clnt.c: Likewise.
42818         * sunrpc/pmap_prot.c: Likewise.
42819         * sunrpc/pmap_prot2.c: Likewise.
42820         * sunrpc/pmap_rmt.c: Likewise.
42821         * sunrpc/publickey.c: Likewise.
42822         * sunrpc/rpc_cmsg.c: Likewise.
42823         * sunrpc/rpc_common.c: Likewise.
42824         * sunrpc/rpc_dtable.c: Likewise.
42825         * sunrpc/rpc_prot.c: Likewise.
42826         * sunrpc/rpc_thread.c: Likewise.
42827         * sunrpc/rtime.c: Likewise.
42828         * sunrpc/svc.c: Likewise.
42829         * sunrpc/svc_auth.c: Likewise.
42830         * sunrpc/svc_authux.c: Likewise.
42831         * sunrpc/svc_raw.c: Likewise.
42832         * sunrpc/svc_run.c: Likewise.
42833         * sunrpc/svc_simple.c: Likewise.
42834         * sunrpc/svc_tcp.c: Likewise.
42835         * sunrpc/svc_udp.c: Likewise.
42836         * sunrpc/svc_unix.c: Likewise.
42837         * sunrpc/svcauth_des.c: Likewise.
42838         * sunrpc/xcrypt.c: Likewise.
42839         * sunrpc/xdr.c: Likewise.
42840         * sunrpc/xdr_array.c: Likewise.
42841         * sunrpc/xdr_float.c: Likewise.
42842         * sunrpc/xdr_intXX_t.c: Likewise.
42843         * sunrpc/xdr_mem.c: Likewise.
42844         * sunrpc/xdr_rec.c: Likewise.
42845         * sunrpc/xdr_ref.c: Likewise.
42846         * sunrpc/xdr_sizeof.c: Likewise.
42847         * sunrpc/xdr_stdio.c: Likewise.
42848
42849 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
42850
42851         [BZ #12650]
42852         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
42853         * sysdeps/ia64/dl-tls.h: Likewise.
42854         * sysdeps/powerpc/dl-tls.h: Likewise.
42855         * sysdeps/s390/dl-tls.h: Likewise.
42856         * sysdeps/sh/dl-tls.h: Likewise.
42857         * sysdeps/sparc/dl-tls.h: Likewise.
42858         * sysdeps/x86_64/dl-tls.h: Likewise.
42859         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
42860
42861 2011-03-14  Andreas Schwab  <schwab@redhat.com>
42862
42863         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
42864         rpath element also skip the following colon.
42865         (expand_dynamic_string_token): Add is_path parameter and pass
42866         down to DL_DST_REQUIRED and _dl_dst_substitute.
42867         (decompose_rpath): Call expand_dynamic_string_token with
42868         non-zero is_path.  Ignore empty rpaths.
42869         (_dl_map_object_from_fd): Call expand_dynamic_string_token
42870         with zero is_path.
42871
42872 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
42873
42874         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
42875         Make cancelable.
42876
42877 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
42878
42879         [BZ #12655]
42880         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
42881         Patch by Filipe David Manana <fdmanana@apache.org>.
42882
42883 2011-04-07  Andreas Schwab  <schwab@redhat.com>
42884
42885         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
42886         Maintain aligned stack.
42887         (CHECK_RSP): Remove unused macro.
42888
42889 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
42890
42891         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
42892         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
42893
42894 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
42895
42896         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
42897
42898         * include/features.h: Mention __USE_XOPEN2K8 in comment.
42899
42900 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
42901
42902         [BZ #12518]
42903         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
42904         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
42905         * sysdeps/x86_64/memmove.c: New file.
42906         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
42907         (memcpy): Renamed to ...
42908         (__new_memcpy): This.
42909         (memcpy): Provide GLIBC_2_14 memcpy.
42910         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
42911         (memcpy): Provide GLIBC_2_2_5 memcpy.
42912
42913 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42914
42915         [BZ #12631]
42916         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
42917
42918 2011-03-30  Andreas Schwab  <schwab@redhat.com>
42919
42920         * misc/syncfs.c: New file.
42921         * misc/Makefile (routines): Add syncfs.
42922         * posix/unistd.h: Declare syncfs.
42923         * sysdeps/unix/syscalls.list: Add syncfs.
42924
42925 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42926
42927         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
42928         open_by_handle_at.
42929         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
42930         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42931         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42932         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42933         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42934         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
42935         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42936
42937 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42938
42939         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
42940         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42941         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
42942         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42943         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42944         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42945         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42946
42947         * io/Makefile: Compile fallocate.c, fallocate64.c, and
42948         sync_file_range.c with -fexceptions.
42949         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
42950         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
42951         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
42952         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
42953         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
42954         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
42955         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
42956         sync_file_range as cancellation point
42957         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
42958         now a wrapper around __call_sync_file_range with cancellation handling.
42959         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
42960         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
42961         function name to __call_sync_file_range.
42962         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
42963         Add call_sync_file_range.
42964
42965 2011-04-01  Andreas Schwab  <schwab@redhat.com>
42966
42967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
42968         bits/timex.h.
42969
42970 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
42971
42972         * iconv/iconv.h: Fix typo in comment.
42973         * io/fcntl.h: Likewise.
42974         * libio/stdio.h: Likewise.
42975         * posix/spawn.h: Likewise.
42976         * posix/unistd.h: Likewise.
42977         * stdlib/stdlib.h: Likewise.
42978         * time/time.h: Likewise.
42979         * wcsmbs/wchar.h: Likewise.
42980
42981         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
42982         open_by_handle): Add.
42983         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
42984         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
42985         Augment a few comments.
42986         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
42987         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
42988         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
42989         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
42990         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
42991         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
42992         open_by_handle.
42993
42994         * io/fcntl.h (AT_EMPTY_PATH): Define.
42995
42996 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
42997
42998         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
42999         * sysdeps/unix/sysv/linux/bits/time.h: New file.
43000         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
43001         to...
43002         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
43003         * Versions.def: Add GLIBC_2.14.
43004         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
43005         Export.
43006
43007 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
43008
43009         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
43010         round counter.
43011         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43012
43013 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
43014
43015         [BZ #12597]
43016         * string/test-strncmp.c (do_page_test): New function.
43017         (check2): Likewise.
43018         (test_main): Call check2.
43019         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
43020
43021 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
43022
43023         [BZ #12587]
43024         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
43025         Handle cache information in CPU leaf 4.
43026         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
43027
43028 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
43029
43030         [BZ #12583]
43031         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
43032         character representation.
43033         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
43034
43035 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
43036
43037         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
43038         END(__isnan) to END(__isnanf) to match function entry point/label
43039         EALIGN(__isnanf,...).
43040
43041 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
43042
43043         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
43044
43045 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
43046
43047         [BZ #12510]
43048         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
43049         copy from the symbol referenced in the relocation to initialize the
43050         used variable.
43051         Patch by Piotr Bury <pbury@goahead.com>.
43052         * elf/Makefile: Add rules to build and tst-unique3.
43053         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
43054         * elf/tst-unique3.cc: New file.
43055         * elf/tst-unique3.h: New file.
43056         * elf/tst-unique3lib.cc: New file.
43057         * elf/tst-unique3lib2.cc: New file.
43058
43059         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
43060
43061 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
43062
43063         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
43064         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
43065         to _start.
43066
43067 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
43068
43069         * elf/dl-load.c (_dl_map_object): If we are looking for the first
43070         to-be-loaded object along a path to loader is ld.so.
43071
43072 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43073             Ulrich Drepper  <drepper@gmail.com>
43074
43075         * sysdeps/x86_64/memset.S: After aligning destination, code
43076         branches to different locations depending on the value of
43077         misalignment, when multiarch is enabled. Fix this.
43078
43079 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
43080
43081         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
43082         Set _x86_64_preferred_memory_instruction for AMD processsors.
43083         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43084         Set bit_Prefer_SSE_for_memop for AMD processors.
43085
43086 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
43087
43088         * libio/fmemopen.c (fmemopen): Optimize a bit.
43089
43090 2011-03-03  Andreas Schwab  <schwab@redhat.com>
43091
43092         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
43093
43094 2011-03-03  Roland McGrath  <roland@redhat.com>
43095
43096         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
43097
43098 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
43099
43100         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
43101         __bzero_ultra1 instead of __memset_ultra1.
43102
43103 2011-02-23  Andreas Schwab  <schwab@redhat.com>
43104             Ulrich Drepper  <drepper@gmail.com>
43105
43106         [BZ #12509]
43107         * include/link.h (struct link_map): Add l_orig_initfini.
43108         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
43109         returning unsuccessfully.
43110         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
43111         close of a file loaded at startup, restore the original l_initfini
43112         list.
43113         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
43114         list, store the pointer.
43115         * elf/Makefile ($(objpfx)noload-mem): New rule.
43116         (noload-ENV): Define.
43117         (tests): Add $(objpfx)noload-mem.
43118         * elf/noload.c: Include <memcheck.h>.
43119         (main): Call mtrace.  Close all opened handles.
43120
43121 2011-02-17  Andreas Schwab  <schwab@redhat.com>
43122
43123         [BZ #12454]
43124         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
43125         dependencies are missing.
43126
43127 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43128
43129         Fix __if_freereq crash: Unlike the generic version which uses free,
43130         Hurd needs munmap.
43131         * sysdeps/mach/hurd/ifreq.h: New file.
43132
43133 2011-01-27  Petr Baudis  <pasky@suse.cz>
43134             Ulrich Drepper  <drepper@gmail.com>
43135
43136         [BZ 12445]#
43137         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
43138         to extend_alloca().
43139         * stdio-common/bug23.c: New file.
43140         * stdio-common/Makefile (tests): Add bug23.
43141
43142 2010-09-28  Andreas Schwab  <schwab@redhat.com>
43143             Ulrich Drepper  <drepper@gmail.com>
43144
43145         [BZ #12489]
43146         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
43147         before performing relro protection.  At old place add assertion
43148         to make sure nothing changed.
43149
43150 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
43151             Glauber de Oliveira Costa  <glommer@gmail.com>
43152
43153         * elf/elf.h: Add new ARM TLS relocs.
43154
43155 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
43156
43157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
43158         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
43159         cast from r3.
43160         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
43161         'tests' variable.
43162         * sysdeps/wordsize-64/tst-writev.c: New file.
43163
43164 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
43165
43166         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
43167         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
43168         insns in _dl_start to prevent a TOC reference before relocs are
43169         resolved.
43170
43171 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
43172
43173         [BZ #12469]
43174         * Makeconfig: Remove RANLIB definition.
43175         * Makerules: Don't use RANLIB.
43176         * aclocal.m4: Remove ranlib test.
43177         * configure.in: No need to check for ranlib.
43178         * elf/rtld-Rules: Don't use RANLIB.
43179
43180 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43181
43182         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
43183         protection macro.
43184         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
43185         inclusion protection macro.
43186
43187         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
43188         SIGRTMIN and SIGRTMAX and print information in that case only when
43189         SIGRTMIN is defined.
43190
43191 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
43192
43193         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
43194         arginfo fn returning -1.
43195
43196         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
43197         and thousands string is zero terminated.
43198
43199 2011-02-03  Andreas Schwab  <schwab@redhat.com>
43200
43201         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
43202         sysdeps/unix/sysv/linux/bits/socket.h.
43203
43204 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43205
43206         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
43207         (__CPU_COUNT): Remove old macros.
43208         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
43209         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
43210         (__CPU_ALLOC, __CPU_FREE): Add macros.
43211         (__sched_cpualloc, __sched_cpufree): Add declarations.
43212
43213 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
43214
43215         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
43216         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
43217         * nscd/aicache.c (addhstaiX): Return timeout of added value.
43218         (readdhstai): Return value of addhstaiX call.
43219         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
43220         (addgrbyX): Return value returned by cache_addgr.
43221         (readdgrbyname): Return value returned by addgrbyX.
43222         (readdgrbygid): Likewise.
43223         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
43224         (addpwbyX): Return value returned by cache_addpw.
43225         (readdpwbyname): Return value returned by addhstbyX.
43226         (readdpwbyuid): Likewise.
43227         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
43228         (addservbyX): Return value returned by cache_addserv.
43229         (readdservbyname): Return value returned by addservbyX:
43230         (readdservbyport): Likewise.
43231         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
43232         (addhstbyX): Return value returned by cache_addhst.
43233         (readdhstbyname): Return value returned by addhstbyX.
43234         (readdhstbyaddr): Likewise.
43235         (readdhstbynamev6): Likewise.
43236         (readdhstbyaddrv6): Likewise.
43237         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
43238         (readdinitgroups): Return value returned by addinitgroupsX.
43239         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
43240         (prune_cache): Keep track of timeout value of re-added entries.
43241         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
43242         * nscd/nscd.h: Adjust prototypes of readd* functions.
43243
43244 2011-02-04  Roland McGrath  <roland@redhat.com>
43245
43246         * nis/nis_server.c (nis_servstate): Use the right name for 0.
43247         (nis_stats): Likewise.
43248         * nis/nis_modify.c (nis_modify): Likewise.
43249         * nis/nis_remove.c (nis_remove): Likewise.
43250         * nis/nis_add.c (nis_add): Likewise.
43251
43252         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
43253
43254         * posix/fnmatch_loop.c: Add some consts.
43255
43256         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
43257
43258 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
43259
43260         [BZ #12460]
43261         * config.make.in (config-cflags-novzeroupper): Define.
43262         * configure.in: Substitute libc_cv_cc_novzeroupper.
43263         * elf/Makefile (AVX-CFLAGS): Define.
43264         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
43265         (CFLAGS-tst-auditmod4a.c): Likewise.
43266         (CFLAGS-tst-auditmod4b.c): Likewise.
43267         (CFLAGS-tst-auditmod6b.c): Likewise.
43268         (CFLAGS-tst-auditmod6c.c): Likewise.
43269         (CFLAGS-tst-auditmod7b.c): Likewise.
43270         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
43271
43272 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
43273
43274         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
43275         function to the callback.
43276         Patch partly by Jiri Olsa <jolsa@redhat.com>.
43277
43278 2011-02-02  Andreas Schwab  <schwab@redhat.com>
43279
43280         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
43281         of errno.
43282
43283 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
43284
43285         [BZ #11724]
43286         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
43287         of constructors.
43288         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
43289         of destructors.
43290         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
43291
43292         [BZ #11724]
43293         * elf/Makefile: Add rules to build and run new test.
43294         * elf/tst-initorder.c: New file.
43295         * elf/tst-initorder.exp: New file.
43296         * elf/tst-initordera1.c: New file.
43297         * elf/tst-initordera2.c: New file.
43298         * elf/tst-initordera3.c: New file.
43299         * elf/tst-initordera4.c: New file.
43300         * elf/tst-initorderb1.c: New file.
43301         * elf/tst-initorderb2.c: New file.
43302         * elf/tst-order-a1.c: New file.
43303         * elf/tst-order-a2.c: New file.
43304         * elf/tst-order-a3.c: New file.
43305         * elf/tst-order-a4.c: New file.
43306         * elf/tst-order-b1.c: New file.
43307         * elf/tst-order-b2.c: New file.
43308         * elf/tst-order-main.c: New file.
43309         New test case by George Gensure <werkt0@gmail.com>.
43310
43311 2010-10-01  Andreas Schwab  <schwab@redhat.com>
43312
43313         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
43314         decoding ACE if AI_CANONIDN.
43315
43316 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
43317
43318         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
43319
43320 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
43321
43322         * version.h (RELEASE): Bump for 2.13 release.
43323         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
43324
43325         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
43326
43327         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
43328         MADV_NOHUGEPAGE.
43329         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
43330         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
43331         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43332         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43333         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43334         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43335
43336         * posix/getconf.c: Update copyright year.
43337         * catgets/gencat.c: Likewise.
43338         * csu/version.c: Likewise.
43339         * debug/catchsegv.sh: Likewise.
43340         * debug/xtrace.sh: Likewise.
43341         * elf/ldconfig.c: Likewise.
43342         * elf/ldd.bash.in: Likewise.
43343         * elf/sprof.c (print_version): Likewise.
43344         * iconv/iconv_prog.c: Likewise.
43345         * iconv/iconvconfig.c: Likewise.
43346         * locale/programs/locale.c: Likewise.
43347         * locale/programs/localedef.c: Likewise.
43348         * malloc/memusage.sh: Likewise.
43349         * malloc/mtrace.pl: Likewise.
43350         * nscd/nscd.c (print_version): Likewise.
43351         * nss/getent.c: Likewise.
43352
43353         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
43354         PF_CAIF, and PF_ALG.
43355         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
43356
43357 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
43358
43359         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
43360         (modules-names): Use them.
43361         (ifunc-test-modules, ifunc-pie-tests): Define.
43362         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
43363         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
43364         (test-extras): Likewise.
43365         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
43366         $(compile-command.c).
43367         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
43368         (all-built-dso): Define.
43369         (check-textrel.out, check-execstack.out): Depend on it.
43370
43371         * configure.in: Don't override --enable-multi-arch.
43372
43373 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
43374
43375         [BZ #6812]
43376         * nscd/hstcache.c (tryagain): Define.
43377         (cache_addhst): Return tryagain not notfound for temporary errors.
43378         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
43379         failed.
43380
43381 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
43382
43383         [BZ #10563]
43384         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
43385         to make the syscall.
43386         * sysdeps/unix/sysv/linux/setgroups.c: New file.
43387
43388         [BZ #12378]
43389         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
43390         and fall back to matching as normal character if the string ends before
43391         the matching ']' is found.  This is what POSIX requires.
43392         * posix/testfnm.c: Adjust test result.
43393         * posix/globtest.sh: Adjust test result.  Add new test.
43394         * posix/tst-fnmatch.input: Likewise.
43395         * posix/tst-fnmatch2.c: Add new test.
43396
43397 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
43398
43399         * elf/Makefile (check-execstack): Revert last change.  Depend on
43400         check-execstack.h.
43401         (check-execstack.h): New target.
43402         (generated): Add check-execstack.h.
43403         * elf/check-execstack.c: Include "check-execstack.h".
43404         (main): Revert last change.
43405         (handle_file): Return zero if GNU_STACK is absent and
43406         DEFAULT_STACK_PERMS doesn't include PF_X.
43407
43408 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
43409
43410         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
43411         in child fails because the descriptor is already closed.
43412         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
43413         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
43414         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
43415
43416         [BZ #12397]
43417         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
43418         syscall.
43419
43420         [BZ #10484]
43421         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
43422         temporary buffer used to handle multi lookups locally.
43423         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
43424
43425 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43426
43427         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
43428         loader is ld.so.
43429
43430 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
43431
43432         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
43433         alignment for SSE2.
43434
43435 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
43436
43437         [BZ #12394]
43438         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
43439         characters.  When rounding increased number of integer digits recompute
43440         number of groups.
43441         * stdio-common/tst-grouping.c: New file.
43442         * stdio-common/Makefile: Add rules to build and run tst-grouping.
43443
43444 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
43445
43446         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
43447         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
43448
43449         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
43450         void.
43451         * bits/select.h: Likewise.
43452
43453 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
43454
43455         * po/ja.po: Update from translation team.
43456
43457 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
43458
43459         [BZ #11155]
43460         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
43461         implementation just like for lxstat, fxstatat, et al.
43462
43463 2010-12-27  Jim Meyering  <meyering@redhat.com>
43464
43465         [BZ #12348]
43466         * posix/regexec.c (build_trtable): Return failure indication upon
43467         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
43468
43469 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
43470
43471         [BZ #12201]
43472         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
43473         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
43474         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
43475         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
43476
43477         [BZ #12207]
43478         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
43479
43480         [BZ #12204]
43481         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
43482         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
43483
43484 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
43485
43486         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
43487         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
43488         script has SORT_BY_INIT_PRIORITY.
43489         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
43490         NO_CTORS_DTORS_SECTIONS is defined.
43491         * elf/soinit.c: Likewise.
43492         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
43493         NO_CTORS_DTORS_SECTIONS is defined.
43494         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
43495         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
43496         * sysdeps/sh/init-first.c: Likewise.
43497         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
43498
43499 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
43500
43501         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
43502         always use the slow path.
43503
43504 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
43505
43506         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
43507         similar rule which adds the sysdep directories to the header search in
43508         order to pick up the correct platform stackinfo.h.
43509         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
43510         perform test if it is, otherwise return successfully without testing.
43511         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
43512         DEFAULT_STACK_PERMS define in stackinfo.h.
43513         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
43514         defined in stackinfo.h.
43515         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
43516         DEFAULT_STACK_PERMS defined in stackinfo.h.
43517         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
43518         * sysdeps/ia64/stackinfo.h: Likewise.
43519         * sysdeps/s390/stackinfo.h: Likewise.
43520         * sysdeps/sh/stackinfo.h: Likewise.
43521         * sysdeps/sparc/stackinfo.h: Likewise.
43522         * sysdeps/x86_64/stackinfo.h: Likewise.
43523         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
43524         PF_X for powerpc64.  Retain PF_X for powerpc32.
43525
43526 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
43527
43528         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
43529         accurately.
43530         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
43531         GETDENTS_64BIT_ALIGNED.
43532
43533 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
43534
43535         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
43536
43537 2010-12-10  Andreas Schwab  <schwab@redhat.com>
43538
43539         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
43540         _GNU_SOURCE.
43541
43542         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
43543         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
43544         Remove __restrict.
43545         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
43546         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
43547
43548 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
43549
43550         [BZ #11655]
43551         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
43552         are initialized.
43553
43554 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
43555
43556         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
43557
43558 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
43559
43560         * po/it.po: Update from translation team.
43561
43562 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
43563
43564         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
43565         unused codes.
43566
43567 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
43568
43569         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
43570
43571 2010-11-24  Andreas Schwab  <schwab@redhat.com>
43572
43573         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
43574         specially.
43575         (gaih_getanswer_slice): Likewise.
43576
43577 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
43578
43579         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
43580
43581 2010-05-31  Petr Baudis  <pasky@suse.cz>
43582
43583         [BZ #11149]
43584         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
43585         silently even in the chroot mode.
43586
43587 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
43588
43589         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
43590         last patch a bit.  Pretty printing
43591
43592 2010-05-31  Petr Baudis <pasky@suse.cz>
43593
43594         [BZ #10085]
43595         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
43596         initialization of skip_initgroups_dyn.
43597
43598 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
43599
43600         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
43601         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
43602
43603 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
43604
43605         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
43606
43607 2010-11-11  Andreas Schwab  <schwab@redhat.com>
43608
43609         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
43610         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
43611         (tst-fnmatch-ENV): Set MALLOC_TRACE.
43612         ($(objpfx)tst-fnmatch-mem): New rule.
43613         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
43614         * posix/tst-fnmatch.c (main): Call mtrace.
43615
43616 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
43617
43618         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43619         Support Intel processor model 6 and model 0x2c.
43620
43621 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
43622
43623         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
43624           signed comparison.
43625
43626 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
43627
43628         [BZ #12205]
43629         * string/test-strncasecmp.c (check_result): New function.
43630         (do_one_test): Use it.
43631         (check1): New function.
43632         (test_main): Use it.
43633         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
43634         Support strcasecmp and strncasecmp.
43635
43636 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
43637
43638         [BZ #12194]
43639         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
43640         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43641
43642 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
43643
43644         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
43645         IFUNC support.
43646         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
43647         memset-x86-64.
43648         * sysdeps/x86_64/multiarch/bzero.S: New file.
43649         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
43650         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
43651         * sysdeps/x86_64/multiarch/memset.S: New file.
43652         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
43653         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43654         Set bit_Prefer_SSE_for_memop for Intel processors.
43655         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
43656         Define.
43657         (index_Prefer_SSE_for_memop): Define.
43658         (HAS_PREFER_SSE_FOR_MEMOP): Define.
43659
43660 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
43661
43662         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
43663         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
43664
43665 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
43666
43667         [BZ #12191]
43668         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43669         (__x86_64_raw_data_cache_size_half): Likewise.
43670         (__x86_64_raw_shared_cache_size): Likewise.
43671         (__x86_64_raw_shared_cache_size_half): Likewise.
43672
43673         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
43674         (__x86_64_raw_data_cache_size_half): Likewise.
43675         (__x86_64_raw_shared_cache_size): Likewise.
43676         (__x86_64_raw_shared_cache_size_half): Likewise.
43677         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
43678         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
43679         and __x86_64_raw_shared_cache_size_half.  Round
43680         __x86_64_data_cache_size_half, __x86_64_data_cache_size
43681         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
43682         to multiple of 256 bytes.
43683
43684 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
43685
43686         [BZ #12167]
43687         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
43688         of inacessible symlinks.  Verify result of symlink before returning it.
43689         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
43690         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
43691
43692 2010-10-28  Erich Ritz  <erichritz@gmail.com>
43693
43694         * math/math.h (isinf): Fix typo in comment.
43695
43696 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
43697
43698         * po/da.po: Update from translation team.
43699
43700 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
43701
43702         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
43703         is added to the list.
43704
43705 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43706             Ulrich Drepper  <drepper@gmail.com>
43707
43708         * elf/dl-object.c (_dl_new_object): Don't append the new object to
43709         the global list here.  Move code to...
43710         (_dl_add_to_namespace_list): ...here.  New function.
43711         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
43712         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
43713         * elf/dl-load.c (lose): Don't remove the element from the list.
43714         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
43715         (_dl_map_object): Likewise.
43716
43717 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
43718
43719         [BZ #12159]
43720         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
43721         into all bytes of SSE register.
43722         Patch by Richard Li <richardpku@gmail.com>.
43723
43724 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
43725
43726         [BZ #12140]
43727         * malloc/malloc.c (_int_free): Fill correct number of bytes when
43728         perturbing.
43729
43730 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
43731
43732         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
43733         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
43734         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
43735         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
43736         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
43737         submachine.
43738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
43739
43740 2010-10-22  Andreas Schwab  <schwab@redhat.com>
43741
43742         * include/dlfcn.h (__RTLD_SECURE): Define.
43743         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
43744         mode & __RTLD_SECURE instead.
43745         (open_path): Rename preloaded parameter to secure.
43746         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
43747         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
43748         * elf/dl-deps.c (openaux): Likewise.
43749         * elf/rtld.c (struct map_args): Remove is_preloaded.
43750         (map_doit): Don't use it.
43751         (dl_main): Likewise.
43752         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
43753         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
43754
43755 2010-09-09  Andreas Schwab  <schwab@redhat.com>
43756
43757         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
43758         (sysd-rules-targets): Remove duplicates.
43759         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
43760         rtld-%.$o dependency.
43761
43762 2010-10-18  Andreas Schwab  <schwab@redhat.com>
43763
43764         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
43765         _dl_map_object do it.
43766
43767 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
43768
43769         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
43770         fast fma builtins, define the macros in the C99 standard.
43771         (FP_FAST_FMAF): Likewise.
43772         (FP_FAST_FMAL): Likewise.
43773         * sysdeps/x86_64/bits/mathdef.h: Likewise.
43774
43775         * bits/mathdef.h: Update copyright year.
43776         * sysdeps/powerpc/bits/mathdef.h: Likewise.
43777
43778 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
43779
43780         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
43781         builtins, define the macros in the C99 standard.
43782         (FP_FAST_FMAF): Likewise.
43783         (FP_FAST_FMAL): Likewise.
43784         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
43785         multiply/add.
43786         (FP_FAST_FMAF): Likewise.
43787
43788 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
43789
43790         [BZ #3268]
43791         * math/libm-test.inc (fma_test): Some new testcases.
43792         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
43793         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
43794         y and infinite z.  Do multiplication by C already in long double.
43795         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
43796         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
43797         y and infinite z.  Do bitwise or of inexact bit into u.d.
43798         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
43799         * sysdeps/i386/fpu/s_fmaf.S: Removed.
43800         * sysdeps/i386/fpu/s_fma.S: Removed.
43801         * sysdeps/i386/fpu/s_fmal.S: Removed.
43802
43803 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
43804
43805         [BZ #3268]
43806         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
43807         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
43808         computation is not scheduled after fetestexcept.  Fix value
43809         of minimum denormal long double.
43810
43811 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
43812
43813         [BZ #3268]
43814         * math/libm-test.inc (fma_test): Add some more tests.
43815         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
43816         correctly.
43817
43818 2010-10-15  Andreas Schwab  <schwab@redhat.com>
43819
43820         * scripts/data/localplt-s390-linux-gnu.data: New file.
43821         * scripts/data/localplt-s390x-linux-gnu.data: New file.
43822
43823 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
43824
43825         [BZ #3268]
43826         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
43827         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
43828         instead of dbl-64.
43829         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
43830         inlines.
43831         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
43832         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
43833         if one of x and y is very large and the other is subnormal.
43834         * sysdeps/s390/fpu/s_fmaf.c: New file.
43835         * sysdeps/s390/fpu/s_fma.c: New file.
43836         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
43837         * sysdeps/powerpc/fpu/s_fma.S: New file.
43838         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
43839         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
43840         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
43841
43842 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
43843
43844         [BZ #3268]
43845         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
43846         fma tests.
43847         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
43848         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
43849         * sysdeps/i386/i686/multiarch/s_fma.c: Include
43850         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
43851         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
43852         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
43853         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
43854
43855 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
43856
43857         [BZ #12078]
43858         * posix/regcomp.c (parse_branch): One more memory leak plugged.
43859         * posix/bug-regex31.input: Add test case.
43860
43861 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43862
43863         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
43864         * posix/bug-regex31.input: New file.
43865
43866         [BZ #12078]
43867         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
43868         (parse_sub_exp): Fix last change, use postorder.
43869
43870         * posix/bug-regex31.c: New file.
43871         * posix/Makefile: Add rules to build and run bug-regex31.
43872
43873         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
43874
43875         [BZ #12078]
43876         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
43877
43878         [BZ #12108]
43879         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
43880         to have entries in sys_siglist.
43881
43882         [BZ #12093]
43883         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
43884         be NULL.
43885
43886 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
43887
43888         [BZ #3268]
43889         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
43890         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
43891         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
43892         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
43893         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
43894         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
43895         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
43896         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
43897         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
43898         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
43899         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
43900         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
43901         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
43902         * math/ftestexcept.c (fetestexcept): Likewise.
43903         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
43904         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
43905         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
43906         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
43907         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
43908         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
43909         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
43910
43911 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
43912
43913         [BZ #12107]
43914         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
43915         newline.
43916
43917 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
43918
43919         * string/bug-strstr1.c: New file.
43920         * string/Makefile: Add rules to build and run bug-strstr1.
43921
43922 2010-10-05  Eric Blake  <eblake@redhat.com>
43923
43924         [BZ #12092]
43925         * string/str-two-way.h (two_way_long_needle): Always clear memory
43926         when skipping input due to the shift table.
43927
43928 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
43929
43930         [BZ #12005]
43931         * malloc/mcheck.c: Handle large requests.
43932
43933         [BZ #12077]
43934         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
43935         for strncmp and strncasecmp.
43936         * string/stratcliff.c: Add tests for strcmp and strncmp.
43937         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
43938
43939 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43940
43941         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
43942         __set_fpscr.
43943
43944 2010-09-30  Andreas Jaeger  <aj@suse.de>
43945
43946         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
43947         (CGROUP_SUPER_MAGIC): Define.
43948         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
43949         Handle btrfs and cgroup file systems.
43950         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
43951         Likewise.
43952
43953 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
43954
43955         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
43956         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
43957
43958 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43959
43960         [BZ #12067]
43961         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
43962         trying to locate the ELF header.
43963
43964 2010-09-27  Andreas Schwab  <schwab@redhat.com>
43965
43966         [BZ #11611]
43967         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
43968         Mask out sign-bit copies when constructing f_fsid.
43969
43970 2010-09-24  Petr Baudis <pasky@suse.cz>
43971
43972         * debug/stack_chk_fail_local.c: Add missing licence exception.
43973         * debug/warning-nop.c: Likewise.
43974
43975 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
43976
43977         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
43978         implementing getdents64 using getdents syscall, set d_type if
43979         __ASSUME_GETDENTS32_D_TYPE.
43980
43981 2010-09-16  Andreas Schwab  <schwab@redhat.com>
43982
43983         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
43984         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
43985
43986 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
43987
43988         [BZ #12037]
43989         * posix/unistd.h: Undo change of feature selection for ftruncate from
43990         2010-01-11.
43991
43992 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
43993
43994         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
43995         detection.
43996
43997 2010-09-20  Andreas Schwab  <schwab@redhat.com>
43998
43999         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
44000         fanotify_mark.
44001         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44002
44003 2010-09-14  Andreas Schwab  <schwab@redhat.com>
44004
44005         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
44006         variables after CHECK_SP call.
44007         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
44008
44009 2010-09-13  Andreas Schwab  <schwab@redhat.com>
44010             Ulrich Drepper  <drepper@redhat.com>
44011
44012         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
44013         re-relocationg ld.so.
44014         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
44015         _dl_init_paths call.
44016         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
44017         here anymore.
44018
44019 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
44020
44021         * resolv/res_init.c (__res_vinit): Count the default server we added.
44022
44023 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
44024             Ulrich Drepper  <drepper@redhat.com>
44025
44026         [BZ #11968]
44027         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
44028         (____longjmp_chk): Use %ebx for saving value across system call.
44029         Add unwind info.
44030
44031 2010-09-06  Andreas Schwab  <schwab@redhat.com>
44032
44033         * manual/Makefile: Don't mix pattern rules with normal rules.
44034
44035 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
44036
44037         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
44038         operation.
44039         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
44040         * libio/iofopncook.c (_IO_cookie_init): Likewise.
44041         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
44042         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
44043         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
44044         Likewise.
44045
44046 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
44047
44048         [BZ #11979]
44049         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
44050         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
44051
44052 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
44053
44054         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
44055         * sysdeps/x86_64/addmul_1.S: Likewise.
44056         * sysdeps/x86_64/lshift.S: Likewise.
44057         * sysdeps/x86_64/mul_1.S: Likewise.
44058         * sysdeps/x86_64/rshift.S: Likewise.
44059         * sysdeps/x86_64/sub_n.S: Likewise.
44060         * sysdeps/x86_64/submul_1.S: Likewise.
44061
44062 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44063
44064         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
44065         Define __sched_param instead of SCHED_* and sched_param when
44066         <bits/sched.h> is included with __need_schedparam defined.
44067         * bits/sched.h [__need_schedparam]
44068         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
44069         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
44070         (__defined_schedparam): Define to 1.
44071         (__sched_param): New structure, identical to sched_param.
44072         (__need_schedparam): Undefine.
44073
44074 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
44075
44076         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
44077         (epoll_create1): Declare.
44078
44079         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
44080
44081 2010-08-31  Andreas Schwab  <schwab@redhat.com>
44082
44083         [BZ #7066]
44084         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
44085         shifting retval into place.
44086
44087 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
44088
44089         * nis/rpcsvc/nis.h: Update copyright notice.
44090         * nis/rpcsvc/nis.x: Likewise.
44091         * nis/rpcsvc/nis_callback.h: Likewise.
44092         * nis/rpcsvc/nis_callback.x: Likewise.
44093         * nis/rpcsvc/nis_object.x: Likewise.
44094         * nis/rpcsvc/nis_tags.h: Likewise.
44095         * nis/rpcsvc/yp.h: Likewise.
44096         * nis/rpcsvc/yp.x: Likewise.
44097         * nis/rpcsvc/ypupd.h: Likewise.
44098         * nis/yp_xdr.c: Likewise.
44099         * nis/ypupdate_xdr.c: Likewise.
44100
44101         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
44102         mainly the body of pmap_getport.  Add parameters to specify timeouts.
44103         (pmap_getport): Use __libc_rpc_getport.
44104         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
44105         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
44106         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
44107
44108 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
44109
44110         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
44111         fanotify_mark.
44112
44113 2010-08-27  Roland McGrath  <roland@redhat.com>
44114
44115         * sysdeps/i386/i686/multiarch/Makefile
44116         (CFLAGS-varshift.c): New variable.
44117
44118 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
44119
44120         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
44121         * sysdeps/i386/i686/multiarch/varshift.c: New file.
44122
44123         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
44124
44125         * sysdeps/x86_64/strlen.S: Minimal code improvement.
44126
44127 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
44128
44129         * sysdeps/x86_64/strlen.S: Unroll the loop.
44130         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44131         strlen-sse2 strlen-sse2-bsf.
44132         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
44133         __strlen_no_bsf if bit_Slow_BSF is set.
44134         (__strlen_sse42): Removed.
44135         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
44136         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
44137
44138 2010-08-25  Roland McGrath  <roland@redhat.com>
44139
44140         * sysdeps/x86_64/multiarch/varshift.S: File removed.
44141         * sysdeps/x86_64/multiarch/varshift.c: New file.
44142         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
44143         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
44144         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
44145         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
44146
44147 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
44148
44149         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44150         strlen-sse2 strlen-sse2-bsf.
44151         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
44152         __strlen_sse2_bsf if bit_Slow_BSF is unset.
44153         (__strlen_sse2): Removed.
44154         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
44155         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
44156         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
44157         bit_Slow_BSF for Atom.
44158         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
44159         (index_Slow_BSF): Define.
44160         (HAS_SLOW_BSF): Define.
44161
44162 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
44163
44164         [BZ #10851]
44165         * resolv/res_init.c (__res_vinit): When no server address at all
44166         is given default to loopback.
44167
44168 2010-08-24  Roland McGrath  <roland@redhat.com>
44169
44170         * configure.in: Remove config-name.h generation.
44171         * configure: Regenerated.
44172         * config-name.in: File removed.
44173         * scripts/config-uname.sh: New file.
44174         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
44175         ($(objdir)config-name.h): New target.
44176
44177         * sunrpc/rpc_parse.h: Avoid nested comment.
44178
44179 2010-08-24  Richard Henderson  <rth@redhat.com>
44180             Ulrich Drepper  <drepper@redhat.com>
44181             H.J. Lu  <hongjiu.lu@intel.com>
44182
44183         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
44184         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
44185         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
44186         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
44187         _mm_alignr_epi8 with _mm_loadu_si128.
44188         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
44189         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
44190         (__m128i_shift_right): Removed.
44191         * sysdeps/i386/i686/multiarch/varshift.h: New file.
44192         * sysdeps/i386/i686/multiarch/varshift.S: New file.
44193         * sysdeps/x86_64/multiarch/varshift.h: New file.
44194         * sysdeps/x86_64/multiarch/varshift.S: New file.
44195
44196 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
44197
44198         * configure.in: Move assembler checks to before sysdep dir checking.
44199
44200 2010-08-20  Petr Baudis  <pasky@suse.cz>
44201
44202         * LICENSES: Sync the sunrpc license.
44203
44204 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
44205
44206         * sunrpc/auth_des.c: Update copyright notice once again.
44207         * sunrpc/auth_none.c: Likewise.
44208         * sunrpc/auth_unix.c: Likewise.
44209         * sunrpc/authdes_prot.c: Likewise.
44210         * sunrpc/authuxprot.c: Likewise.
44211         * sunrpc/bindrsvprt.c: Likewise.
44212         * sunrpc/clnt_gen.c: Likewise.
44213         * sunrpc/clnt_perr.c: Likewise.
44214         * sunrpc/clnt_raw.c: Likewise.
44215         * sunrpc/clnt_simp.c: Likewise.
44216         * sunrpc/clnt_tcp.c: Likewise.
44217         * sunrpc/clnt_udp.c: Likewise.
44218         * sunrpc/clnt_unix.c: Likewise.
44219         * sunrpc/des_crypt.c: Likewise.
44220         * sunrpc/des_soft.c: Likewise.
44221         * sunrpc/get_myaddr.c: Likewise.
44222         * sunrpc/getrpcport.c: Likewise.
44223         * sunrpc/key_call.c: Likewise.
44224         * sunrpc/key_prot.c: Likewise.
44225         * sunrpc/openchild.c: Likewise.
44226         * sunrpc/pm_getmaps.c: Likewise.
44227         * sunrpc/pm_getport.c: Likewise.
44228         * sunrpc/pmap_clnt.c: Likewise.
44229         * sunrpc/pmap_prot.c: Likewise.
44230         * sunrpc/pmap_prot2.c: Likewise.
44231         * sunrpc/pmap_rmt.c: Likewise.
44232         * sunrpc/rpc/auth.h: Likewise.
44233         * sunrpc/rpc/auth_unix.h: Likewise.
44234         * sunrpc/rpc/clnt.h: Likewise.
44235         * sunrpc/rpc/des_crypt.h: Likewise.
44236         * sunrpc/rpc/key_prot.h: Likewise.
44237         * sunrpc/rpc/netdb.h: Likewise.
44238         * sunrpc/rpc/pmap_clnt.h: Likewise.
44239         * sunrpc/rpc/pmap_prot.h: Likewise.
44240         * sunrpc/rpc/pmap_rmt.h: Likewise.
44241         * sunrpc/rpc/rpc.h: Likewise.
44242         * sunrpc/rpc/rpc_des.h: Likewise.
44243         * sunrpc/rpc/rpc_msg.h: Likewise.
44244         * sunrpc/rpc/svc.h: Likewise.
44245         * sunrpc/rpc/svc_auth.h: Likewise.
44246         * sunrpc/rpc/types.h: Likewise.
44247         * sunrpc/rpc/xdr.h: Likewise.
44248         * sunrpc/rpc_clntout.c: Likewise.
44249         * sunrpc/rpc_cmsg.c: Likewise.
44250         * sunrpc/rpc_common.c: Likewise.
44251         * sunrpc/rpc_cout.c: Likewise.
44252         * sunrpc/rpc_dtable.c: Likewise.
44253         * sunrpc/rpc_hout.c: Likewise.
44254         * sunrpc/rpc_main.c: Likewise.
44255         * sunrpc/rpc_parse.c: Likewise.
44256         * sunrpc/rpc_parse.h: Likewise.
44257         * sunrpc/rpc_prot.c: Likewise.
44258         * sunrpc/rpc_sample.c: Likewise.
44259         * sunrpc/rpc_scan.c: Likewise.
44260         * sunrpc/rpc_scan.h: Likewise.
44261         * sunrpc/rpc_svcout.c: Likewise.
44262         * sunrpc/rpc_tblout.c: Likewise.
44263         * sunrpc/rpc_util.c: Likewise.
44264         * sunrpc/rpc_util.h: Likewise.
44265         * sunrpc/rpcinfo.c: Likewise.
44266         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
44267         * sunrpc/rpcsvc/key_prot.x: Likewise.
44268         * sunrpc/rpcsvc/klm_prot.x: Likewise.
44269         * sunrpc/rpcsvc/mount.x: Likewise.
44270         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
44271         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
44272         * sunrpc/rpcsvc/rex.x: Likewise.
44273         * sunrpc/rpcsvc/rstat.x: Likewise.
44274         * sunrpc/rpcsvc/rusers.x: Likewise.
44275         * sunrpc/rpcsvc/sm_inter.x: Likewise.
44276         * sunrpc/rpcsvc/spray.x: Likewise.
44277         * sunrpc/rpcsvc/yppasswd.x: Likewise.
44278         * sunrpc/rtime.c: Likewise.
44279         * sunrpc/svc.c: Likewise.
44280         * sunrpc/svc_auth.c: Likewise.
44281         * sunrpc/svc_authux.c: Likewise.
44282         * sunrpc/svc_raw.c: Likewise.
44283         * sunrpc/svc_run.c: Likewise.
44284         * sunrpc/svc_simple.c: Likewise.
44285         * sunrpc/svc_tcp.c: Likewise.
44286         * sunrpc/svc_udp.c: Likewise.
44287         * sunrpc/svc_unix.c: Likewise.
44288         * sunrpc/svcauth_des.c: Likewise.
44289         * sunrpc/xcrypt.c: Likewise.
44290         * sunrpc/xdr.c: Likewise.
44291         * sunrpc/xdr_array.c: Likewise.
44292         * sunrpc/xdr_float.c: Likewise.
44293         * sunrpc/xdr_mem.c: Likewise.
44294         * sunrpc/xdr_rec.c: Likewise.
44295         * sunrpc/xdr_ref.c: Likewise.
44296         * sunrpc/xdr_sizeof.c: Likewise.
44297         * sunrpc/xdr_stdio.c: Likewise.
44298
44299         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
44300         handling.
44301
44302 2010-08-19  Andreas Schwab  <schwab@redhat.com>
44303
44304         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
44305
44306 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
44307
44308         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
44309         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
44310         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
44311         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
44312         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
44313         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
44314         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
44315         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
44316         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
44317         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
44318         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
44319         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
44320         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
44321         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
44322
44323 2010-07-26  Anton Blanchard  <anton@samba.org>
44324
44325         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
44326         * malloc/arena.c (heap_trim): Likewise.
44327
44328 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
44329
44330         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
44331         here.  Not...
44332         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
44333         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
44334
44335 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
44336
44337         * sysdeps/i386/elf/Makefile: New file.
44338
44339 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44340
44341         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
44342         from fanotify_init.
44343         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
44344         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44345
44346 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
44347
44348         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
44349         of strncasecmp_l.
44350         * sysdeps/multiarch/strcmp.S: Likewise.
44351
44352 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
44353
44354         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44355         strncase_l-nonascii.
44356         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44357         Add strncase_l-ssse3.
44358         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
44359         * sysdeps/x86_64/strcmp.S: Likewise.
44360         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
44361         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
44362         * sysdeps/x86_64/strncase.S: New file.
44363         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
44364         * sysdeps/x86_64/strncase_l.S: New file.
44365         * string/Makefile (strop-tests): Add strncasecmp.
44366         * string/test-strncasecmp.c: New file.
44367
44368         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
44369         warning.
44370
44371         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
44372         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
44373
44374 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
44375
44376         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
44377
44378 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
44379
44380         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
44381         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
44382         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
44383
44384 2010-05-01  Alan Modra  <amodra@gmail.com>
44385
44386         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
44387         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
44388         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
44389         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
44390         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
44391         tidying.  Don't tail-call __sigjmp_save for static lib.
44392         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
44393         save location.
44394         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
44395         (CALL_MCOUNT): Add eh info, and nop after bl.
44396         (TAIL_CALL_SYSCALL_ERROR): New macro.
44397         (PSEUDO_RET): Use it.
44398         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
44399         Correct save location of integer regs and cr.
44400         (_dl_profile_resolve): Correct cr save location.  Delete nops
44401         after bl when SHARED.  Reduce cfi size a little by better
44402         placement of cfi directives.
44403         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
44404         make a stack frame.  Instead use parm save area as a temp.
44405         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
44406         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
44407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
44408         Don't make a stack frame for parent, use parm save area.
44409         Increase child stack frame to 112 bytes.  Don't save unused reg,
44410         and adjust reg usage.  Set up cfi on error recovery and
44411         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
44412         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
44413         (__makecontext): Add dummy nop after jump to exit.
44414         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
44415         Use correct parm save area and cr save, reduce stack frame.
44416         Correct cfi for possible PSEUDO_RET frame setup.
44417         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
44418         Branch to local label emitted by PSEUDO_RET rather than
44419         __syscall_error.
44420
44421 2010-08-12  Andreas Schwab  <schwab@redhat.com>
44422
44423         [BZ #11904]
44424         * locale/programs/locale.c (print_assignment): New function.
44425         (show_locale_vars): Use it.
44426
44427 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
44428
44429         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
44430         field.
44431         (struct statfs64): Likewise.
44432         (_STATFS_F_FLAGS): Define.
44433         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
44434         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
44435         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
44436         (ST_VALID): Define locally.
44437         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
44438         __statvfs_getflags, use the provided value.
44439         * sysdeps/unix/sysv/linux/kernel-features.h: Define
44440         __ASSUME_STATFS_F_FLAGS.
44441
44442         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
44443
44444         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
44445         Add sys/fanotify.h.
44446         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
44447         fanotify_mask for GLIBC_2.13.
44448         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
44449         fanotify_init and fanotify_mark.
44450         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
44451         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
44452
44453         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
44454         Add prlimit.
44455         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
44456         prlimit64 for GLIBC_2.13.
44457         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
44458         prlimit64.
44459         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
44460         syscall.
44461         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
44462         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
44463         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
44464         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
44465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
44466         add prlimit alias.
44467         * sysdeps/unix/sysv/linux/prlimit.c: New file.
44468
44469         [BZ #11903]
44470         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
44471         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
44472
44473         * nss/Makefile: Add rules to build and run tst-nss-test1.
44474         * shlib-versions: Add entry for libnss_test1.
44475         * nss/nss_test1.c: New file.
44476         * nss/tst-nss-test1.c: New file.
44477
44478         * nss/nsswitch.c (__nss_database_custom): Define new variable.
44479         (__nss_configure_lookup): Set appropriate entry in
44480         __nss_configure_lookup to true.
44481         * nss/nsswitch.h: Define enum with indeces of databases in
44482         databases and __nss_database_custom arrays.  Declare
44483         __nss_database_custom.
44484         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
44485         to avoid using nscd when custom rules are installed.
44486         * nss/getXXbyYY_r.c: Likewise.
44487         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
44488
44489         * nss/nss_files/files-parse.c: Whitespace fixes.
44490
44491 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
44492
44493         [BZ #11883]
44494         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
44495         * posix/fnmatch_loop.c: Likewise.
44496
44497 2010-07-17  Andi Kleen  <ak@linux.intel.com>
44498
44499         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
44500         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
44501         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
44502         * Versions.def [GLIBC_2.13]: Add.
44503
44504 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
44505
44506         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44507         Also fail if tpwd after pwuid call is NULL.
44508
44509 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44510
44511         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
44512         when converting to ms.
44513
44514 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
44515
44516         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
44517         EOPNOTSUPP errors with ENOTTY.
44518         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
44519         EOPNOTSUPP errors with ENOTTY.
44520
44521 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
44522
44523         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
44524         Add strcasecmp_l-ssse3.
44525         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
44526         strcasecmp.
44527         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
44528         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
44529         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
44530
44531 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
44532
44533         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
44534
44535         * string/Makefile (strop-tests): Add strcasecmp.
44536         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
44537         strcasecmp_l-nonascii.
44538         (gen-as-const-headers): Add locale-defines.sym.
44539         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
44540         * sysdeps/x86_64/strcasecmp.S: New file.
44541         * sysdeps/x86_64/strcasecmp_l.S: New file.
44542         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
44543         * sysdeps/x86_64/locale-defines.sym: New file.
44544         * string/test-strcasecmp.c: New file.
44545
44546         * string/test-strcasestr.c: Test both ends of the range of characters.
44547         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
44548
44549 2010-07-29  Roland McGrath  <roland@redhat.com>
44550
44551         [BZ #11856]
44552         * manual/locale.texi (Yes-or-No Questions): Fix example code.
44553
44554 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
44555
44556         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
44557         for ld.so.
44558
44559 2010-07-27  Andreas Schwab  <schwab@redhat.com>
44560
44561         * manual/memory.texi (Malloc Tunable Parameters): Document
44562         M_PERTURB.
44563
44564 2010-07-26  Roland McGrath  <roland@redhat.com>
44565
44566         [BZ #11840]
44567         * configure.in (-fgnu89-inline check): Set and substitute
44568         gnu89_inline, not libc_cv_gnu89_inline.
44569         * configure: Regenerated.
44570         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
44571
44572 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
44573
44574         * string/test-strnlen.c: New file.
44575         * string/Makefile (strop-tests): Add strnlen.
44576         * string/tester.c (test_strnlen): Add a few more test cases.
44577         * string/tst-strlen.c: Better error reporting.
44578
44579         * sysdeps/x86_64/strnlen.S: New file.
44580
44581 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
44582
44583         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
44584         lower-latency instructions.
44585
44586 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
44587
44588         * string/test-strcasestr.c: New file.
44589         * string/test-strstr.c: New file.
44590         * string/Makefile (strop-tests): Add strstr and strcasestr.
44591         * string/str-two-way.h: Don't undefine MAX.
44592         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
44593
44594 2010-07-21  Andreas Schwab  <schwab@redhat.com>
44595
44596         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
44597         strcasestr-nonascii.
44598         (CFLAGS-strcasestr-nonascii.c): Define.
44599         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
44600         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
44601         Remove unused attribute.
44602
44603 2010-07-20  Roland McGrath  <roland@redhat.com>
44604
44605         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
44606         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
44607         ld.so.cache was broken.  With it, there is no way to disable dsocaps
44608         like LD_HWCAP_MASK can disable hwcaps.
44609
44610 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44611
44612         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
44613
44614 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
44615
44616         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
44617         call in strcasestr.
44618         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
44619         __strcasestr_sse42_nonascii.
44620         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
44621         strcasestr-nonascii.c.
44622         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
44623
44624 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
44625
44626         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
44627         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
44628         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
44629         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
44630
44631 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
44632
44633         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
44634         fcntl.
44635
44636 2010-07-06  Andreas Schwab  <schwab@redhat.com>
44637
44638         [BZ #11577]
44639         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
44640         dl_signal_cerror.
44641
44642 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
44643
44644         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
44645         _PC_PIPE_BUF using F_GETPIPE_SZ.
44646
44647 2010-07-05  Roland McGrath  <roland@redhat.com>
44648
44649         * manual/arith.texi (Rounding Functions): Fix rint description
44650         implicit in round description.
44651
44652 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
44653
44654         * elf/Makefile: Fix linking for a few tests to make recent linker
44655         happy.
44656
44657 2010-06-30  Andreas Schwab  <schwab@redhat.com>
44658
44659         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
44660         $(common-objpfx)libc_nonshared.a.
44661
44662 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
44663
44664         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
44665         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
44666         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44667         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44668         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
44669         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
44670         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44671         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
44673         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
44674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
44675         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
44676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
44677         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
44678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
44679         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
44680         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
44681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
44682         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
44683         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
44684         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
44685         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
44686         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
44687         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
44688         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
44689         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
44690         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
44691         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
44692         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
44693         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
44694         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
44695         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
44696         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
44697         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
44698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
44699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
44700         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
44701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
44702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
44703         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
44704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
44705         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
44706         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
44707         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
44708         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
44709         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
44710         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
44711         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
44712
44713 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
44714
44715         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
44716         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
44717         * string/memmove.c (memmove): Renamed to ...
44718         (MEMMOVE): ...this.  Default to memmove.
44719         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
44720         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
44721         (END_CHK): Define.
44722         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44723         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
44724         mempcpy-ssse3-back memmove-ssse3-back.
44725         * sysdeps/x86_64/multiarch/bcopy.S: New file .
44726         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
44727         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
44728         * sysdeps/x86_64/multiarch/memcpy.S: New file.
44729         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
44730         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
44731         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
44732         * sysdeps/x86_64/multiarch/memmove.c: New file.
44733         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
44734         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
44735         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
44736         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
44737         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
44738         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
44739         Define.
44740         (index_Fast_Copy_Backward): Define.
44741         (HAS_ARCH_FEATURE): Define.
44742         (HAS_FAST_REP_STRING): Define.
44743         (HAS_FAST_COPY_BACKWARD): Define.
44744
44745 2010-06-21  Andreas Schwab  <schwab@redhat.com>
44746
44747         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
44748         Restore proper fallback handling.
44749
44750 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
44751
44752         [BZ #11701]
44753         * posix/group_member.c (__group_member): Correct checking loop.
44754
44755         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
44756         OOM in getpwuid_r correctly.  Return error number when the caller
44757         should return, otherwise -1.
44758         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
44759         call returning > 0 value.
44760         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
44761
44762 2010-06-07  Andreas Schwab  <schwab@redhat.com>
44763
44764         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
44765         libc_nonshared.a from targets in modules-names.
44766
44767 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
44768
44769         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
44770         requires it.
44771
44772 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
44773
44774         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
44775         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
44776         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
44777         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
44778
44779 2010-06-02  Andreas Schwab  <schwab@redhat.com>
44780
44781         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
44782
44783 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
44784
44785         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
44786         and F_GETPIPE_SZ.
44787         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
44788         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
44789         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
44790         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
44791         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
44792         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
44793
44794 2010-06-14  Roland McGrath  <roland@redhat.com>
44795
44796         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
44797
44798 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
44799
44800         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
44801         __REDIRECT followed by __THROW.
44802         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
44803         * posix/getopt.h (getopt): Likewise.
44804
44805 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
44806
44807         * hurd/lookup-at.c (__file_name_lookup_at): Accept
44808         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
44809         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
44810         in AT_FLAGS.
44811         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
44812         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
44813
44814 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
44815
44816         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
44817
44818 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
44819
44820         [BZ #11640]
44821         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
44822         Properly check family and model.
44823
44824 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
44825
44826         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
44827
44828 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
44829
44830         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
44831
44832 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
44833
44834         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
44835         symbol reference.
44836
44837 2010-05-19  Andreas Schwab  <schwab@redhat.com>
44838
44839         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
44840         symbol reference.
44841
44842 2010-05-21  Andreas Schwab  <schwab@redhat.com>
44843
44844         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
44845         and internal_recvmmsg.
44846         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
44847         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
44848         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
44849         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
44850
44851         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
44852         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
44853         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
44854
44855 2010-05-20  Andreas Schwab  <schwab@redhat.com>
44856
44857         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
44858
44859 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
44860
44861         POWER7 optimizations.
44862         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
44863         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
44864
44865 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
44866
44867         * version.h: Update for 2.13 development version.
44868
44869 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
44870
44871         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
44872         exceptions.  Return 0.
44873
44874 2010-05-07  Roland McGrath  <roland@redhat.com>
44875
44876         * elf/ldconfig.c (main): Add a const.
44877
44878 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
44879
44880         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
44881         (args_options): Add no-idn option.
44882         (ahosts_keys_int): Add idn_flags to ai_flags.
44883         (parse_option): Handle 'i' option to clear idn_flags.
44884
44885         * malloc/malloc.c (_int_free): Possible race in the most recently
44886         added check.  Only act on the data if no current modification
44887         happened.
44888
44889 See ChangeLog.17 for earlier changes.